WEB-INF/lib excludes once more

2006-07-08 Thread Markus Wolf
Hi, I have a problem creating my EAR file containing a WAR and a EJB. First I setup my WAR-pom to have the EAR as provided dependency, but then it is not possible to add it to the manifests classpath. Then I read through the mailinglist and found an exclude configuration should help. But no matter

Re: WEB-INF/lib excludes once more

2006-07-09 Thread David Jencks
With evenisse's help I just figured this out today and submitted a patch to the war plugin documentation, cf MWAR-61. I assume that what you want is for the EJB jar to be in the war's manifest classpath and your mention of putting the ear on the m. cp is a typo? Here's my configuration th

Re: WEB-INF/lib excludes once more

2006-07-09 Thread Markus Wolf
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > With evenisse's help I just figured this out today and submitted a patch > to the war plugin documentation, cf MWAR-61. > > I assume that what you want is for the EJB jar to be in the war's > manifest classpath and your mention of putting the ear on

RE: WEB-INF/lib excludes once more

2006-07-09 Thread Mike Perham
/ -Original Message- From: Markus Wolf [mailto:[EMAIL PROTECTED] Sent: Sunday, July 09, 2006 1:40 AM To: users@maven.apache.org Subject: WEB-INF/lib excludes once more Hi, I have a problem creating my EAR file containing a WAR and a EJB. First I setup my WAR-pom to have

Re: WEB-INF/lib excludes once more

2006-07-09 Thread Pete Marvin King
Hello, the exclude paramater of the war plugin is only meant for the webapp sources, the parameter name is a little bit vague. =) if you want to exclude certain dependencies from the war, just specify the scope as compile. only dependencies with runtime scope will be included in the war.

RE: WEB-INF/lib excludes once more

2006-07-09 Thread Mike Perham
Not true. -Original Message- From: Pete Marvin King [mailto:[EMAIL PROTECTED] Sent: Sunday, July 09, 2006 11:52 AM To: Maven Users List Subject: Re: WEB-INF/lib excludes once more if you want to exclude certain dependencies from the war, just specify the scope as compile. only

Re: WEB-INF/lib excludes once more

2006-07-09 Thread Pete Marvin King
Mike Perham wrote: > Not true. > > -Original Message- > From: Pete Marvin King [mailto:[EMAIL PROTECTED] > Sent: Sunday, July 09, 2006 11:52 AM > To: Maven Users List > Subject: Re: WEB-INF/lib excludes once more > > > if you want to exclude certain depend

Re: WEB-INF/lib excludes once more

2006-07-09 Thread Markus Wolf
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > the exclude paramater of the war plugin is only meant for the webapp > sources, > the parameter name is a little bit vague. =) > I think the docs are loo vague about excluding something and as well adding something to the manifest classpath. > if y

Re: WEB-INF/lib excludes once more

2006-07-12 Thread Markus Wolf
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have to add a note to this: With the given POM snippet there are no dependencies generated in eclipse project anymore. This is kind of anoying and should not counted as proper solution for this I think. Markus Wolf - -- > > emedia-solutions wolf > W

Re: WEB-INF/lib excludes once more

2006-07-14 Thread Lukasz Szelag
View this message in context: http://www.nabble.com/WEB-INF-lib-excludes-once-more-tf1913187.html#a5327843 Sent from the Maven - Users forum at

RE: WEB-INF/lib excludes once more

2006-07-14 Thread Mike Perham
The maven version has nothing to do with it. It's broken in maven-war-plugin 2.0 and fixed in 2.0.1. -Original Message- From: Lukasz Szelag [mailto:[EMAIL PROTECTED] Sent: Friday, July 14, 2006 9:44 AM To: users@maven.apache.org Subject: Re: WEB-INF/lib excludes once more WAR p

RE: WEB-INF/lib excludes once more

2006-07-14 Thread Lukasz Szelag
: http://www.nabble.com/WEB-INF-lib-excludes-once-more-tf1913187.html#a5330992 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: WEB-INF/lib excludes once more

2006-07-14 Thread Mike Perham
TED] Sent: Friday, July 14, 2006 12:38 PM To: users@maven.apache.org Subject: RE: WEB-INF/lib excludes once more OK, I meant that the WAR plugin which comes with 2.0.4 is broken. Anyways, is there a way to include these libs automatically in the EAR without explicitly specifying in EAR POM all de

RE: WEB-INF/lib excludes once more

2006-07-14 Thread Lukasz Szelag
OK, you're right and indeed excludes work in war-plugin 2.0.1. I thought that Maven releases explicitly depend on certain versions of plugins. -- View this message in context: http://www.nabble.com/WEB-INF-lib-excludes-once-more-tf1913187.html#a5333709 Sent from the Maven - Users for