Hi,
We have the war plugin configured in the POM to exclude a few select
files from the output war. We have a number of different profiles
defined, in this case only one profile should include the specified
files. I am trying to set the warSourceExcludes in the POM to the common
value
Since you haven't filled a Jira issue, I did and added a
packagingExcludes parameter
http://jira.codehaus.org/browse/MWAR-135
Stéphane
On 12/12/07, Stephane Nicoll <[EMAIL PROTECTED]> wrote:
> You shouldn't use that for that. That's exactly what I meant:
> warSource
hanks,
--
Olivier
2007/12/12, maarten roosendaal <[EMAIL PROTECTED]>:
>
> Hi,
>
> It seems that the option warSourceExcludes for war-plugin
> 2.1-alpha-2-SNAPSHOT is not working. I've been using alpha-1 and that was
> working fine
You shouldn't use that for that. That's exactly what I meant:
warSourceExcludes is used to exclude content in the directory defined
by the warSourceDirectory. The documentation is confusing though.
Now, I don't see any quick solution to your problem so we'll have to
investig
: Re: war-plugin 2.1-alpha-2-SNAPSHOT warSourceExcludes not working
I've been changing something there indeed because it was excluding
stuff in the resulting archive (which was not the expected behavior at
all). I just hope I didn't break something :)
Can you please elaborate becau
only apply to stuff from the src/main/webapp directory. If
you used this to filter the content of the war, it has only worked by
side effect.
Regards,
Stéphane
On Dec 12, 2007 11:19 AM, maarten roosendaal <[EMAIL PROTECTED]> wrote:
> Hi,
>
> It seems that the option warSourceExc
Hi,
It seems that the option warSourceExcludes for war-plugin 2.1-alpha-2-SNAPSHOT
is not working. I've been using alpha-1 and that was working fine. Any ideas?
Thanks,
Maarten
Looking for
Should the following exclude the commons-logging class which is a
> dependency of another module I depend on? If not how can I exclude this
> dependent lib from my war.
>
>
> maven-war-plugin
>
>
> /WEB-INF/lib/commons-logging-1.0.jar
>
>
Should the following exclude the commons-logging class which is a
dependency of another module I depend on? If not how can I exclude this
dependent lib from my war.
maven-war-plugin
/WEB-INF/lib/commons-logging-1.0.jar
On another simila
Sorry, same question was already asked in mailing
list.
See
http://www.nabble.com/forum/ViewPost.jtp?post=12760227&framed=y&skin=177.
I've raised a JIRA
http://jira.codehaus.org/browse/MWAR-130.
--- Adrian Gonzalez <[EMAIL PROTECTED]> a écrit :
> Hello,
>
> warSo
Hello,
warSourceExcludes appears to work only for war:war,
but not war:inplace or war:exploded.
I'm using war plugin 2.0.2. Looked at source code, but
don't understand when AbstractWarMojo
#getExcludes() is taken into account.
Thanks for your help !
---
I've the following p
2006 7:16 AM
To: Maven Users List
Subject: Re: [m2] war plugin and warSourceExcludes not working for
dependencies
> Is it a bug in the maven-war-plugin?
From plugin sources:
for ( Iterator iter = artifacts.iterator(); iter.hasNext(); )
{
Artifact artifact = (Artifa
Is it a bug in the maven-war-plugin?
From plugin sources:
for ( Iterator iter = artifacts.iterator(); iter.hasNext(); )
{
Artifact artifact = (Artifact) iter.next();
// TODO: utilise appropriate methods from project builder
ScopeArtifactFilter filter =
I tried to follow instructions from:
http://www.nabble.com/Maven-2-EAR%2C-WAR%2C-EJB-Common-Dependencies-t1013415.html
and
http://www.nabble.com/RE%3A-Best-Practice---Maven-with-WSAD-or-RAD6-p2509735.html
and
http://www.nabble.com/RE%3A-m2-war-dependencies-in-ear-p054.html
using foll
Hello,
I tried to follow instructions from:
http://www.nabble.com/Maven-2-EAR%2C-WAR%2C-EJB-Common-Dependencies-t1013415.html
and
http://www.nabble.com/RE%3A-Best-Practice---Maven-with-WSAD-or-RAD6-p2509735.html
and
http://www.nabble.com/RE%3A-m2-war-dependencies-in-ear-p054.html
using follo
Yes, it is already reported:
MNG-1696
-Original Message-
From: Marcel Schutte [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 06, 2005 9:40 AM
To: users@maven.apache.org
Subject: [m2] maven-war-plugin multiple patterns in warSourceExcludes
not working
Hi all,
I'm running o
> I'm running on the latest svn builds of maven and plugins.
> Maven-war-plugin version is 2.0-beta-3-SNAPSHOT. When I put a single
> pattern in warSourceExcludes it is excluded normally. However, when I
> use a string of comma separated values nothing is excluded anymore.
> Is
Hi all,
I'm running on the latest svn builds of maven and plugins.
Maven-war-plugin version is 2.0-beta-3-SNAPSHOT. When I put a single
pattern in warSourceExcludes it is excluded normally. However, when I
use a string of comma separated values nothing is excluded anymore.
Is this known beh
Objet
[m2-beta-1] bug for
'warSourceExcludes'
Hi all,
has anybody already used the 'warSourceExcludes' property of the War
plugin? (didn't find any thread about this)
Because I experience a strange behaviour with this property. When I grab
some Web projects from the CVS of my company, I usually get all the
WEB-INF/li
20 matches
Mail list logo