Re: [m2] handling source artifacts

2005-08-21 Thread Fabrizio Giustina
Thanks Brett I finally figured out by myself out how classifier works... I still find a little confusing a naming like "artifact-1.2.3-sources.jar" which looks so similar to "artifact-1.2.3-SNAPSHOT.jar", but with the new repo layout things are pretty clear anyway... I will shortly submit a patch f

Re: [m2] handling source artifacts

2005-08-20 Thread Brett Porter
Fabrizio Giustina wrote: >What about start managing source archives as proper artifacts and >assign them a type? We could use "src.jar" as the standard artifact >type so that artifactFactory.createArtifact( "junit", "junit", >"3.8.1", null, "src.jar" ) can be used? > >If this is ok I could try to

[m2] handling source artifacts

2005-08-20 Thread Fabrizio Giustina
Hi devs while playing with the m2 eclipse plugin trying to add support for source attachments I was stuck with some inconsistencies in artifact naming. Actually the m2 source plugin (JarSourceMojo) generates the name for the jar file using finalName + "-sources.jar". This means that, given a jar a