In your <jnlp> section, do you have a <mainClass> defined?
Line 629 in JnlpMojo is:
if ( artifactContainsClass( artifact, jnlp.getMainClass() ) ) {
Wayne
On 4/5/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I am using an alternate pom that specifies:
>
> <packaging>pom</packaging>
>
> and is almost exactly the same as the example found on:
>
> http://mojo.codehaus.org/webstart-maven-plugin-parent/webstart-maven-plugin/howto.html
>
> and I still get:
>
> [DEBUG] Skipping artifact of type pom for jnlp
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failure to run the plugin:
>
> [INFO]
> ------------------------------------------------------------------------
> [DEBUG] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Failure to run the
> plugin:
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.
> java:559)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecy
> cleExecutor.java:475)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.j
> ava:454)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLi
> fecycleExecutor.java:306)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleEx
> ecutor.java:273)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:
> 140)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> 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)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Failure to run
> the plugin:
> at org.codehaus.mojo.webstart.JnlpMojo.execute(JnlpMojo.java:479)
> at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.
> java:534)
> ... 16 more
> Caused by: java.lang.NullPointerException
> at
> org.codehaus.mojo.webstart.JnlpMojo.processDependency(JnlpMojo.java:629)
> at
> org.codehaus.mojo.webstart.JnlpMojo.processDependencies(JnlpMojo.java:588)
> at org.codehaus.mojo.webstart.JnlpMojo.execute(JnlpMojo.java:367)
> ... 18 more
> [INFO]
> ------------------------------------------------------------------------
> --
> View this message in context:
> http://www.nabble.com/Maven-Webstart-Plugin-t1371503.html#a3769779
> Sent from the Maven - Users forum at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>