hi!

We are trying to use the webstart maven plugin to automatically generate a
jnlp file with all the required dependencies.

Somewhow it doesn¹t work like expected when it comes to resolving
dependencies of the dependencies.

For example:
In my pom file I¹ve got a dependency like this:

<!-- spring + hibernate --> <dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-hibernate3</artifactId>   <version>2.0-m4</version>
</dependency>

That¹s the only dependency from org.springframework in our pom.xml because
maven takes care of all the rest and loads the libs required by
spring-hibernate3. Now I would expect the webstart maven plugin to do the
same. Unfortunately, an include like
<include>org.springframework:spring-hibernate3</include> isn¹t enough
because we get NoClassDefFound Exceptions for classes that didn¹t get
exported. Once I find and add them as an include manually, the webstart
plugin exports them just fine.

Am I missing something here? Is there no such thing as resolving transitive
dependencies with the webstart plugin?

btw: excludeTransitive is set to false...

Regards,
Patrick

Reply via email to