[
http://jira.codehaus.org/browse/MWAS-50?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kim Heftø updated MWAS-50:
--------------------------
Attachment: EjbDeployMojo.java
This is a fix for bug MWAS-50. In order to make the plugin respect the
classifier, it needs to be specified both in the maven-ejb-plugin and in the
was6-maven-plugin like this:
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>was6-maven-plugin</artifactId>
<version>1.1.2</version>
<executions>
<execution>
<goals>
<goal>ejbdeploy</goal>
</goals>
</execution>
</executions>
<configuration>
<classifier>was</classifier>
</configuration>
</plugin>
<plugin>
<artifactId>maven-ejb-plugin</artifactId>
<configuration>
<classifier>was</classifier>
</configuration>
</plugin>
</plugins>
> Plugin does not work with a artifact with a classifier
> ------------------------------------------------------
>
> Key: MWAS-50
> URL: http://jira.codehaus.org/browse/MWAS-50
> Project: Maven 2.x WebSphere 6 Plugin
> Issue Type: Bug
> Affects Versions: 1.1
> Reporter: fabrice
> Assignee: David J. M. Karlsen
> Attachments: EjbDeployMojo.java
>
> Original Estimate: 0 minutes
> Remaining Estimate: 0 minutes
>
> When I run the plugin with a artifact with a classifier it does not work
> because WASHOME is not found whereas in other case it works nice.
> [INFO] Building jar:
> /opt/apache-tomcat-5.5.26_Intg/webapps/hudson/jobs/SITE_PEC_EAR_MultiWar/workspace/target/pec-web-ear-3.14.0.0.4-test-alm.ear
> [INFO] [was6:wsDefaultBindings {execution: pre-integration-test-was6}]
> [WARNING] Build script does not contain attribute: wasHome
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>was6-maven-plugin</artifactId>
> −
> <executions>
> −
> <execution>
> <id>pre-integration-test-was6</id>
> <phase>pre-integration-test</phase>
> −
> <goals>
> <goal>wsDefaultBindings</goal>
> <goal>installApp</goal>
> <goal>wsStartApp</goal>
> </goals>
> </execution>
> −
> <execution>
> <id>post-integration-test-was6</id>
> <phase>post-integration-test</phase>
> −
> <goals>
> <goal>wsStopApp</goal>
> <goal>wsUninstallApp</goal>
> </goals>
> </execution>
> </executions>
> −
> <configuration>
> <host>${was6.host}</host>
> <targetCell>${was6.targetCell}</targetCell>
> <targetNode>${was6.targetNode}</targetNode>
> <targetServer>server1</targetServer>
> <profileName>${was6.profileName}</profileName>
> <node>${targetNode}</node>
> <server>${targetServer}</server>
> <conntype>${was6.conntype}</conntype>
> <port>${was6.port}</port>
> <wasHome>${was6.wasHome}</wasHome>
> <verbose>true</verbose>
> <updateExisting>false</updateExisting>
> </configuration>
> </plugin>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email