Thanks All,

I was able to remove a class file from jar file.

Now, my problem is : 
I am using the following structure

EService
    -Service             : Contains all the content of war file
         -src        
         -config
         -pom.xml        : It creates a war file

    -ear           :Additional xml files required for deploying service on
Weblogic and .war of Service module
          -src 
          -pom.xml     : contains ear plugin for creating ear file
    -pom.xml         : Parent pom.xml for Service & ear modules

I want to exclude class from dependency jar in war.
It looks like the plugin 

<plugin>        
    <groupId>org.n0pe.mojo</groupId>
    <artifactId>jaroverlay-maven-plugin</artifactId>
    <version>0.1-SNAPSHOT</version>    
</plugin>

removes the things from the archive which is installed in repository.
I dont want to install war file to repository since I am going to install
ear file (which does not contain that DOMMessageProvider.class file ).


Thanks,
Nitin
     

-- 
View this message in context: 
http://www.nabble.com/How-to-exclude-perticular-class-from-dependent-jar.-tp20013814p20221602.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