Hey,
The current naming notation for artifact display name results in names like:
kafka:kafka_2.10:0.8.1.162:kafka_2.10.jar
This naming convention does not work well with classifier-artifacts,
for example:
kafka:kafka_2.10:0.8.1.162:kafka_2.10-test.jar
Real use case is I've seen an error like:
> Could not download artifact
'kafka:kafka_2.10:0.8.1.162:kafka_2.10-test.jar'
> Artifact 'kafka:kafka_2.10:0.8.1.162:kafka_2.10-test.jar' not found.
First thing that I concluded (and other users, too) is that Gradle has
corrupted the classifier from 'test' into 'kafka_2.10-test'. Only
after I've looked into the codebase and found out how the display name
is assembled I figured out what's wrong.
I suggest that we change the display name convention for artifacts, instead of:
kafka:kafka_2.10:0.8.1.162:kafka_2.10-test.jar
We do something like:
kafka_2.10-test.jar (kafka:kafka_2.10:0.8.1.162)
kafka_2.10-test.jar of kafka:kafka_2.10:0.8.1.162
kafka_2.10-test.jar[kafka:kafka_2.10:0.8.1.162]
kafka:kafka_2.10:0.8.1.162->kafka_2.10-test.jar
Or something else that does not use ':' to separate gav from the
artifact name. Also, it feels like the file name should be in front of
the notation for display name of the _artifact_.
Thoughts?
--
Szczepan Faber
Core dev@gradle; Founder@mockito
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email