Can anyone help me with this?
mvn install:install-file -DgroupId=org.apache.maven.plugins
-DartifactId=maven-war-plugin -Dfile=maven-war-plugin-2.0.2.jar
-Dversion=2.0.2 -Dpackaging=maven-plugin
creates
~/.m2/repository/org/apache/maven/plugins/maven-war-plugin/2.0.2/maven-war-plugin-2.0.2.jar
but
mvn install
says
'The plugin 'org.apache.maven.plugins:maven-war-plugin' does not exist
or no valid version could be found'
My colleague has the plugin in exactly the same place in his .m2 folder,
but when he enters mvn install, it builds.
The pom says
<modelVersion>4.0.0</modelVersion>
<name>XYZ</name>
<groupId>com.ourcompany</groupId>
<artifactId>abc</artifactId>
<packaging>war</packaging>
<version>0.1-SNAPSHOT</version>
<url>http://ourcompany.com</url>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]