-- S.Yegge
--
View this message in context:
http://old.nabble.com/ear-plugin-and-profiles%3A-poor-cooperation--tp26889824p27452223.html
Sent from the Maven - Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail
A configuration item that is a list can't be merged in a profile. See the
modules element as a configuration item, like the JavaEE version you want
to use. If you override the value in the profile, you can't expect it to
merge the elements that are set in the main build (this is a global behavior
.
-Original Message-
From: anders.g.ham...@gmail.com [mailto:anders.g.ham...@gmail.com] On
Behalf Of Anders Hammar
Sent: Dienstag, 22. Dezember 2009 17:51
To: Maven Users List
Subject: Re: ear-plugin and profiles: poor cooperation?
I believe that the behavior you see is correct. Maybe
through different means, we'd highly appreciate.
Cheers, Paul.
-Original Message-
From: anders.g.ham...@gmail.com [mailto:anders.g.ham...@gmail.com] On
Behalf Of Anders Hammar
Sent: Dienstag, 22. Dezember 2009 17:51
To: Maven Users List
Subject: Re: ear-plugin and profiles: poor
Hi all!
We have a project producing an ear artifact. The contents of the ear
file are configured with the maven-ear-plugin. In profiles we want to
be able to flexibly add more artifacts to the ear file as shown in the
example below. Our tests so far revealed a different behaviour than
I believe that the behavior you see is correct. Maybe not what you want
though...:-)
If you explain why you sometimes would like to add more jars wee could
suggest a different solution.
/Anders
On Tue, Dec 22, 2009 at 16:12, Rebholz Paul paul.rebh...@six-group.comwrote:
Hi all!
We have a