You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Angelo Moreschini <mr...@gmail.com> on 2020/03/27 15:54:00 UTC

hi ,

I am new to maven, and I am exploring it,
So for some plugins i would like to have some additional information using
theirs "help" goal.
However (apart from the basic plugins such as archetype or help : I cite as
an example the plugin "maven-jar-plugin"),
I get this ERROR in the output  ..:
-------------
angelo_dev@pluto:~$ mvn maven-jar-plugin:help
Downloading:
https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml
Downloading:
https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml
................
BUILD FAILURE
[INFO] -----------------------------------------------
-------------------------
[INFO] Total time: 1.214 s
[INFO] Finished at: 2020-03-27T18: 43: 16 + 03: 00
[INFO] Final Memory: 10M / 40M
[INFO] -----------------------------------------------
-------------------------
[ERROR] No plugin found for prefix 'maven-jar-plugin' in the current
project and in the plugin groups [org.apache.maven.plugins,
org.codehaus.mojo] available from the repositories [local (/ home /
angelo_dev /.m2/repository), central (https://repo.maven.apache.org/maven2)]
-> [Help 1]
-----------------

I absolutely don't understand why this can happen...
(I use this plugin in my POM.xml and it works)

Thank you

Angelo

Re: hi ,

Posted by Russell Gold <ru...@oracle.com>.
mvn jar:help

The rest is assumed

> On Mar 27, 2020, at 11:54 AM, Angelo Moreschini <mr...@gmail.com> wrote:
> 
> I am new to maven, and I am exploring it,
> So for some plugins i would like to have some additional information using
> theirs "help" goal.
> However (apart from the basic plugins such as archetype or help : I cite as
> an example the plugin "maven-jar-plugin"),
> I get this ERROR in the output  ..:
> -------------
> angelo_dev@pluto:~$ mvn maven-jar-plugin:help
> Downloading:
> https://urldefense.com/v3/__https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml__;!!GqivPVa7Brio!K4aKmH1v7STH3Hs3loxXSt82vADJH4jsPWJIolu3B9puO8y7wH8LbUtX3CfHoHHpeA$ 
> Downloading:
> https://urldefense.com/v3/__https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml__;!!GqivPVa7Brio!K4aKmH1v7STH3Hs3loxXSt82vADJH4jsPWJIolu3B9puO8y7wH8LbUtX3Cei5Zlpmg$ 
> ................
> BUILD FAILURE
> [INFO] -----------------------------------------------
> -------------------------
> [INFO] Total time: 1.214 s
> [INFO] Finished at: 2020-03-27T18: 43: 16 + 03: 00
> [INFO] Final Memory: 10M / 40M
> [INFO] -----------------------------------------------
> -------------------------
> [ERROR] No plugin found for prefix 'maven-jar-plugin' in the current
> project and in the plugin groups [org.apache.maven.plugins,
> org.codehaus.mojo] available from the repositories [local (/ home /
> angelo_dev /.m2/repository), central (https://urldefense.com/v3/__https://repo.maven.apache.org/maven2__;!!GqivPVa7Brio!K4aKmH1v7STH3Hs3loxXSt82vADJH4jsPWJIolu3B9puO8y7wH8LbUtX3CeyworA9A$ )]
> -> [Help 1]
> -----------------
> 
> I absolutely don't understand why this can happen...
> (I use this plugin in my POM.xml and it works)
> 
> Thank you
> 
> Angelo


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org