Thanks for the help.
Now its able to download the plugin.

Is there any special format for specifying file which I want to be removed ?

My directory structure is :

ear
   -src
   -target
        -MyEar.ear
               -MyWar.war
   -pom.xml       : Here creating a MyEar.ear first & then trying to remove
file using truezip-maven-plugin.

I have tried the following code but it did not work :

<fileset>
      <directory>
<!-- I tried following one by one -->
           
MyEar.ear/MyWar.war/WEB-INF/lib/cxf-2.1.2.jar/org/apache/cxf/js/rhino           
   
: not worked
           
target/MyEar.ear/MyWar.war/WEB-INF/lib/cxf-2.1.2.jar/org/apache/cxf/js/rhino    
 
: not worked

      </directory>
       <includes>
        <include>
               **/DOMMessageProvider.class
        </include>
       </includes>
</fileset>
                
Error is : 

 Deleting file-set:
MyEar-0.1-SNAPSHOT.ear/MyWar-0.1-SNAPSHOT.war/WEB-INF/lib/cxf-2.1.2.jar/org/apache/cxf/js/rhino
(included: [**/DOMMessageProvider.class], excluded: [])
 ------------------------------------------------------------------------
] BUILD ERROR
 ------------------------------------------------------------------------
 FileSet's directory:
MyEar-0.1-SNAPSHOT.ear\MyWar-0.1-SNAPSHOT.war\WEB-INF\lib\cxf-2.1.2.jar\org\apache\cxf\js\rhino
not found.
                        

Thanks,
Nitin B


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