[
http://jira.codehaus.org/browse/MWEBSTART-33?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jerome Lacoste updated MWEBSTART-33:
------------------------------------
Fix Version/s: 1.0-alpha-2
> Class 'org.codehaus.mojo.webstart.SignConfig' cannot be instantiated
> ---------------------------------------------------------------------
>
> Key: MWEBSTART-33
> URL: http://jira.codehaus.org/browse/MWEBSTART-33
> Project: Maven 2.x Webstart Plugin
> Issue Type: Bug
> Affects Versions: 1.0-alpha-2
> Reporter: Wim Deblauwe
> Fix For: 1.0-alpha-2
>
>
> Hi,
> I'm trying out the webstart plugin, but when trying to sign my jars, I get
> the following exception:
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to configure plugin parameters for:
> org.codehaus.mojo:webstart-maven-plugin:1.0-alpha-2-SNAPSHOT
> Cause: Class 'org.codehaus.mojo.webstart.SignConfig' cannot be instantiated
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Error configuring:
> org.codehaus.mojo:webstart-maven-plugin. Reason: Unable to parse the created
> DOM for plugin configuration
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:568)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:224)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
> 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.PluginConfigurationException: Error
> configuring: org.codehaus.mojo:webstart-maven-plugin. Reason: Unable to parse
> the created DOM for plugin configuration
> at
> org.apache.maven.plugin.DefaultPluginManager.populatePluginFields(DefaultPluginManager.java:1153)
> at
> org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java:614)
> at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:421)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
> ... 16 more
> Caused by:
> org.codehaus.plexus.component.configurator.ComponentConfigurationException:
> Class 'org.codehaus.mojo.webstart.SignConfig' cannot be instantiated
> at
> org.codehaus.plexus.component.configurator.converters.AbstractConfigurationConverter.instantiateObject(AbstractConfigurationConverter.java:121)
> at
> org.codehaus.plexus.component.configurator.converters.composite.ObjectWithFieldsConverter.fromConfiguration(ObjectWithFieldsConverter.java:88)
> at
> org.codehaus.plexus.component.configurator.converters.ComponentValueSetter.configure(ComponentValueSetter.java:247)
> at
> org.codehaus.plexus.component.configurator.converters.composite.ObjectWithFieldsConverter.processConfiguration(ObjectWithFieldsConverter.java:137)
> at
> org.codehaus.plexus.component.configurator.BasicComponentConfigurator.configureComponent(BasicComponentConfigurator.java:56)
> at
> org.apache.maven.plugin.DefaultPluginManager.populatePluginFields(DefaultPluginManager.java:1147)
> ... 19 more
> Caused by: java.lang.InstantiationException:
> org.codehaus.mojo.webstart.SignConfig
> at java.lang.Class.newInstance0(Class.java:335)
> at java.lang.Class.newInstance(Class.java:303)
> at
> org.codehaus.plexus.component.configurator.converters.AbstractConfigurationConverter.instantiateObject(AbstractConfigurationConverter.java:111)
> ... 24 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 11 seconds
> [INFO] Finished at: Fri Apr 06 12:19:54 CEST 2007
> [INFO] Final Memory: 14M/26M
> [INFO]
> ------------------------------------------------------------------------
> This is the relevant part of my pom.xml:
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>webstart-maven-plugin</artifactId>
> <version>1.0-alpha-2-SNAPSHOT</version>
> <executions>
> <execution>
> <goals>
> <goal>jnlp</goal>
> </goals>
> <phase>site:site</phase>
> </execution>
> </executions>
> <configuration>
>
> <!--<workDirectory>${project.build.directory}/site/jnlp</workDirectory>-->
>
> <workDirectory>${basedir}/src/site/resources/jnlp</workDirectory>
> <!-- JNLP generation -->
> <jnlp>
>
> <outputFile>vigilog.jnlp</outputFile>
> <!-- used to automatically
> identify the jar containing the main class. -->
> <!-- this is perhaps going to
> change -->
>
> <mainClass>net.sourceforge.vigilog.main.Main</mainClass>
> </jnlp>
> <!-- SIGNING -->
> <!-- defining this will automatically
> sign the jar and its dependencies, if necessary -->
> <sign>
>
> <keystore>${basedir}/src/vigilog.crt</keystore>
> <keypass>xxx</keypass>
> <!-- we need to override
> passwords easily from the command line. ${keypass} -->
> <storepass>xxx</storepass>
> <!-- ${storepass} -->
> <storetype>rsa</storetype>
> <alias>vigilogAlias</alias>
> <validity></validity>
> <dnameCn></dnameCn>
> <dnameOu></dnameOu>
> <dnameO></dnameO>
> <dnameL></dnameL>
> <dnameSt></dnameSt>
> <dnameC></dnameC>
> <verify>true</verify>
> </sign>
> <verbose>true</verbose>
> </configuration>
> </plugin>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
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