maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Hardy <adam.ma...@cyberspaceroad.com>
Subject Re: [m2] repo1.maven.org repository changes
Date Sun, 13 Nov 2005 18:14:19 GMT
How come host names are part of the standard naming mechanism?

When I posted issues in jira for poms for JAXB jars, I was under the 
definite impression that it was package names only.

Therefore the JAXB poms in javax/xml contain dependencies such as:

org/relaxng/relaxngDatatype, at relaxngdatatype/relaxngdatatype
javax/xml/xsdlib, at xsdlib/xsdlib
javax/xml/namespace, whereabouts unknown

So which is right? Surely using hostnames can only be a temporary 
solution to be phased out?


Adam



Carlos Sanchez on 11/11/05 20:30, wrote:
> The policy is to use package names (or host names) as groupIds, that
> hasn't changed. I don't remember having put things inside org.jboss,
> they're still inside jboss.
> 
> There's a bug about the latter: http://jira.codehaus.org/browse/MNG-1417
> 
> On 11/11/05, Adam Hardy <adam.maven@cyberspaceroad.com> wrote:
> 
>>Adam Hardy on 11/11/05 19:42, wrote:
>>
>>>I just upgraded from m2-beta-2 to 2.0 and had a few problems with my
>>>dependencies' groupIds.
>>>
>>>I moved my old beta local repository out of the way and let mvn create a
>>>new one.
>>
>>having problems with servlet-api-2.4 as well. I can see it on ibiblio
>>but maven won't touch it or give me a warning or anything, and hence I
>>get a compile error because all javac sees is the 2.3 version. Here's my
>>dependency xml:
>>
>>     <dependency>
>>       <groupId>javax.servlet</groupId>
>>       <artifactId>servlet-api</artifactId>
>>       <version>2.4</version>
>>       <scope>provided</scope>
>>     </dependency>
>>
>>and here's what has ended up on my repo:
>>
>>/home/adam/.m2/repository/servletapi/servletapi/2.3/servletapi-2.3.pom
>>/home/adam/.m2/repository/servletapi/servletapi/2.4/servletapi-2.4.pom
>>/home/adam/.m2/repository/servletapi/servlet-api/2.4/servlet-api-2.4.pom
>>/home/adam/.m2/repository/javax/servlet/servlet-api/2.3/servlet-api-2.3.pom
>>/home/adam/.m2/repository/javax/servlet/servlet-api/2.3/servlet-api-2.3.jar
>>/home/adam/.m2/repository/javax/servlet/servlet-api/2.4/servlet-api-2.4.pom
>>
>>What should I be doing here?
>>
>>Thanks
>>Adam

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message