Hi,
I'm working since one week with the webstart plugin. Thats realy great.
I'm using the jnlp-download-servlet goal. But I have problems with the
update feature of webstart. If I deploy a new status of version
1.0.0-SNAPSHOT of my app for example then the application isn't up to date
after a restart.
I assume the problem is the version tag in the generated jnlp file <jar
href="lib/commons-lang.jar" version="2.4"/>. I assume I need something like
this <jar href="lib/commons-lang-2.4.jar"/>.
So I look in the api and see a flag named <outputJarVersion>. But this works
only for the given artifact and not for it's copied transitive dependencies.
See below
...
<excludeTransitive>false</excludeTransitive>
<jarResources>
<jarResource>
<groupId>foo</groupId>
<artifactId>bar</artifactId>
<version>${version-project}</version>
<mainClass>foo.bar.Main</mainClass>
<outputJarVersion>false</outputJarVersion>
</jarResource>
</jarResources>
</jnlpFile>
</jnlpFiles>
So my result is
<jar href="lib/bar-3.0.0-SNAPSHOT.jar" main="true"/>
<jar href="lib/something.jar" version="3.0.0-SNAPSHOT"/>
Bu I want to have
<jar href="lib/bar-3.0.0-SNAPSHOT.jar" main="true"/>
<jar href="lib/something-3.0.0-SNAPSHOT.jar"/>
Thanks
--
View this message in context:
http://maven.40175.n5.nabble.com/Webstart-Plugin-tp5584918p5584918.html
Sent from the Maven Developers mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]