-
Notifications
You must be signed in to change notification settings - Fork 195
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(serverconf): Correct the
hibernate-tools
dependency (#1904)
* build(serverconf): Correct the `hibernate-tools` dependency As discovered by an analysis with ORT [1], the `hibernate-tools` dependency does not exist in the currently set version "6.2.9.Final", making the `:serverconf:schemaExport` Gradle task fail. It was only available until version "5.6.15.Final", see [2]. The successor providing `org.hibernate.tool.ant.HibernateToolTask` seems to be `hibernate-tools-ant` [3], so use that instead. However, this does not fully fix running `:serverconf:schemaExport` as it still fails with * What went wrong: Execution failed for task ':serverconf:schemaExport'. > java.lang.NoClassDefFoundError: ee/ria/xroad/common/identifier/ClientId$Conf which is something that needs to be investigated separately. [1]: https://github.com/oss-review-toolkit/ort [2]: https://mvnrepository.com/artifact/org.hibernate/hibernate-tools [3]: https://mvnrepository.com/artifact/org.hibernate.tool/hibernate-tools-ant Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org> * build(serverconf): Build the `common-util` project before exporting Previsouly, running the `:serverconf:schemaExport` Gradle task failed if the `:common:common-util` Gradle project was not built before. Fix this by adding a dependency declaration. Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org> * build(admin-service): Fix local dependencies on `niis-shared-ui` package Use the correct syntax for dependencies on local packages so that running `yarn install` succeeds even if the dependency has not been built yet. Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org> --------- Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
- Loading branch information
1 parent
5ba0b89
commit 01c1377
Showing
5 changed files
with
13 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters