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 for the eclipse plugin to download and
use sources jars, hope that somebody can have a look at it

thanks
fabrizio


On 8/21/05, Brett Porter <[EMAIL PROTECTED]> wrote:
> 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 provide a patch for the source and
> >eclipse plugins which will add a basic support for
> >uploading/downloading source zip...
> >
> >
> It's called a "classifier". You have two options:
> - create a type mapping so that src.jar becomes classifier = sources,
> extension = jar (I'd select a type of "sources" instead, and I'm more
> than happy to have this added)
> - use createArtifactWithClassifier and pass "sources" as the classifier
> and "jar" as the type.
> 
> These both should work right now.
> 
> - Brett
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to