Sorin Postelnicu opened MNGSITE-320 and commented
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:
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>
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:
mvn install:install-file -Dfile=<path-to-file>
please replace it with this:
mvn org.apache.maven.plugins:maven-install-plugin:2.5.2:install-file -Dfile=<path-to-jar-file>
No further details from MNGSITE-320
Sorin Postelnicu opened MNGSITE-320 and commented
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:
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:
please replace it with this:
No further details from MNGSITE-320