+1 to changing this. I've had forum issues related to the same misdiagnosis based on the artifact display name.
My preference is: kafka_2.10-test.jar (kafka:kafka_2.10:0.8.1.162) or the same with square brackets. A simpler example: junit.jar (junit:junit:4.5) On Thu, Jul 31, 2014 at 2:56 AM, Szczepan Faber <szcze...@gmail.com> wrote: > 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 > > > -- Darrell (Daz) DeBoer http://www.gradleware.com