Hello!
I am using Maven to build my web appliaction and I wish to deploy the
resulted war to the WebSphere Application Server with the help of the
was6-maven-plugin.
I am using the WebSphere Application Server Community Edition downloaded
from here:
http://www.ibm.com/developerworks/downloads/ws/wasce/
I want to do this deployment as simply as possible, without ear files etc.
Here is my plugin configuration which is not working:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>was6-maven-plugin</artifactId>
<version>1.2</version>
<executions>
<execution>
<id>deploy-webapp-websphere</id>
<phase>pre-integration-test</phase>
<goals>
<goal>installApp</goal>
</goals>
</execution>
</executions>
<configuration>
<wasHome>c:\Program
Files\IBM\WebSphere\AppServerCommunityEdition</wasHome>
<host>localhost</host>
<username>system</username>
<password>manager</password>
<profileName>AppServerCommunityEdition</profileName>
<conntype>SOAP</conntype>
<port>8080</port>
<verbose>true</verbose>
<earFile>${project.basedir}/${root.relative.path}/assemblies/src/${main.project.name}_distributed/target/${main.project.name}.war</earFile>
<applicationName>${main.project.name}</applicationName>
<updateExisting>false</updateExisting>
</configuration>
</plugin>
Some values are evidently not correct in this configuration, for example
there is a war file specified for the earFile element I am not sure if the
SOAP connection type is correct and needed, but I didn't find a warFile
parameter. Anyway when I run the build, I got this error, which is hinting
at something else:
[ERROR] Failed to execute goal
org.codehaus.mojo:was6-maven-plugin:1.2:installApp (deploy-webapp-websphere)
on project test-integration: Couldn't find ws_ant[.sh|.bat], candidates: {}
-> [Help 1]
Can you help me resolving this? Thank you for your help in advance.
--
View this message in context:
http://old.nabble.com/Websphere-deployment-using-the-was6-maven-plugin-tp34567839p34567839.html
Sent from the mojo - dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email