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
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
-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
/
-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
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.
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
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
-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
-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
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
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
:
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]
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
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
14 matches
Mail list logo