Hi, I'm trying to exclude my Selenium tests from the production .war, here is
my structure
Projet
|pom.xml
|-src
| `--main
| `--webapp
| `--selenium
| `--resources
| `--java
and so on.
i'm using profiles to help me clean my war, so that when it goes into
production, it doesn't have any of our tests.
so here is my profile
<profile>
<id>config-Prod</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.0</version>
<configuration>
<packagingExcludes>src/main/webapp/selenium*.html</packagingExcludes>
</configuration>
</plugin>
</plugins>
</build>
</profile>
i also tried in the <configuration> the following :
<webResources>
<resource>
<directory>src/main/webapp/selenium</directory>
<excludes>
<exclude>*.html</exclude>
</excludes>
</resource>
</webResources>
Does anybody know why the exclusion doesn't work ?
Thanks
--
View this message in context:
http://www.nabble.com/Unable-to-exclude-Selenium-tests-from-my-war-tp21705434p21705434.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]