On Dec 18, 2007 7:38 PM, Farrukh Najmi <[EMAIL PROTECTED]> wrote:
>
> I am trying to generate a webstart distribution for my UI using
> org.codehaus.mojo:webstart-maven-plugin:1.0-alpha-2-SNAPSHOT:jnlp
>
> I created my plugin configuration based upon examples provided. I am
> currently getting an error suggesting that the <jnlp> element is missing.
> But its not missing. What could be wrong?
>
> [DEBUG] webstart-jarsigner-api: resolved to version
> 1.0-alpha-2-20070823.204122-3 from repository Maven Snapshots
> [DEBUG] pack200-jdk15: resolved to version 1.0-alpha-2-20070823.204122-7
> from repository Maven Snapshots
> [DEBUG] keytool-maven-plugin: resolved to version
> 1.0-beta-2-20071206.230813-2 from repository Maven Snapshots
> [DEBUG] Configuring mojo
> 'org.codehaus.mojo:webstart-maven-plugin:1.0-alpha-2-SNAPSHOT:jnlp' -->
> [DEBUG]   (f) basedir = /home/najmi/xxx/trunk/myapp-gui-swing
> [DEBUG]   (f) executedProject =
> [EMAIL PROTECTED]
> [DEBUG]   (f) gzip = false
> [DEBUG]   (f) localRepository = [local] -> file:///home/najmi/.m2/repository
> [DEBUG]   (s) outputJarVersions = false
> [DEBUG]   (f) pack200 = false
> [DEBUG]   (f) remoteRepositories = ....
> [DEBUG]   (f) settings = [EMAIL PROTECTED]
> [DEBUG]   (f) templateDirectory =
> /home/najmi/xxx/trunk/myapp-gui-swing/src/main/jnlp
> [DEBUG]   (f) unsignAlreadySignedJars = false
> [DEBUG]   (f) verbose = false
> [DEBUG]   (f) verifyjar = true
> [DEBUG]   (f) workDirectory =
> /home/najmi/xxx/trunk/myapp-gui-swing/target/jnlp
> [DEBUG] -- end configuration --
> [INFO] [webstart:jnlp]
> [DEBUG] a fact
> [EMAIL PROTECTED]
> [DEBUG] a resol
> [EMAIL PROTECTED]
> [DEBUG] basedir /home/najmi/xxx/trunk/myapp-gui-swing
> [DEBUG] gzip false
> [DEBUG] pack200 false
> [DEBUG] project [EMAIL PROTECTED]
> [DEBUG] zipArchiver [EMAIL PROTECTED]
> [DEBUG] verifyjar true
> [DEBUG] verbose false

If you look carefully in the log, you will see that several
configuration elements are not taken into account:
                           <pack200>true</pack200>
                           <gzip>true</gzip> <!-- default force when
pack200 false, true when pack200 selected ?? -->
[...]

                           <verbose>true</verbose>
->

[DEBUG] gzip false
[DEBUG] pack200 false
[DEBUG] verbose false

* how did you run the build ? mvn install webstart:jnlp ? mvn webstart:jnlp ?

you probably want to use the jnlp-inline mojo and attach it to a
particular phase

Cheers,

Jerome
Jerome

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to