Skip to content
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

Plugin MigrateMojo to automate migration from FMP to JKube #195

Closed
manusa opened this issue May 8, 2020 · 0 comments · Fixed by #216
Closed

Plugin MigrateMojo to automate migration from FMP to JKube #195

manusa opened this issue May 8, 2020 · 0 comments · Fixed by #216
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@manusa
Copy link
Member

manusa commented May 8, 2020

Description

In order to increase the adoption of the plugin we can create a MigrateMojo that will automatically update any pom.xml so that it uses Eclipse JKube instead of Fabric8 Maven Plugin.

Basically, any time the command mvn org.eclipse.jkube:kubernetes-maven-plugin:migrate is run in a Maven project root directory, the pom.xml file is parsed and appropriate substitutions are made.

Ideally, MigrateMojo should be "smart" enough to see if fabric8-maven-plugin should be replaced by kubernetes-maven-plugin or openshift-maven-plugin.

If the previous requirement is not possible or very difficult to implement, we can have an OpenshiftMigrateMojo that extends the basic MigrateMojo and overrides getArtifactId method to return openshift-maven-plugin instead of the super implementation kubernetes-maven-plugin.

The plugin should try to consider all configurations, flags and properties and rename them to match the new ones.

See also

  • There was a MigrateMojo in FMP v3, maybe there's something useful there (or maybe not)
@manusa manusa added this to the 1.1.0 milestone May 8, 2020
@manusa manusa added the enhancement New feature or request label May 8, 2020
@manusa manusa changed the title Plugin Mojo to automate migration from FMP Plugin MigrateMojo to automate migration from FMP to JKube May 8, 2020
@manusa manusa modified the milestones: 1.1.0, 1.0.0 May 13, 2020
@rohanKanojia rohanKanojia self-assigned this Jun 1, 2020
@manusa manusa mentioned this issue Jun 23, 2020
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants