maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anders Hammar <>
Subject Re: Upload 3rd party jars retaining original names
Date Thu, 24 Jul 2014 11:27:51 GMT
The name of artifacts in a Maven repo is not possible to specify yourself.
As you've noticed, they are called artifactId-version (and you can also
have a classifier). So no, you cannot give them their "original" name if
that is different from that naming scheme.


On Thu, Jul 24, 2014 at 1:20 PM, David Evans <> wrote:

> 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:
> For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message