http://maven.apache.org/articles.html
There are a number of books (free and for purchase) and articles that might help you get up to speed very quickly and give you some ideas about "Best Practices"

We all use 3rd party jars (70+ in one of our projects) and Maven makes this easy.

You declare a dependency on the jar in your POM.
Eclipse with Maven support will automatically make the dependency available in the editor and the build. We use Eclipse/STS which comes ready to go with all the plug-ins that one needs for maven, already loaded.


Ron

On 24/07/2014 7:24 AM, Hilton Wichwski Silva wrote:
Maybe this help
http://maven.apache.org/plugins/maven-dependency-plugin/copy-mojo.html


2014-07-24 8:20 GMT-03:00 David Evans <[email protected]>:

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: [email protected]
For additional commands, e-mail: [email protected]




--
Ron Wheeler
President
Artifact Software Inc
email: [email protected]
skype: ronaldmwheeler
phone: 866-970-2435, ext 102


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to