Vijay Shanker wrote:
David,
Please suggest me as I am stuck. I have installed maven-was-plugin in following way:

mvn install:install-file -Dfile=maven-was-plugin-1.0-20060418.100451-1.jar 
-DgroupId=com.davidkarlsen.maven.plugins -DartifactId=maven-was-plugin 
-Dversion=1.0-SNAPSHOT -Dpackaging=jar

But getting boew given build error:

[INFO] Building Honda GALC Application Ear
[INFO]    task-segment: [package]
[INFO] -------------------------------------------------------------------------
---
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
GroupId: com.davidkarlsen.maven.plugins
ArtifactId: maven-was-plugin
Version: 1.0-SNAPSHOT
Reason: Unable to download the artifact from any repository
  com.davidkarlsen.maven.plugins:maven-was-plugin:pom:1.0-SNAPSHOT
from the specified remote repositories:
  central (http://repo1.maven.org/maven2 <http://repo1.maven.org/maven2>  
<http://repo1.maven.org/maven2 <http://repo1.maven.org/maven2> > )

Please suggest, if there is anything wrong.

Thanks,
Vijay


________________________________

From: Vijay Shanker [mailto:[EMAIL PROTECTED]
Sent: Tue 5/2/2006 8:40 AM
To: Maven Users List
Subject: RE: M2 - EAR deployment



David,

I have installed maven-was-plugin in following way:

mvn install:install-file -Dfile=maven-was-plugin-1.0-20060418.100451-1.jar 
-DgroupId=com.davidkarlsen.maven.plugins -DartifactId=maven-was-plugin 
-Dversion=1.0-SNAPSHOT -Dpackaging=jar
The packaging you set is wrong - this is a "maven-plugin" - not a "jar".
The full pom exists in the repository:
http://www.davidkarlsen.com/m2/com/davidkarlsen/maven/plugins/maven-was-plugin/1.0-SNAPSHOT/maven-was-plugin-1.0-20060418.100451-1.pom

--
David J. M. Karlsen - +47 90 68 22 43
http://www.davidkarlsen.com
http://mp3.davidkarlsen.com



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to