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]

Reply via email to