You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Adam Hardy <ad...@cyberspaceroad.com> on 2005/11/11 20:42:49 UTC

[m2] repo1.maven.org repository changes

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.

I can't find jbosssx-4.0.2.jar anymore. It used to be in org.jboss but 
that moved to jboss/jbosssx and only jbosssx-3.x exists there. Anyone 
know where it is?

I can't find it by googling ibiblio either.

BTW, it seems that the standard of using the package name as the repo 
directory/groupId is not the standard anymore - e.g. moved back from 
org.jboss to jboss.jboss.


If I missed a thread on this earlier, sorry but I searched the archives 
and didn't see it.


Adam

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


Re: [m2] repo1.maven.org repository changes

Posted by Adam Hardy <ad...@cyberspaceroad.com>.
OK, that's a good work-around. Thanks for the pointer.

I think it was just me who set up jboss in org.jboss when I started 
using m2 before it went beta. I didn't know that host-names were part of 
the standard.


All the best
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 <ad...@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?


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


Re: [m2] repo1.maven.org repository changes

Posted by Brett Porter <br...@gmail.com>.
I think "host names" was just to draw a parallel, it should be package names.

We want to get more towards javax.xml.bind instead of jaxb,
org.jboss.$SUBPROJECT instead of jboss or jboss-subproject, etc.

- Brett

On 11/14/05, Adam Hardy <ad...@cyberspaceroad.com> wrote:
> 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 <ad...@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
>
>

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


Re: [m2] repo1.maven.org repository changes

Posted by Adam Hardy <ad...@cyberspaceroad.com>.
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 <ad...@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


Re: [m2] repo1.maven.org repository changes

Posted by Carlos Sanchez <ca...@apache.org>.
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 <ad...@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
>
>

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


Re: [m2] repo1.maven.org repository changes

Posted by Adam Hardy <ad...@cyberspaceroad.com>.
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