You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2005/08/11 06:08:57 UTC
[jira] Updated: (MNG-478) war:war warSourceExcludes parameter not used when set in the POM
[ http://jira.codehaus.org/browse/MNG-478?page=all ]
Brett Porter updated MNG-478:
-----------------------------
Description:
I got the following in my POM for a WAR-packaged project :
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<warSourceExcludes>**/test.html</warSourceExcludes>
</configuration>
</plugin>
</plugins>
</build>
I run "m2 install". The file src/main/webapp/test.html is included in the resulting WAR, but, unless I'm mistaken, it shouldn't.
I've tried with the following patterns :
test.html
*/test.html
**/test.html
*\test.html
**\test.html
was:
I got the following in my POM for a WAR-packaged project :
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<warSourceExcludes>**/test.html</warSourceExcludes>
</configuration>
</plugin>
</plugins>
</build>
I run "m2 install". The file src/main/webapp/test.html is included in the resulting WAR, but, unless I'm mistaken, it shouldn't.
I've tried with the following patterns :
test.html
*/test.html
**/test.html
*\test.html
**\test.html
Complexity: Novice
both sound good to me. go for it, and thanks!
> war:war warSourceExcludes parameter not used when set in the POM
> ----------------------------------------------------------------
>
> Key: MNG-478
> URL: http://jira.codehaus.org/browse/MNG-478
> Project: Maven 2
> Type: Bug
> Components: maven-plugins
> Versions: 2.0-alpha-2
> Environment: Windows XP
> Reporter: Yann Le Du
> Fix For: 2.0-beta-1
>
>
> I got the following in my POM for a WAR-packaged project :
> <build>
> <plugins>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-war-plugin</artifactId>
>
> <configuration>
> <warSourceExcludes>**/test.html</warSourceExcludes>
> </configuration>
> </plugin>
> </plugins>
> </build>
> I run "m2 install". The file src/main/webapp/test.html is included in the resulting WAR, but, unless I'm mistaken, it shouldn't.
> I've tried with the following patterns :
> test.html
> */test.html
> **/test.html
> *\test.html
> **\test.html
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org