Maybe this help
http://maven.apache.org/plugins/maven-dependency-plugin/copy-mojo.html


2014-07-24 8:20 GMT-03:00 David Evans <da...@evans6.me.uk>:

> Is it possible to put a bunch of 3rd party jars into a Maven repository
> so that they can be accessed by a project using their original names?
>
> I am developing against a 3rd party software package that includes about
> a dozen supporting jar files. I am trying to upload these jars into a
> Maven repository such that I can put a dependency in my development
> project that puts all of the original jars on my classpath. I have
> tried:
>
> * insert jars individually (and as a collection) using Nexus console but
> the stored jar is named {artifactId}-{version}
>
> * create jar projects with various source structures but, again, the
> stored jar is named {artifactId}-{version}
>
> * create a jar project containing an assembly: I can make the 3rd party
> jars visible with their original names but, yet again, they are put into
> in a jar named {artifactId}-{version}.
>
> Context is that I'm just beginning to try and replace historical
> Ant/Eclipse projects with Maven/Eclipse. I've read through "Maven The
> Definitive Guide" and Googled as much as I can but I'm at a stage where
> I'm not even sure I'm asking sensible questions.  If there's a "how to"
> document around (with worked examples rather than isolated XML
> fragments) that would be great.  If I'm missing the point of Maven and
> trying to implement an Ant concept that would be good to know too.
>
> Thanks in advance
>
> David
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

Reply via email to