Hi,

I want to execute a project-less maven plugin from the command line.
However the plugin is not in maven central and I cannot place the plugin
repository in the settings.xml file.

Now I can use the dependency:get plugin to fetch the plugin from the
remote repository into my local repository. However I have to use the
command line switch -llr, which triggers a warning. Otherwise maven
complains about the fact that the plugin cannot be found at maven
central (though it really is in the local repository).

Adding -llr works, and the plugin is found.

However I would like to have a way were I can run a project-less plugin,
from the command line, using an alternate plugin repository.

Like:
    mvn mygroup:myartifact:1.2.3:do-my-stuff
-Dmaven.plugin.repository=http://my.own/repository

I have not found such a property in the documentation.

Jens



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to