Hi Kenney,
 
Sorry for reposting the same question. I did try with your suggestion but still 
same problem. 
 
Thanks,
Vijay
 

________________________________

From: Kenney Westerhof [mailto:[EMAIL PROTECTED]
Sent: Tue 5/2/2006 1:19 PM
To: Maven Users List
Subject: RE: M2 - EAR deployment



On Tue, 2 May 2006, Vijay Shanker wrote:

Hi,

Please don't ask the same question twice. Some people live in different
timezones or just don't have the time to immediately reply.

In this case: you're installing a plugin. A plugin should have packaging
'maven-plugin' : -Dpackaging=maven-plugin.

Next, you didn't install the pom file. You should also install
maven-was-plugin-1.0-2006etc...pom (best you just copy that file by hand
to
~/.m2/repository/com/..../maven-was-plugin/1.0-SNAPSHOT/maven-was-plugin-1.0-SNAPSHOT.pom)

-- Kenney

> 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 
> <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
>
> 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> )
>
> Please suggest, if there is anything wrong.
>
> Thanks,
> Vijay
>
>
> ________________________________
>
> From: David J. M. Karlsen [mailto:[EMAIL PROTECTED]
> Sent: Mon 5/1/2006 2:15 PM
> To: Maven Users List
> Subject: Re: M2 - EAR deployment
>
>
>
> Vijay Shanker wrote:
> > David,
> >
> > Could you please give me example of using it?
> >
>           <plugin>
>
> <groupId>com.davidkarlsen.maven.plugins</groupId>
>                                 <artifactId>maven-was-plugin</artifactId>
>                                 <version>1.0-SNAPSHOT</version>
>
>                                 <executions>
>                                 <execution>
>                                 <configuration>
>                                 <targetVersion>WAS502</targetVersion>
>                                 <generateDebug>true</generateDebug>
>                                 <verbose>true</verbose>
>
> <script>c:\WebSphere\AppServer\deploytool\itp\ejbdeploy.bat</script>
>                                 </configuration>
>                                 <goals>
>                                 <goal>deploy</goal>
>                                 </goals>
>                                 <phase>process-classes</phase>
>                                 </execution>
>                                 </executions>
>                                 </plugin>
>
>
> --
> 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]
>
>
>
>
>
>
>
>

--
Kenney Westerhof
http://www.neonics.com
GPG public key: http://www.gods.nl/~forge/kenneyw.key

---------------------------------------------------------------------
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]

Reply via email to