On 24 February 2010 11:25, rsaddey <[email protected]> wrote: > > > stephenconnolly wrote: > > > > At the very least stick a repository manager in front and only allow > > through > > known good artifacts > > > > On 24 February 2010 11:07, Stephen Connolly > > <[email protected] > >> wrote: > > > >> Nooooooo!!! > >> > >> Friends don't let friends use the java.net maven repositories. > >> > >> -Stephen > >> > >> > >> On 24 February 2010 10:58, rsaddey <[email protected]> wrote: > >> > >>> > >>> > >>> Ajoo123 wrote: > >>> > > >>> > [...] > >>> > > org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException: > >>> > Missing: > >>> > ---------- > >>> > 1) javax.transaction:jta:jar:1.0.1B > >>> > > >>> > >>> You don't need to upload jta to your own repository. > >>> jta is available from Java.net Maven2 repository at > >>> http://download.java.net/maven/2/javax/transaction/jta/ > >>> > >>> Put this in your pom.xml (or even better in your settings.xml): > >>> > >>> <repository> > >>> <id>maven2-repository.dev.java.net</id> > >>> <name>Java.net Repository for Maven 2</name> > > [...] > > > > Oops, I wasn't aware of java.net repos causing that much trouble and yes > we > have a Nexus and the java.net is at somewhere down end of public group. > > Thanks gain, I'll immediately remove my post... >
Well they break a few of the cardinal rules of maven repositories: 1, They have artifacts with the same GAV coordinates as central and different content (e.g. JAX-WS) 2. They have been known to delete artifacts and redeploy _the same version_ quite some time after the original was deployed 3. They mix -SNAPSHOT with releases so that the metadata can completely screw up range resolution There's more... but IMHO the above 3 should be reason enough not to use the java.net repositories unless you have a strict repository manager with filtering sitting in front of them. -Stephen -- > View this message in context: > http://n2.nabble.com/How-to-resolve-this-javax-transaction-jta-jar-1-0-1B-error-tp4623495p4625125.html > Sent from the maven users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
