(that's a workaround, I fixed the root cause on trunk ;)
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau



2013/11/25 Helge Waastad <[email protected]>:
> I did'nt....but when I did it suddenly worked!
>
> Thank's alot.
>
> br hw
>
> ma., 25.11.2013 kl. 14.23 +0100, skrev Romain Manni-Bucau:
>
>> Hi
>>
>> did you try adding <classpaths></classpaths> in your config?
>> Romain Manni-Bucau
>> Twitter: @rmannibucau
>> Blog: http://rmannibucau.wordpress.com/
>> LinkedIn: http://fr.linkedin.com/in/rmannibucau
>> Github: https://github.com/rmannibucau
>>
>>
>>
>> 2013/11/25 hwaastad <[email protected]>:
>> > Hi,
>> > I read the post:
>> > http://rmannibucau.wordpress.com/2013/09/25/tomee-maven-plugin-and-integration-tests-without-arquillian/
>> >
>> > and wanted to try this one out.
>> >
>> > However, stopping the tomee always fail running mvn clean verify:
>> >
>> > [ERROR] Failed to execute goal
>> > org.apache.openejb.maven:tomee-maven-plugin:1.6.0:stop (stop) on project
>> > ArquillianEnterprise-IT: Execution stop of goal
>> > org.apache.openejb.maven:tomee-maven-plugin:1.6.0:stop failed.
>> > NullPointerException -> [Help 1]
>> > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
>> > goal org.apache.openejb.maven:tomee-maven-plugin:1.6.0:stop (stop) on
>> > project ArquillianEnterprise-IT: Execution stop of goal
>> > org.apache.openejb.maven:tomee-maven-plugin:1.6.0:stop failed.
>> >         at
>> > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:225)
>> >         at
>> > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>> >         at
>> > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>> >         at
>> > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
>> >         at
>> > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>> >         at
>> > org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>> >         at
>> > org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>> >         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
>> >         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>> >         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>> >         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>> >         at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> >         at
>> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>> >         at
>> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> >         at java.lang.reflect.Method.invoke(Method.java:606)
>> >         at
>> > org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
>> >         at
>> > org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>> >         at
>> > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
>> >         at
>> > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
>> > Caused by: org.apache.maven.plugin.PluginExecutionException: Execution stop
>> > of goal org.apache.openejb.maven:tomee-maven-plugin:1.6.0:stop failed.
>> >         at
>> > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:110)
>> >         at
>> > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>> >         ... 19 more
>> > Caused by: java.lang.NullPointerException
>> >         at
>> > org.apache.openejb.maven.plugin.AbstractTomEEMojo.getAdditionalClasspath(AbstractTomEEMojo.java:292)
>> >         at
>> > org.apache.openejb.maven.plugin.AbstractTomEEMojo.run(AbstractTomEEMojo.java:693)
>> >         at
>> > org.apache.openejb.maven.plugin.StopTomEEMojo.execute(StopTomEEMojo.java:40)
>> >         at
>> > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>> >
>> > BTW,
>> > this is a IT module in an enterprise project and I'm adding the web project
>> > via <apps></apps>
>> >
>> >
>> > br hw
>> >
>> >
>> >
>> >
>> >
>> >
>> > --
>> > View this message in context: 
>> > http://openejb.979440.n4.nabble.com/tomee-maven-plugin-and-failsafe-tp4666386.html
>> > Sent from the OpenEJB User mailing list archive at Nabble.com.
>
>

Reply via email to