hi ,

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

hi ,

Angelo Moreschini
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
Reply | Threaded
Open this post in threaded view
|

Re: hi ,

Russell Gold-3
mvn jar:help

The rest is assumed

> On Mar 27, 2020, at 11:54 AM, Angelo Moreschini <[hidden email]> 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: [hidden email]
For additional commands, e-mail: [hidden email]