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
  • hi , Angelo Moreschini

Reply via email to