|
In order to get the appfuse-maven-plugin uploaded to Maven's Central repository, it can't have org.codehaus.mojo as its groupId. The original reason I started using this groupId is because I couldn't get the "appfuse" prefix to work w/o it. Now the prefix seems to work fine (at least locally). http://jira.codehaus.org/browse/MAVENUPLOAD-1701 NOTE: We realize it makes good sense to change the groupIds to be more specific than "org.appfuse" for many of AppFuse's modules. However, it seems somewhat risky to do this late in the 2.0 game. If we do decide to change them, we'll likely do it for 2.1. Please comment on the following thread if you have any opinions on this: http://www.nabble.com/Thinking-out-loud-about-groupIds-tf4387544s2369.html
Matt Raible made changes - 05/Sep/07 11:16 PM
[
Permalink
| « Hide
]
Matt Raible added a comment - 06/Sep/07 03:33 PM
If we want to allow users to type "appfuse:*", they'll need to register the plugin in their ~/.m2/settings.xml with this change. Therefore, I'm reverting to org.codehaus.mojo as its easier for users. We won't be able to upload AMP to Maven's central repo until we move to Codehaus, but that's OK IMO.
Matt Raible made changes - 06/Sep/07 03:33 PM
Screenshot of IRC Conversation confirming that org.codehaus.mojo or org.apache.maven.plugins must be used to get "appfuse:*" prefix.
Matt Raible made changes - 06/Sep/07 03:34 PM
After more IRC discussions, it appears it *is* possible, but the fact that we're already using org.codehaus.mojo causes that one to always be picked up first. See attached irc-log2.png for more information.
Since we're approaching 2.0, I'm going to leave it as org.codehaus.org for now. We can rename it to something else when Maven allows the search order to be configurable or we're ready to remove it completely from AppFuse's repository. Another option is to get everything in Maven's central repository and disable AppFuse's repository so the new one is found instead.
Matt Raible made changes - 06/Sep/07 04:11 PM
Matt Raible made changes - 06/Sep/07 06:07 PM
If we want to allow users to type "appfuse:*", they'll need to register the plugin in their ~/.m2/settings.xml with this change. Therefore, I'm reverting to org.codehaus.mojo as its easier for users. We won't be able to upload AMP to Maven's central repo until we move to Codehaus, but that's OK IMO. After more IRC discussions, it appears it *is* possible to distribute this plugin w/o requiring users to modify settings.xml, but the fact that we're already using org.codehaus.mojo causes that one to always be picked up first. Since we're approaching 2.0, I'm going to leave it as org.codehaus.org for now. We can rename it to something else when Maven allows the search order to be configurable or we're ready to remove it completely from AppFuse's repository. Another option is to get everything in Maven's central repository and disable AppFuse's repository so the new one is found instead. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||