Turgay skrev:
Thank you for your reply. We have found a similiar solution.

However, I think here is the point needed to be specified clearly : it
requires a WAS installation (or somehow some part of it) on local machine or
smart mapping to a remote WAS installation.

Thanks


easygoing wrote:
Here is my solution

mvn org.codehaus.mojo:was6-maven-plugin:1.0-alpha-2:installApp
-Dwas6.wasHome=C:\webSphere\AppServer -Dwas6.host=xxx.xxx.xxx.xxx
-Dwas6.conntype=SOAP -Dwas6.username=${username}
-Dwas6.password=${password} -Dwas6.earFile=c:\temp\testWeb_war.ear In my case, It works only when there is already deployed application with the same
name  with that project's coodinate
( groudId:artifactId:version ) in Websphere server.

so, dont forget deploy the one (have the same name that project's
coodinate)  first!!!!

I don't know why and I wonder why.


This can be controlled with the flag:
http://mojo.codehaus.org/was6-maven-plugin/installApp-mojo.html#updateExisting
And is also described in the faq:
http://mojo.codehaus.org/was6-maven-plugin/examples/installing-ears.html

It's basically that way because the IBM ant task was designed that way.


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

Reply via email to