-
Notifications
You must be signed in to change notification settings - Fork 10
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
Feature: POMs should be automatically migrated to account for Fabric8 throwing errors for non-Docker modules #320
Comments
DoD with @csun-cpointe |
csun-cpointe
added a commit
that referenced
this issue
Sep 10, 2024
csun-cpointe
added a commit
that referenced
this issue
Sep 10, 2024
ewilkins-csi
added a commit
that referenced
this issue
Sep 10, 2024
Migration and template/archetype changes done! (Thanks @csun-cpointe!) Just need to ensure anything worth keeping from the migrations are picked over to branch off of dev and run through OTS. |
ewilkins-csi
added a commit
that referenced
this issue
Sep 11, 2024
ewilkins-csi
added a commit
that referenced
this issue
Sep 11, 2024
ewilkins-csi
added a commit
that referenced
this issue
Sep 11, 2024
ewilkins-csi
added a commit
that referenced
this issue
Sep 11, 2024
OTS looks good ✅ |
ewilkins-csi
added a commit
that referenced
this issue
Sep 11, 2024
ewilkins-csi
added a commit
that referenced
this issue
Sep 11, 2024
ewilkins-csi
added a commit
that referenced
this issue
Sep 11, 2024
[#320] fix docker plugin config to account for change from orphedomos
Changes merged into 1.8.1 branch with successful build. |
csun-cpointe
added a commit
that referenced
this issue
Sep 12, 2024
…mda-templates [#320] fix fabric8 archetype and mda templates
Final test passed!! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Orphedomos was written to simply skip plugin execution if the packaging type of the POM was not
orphedomos
. This allowed for configuring the plugin in the parent module of the Docker builds (i.e. in<project>-docker/pom.xml
). Fabric8 will throw an error in this instance. To properly migrate downstream projects upgrading to 1.8, we need to account for this difference by ensuring any docker plugin configuration in non-docker modules is confined to apluginManagement
section, and ensure that alldocker-build
modules have the docker plugin directly added to their build.DOD
pom
packaging have any Fabric8 docker plugin specification moved to an appropriatepluginManagement
sectiondocker-build
packaging have at least a bare bones Docker plugin config add to the mainbuild/plugins
sectiondev
Test Strategy/Script
Test Upgrade to 1.8.1
mvn clean install
build-parent
version in the root pom.xml to 1.8.1-SNAPSHOTmvn clean install
docker:build
goal during the builddocker-maven-plugin
within the firstpluginManagement
block by changingskip
fromtrue
tofalse
mvn clean install
docker images | grep ots-320
Test 1.9
mvn clean install
docker:build
goal during the builddocker-maven-plugin
within the firstpluginManagement
block by changingskip
fromtrue
tofalse
mvn clean install
-upgrade
are also present)docker images | grep ots-320
The text was updated successfully, but these errors were encountered: