Re: Maven to package

2011-05-17 Thread Wayne Fay
> is it possible to create a jar of selected packages together with > dependencies in a project. ? in addition to the other plugins already mentioned... the shade plugin may be something you should look at/consider as well Wayne ---

Re: Maven to package

2011-05-17 Thread Russ Tremain
At 1:52 PM -0700 5/17/11, mavenuser wrote: >is it possible to create a jar of selected packages together with >dependencies in a project. ? > yes. use the maven-dependency plugin, and just unpack or copy the dependencies to your target/classes dir. --

Re: Maven to package

2011-05-17 Thread Manfred Moser
> is it possible to create a jar of selected packages together with > dependencies in a project. ? yes. look at the assembly and appassembler maven plugins - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For addition

Maven to package

2011-05-17 Thread mavenuser
is it possible to create a jar of selected packages together with dependencies in a project. ? -- View this message in context: http://maven.40175.n5.nabble.com/Maven-to-package-tp4404721p4404721.html Sent from the Maven - Users mailing list archive at Nabble.com

Re: How do I get Maven to package ejb dependencies in the ear?

2009-08-28 Thread Wayne Fay
> Or is there a configuration setting for the war plugin that will tell it to > package dependencies in the ear? Check the Maven Users Wiki for "Skinny War" or just Google for "Maven skinny war". This topic is also discussed on this list now and then so search the archives at Nabble.com. Wayne -

Re: How do I get Maven to package ejb dependencies in the ear?

2009-08-28 Thread Jörg Schaible
Hi David, David Sharp wrote at Freitag, 28. August 2009 15:40: >>I am not sure, I get your problem. By default your EJB will not contain >>any jars and if you declare your EJB as dependency for your EAR the latter >>will contain the EJB as well as all transitive dependencies of this EJB. > > You

Re: How do I get Maven to package ejb dependencies in the ear?

2009-08-28 Thread David Sharp
>I am not sure, I get your problem. By default your EJB will not contain any >jars and if you declare your EJB as dependency for your EAR the latter will >contain the EJB as well as all transitive dependencies of this EJB. You are right. I made an erroneous assumption that EJBs would be similar t

Re: How do I get Maven to package ejb dependencies in the ear?

2009-08-27 Thread Jörg Schaible
Hi David, David Sharp wrote: > I'm new to Maven, and I am struggling to figure out how to get it to do > packaging in accordance with the standards at my work place. Suppose I > have an ejb called project-ejb, that depends on a library called > caf-3.1.0.jar. How do I setup my project to package

Re: How do I get Maven to package ejb dependencies in the ear?

2009-08-26 Thread Stephen Coy
Unfortunately you have encountered Maven's achilles heel (It's fantastic at nearly everything else). Managing ejb/ear dependencies is still basically a manual process. In general, what I do is: introduce a "pom" project that lists all the dependencies that you expect to be placed i

Re: How do I get Maven to package ejb dependencies in the ear?

2009-08-26 Thread Wayne Fay
> Should I specify it as a dependency of the ear with a scope of compile, and > then also specify it as a dependency of the ejb with a scope of provided? This is what I have done in past EJB-packaged-inside-WAR projects with Maven. It is possible there is a newer/better best practice today, as I h

How do I get Maven to package ejb dependencies in the ear?

2009-08-26 Thread David Sharp
I'm new to Maven, and I am struggling to figure out how to get it to do packaging in accordance with the standards at my work place. Suppose I have an ejb called project-ejb, that depends on a library called caf-3.1.0.jar. How do I setup my project to package this dependency at the ear level rathe