ty for the hint, but this won't help as we want to use the was6-plugin for Continuous Integration (with Continuum), i. e. the deployment package will be build by Continuum in an arbitrary tmp-file, hence we don't no the path in advance.
The was6-plugin should either pick the deployment package up from the target-dir, or alternatively, from the local maven repo. Is either of this possible? -----Ursprüngliche Nachricht----- Von: Tim Kettler [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 21. Mai 2008 10:58 An: Maven Users List Betreff: Re: WAS6-plugin error Hi, I've never used the was-plugin, but looking at the documentation and source code, it seems that the default assumption of the 'installAp' goal is that it is running as part of a maven build. The 'earFile' parameter is automatically populated with the current projects main artifact [1], which is obviously not available when you invoke the goal standalone. What should work, is that you specify the ear file explicitly on the command line: mvn -Dwas6.earFile=/path/to/my.ear was6:installApp Hope this helps -Tim [1] http://mojo.codehaus.org/was6-maven-plugin/installApp-mojo.html#earFile Lustig, Marc (Allianz Deutschland AG) schrieb: >> mvn package > .. > [INFO] BUILD SUCCESSFUL > .. >> mvn was6:installApp > ... > [ERROR] FATAL ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] null > [INFO] > ------------------------------------------------------------------------ > [INFO] Trace > java.lang.NullPointerException > at > org.codehaus.mojo.was6.WsInstallAppMojo.configureBuildScript(WsInstallAp > pMojo.java:54) > > > the pom.xml look like this: > <plugin> > <groupId>org.codehaus.mojo</groupId> > > <artifactId>was6-maven-plugin</artifactId> > <version>1.0-alpha-2</version> > <executions> > <execution> > > <id>integration-test</id> > > <phase>integration-test</phase> > <goals> > > <goal>wsStopServer</goal> > > <goal>installApp</goal> > > <goal>wsStartServer</goal> > </goals> > </execution> > </executions> > <configuration> > > <wasHome>c:/Programme/ibm/SDP70/runtimes/base_v61</wasHome> > <host>localhost</host> > <username>admin</username> > <password></password> > <!-- > > <targetCluster>nameOfCluster</targetCluster> > --> > > <profileName>AppSrv01</profileName> > <!-- remember to import > certificate from remote site when deploying to a site with security > activated --> > <conntype>SOAP</conntype> > <port>8880</port> > <verbose>true</verbose> > <!-- need to be false first time it's > deployed to a server --> > > <updateExisting>false</updateExisting> > </configuration> > </plugin> > > --------------------------------------------------------------------- > 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
