Skip to content

Commit

Permalink
mvn config (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
fantonangeli authored May 28, 2024
1 parent 484a1b8 commit b96006b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
2 changes: 2 additions & 0 deletions packages/maven-base/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,6 @@ const { setup } = require("@kie-tools/maven-config-setup-helper");

setup(`
-Drevision=${buildEnv.env.mavenBase.version}
-Dquarkus.platform.version=${buildEnv.env.quarkusPlatform.version}
-Dversion.org.kie.kogito=${buildEnv.env.kogitoRuntime.version}
`);
10 changes: 2 additions & 8 deletions packages/maven-base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,9 @@
"build:prod": "pnpm lint && run-script-os",
"build:prod:darwin:linux": "mvn clean deploy -DdeployAtEnd -DskipTests=$(build-env tests.run --not) -Dmaven.test.failure.ignore=$(build-env tests.ignoreFailures) -Dmaven.deploy.skip=$(build-env maven.deploy.skip)",
"build:prod:win32": "pnpm powershell \"mvn clean deploy `-DdeployAtEnd `-DskipTests `-Dmaven.test.failure.ignore=$(build-env tests.ignoreFailures) `-Dmaven.deploy.skip=$(build-env maven.deploy.skip)\"",
"install": "pnpm set-quarkus-version && pnpm set-kogito-version && node install.js",
"install": "node install.js",
"lint": "echo 'Linting'",
"powershell": "@powershell -NoProfile -ExecutionPolicy Unrestricted -Command",
"set-kogito-version": "run-script-os",
"set-kogito-version:darwin:linux": "mvn versions:set-property -Dproperty=version.org.kie.kogito -DnewVersion=$(build-env kogitoRuntime.version)",
"set-kogito-version:win32": "pnpm powershell \"mvn versions:set-property `-Dproperty=version.org.kie.kogito `-DnewVersion=$(build-env kogitoRuntime.version)\"",
"set-quarkus-version": "run-script-os",
"set-quarkus-version:darwin:linux": "mvn versions:set-property -Dproperty=quarkus.platform.version -DnewVersion=$(build-env quarkusPlatform.version)",
"set-quarkus-version:win32": "pnpm powershell \"mvn versions:set-property `-Dproperty=quarkus.platform.version `-DnewVersion=$(build-env quarkusPlatform.version)\""
"powershell": "@powershell -NoProfile -ExecutionPolicy Unrestricted -Command"
},
"devDependencies": {
"@kie-tools/maven-config-setup-helper": "workspace:*",
Expand Down

0 comments on commit b96006b

Please sign in to comment.