Hi,
Using 'mvn package' I generated a jar for my application. This all works fine.
However, two dependency jars are used that need to be included in the jar so they are always available at runtime (they're needed at
compile-time, too btw). Of course, these dependencies were declared in the pom.xml and exist in my local maven repository.
Just setting their <scope> element to 'runtime', doesn't work since they're
also compile-time dependencies.
I googled around and read documentation, but couldn't to find information on
this.
I solved the problem for now by putting class files from the jars in main/resources, but now I have to manually update these class files
whenever a new version for one of the dependencies comes out.
Something tells me there must be a more generic way to do this...
Any of you have a solution??
Greets,
Florian
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]