You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Frank Wilson <fa...@gmail.com> on 2008/01/24 20:18:29 UTC

mavenizing someone else' libraries (in the form of jars of course)

I'm trying to package someone else's library so that I can put it in
my maven repo and share it with my collegues.

I remember finding out how to do this on the maven website at one
point and thinking "I always wanted to know how to do that!". Months
later... I cannot find it.

Can anybody remind me what the plug-in I must use is? Or if
appropriate where I can find the general method?

Thanks,

Frank

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


Re: mavenizing someone else' libraries (in the form of jars of course)

Posted by Wendy Smoak <ws...@gmail.com>.
On Jan 24, 2008 12:18 PM, Frank Wilson <fa...@gmail.com> wrote:

> I'm trying to package someone else's library so that I can put it in
> my maven repo and share it with my collegues.

You don't need to do anything to the jar, just deploy it as-is to your
internal remote repository.  You might want to write a pom for it, to
take advantage of transitive dependencies, but this is not required.

See:  http://maven.apache.org/plugins/maven-deploy-plugin/usage.html
(scroll down to the 'mvn deploy:deploy-file ...' example.)

-- 
Wendy

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