Yes, you use classifiers for that. Normally not a clean Maven solution though. Please do understand they will all have the same set of dependencies as they share one pom.
/Anders (mobile) Den 21 jun 2012 16.51 skrev <[email protected]>: > On Thu, 21 Jun 2012 07:38:32 +0200 > Anders Hammar <[email protected]> wrote: > > > > Is there any way to get Maven to avoid appending version numbers to > > > jar files without breaking package resolution, or requiring > > > acrobatics on the part of someone wanting to use the package? > > > > No. Or to clarify, you can configure a Maven project to not add the > > version number to the file name of the file produced in the target > > folder, but you cannot change the file name of the artifact in a Maven > > repository (such as the Central Repository). > > Ok, that's as I suspected. > > Is it possible, then, to publish multiple jar files per artifact? I > believe I can solve all the other problems if I can get the necessary > jar files to appear in the same directory in the repository. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
