Re: Using shaded JAR as a dependency in a WAR module

2014-12-08 Thread Mark Eggers
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ron, I'm not sure if it's a better or worse solution. It does minimize the configuration effort. This is always a good thing when moving people from Ant to Maven. What it does illustrate (at least to me) is that the code base I'm working with has

Re: Using shaded JAR as a dependency in a WAR module

2014-12-05 Thread Mark Eggers
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ron, Thanks for the link. I'm attempting to do this with the shade plugin. I took a look at the JAR that the shade plugin generates with my configuration, and it seems to have the pom.xml files from which it was built, but not the reduced dependency

Re: Using shaded JAR as a dependency in a WAR module

2014-12-05 Thread Ron Wheeler
Some forums are more concerned about form than content. Everyone here is pretty focused on solving your problem rather than telling how to post it. If you look at the examples in my post, you will see that the type is pom for dependencies on libraries. We also use provided scope since we

Re: Using shaded JAR as a dependency in a WAR module

2014-12-05 Thread Mark Eggers
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ron and Stephen, Ron, we cannot use libraries installed into Tomcat's $CATALINA_BASE/lib directory for several reasons. While it's nice from a developer and deployment point of view, we do end up running multiple versions of the WAR file (with

Re: Using shaded JAR as a dependency in a WAR module

2014-12-05 Thread Ron Wheeler
Great. I hope that the discussion was helpful even if you found a better solution. Ron On 05/12/2014 3:22 PM, Mark Eggers wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ron and Stephen, Ron, we cannot use libraries installed into Tomcat's $CATALINA_BASE/lib directory for several

Using shaded JAR as a dependency in a WAR module

2014-12-04 Thread Mark Eggers
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Folks, I admit it, I'm a bit confused (and relatively new to maven). Goal: To release a WAR file with a minimal number of JAR files in WEB-INF/lib. Thought: 1. Break up the WAR project into a WAR module and a JAR module 2. Make the WAR module be

Re: Using shaded JAR as a dependency in a WAR module

2014-12-04 Thread Stephen Connolly
DependencyReducedPom On Thursday, 4 December 2014, Mark Eggers its_toas...@yahoo.com.invalid wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Folks, I admit it, I'm a bit confused (and relatively new to maven). Goal: To release a WAR file with a minimal number of JAR files in

Re: Using shaded JAR as a dependency in a WAR module

2014-12-04 Thread Ron Wheeler
We do this all the time and it always works. http://blog.artifact-software.com/tech/?p=121 Aggregation jars make development simpler and wars smaller Partial dependencies for org.mdeggers:iforeclosure:1.0-SNAPSHOT:war dependencies dependency groupIdorg.mdeggers/groupId