Hi Seetamraju,

Thanks for the suggestions. I tried both patterns you suggested but neither of them exclude anything at all. In other words, maven-war still grabs the lib folder from src/main/webapp/WEB-INF and the lib folder from what it builds in the target dir and combines them.

            <plugin>
                <artifactId>maven-war-plugin</artifactId>
                <version>2.0.2</version>
                <configuration>
                    <excludes>**/WEB-INF/lib</excludes>
                </configuration>
            </plugin>

Thanks,

J

On 28-Feb-07, at 8:05 PM, Seetamraju Udaybhaskar Sarma wrote:

Try  src/main/webapp/WEB-INF/lib      ---or---   **/WEB-INF/lib
I don't think '*' is allowed within excludes.
I am sure you do not want the LIB subfolder either (in which case
WEB-INF/lib/* is not what you wanna write).

Julian Wood wrote:
<plugin>
  <artifactId>maven-war-plugin</artifactId>
  <configuration>
    <excludes>**/WEB-INF/lib/*</excludes>
  </configuration>
</plugin>

or

<plugin>
  <artifactId>maven-war-plugin</artifactId>
  <configuration>

<warSourceExcludes>WEB-INF/lib/*.*,WEB-INF/classes/**/*.*</ warSourceExcludes>

  </configuration>
</plugin>



--
Julian Wood <[EMAIL PROTECTED]>

Software Engineer
Teaching & Learning Centre
University of Calgary

http://tlc.ucalgary.ca


Reply via email to