I would assume that you didn't install the pom file along with the
jar. Easiest thing would be to just grab the pom file and literally
copy and paste it into the proper place in your filesystem.
On a related note... why are you installing these files manually -- so
long as you are connected to the Internet, Maven should automatically
resolve, download, and install this plugin and all related files.
Wayne
On 3/21/07, Rod Mclaughlin <[EMAIL PROTECTED]> wrote:
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]