Chethiya Abeysinghe created MNG-5236:
----------------------------------------
Summary: Make it possible to specify pluginRepository through CLI
so that remote plugin consumers don't have to worry editing settings.xml file
Key: MNG-5236
URL: https://jira.codehaus.org/browse/MNG-5236
Project: Maven 2 & 3
Issue Type: Improvement
Components: Plugins and Lifecycle
Reporter: Chethiya Abeysinghe
I wrote a maven plugin and expect it to be used by wide range of developers. At
the moment my suggestion for them is to edit the user level settings.xml file
to include <pluginRepository> to include the nexus remote repo of my plugin.
Also that settings XML file include <repository> tag pointing to same repo too.
It would be handy if it's possible to specify the plugin repository in the
command line, e.g.
mvn groupId:plugin-artifactId:goal -Dmaven.pluginRepositoryUrl=[url to the
remote repo]
That way I can ask plugin users to just copy-paste the command in the prompt
without asking them to edit settings.xml. Of couse they also have the option of
editing settings.xml file that is a one-time operation.
Thanks
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira