I am trying to convert a project from compiling from Java 6 to Java 8. We are using the webstart-maven-plugin, for which there is currently a workaround ( http://mojo.10943.n7.nabble.com/jira-MWEBSTART-269- Java-8-support-td44357.html ) to compile with Java 8 by adding the following dependencies to the plugin definition.
... <build> <pluginManagement> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>webstart-maven-plugin</artifactId> <version>1.0-beta-6</version> <dependencies> <dependency> <groupId>org.codehaus.mojo</groupId> <artifactId>webstart-pack200-impl</artifactId> <version>1.0-beta-6</version> </dependency> <dependency> <groupId>org.codehaus.mojo</groupId> <artifactId>keytool-api-1.7</artifactId> <version>1.4</version> </dependency> </dependencies> ... </plugin> </plugins> </pluginManagement> </build> ...
This led me to my initial problems.
Now I get the following error.
[ERROR] Failed to execute goal org.codehaus.mojo:webstart-maven-plugin:1.0-beta-6:jnlp-inline (default) on project <redacted>: Unable to parse configuration of mojo org.codehaus.mojo:webstart-maven-plugin:1.0-beta-6:jnlp-inline for parameter pack200: Cannot find default setter in class org.codehaus.mojo.webstart.Pack200Config -> [Help 1]
The Help link will go to the next page. https://cwiki.apache.org/confluence/display/MAVEN/PluginConfigurationException
As far as I can tell, the webstart-pack200-impl dependency requires some configuration to determine which setter is being used. Any information on the setters I found on the Internet seems to be different from this. I cannot figure out if there is a way to set the configuration for the dependency.
Or am I considering this completely wrong?
Thank you very much in advance
java maven mojo
user3689299
source share