-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NO-ISSUE: kogito-swf-{builder/devmode}
images should build the nightly tags by default but also be configurable
#2275
Conversation
ls -la "${KOGITO_HOME}"/.m2/repository/org/apache/kie/ | ||
ls -la "${KOGITO_HOME}"/.m2/repository/org/kie/ | ||
|
||
# mkdir .mvn | ||
touch .mvn/maven.config | ||
echo " -Dversion.org.kie.kogito=${KOGITO_VERSION} -Dquarkus.platform.version=${QUARKUS_PLATFORM_VERSION}" >> .mvn/maven.config | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pefernan @jstastny-cz This is what can be removed once we fix maven-base
.
# mvn install:install-file \ | ||
# -Dfile=/tmp/artifacts/sonataflow-quarkus-devui.jar \ | ||
# -DgroupId=org.apache.kie.sonataflow \ | ||
# -DartifactId=sonataflow-quarkus-devui \ | ||
# -Dversion=$SONATAFLOW_QUARKUS_DEVUI_VERSION \ | ||
# -Dpackaging=jar \ | ||
# -DgeneratePom=true | ||
|
||
ls -la /tmp/artifacts |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pefernan @jstastny-cz This too can go.
tar xf /tmp/artifacts/sonataflow-quarkus-devui-maven-repo.tar -C "${KOGITO_HOME}"/.m2/repository/org/apache/kie/ | ||
tar xf /tmp/artifacts/kie-tools-maven-base-maven-repo.tar -C "${KOGITO_HOME}"/.m2/repository/org/kie/ | ||
|
||
find "${KOGITO_HOME}"/.m2/repository -name _remote.repositories | xargs rm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pefernan @jstastny-cz This is necessary for Maven to not try and use a remote version of this, since in development this is a SNAPSHOT version. Let me know if you see a problem with this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 great!
@pefernan @thiagoelg Guys, I'll close this because all of this changes are already present on we can proceed by merging it... |
Also in this PR: