Troubling around with broken artifacts of foreign repositories, this sounds absolutely correct to me. Indeed maven has no mechanism for something like "repository precedence", so if you integrate another repository containing the same artifacts of e.g. central, just make sure they are also identical, or... well, debugging maven is still a lot of pain, even there are many helpful tools out there ;)
br, Sven 2009/10/25 Mark Struberg <[email protected]> > Hi! > > Back again with no broken bones ;) > > > Just a question: for what I remember, there is a rule on mavens central > repo that it must be self contained. > > So we imho are not allowed to add those foreign repos to our poms: > > * http://repository.jboss.org/maven2 > * http://download.java.net/maven/1 > > Did I misunderstand something? > > Btw, I also think JBoss folks started publishing their final artifacts to > maven.central already. > > LieGrue, > strub > > > > ----- Ursprüngliche Mail ---- > > Von: "[email protected]" <[email protected]> > > An: [email protected] > > Gesendet: Samstag, den 24. Oktober 2009, 13:55:22 Uhr > > Betreff: svn commit: r829349 - in /incubator/openwebbeans/trunk: pom.xml > samples/jms-sample/pom.xml webbeans-porting/pom.xml > > > > Author: gerdogdu > > Date: Sat Oct 24 11:55:21 2009 > > New Revision: 829349 > > > > URL: http://svn.apache.org/viewvc?rev=829349&view=rev > > Log: > > Updating poms. Thanks to Paul J. Reder for comments. > > > > Modified: > > incubator/openwebbeans/trunk/pom.xml > > incubator/openwebbeans/trunk/samples/jms-sample/pom.xml > > incubator/openwebbeans/trunk/webbeans-porting/pom.xml > > > > Modified: incubator/openwebbeans/trunk/pom.xml > > URL: > > > http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/pom.xml?rev=829349&r1=829348&r2=829349&view=diff > > > ============================================================================== > > --- incubator/openwebbeans/trunk/pom.xml (original) > > +++ incubator/openwebbeans/trunk/pom.xml Sat Oct 24 11:55:21 2009 > > @@ -347,107 +347,155 @@ > > > > > > > > - > > - java.net > > - http://download.java.net/maven/1 > > - legacy > > - > > + > > + > > + java.net > > + http://download.java.net/maven/1 > > + legacy > > + > > + > > + > > + > > + repository.jboss.org > > + JBoss Repository > > + http://repository.jboss.org/maven2 > > + > > + > > + > > + snapshots.jboss.org > > + JBoss Snapshots Repository > > + http://snapshots.jboss.org/maven2 > > + > > + false > > + > > + > > + true > > + always > > + > > + > > + > > + > > + repo1.maven.org > > + Maven repository (for cdi-api) > > + http://repo1.maven.org/maven2 > > + > > + > > > > > > > > + > > > > + > > > > log4j > > log4j > > 1.2.14 > > > > + > > > > org.apache.geronimo.specs > > geronimo-jaxws_2.1_spec > > 1.0 > > > > + > > > > org.apache.geronimo.specs > > geronimo-servlet_2.5_spec > > 1.2 > > > > + > > > > dom4j > > dom4j > > 1.6.1 > > > > + > > > > org.apache.geronimo.specs > > > > geronimo-ejb_3.0_spec > > 1.0-M1 > > > > + > > > > org.apache.geronimo.specs > > geronimo-el_1.0_spec > > 1.0-M1 > > > > + > > > > org.apache.myfaces.core > > myfaces-api > > 1.2.6 > > > > + > > > > org.apache.myfaces.core > > myfaces-impl > > 1.2.6 > > > > + > > > > javassist > > javassist > > 3.8.0.GA > > > > + > > > > net.sf.scannotation > > scannotation > > 1.0.2 > > > > + > > > > junit > > junit > > 4.5 > > test > > > > + > > > > javax.annotation > > jsr250-api > > 1.0 > > > > + > > > > org.apache.geronimo.specs > > geronimo-jpa_3.0_spec > > 1.1.1 > > > > + > > > > org.apache.geronimo.specs > > geronimo-interceptor_3.0_spec > > 1.0.1 > > > > + > > > > org.apache.geronimo.specs > > geronimo-jta_1.1_spec > > 1.1.1 > > > > + > > > > org.apache.geronimo.specs > > geronimo-jsp_2.1_spec > > 1.0.1 > > > > + > > > > org.apache.openwebbeans > > atinject-api > > ${openwebbeans.version} > > > > + > > > > org.apache.openwebbeans > > openwebbeans-api > > ${openwebbeans.version} > > > > + > > > > > > org.apache.openwebbeans > > @@ -464,24 +512,22 @@ > > > > > > org.apache.openwebbeans > > - atinject-api > > - ${openwebbeans.version} > > - > > - > > - org.apache.openwebbeans > > openwebbeans-jsf > > ${openwebbeans.version} > > > > + > > > > org.apache.openwebbeans > > openwebbeans-jpa > > ${openwebbeans.version} > > > > + > > > > org.apache.openejb > > openejb-core > > 3.1.1 > > > > + > > > > org.apache.openejb > > openejb-tomcat-catalina > > > > Modified: incubator/openwebbeans/trunk/samples/jms-sample/pom.xml > > URL: > > > http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/samples/jms-sample/pom.xml?rev=829349&r1=829348&r2=829349&view=diff > > > ============================================================================== > > --- incubator/openwebbeans/trunk/samples/jms-sample/pom.xml (original) > > +++ incubator/openwebbeans/trunk/samples/jms-sample/pom.xml Sat Oct 24 > 11:55:21 > > 2009 > > @@ -54,14 +54,7 @@ > > openwebbeans-api > > 1.0.0-incubating-SNAPSHOT > > > > - > > - > > - > > - org.apache.openwebbeans > > - openwebbeans-api > > - 1.0.0-incubating-SNAPSHOT > > - > > - > > + > > > > > > org.apache.openwebbeans > > > > Modified: incubator/openwebbeans/trunk/webbeans-porting/pom.xml > > URL: > > > http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-porting/pom.xml?rev=829349&r1=829348&r2=829349&view=diff > > > ============================================================================== > > --- incubator/openwebbeans/trunk/webbeans-porting/pom.xml (original) > > +++ incubator/openwebbeans/trunk/webbeans-porting/pom.xml Sat Oct 24 > 11:55:21 > > 2009 > > @@ -51,25 +51,25 @@ > > geronimo-jpa_3.0_spec > > > > > > - > > - org.apache.geronimo.specs > > - geronimo-servlet_2.5_spec > > - > > - > > - > > - org.apache.geronimo.specs > > - geronimo-jta_1.1_spec > > - > > - > > - > > - javax.annotation > > - jsr250-api > > - > > - > > - > > - org.apache.geronimo.specs > > - geronimo-interceptor_3.0_spec > > - > > + > > + org.apache.geronimo.specs > > + geronimo-servlet_2.5_spec > > + > > + > > + > > + org.apache.geronimo.specs > > + geronimo-jta_1.1_spec > > + > > + > > + > > + javax.annotation > > + jsr250-api > > + > > + > > + > > + org.apache.geronimo.specs > > + geronimo-interceptor_3.0_spec > > + > > > > > > org.jboss.jsr299.tck > > > > >
