Need advice on plugin´s maven group ID

13 views
Skip to first unread message

Martin Weber

unread,
Jun 8, 2015, 4:05:48 PM6/8/15
to jenkin...@googlegroups.com
Hi,

I just inherited a plugin which seems to have had its first incarnation in
Hudson.
Any wiki and SCM URLs in the pom.xml still point to the Hudson project, which
nowadays is now plain wrong.
I want to update these URLs; I guess is does not impact any existing
installations.

But the project´s pom currently has 'hudson.plugins.cmake' as its group ID
(despite the parent ID of 'org.jenkins-ci.plugins').

Two questions:

1) Would it be of no impact on existing installations (regarding plugin
updates) if I change the group ID to 'org.jenkins-ci.plugins'?

2) Would it be of no impact if I change the maven project name from 'Hudson
CMake plugin' to 'CMake plugin'?

https://github.com/jenkinsci/cmakebuilder-plugin

TIA,
Martin

--
Cd wrttn wtht vwls s mch trsr.


Stephen Connolly

unread,
Jun 9, 2015, 4:29:42 AM6/9/15
to jenkin...@googlegroups.com
The only one you *need* to keep the same is the xpath:/project/artifactId

If you know that there are no plugins depending on your plugin, it is 100% safe to change the xpath:/project/groupId

If you do not know if there are plugins depending on your plugin, it is 95% safe to change the xpath:/project/groupId (i.e. Jenkins throws out the groupId when setting up inter-plugin dependencies, the 5% is more that these dependent projects may not see the new version when using `mvn versions:display-dependency-updates`)

The xpath:/project/name is not used for anything critical. Change away!

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/1893877.bJIkfDVykI%40linux.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages