You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Chris Wall <cw...@bea.com> on 2006/07/09 03:07:36 UTC

Dependency question: Designate class from jar instead of whole jar?

This might be an odd request, but does Maven allow you to designate a
class or set of classes within a jar as a dependency?  The use case is
that I'd like to only pull in a class or two from a jar into my final
jar instead of the whole dependency jar.
 
Thanks.
 
-Chris
 
_______________________________________________________________________
Notice:  This email message, together with any attachments, may contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
entities,  that may be confidential,  proprietary,  copyrighted  and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.

Re: Dependency question: Designate class from jar instead of whole jar?

Posted by Alex Shneyderman <a....@gmail.com>.
I do not think it is possible although wrting a plugin to do
just that should be a piece of cake.

On 7/8/06, Chris Wall <cw...@bea.com> wrote:
> This might be an odd request, but does Maven allow you to designate a
> class or set of classes within a jar as a dependency?  The use case is
> that I'd like to only pull in a class or two from a jar into my final
> jar instead of the whole dependency jar.
>
> Thanks.
>
> -Chris
>
> _______________________________________________________________________
> Notice:  This email message, together with any attachments, may contain
> information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
> entities,  that may be confidential,  proprietary,  copyrighted  and/or
> legally privileged, and is intended solely for the use of the individual
> or entity named in this message. If you are not the intended recipient,
> and have received this message in error, please immediately return this
> by email and then delete it.
>
>


-- 
Thanks,
Alex.

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