I am trying to run the CactifyEAR goal, and having it include a existing WAR file as the cactus.war. I am throwing a NPE in the AssemblyFileUtils. Pom section is. <plugin> <groupId>org.apache.cactus</groupId> <artifactId>cactus.integration.maven2</artifactId> <version>1.8.1-SNAPSHOT</version> <configuration> <srcFile>target\${project.build.finalName}.ear</srcFile> <destFile>target\cactus-${project.build.finalName}.ear</destFile> <cactusWar> <srcFile>..\test-servlet\target\test-servlet-1.0.war</srcFile> <testClasses> <directory>..\test-servlet\target/test-classes</directory> <includes> <include>**/**Test*.class</include> </includes> </testClasses> </cactusWar> <addEjbReferences>true</addEjbReferences> </configuration> <executions> <execution> <id>cactus-cactifyear</id> <phase>pre-integration-test</phase> <goals> <goal>cactifyear</goal> </goals> </execution> </executions> </plugin> Stack Trace is : [info] Inspecting.. [info] The AspectJ Runtime JAR is already present in the WAR. Will skip. [info] Inspecting.. [info] The Cactus Framework JAR is already present in the WAR. Will skip. [info] Inspecting.. [info] The Commons-Logging JAR is already present in the WAR. Will skip. [info] Inspecting.. [info] The Commons-HttpClient JAR is already present in the WAR. Will skip. [info] Inspecting.. [info] The JUnit JAR is already present in the WAR. Will skip. ------------------------------------------------------------------------ [ERROR]FATAL ERROR ------------------------------------------------------------------------ null ------------------------------------------------------------------------ Trace java.lang.NullPointerException at org.apache.maven.plugin.assembly.utils.AssemblyFileUtils.unpack(Assembly FileUtils.java:77) at org.apache.cactus.maven2.mojos.CactifyWarMojo.execute(CactifyWarMojo.jav a:369) at org.apache.cactus.maven2.mojos.CactifyEarMojo.createCactusWarFile(Cactif yEarMojo.java:272) at org.apache.cactus.maven2.mojos.CactifyEarMojo.execute(CactifyEarMojo.jav a:202) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa nager.java:451) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default LifecycleExecutor.java:558) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec ycle(DefaultLifecycleExecutor.java:499) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL ifecycleExecutor.java:478) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle Failures(DefaultLifecycleExecutor.java:330) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( DefaultLifecycleExecutor.java:291) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec ycleExecutor.java:142) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Any ideas? Josh Smith USDA AFAO / FMG 816-926-2114 josh.sm...@one.usda.gov <mailto:josh.sm...@one.usda.gov>