Re: How to reference a binary assembly dependency

2006-03-06 Thread Elliot Metsger
Is this what you need (I don't work with full J2EE servers)? http://maven.apache.org/plugins/maven-ear-plugin/introduction.html >>> [EMAIL PROTECTED] >>> The use case is a standard j2ee EJB jar. It is a modular, self contained, EJB jar. It must contain EJB classes and all of their dependencies

Re: How to reference a binary assembly dependency

2006-03-06 Thread Wayne Fay
At this point, my group doesn't build "standalone ejb" packages. Personally, we package our J2EE projects as follows... ear >ejb (dep on sharedlib) >war (dep on sharedlib, ejb) >sharedlib (dep on commons-logging, etc) >commons-logging >etc Then I have this in all my jar packaged modules pom.xml f

Re: How to reference a binary assembly dependency

2006-03-06 Thread Brad O'Hearne
The use case is a standard j2ee EJB jar. It is a modular, self contained, EJB jar. It must contain EJB classes and all of their dependencies. So if I have com.me.EJBClass1 that depends on log4j.jar, my ejb jar needs to contain EJBClass1 and log4j.jar. This apparently cannot be accomplished with

Re: How to reference a binary assembly dependency

2006-03-06 Thread Wayne Fay
That's actually what I was getting at... It sounds like he wants to pack an uberjar into another jar. I just don't see that as a valid use case. I completely understand the uberjar use case!! Wayne On 3/6/06, Brett Porter <[EMAIL PROTECTED]> wrote: > This isn't routing around it: it seems to b

Re: How to reference a binary assembly dependency

2006-03-06 Thread Brett Porter
This isn't routing around it: it seems to be a common use case (usually, the incorporated jars are unpacked into the other one since its impossible to use jars in jars as is). However, there is a limitation that the transitive dependencies will still be pulled in, even though the jars are included

Re: How to reference a binary assembly dependency

2006-03-06 Thread Wayne Fay
I think you need a classifier. ;-) com.me MyApp 1.0-SNAPSHOT with-dependencies jar compile Let us know if this works! Of course, I have to ask why you are doing this, effectively routing around the built-in dependency management features of Maven... Wayne On 3/6/06, Brad O'

Re: How to reference a binary assembly dependency

2006-03-06 Thread dan tran
com.me MyApp 1.0-SNAPSHOT with-dependencies jar compile On 3/6/06, Brad O'Hearne <[EMAIL PROTECTED]> wrote: > > Using the assembly plugin, I have created assembly jars, and deployed > them to my snapshot repository. The problem is, I am not finding a way > to reference this j

How to reference a binary assembly dependency

2006-03-06 Thread Brad O'Hearne
Using the assembly plugin, I have created assembly jars, and deployed them to my snapshot repository. The problem is, I am not finding a way to reference this jar as a dependency. The assembly creates two jar files when run named: MyApp-1.0-SNAPSHOT.jar MyApp-1.0-SNAPSHOT-with-dependencies.jar