Sorin Postelnicu created MNGSITE-320: ----------------------------------------
Summary: Very quick clarification of using maven-install-plugin:2.5 for installing 3rd party jars Key: MNGSITE-320 URL: https://issues.apache.org/jira/browse/MNGSITE-320 Project: Maven Project Web Site Issue Type: Improvement Reporter: Sorin Postelnicu A recurring question which I saw is about this documentation page: http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html In the last paragraph it says: {quote} With version 2.5 of the maven-install-plugin it gets even better. If the JAR was built by Apache Maven, it'll contain a pom.xml in a subfolder of the META-INF directory, which will be read by default. In that case, all you need to do is: mvn install:install-file -Dfile=<path-to-file> {quote} But when running even the latest version of Maven (3.5.2), by default it is still using version 2.4 of maven-install-plugin And it is not at all obvious for a new Maven user: how to use the mentioned feature of version 2.5 of the maven-install-plugin ? Could someone please edit the last line of this documentation page, and instead of this: {code} mvn install:install-file -Dfile=<path-to-file> {code} please replace it with this: {code} mvn org.apache.maven.plugins:maven-install-plugin:2.5.2:install-file -Dfile=<path-to-jar-file> {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)