[JBoss-dev] jboss-test is missing in maven2

Scott M Stark scott.stark at jboss.org
Thu Sep 21 10:37:33 EDT 2006


There is still no need to redundantly use jboss-test in both the group 
id and artifact id.
group id = jboss
artifact id = jboss-test

still provides a non-conflicting repository:

http://repository.jboss.com/maven2/jboss/jboss-test/1.0.0.CR1
http://repository.jboss.com/maven2/jboss/jboss-test-client/1.0.0.CR1

The group id should be jboss or jboss.org and the artifact id whatever 
makes sense.

Rajesh Rajasekaran wrote:
> As far as my understanding goes...
>
> The naming convention is,
>
> RepositoryURL/GroupId/ArtifactId/VersionNo
>
> Where GroupId can be any name and ArtifactId should be the name of the
> jar.
>
> In the first case jboss is the GroupId and jboss-logging is the
> artifactId corresponding to jboss-logging-x.x.x.jar
>
> In the second case jboss.jboss-test is the groupId and jboss-test is the
> artifactId corresponding to jboss-test-x.x.x.jar 
>
> The second convention in the best when there are multiple artifacts for
> a version.
>
> Say for example, we have a jboss-test-x.x.jar and a
> jboss-test-client-x.x.jar.
>
> Then we would have 
> http://repository.jboss.com/maven2/jboss/jboss-test/jboss-test/1.0.0.CR1
>
> http://repository.jboss.com/maven2/jboss/jboss-test/jboss-test-client/1.
> 0.0.CR1
>
> In this case following the first convention would bring artifacts of
> different products under the same group.
>
> Any other explanations?
>
>
>
> -----Original Message-----
> From: jboss-development-bounces at lists.jboss.org
> [mailto:jboss-development-bounces at lists.jboss.org] On Behalf Of Alexey
> Loubyansky
> Sent: Thursday, September 21, 2006 1:45 AM
> To: JBoss.org development list
> Subject: Re: [JBoss-dev] jboss-test is missing in maven2
>
> Could someone, please, explain the naming/path convention in the
> repository?
>
> For example, for jboss-logging it's
> http://repository.jboss.com/maven2/jboss/jboss-logging/
>
> but the jboss-test is in the
> http://repository.jboss.com/maven2/jboss/jboss-test/jboss-test/
>
> Thanks,
> Alexey
>
>   



More information about the jboss-development mailing list