Using 1.0-alpha-2-SNAPSHOT of webstart-maven-plugin, I have the following
error.
ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] didn't find artifact with main class:
com.dst.hps.common.framework.crosswalk.ui.CrossWalkUI. Did you specify it?
Just to check and see that the artifact that includes that class, I did
[INFO] snapshot com.dsths.integration:IntegrationUI:1.0.0-SNAPSHOT: checking
for updates from integration
[DEBUG] IntegrationUI: using locally installed snapshot
[DEBUG] Retrieving parent-POM:
com.dsths.integration:DSTIntegrationBasicParentPOM::2 for project:
null:IntegrationUI:jar: 1.0.0-SNAPSHOT from the repository.
[DEBUG]
com.dsths.integration:IntegrationUI:jar:1.0.0-SNAPSHOT:compile(selected
for compile)
[DEBUG] IntegrationUI: using locally installed snapshot
[DEBUG] (s) mainClass =
com.dst.hps.common.framework.crosswalk.ui.CrossWalkUI
[ERROR] BUILD ERROR
[INFO] didn't find artifact with main class:
com.dst.hps.common.framework.crosswalk.ui.CrossWalkUI. Did you specify it?
org.apache.maven.lifecycle.LifecycleExecutionException : didn't find
artifact with main class:
com.dst.hps.common.framework.crosswalk.ui.CrossWalkUI. Did you specify it?
Caused by: org.apache.maven.plugin.MojoExecutionException: didn't find
artifact with main class:
com.dst.hps.common.framework.crosswalk.ui.CrossWalkUI. Did you specify it?
So the artifact is available. I looked at the local repo and into the jar
and that class is definitely in the specified jar, so the jar SHOULD be
available.
Since it can't find the class, it doesn't proceed any farther so the
target/jnlp directory is empty.
Is there some additional configuration I need to do besides the following?
<plugins>
<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>
</execution>
</executions>
<configuration>
<!-- transitive dependencies filter -->
<dependencies>
<!-- Note that only groupId and artifactId must be
specified here. because of a limitation of the
Include/ExcludesArtifactFilter -->
<!--
<includes>
<include>commons-logging:commons-logging</include>
<include>commons-cli:commons-cli</include>
</includes>
-->
<excludes>
<exclude>com.ibm.icu:icu4j</exclude>
</excludes>
</dependencies>
<!-- JNLP generation -->
<jnlp>
<outputFile>integration.jnlp</outputFile><!--
defaults to launch.jnlp -->
<mainClass>
com.dst.hps.common.framework.crosswalk.ui.CrossWalkUI</mainClass>
</jnlp>
<!-- SIGNING -->
<!-- defining this will automatically sign the jar and
its dependencies, if necessary -->
<sign>
<keystore>keystore.sird</keystore>
<keypass>${keypass}</keypass>
<storepass>${storepass}</storepass>
<alias>svn</alias>
<validity></validity>
<dnameCn>US</dnameCn>
<dnameOu>SIRD</dnameOu>
<dnameO>Org</dnameO>
<dnameL>Loca</dnameL>
<dnameSt>st</dnameSt>
<dnameC>comp</dnameC>
<verify>true</verify>
</sign>
<!-- KEYSTORE MANGEMENT -->
<keystore>
<delete>true</delete><!-- delete the keystore -->
<!-- <gen>true</gen>-->
<!-- optional shortcut to generate the store. -->
</keystore>
<!-- BUILDING PROCESS -->
<!--usejnlpservlet>true</usejnlpservlet--><!-- not yet
supported -->
<!-- should we have some more configurations here? E.g.
compression level (aka packing effort) -->
<!-- not yet implemented -->
<pack200>true</pack200>
<gzip>false</gzip><!-- default force when pack200 false,
true when pack200 selected ?? -->
<!-- misc -->
<!-- if there are multiple apps, do we need to mark one
as default? (app/ redirects to app/default.jnlp in jnlp servlet ??)-->
<!-- -->
<!--install>false</install--><!-- not yet supported -->
<verbose>true</verbose>
</configuration>
</plugin>
--
I'm just an unfrozen caveman software developer. I don't understand your
strange, "modern" ways.