You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Dan Tran <da...@gmail.com> on 2008/11/02 18:18:17 UTC

Re: How to exclude perticular class from dependent jar.

does it work out for you?

-D

On Fri, Oct 31, 2008 at 10:55 AM, Dan Tran <da...@gmail.com> wrote:
> http://svn.codehaus.org/mojo/trunk/sandbox/truezip-maven-plugin/src/it/remove-file-in-jar-under-war/
>
> On Fri, Oct 31, 2008 at 11:54 AM, Dan Tran <da...@gmail.com> wrote:
>> I added a live example similar to your requirement at src/it directory.
>>
>> Good luck
>>
>> -D
>>
>> On Fri, Oct 31, 2008 at 8:10 AM, Dan Tran <da...@gmail.com> wrote:
>>> let's me see if I can produce it over the weekend.
>>>
>>> -D
>>>
>>> On Fri, Oct 31, 2008 at 8:06 AM, Dan Tran <da...@gmail.com> wrote:
>>>> directory should be
>>>>
>>>> ${project.build.directory}/MyEar.ear/MyWar.war/WEB-INF/lib/cxf-2.1.2.jar/org/apache/cxf/js/rhino
>>>>
>>>>
>>>> On Fri, Oct 31, 2008 at 7:53 AM, Nitin B <bu...@gmail.com> wrote:
>>>>>
>>>>> Thanks for the help.
>>>>> Now, its able to download plugin from repository.
>>>>>
>>>>> I tried truezip-maven-plugin .
>>>>> Its not working as expected.
>>>>>
>>>>> When I tried using it in foolowing structure it worked :
>>>>>
>>>>> Service
>>>>>   -src
>>>>>   -target
>>>>>   - pom.xml   : for creating war file & in truezip-maven-plugin is also
>>>>> used.
>>>>>
>>>>> but it did not work in following structure :
>>>>> EService
>>>>>    -Service
>>>>>          -src
>>>>>          -target
>>>>>          - pom.xml   : for creating war file & in truezip-maven-plugin is
>>>>> also used
>>>>>    -ear
>>>>>           -src
>>>>>            -pom.xml  : creates ear using Service module
>>>>>    -pom.xml : parent pom.xml for Service->pom.xml & ear->pom.xml
>>>>>
>>>>>
>>>>>
>>>>> Thanks,
>>>>> Nitin B
>>>>> --
>>>>> View this message in context: http://www.nabble.com/How-to-exclude-perticular-class-from-dependent-jar.-tp20013814p20267568.html
>>>>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>>> For additional commands, e-mail: users-help@maven.apache.org
>>>>>
>>>>>
>>>>
>>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: How to exclude perticular class from dependent jar.

Posted by Nitin B <bu...@gmail.com>.
Thanks for your help.

I have tried  : 

${project.build.directory}/MyEar.ear/MyWar.war/WEB-INF/lib/cxf-2.1.2.jar/org/apache/cxf/js/rhino 

It worked out.


Thanks,
Nitin B

-- 
View this message in context: http://www.nabble.com/How-to-exclude-perticular-class-from-dependent-jar.-tp20013814p20297902.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org