Issue Type: Bug Bug
Affects Versions: 3.12
Assignee: Jesse Glick
Created: 15/Jan/14 7:25 AM
Description:

using dev-SNAPSHOT netbeans platform and latest 3.13-SNAPSHOT of nbm-maven-plugin (with 7.4 harness bits), I get this exception when trying to build webstart bits. (mvn webstart-app)

the fix is to include the harness bits from current trunk which includes the following changeset - http://hg.netbeans.org/core-main/rev/95b5b57ad157

------------------------------------------------------------------------
Failed to execute goal org.codehaus.mojo:nbm-maven-plugin:3.13-SNAPSHOT:webstart-app (extra) on project mavenproject1-app: Error creating webstartable binary. Cannot read extension /var/folders/46/zjq4yb7j4ml8gr6bkkfl94gm0000gn/T/mavenproject1/application/target/mavenproject1/platform/modules/$

{java.home}/lib/ext/jfxrt.jar referenced from /var/folders/46/zjq4yb7j4ml8gr6bkkfl94gm0000gn/T/mavenproject1/application/target/mavenproject1/platform/modules/org-netbeans-libs-javafx.jar -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:nbm-maven-plugin:3.13-SNAPSHOT:webstart-app (extra) on project mavenproject1-app: Error creating webstartable binary.
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
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.MojoExecutionException: Error creating webstartable binary.
at org.codehaus.mojo.nbm.CreateWebstartAppMojo.execute(CreateWebstartAppMojo.java:555)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 19 more
Caused by: Cannot read extension /var/folders/46/zjq4yb7j4ml8gr6bkkfl94gm0000gn/T/mavenproject1/application/target/mavenproject1/platform/modules/${java.home}

/lib/ext/jfxrt.jar referenced from /var/folders/46/zjq4yb7j4ml8gr6bkkfl94gm0000gn/T/mavenproject1/application/target/mavenproject1/platform/modules/org-netbeans-libs-javafx.jar
at org.netbeans.nbbuild.MakeJNLP.processExtensions(MakeJNLP.java:574)
at org.netbeans.nbbuild.MakeJNLP.generateFiles(MakeJNLP.java:386)
at org.netbeans.nbbuild.MakeJNLP.execute(MakeJNLP.java:283)
at org.codehaus.mojo.nbm.CreateWebstartAppMojo.execute(CreateWebstartAppMojo.java:316)
... 21 more

Project: Mojo's NetBeans Module Maven Plugin
Priority: Major Major
Reporter: Milos Kleint
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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

Reply via email to