java - how to get plugin help in maven? -
i don't have plugin help in directory %home%.m2\repository\org\apache\maven\plugins. maven setup ha no problem. don't know why don't have plugin , how should it? output of mvn --version in cmd:
apache maven 3.2.3 maven home: c:\apache-maven-3.2.3 java version: 1.6.0_13 java home: c:\program files\java\jdk1.6.0_13 default locale: en_us, platform encoding: cp1252 os name: "windows vista",version:"6.8"
when write mvn help:effective pom.xml rezult has error:
[info] build failure [info] total time: 25.44s [info] final memory: 3m/254m [error] no plugin found prefix 'help' in current project
it code in file pom.xml
<project xmlns="http://maven.apache.org/pom/4.0.0" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xsi:schemalocation="http://maven.apache.org/pom/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelversion>4.0.0</modelversion> <groupid>com.companyname.project-group</groupid> chapter 3 tutorials point easy learning page 8 <artifactid>project</artifactid> <version>1.0</version> </project>
this rezult of mvn -x help:effective-pom
[info] scanning projects... downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.5/maven-clean-plugin-2.5.pom [warning] failed retrieve plugin descriptor org.apache.maven.plugins:maven-clean-plugin:2.5: plugin org.apache.maven.plugins:maven-clean-plugin:2.5 or 1 of dependencies not resolved: failed read artifact descriptor org.apache.maven.plugins:maven-clean-plugin:jar:2.5 downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.4/maven-install-plugin-2.4.pom [warning] failed retrieve plugin descriptor org.apache.maven.plugins:maven-install-plugin:2.4: plugin org.apache.maven.plugins:maven-install-plugin:2.4 or 1 of dependencies not resolved: failed read artifact descriptor org.apache.maven.plugins:maven-install-plugin:jar:2.4 downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.6/maven-resources-plugin-2.6.pom [warning] failed retrieve plugin descriptor org.apache.maven.plugins:maven-resources-plugin:2.6: plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or 1 of dependencies not resolved: failed read artifact descriptor org.apache.maven.plugins:maven-resources-plugin:jar:2.6 downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.12.4/maven-surefire-plugin-2.12.4.pom [warning] failed retrieve plugin descriptor org.apache.maven.plugins:maven-surefire-plugin:2.12.4: plugin org.apache.maven.plugins:maven-surefire-plugin:2.12.4 or 1 of dependencies not resolved: failed read artifact descriptor org.apache.maven.plugins:maven-surefire-plugin:jar:2.12.4 downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/3.1/maven-compiler-plugin-3.1.pom [warning] failed retrieve plugin descriptor org.apache.maven.plugins:maven-compiler-plugin:3.1: plugin org.apache.maven.plugins:maven-compiler-plugin:3.1 or 1 of dependencies not resolved: failed read artifact descriptor org.apache.maven.plugins:maven-compiler-plugin:jar:3.1 downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-jar-plugin/2.4/maven-jar-plugin-2.4.pom [warning] failed retrieve plugin descriptor org.apache.maven.plugins:maven-jar-plugin:2.4: plugin org.apache.maven.plugins:maven-jar-plugin:2.4 or 1 of dependencies not resolved: failed read artifact descriptor org.apache.maven.plugins:maven-jar-plugin:jar:2.4 downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/2.7/maven-deploy-plugin-2.7.pom [warning] failed retrieve plugin descriptor org.apache.maven.plugins:maven-deploy-plugin:2.7: plugin org.apache.maven.plugins:maven-deploy-plugin:2.7 or 1 of dependencies not resolved: failed read artifact descriptor org.apache.maven.plugins:maven-deploy-plugin:jar:2.7 downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-site-plugin/3.3/maven-site-plugin-3.3.pom
goto project , invoke
mvn help:effective-pom
that forcefulness download plugin
java maven plugins
No comments:
Post a Comment