Thanks Yegor,
The reason is in client's folder, there are only some files that I use locally
and I don't want put them in the release :D
and as you said, warSourceExcludes works :x
<artifactId>maven-war-plugin</artifactId>
<version>2.1.1</version>
<configuration>
<warSourceExcludes>**/client/*.*</warSourceExcludes>
</configuration>
</plugin>
Thanks again :x
Luong
________________________________
From: Yegor Bugayenko <[email protected]>
To: Maven Users List <[email protected]>
Cc: Nguyen Tien Luong <[email protected]>
Sent: Mon, 21 March, 2011 10:42:31
Subject: Re: [maven-war-plugin] Exclude files/folders in webapp
How about warSourceExcludes options [1]?
Btw, why these files are there if you don't want them to appear in WAR?
1.
http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html#warSourceExcludes
—
Yegor Bugayenko
On Mon, Mar 21, 2011 at 10:28 AM, Nguyen Tien Luong
<[email protected]>wrote:
> Hi maven'users,
>
> Can we, in using maven-war-plugin, exclude files/folders in webapp?
>
> Here my exemple:
>
> webapp
> ++ admin
> ++++ index.jsp
> ++++ admin.jsp
>
> ++ client
> ++++ index.jsp
> ++++ account.jsp
> META-INF
> WEB-INF
>
>
> Anf I don't want that the client's folder appear in my final WAR.
>
> Thanks,
>
> Luong
>
>
>