Hello,

I am having difficulties using the packagingIncludes existing in the ear
plugin.
Here is part of my pom file:

<plugins>
<plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-ear-plugin</artifactId>
                <version>2.5</version>
                <configuration> 
                        
                        <defaultLibBundleDir>lib/</defaultLibBundleDir>
                        <defaultJavaBundleDir>lib/</defaultJavaBundleDir>


                        
                        <earSourceDirectory>${basedir}</earSourceDirectory> 
                        <earSourceIncludes>**/META-INF/**</earSourceIncludes> 
                        
<earSourceExcludes>**/CVS/**,**/target/*</earSourceExcludes> 

                        <version>1.4</version>

                        <webModule>
                                <groupId>lu.ept.tmp</groupId>
                                <artifactId>SoaWebServices</artifactId>
                                <contextRoot>SoaWebServices</contextRoot>
                                <uri>SoaWebServices.war</uri>
                        </webModule>
                                
                        <ejbClientModule>
                                  <groupId>lu.ept.tmp</groupId>
                                  <artifactId>NGOSSAdapterEJB</artifactId>  
                                  <bundleDir>lib</bundleDir>    
                        </ejbClientModule>
                        </modules>
                                
<packagingIncludes>**/*SNAPSHOT.jar,**/*SNAPSHOT.war</packagingIncludes>
                </configuration>
        </plugin>

</plugins>


What I expect, is to have an /lib folder containing only jar ending with
SNAPSHOT.jar but I currently get all the transitives dependencies.

Any help would be grateful welcome :)
Vaneri 



--
View this message in context: 
http://maven.40175.n5.nabble.com/maven-maven-ear-plugin-packagingIncludes-not-working-tp5728847.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]

Reply via email to