So there's absolutely no way to force Maven to deploy an artifact with a name not in the standard format? If so, that's really unfortunate...
On Mon, Aug 2, 2010 at 11:06 AM, Anders Hammar <[email protected]> wrote: > Changing the name in the repo is not possible. It has to conform to Maven > standard. > > /Anders > > On Mon, Aug 2, 2010 at 17:04, a.geo <[email protected]> wrote: > > > So, you could use a weird Ant task embedded in the Maven plugins flow to > > change the name... But, I think you must think in a official/regular way > to > > resolve the problem first... > > > > 2010/8/2 Anders Hammar <[email protected]> > > > > > Changing finalName does not impact the name in the repo (local or > > remote). > > > Just in the target folder. > > > > > > /Anders > > > > > > On Mon, Aug 2, 2010 at 16:52, a.geo <[email protected]> wrote: > > > > > > > Hi, > > > > > > > > You can to use > > > > > > > > .... > > > > <build> > > > > <finalName>my-own-name</finalName> > > > > <plugins> > > > > .... > > > > > > > > In the POM.XML file > > > > > > > > 2010/8/2 C. Benson Manica <[email protected]> > > > > > > > > > We have a project "foo" that builds several assemblies - let's say > > one > > > of > > > > > them is named "bar". The resulting artifacts get named > > > foo-VERSION-bar. > > > > > The problem is that the tool that will be processing these > artifacts > > > > really > > > > > wants them to be named foo-bar-VERSION. Is there a way to coax the > > > > > assembly > > > > > plugin (or something else) to get the artifacts named like this? > > There > > > > are > > > > > no Maven projects that depend on these assembled artifacts so the > > > > renaming > > > > > isn't problematic from that perspective. Since we need an > immediate > > > > > solution I am going to simply use the exec plugin to "mv" the > > artifacts > > > > as > > > > > need be, but I'm hoping to be able to replace that with a less ugly > > > > > solution. > > > > > > > > > > -- > > > > > C. Benson Manica > > > > > [email protected] > > > > > > > > > > > > > > > > > > > > > -- > > > > Cesar De la Cruz Rojas > > > > * > > > > > > > > > > > > > > ----------------------------------------------------------------------------- > > > > * > > > > Sennior Software Engineer > > > > > > > > > > > > > > ----------------------------------------------------------------------------- > > > > Follow me in Facebook : http://www.facebook.com/aquiles.geo > > > > Twitter http://twitter.com/ageo > > > > Picture blog http://ageo.deviantart.com > > > > > > > > > > > > > > > -- > > Cesar De la Cruz Rojas > > * > > > > > ----------------------------------------------------------------------------- > > * > > Sennior Software Engineer > > > > > ----------------------------------------------------------------------------- > > Follow me in Facebook : http://www.facebook.com/aquiles.geo > > Twitter http://twitter.com/ageo > > Picture blog http://ageo.deviantart.com > > > -- C. Benson Manica [email protected]
