-
Notifications
You must be signed in to change notification settings - Fork 8
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
BUG: Resolve migration issues from Orphedomos to Fabric8 to reduce potential errors and manual workarounds for downstream projects #306
Closed
6 tasks done
Comments
DOD with @ewilkins-csi, @nartieri, @csun-cpointe |
carter-cundiff
added a commit
that referenced
this issue
Aug 29, 2024
ewilkins-csi
added a commit
that referenced
this issue
Aug 30, 2024
ewilkins-csi
added a commit
that referenced
this issue
Aug 30, 2024
carter-cundiff
added a commit
that referenced
this issue
Sep 3, 2024
carter-cundiff
added a commit
that referenced
this issue
Sep 3, 2024
OTS with @csun-cpointe |
carter-cundiff
added a commit
that referenced
this issue
Sep 4, 2024
carter-cundiff
added a commit
that referenced
this issue
Sep 4, 2024
carter-cundiff
added a commit
that referenced
this issue
Sep 4, 2024
carter-cundiff
added a commit
that referenced
this issue
Sep 4, 2024
carter-cundiff
added a commit
that referenced
this issue
Sep 4, 2024
#306 Resolve migration issues from Orphedomos to Fabric8
carter-cundiff
added a commit
that referenced
this issue
Sep 4, 2024
…bug-cherry-pick Cherry pick #306 PR to dev
This was
linked to
pull requests
Sep 4, 2024
test passed ✅ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
The current migration for Orphedomos to Fabric8 has a currently has few issues when utilized in downstream projects:
1.8.0
build-parent defines the configuration for the forked Docker Maven Plugin inorg.technologybrewery.fabric8
. When performing an upgrade, the migration updates a downstream project to use the Docker Maven Plugin fromio.frabric8
instead.ci
andintegration-test
profile defined in a POM file using Orphedomos, the migration will result with only theci
profile being migrated.Steps to Reproduce
OTS Only:
mvn clean install -pl :foundation-upgrade -Dmaven.build.cache.skipCache=true
mvn clean install -pl :aissemble-policy-decision-point,:aissemble-vault,:aissemble-spark -am
Create a archetype project on version
1.7.0
:test-306-pipeline-models/src/main/resources/pipelines
directorymvn clean install
until all the manual actions are completemvn clean install -Dmaven.build.cache.skipCache=true
once to get any remaining manual actionsci
profile to thetest-306-tests/test-306-tests-docker/pom.xml
:pom.xml
:<docker.project.repository.url>
property to bedocker-registry/repository/
<parent>
in the rootpom.xml
to use build parent version1.8.1-SNAPSHOT
mvn org.technologybrewery.baton:baton-maven-plugin:baton-migrate
to apply the migrationstest-306-docker/pom.xml
:ci
profile, surround the<plugins>
block with<pluginManagement></pluginManagement>
<build><plugins>
block, move thedocker-maven-plugin
<plugin>
to the<pluginManagement><plugins>
blocktest-306-docker/test-306-policy-decision-point-docker/pom.xml
,test-306-docker/test-306-spark-worker-docker/pom.xml
, andtest-306-docker/test-306-vault-docker/pom.xml
add the following to the<build><plugins>
block:mvn clean install
Expected Behavior
The project builds successfully and all references to
orphedomos-maven-plugin
are updated todocker-maven-plugin
orphedomos-maven-plugin
in the project should return 0 resultsActual Behavior
docker-maven-plugin
utilizingio.fabric8
for itsgroupId
instead oforg.technologybrewery.fabric8
:orphedomos-maven-plugin
in the*-tests-docker/pom.xml
DOD
docker-maven-plugin
should use a property for thegroupId
allowing for it to be easily switched between the official repo (io.fabric8
) and forked repo (org.technologybrewery.fabric8
) :orphedomos-maven-plugin
in a givenpom.xml
regardless of their profileTest Outline
mvn clean install -Pci
and verify it builds successfullyThe text was updated successfully, but these errors were encountered: