I'll throw in here as well. Since the virtual m2 -> proxied m1 solution didn't work for me (can't recall exactly why, it was a couple weeks ago...), I added a java.net mirror into my settings.xml right above the public bit.
<mirror> <id>java.net</id> <mirrorOf>java.net</mirrorOf> <url>http://localhost:8081/nexus/content/repositories/java.net</url> </mirror> <mirror> <!--This sends everything else to /public --> <id>nexus</id> <mirrorOf>*</mirrorOf> <url>http://localhost:8081/nexus/content/groups/public</url> </mirror> java.net is defined as a proxied m1 repo in Nexus. This works fine for me. Cheers, Jon On Tue, Sep 9, 2008 at 3:17 PM, Aaron Crickenberger < [EMAIL PROTECTED]> wrote: > Thanks for the tips all! Like James, I've had to move on for the moment, > but I'll try again soon. > > I got as far as setting up a virtual repo to mirror the java.net repo. If > anyone else is going down the same path, I found I had to click the > "refresh" button in the Repository list before Nexus would accept the > legacy > repo as the target for the virtual repo. > > - aaron > > Like James I've had to move on for now, but I'll give this a try. > On Tue, Sep 9, 2008 at 12:59 PM, Bruce Snyder <[EMAIL PROTECTED] > >wrote: > > > On Tue, Sep 9, 2008 at 10:16 AM, Aaron Crickenberger > > <[EMAIL PROTECTED]> wrote: > > > FWIW, I'm running into a similar issue. Maven noob alert. I'm trying > to > > > get camel to build with a stock install of Nexus, since all the IONA > > folks > > > have been going nuts over it :) Problem is, I can't get Nexus to find > > > com.sun.xml.bind:jaxb-impl-2.1.6 in even the JBoss repo you mention. > It > > > also shows up in a legacy repo at http://download.java.net/maven/1/ > > > > > > Any maven/nexus veteran want to point me in the right direction? > > > > Chris' solution is correct, that will fix the issue. But even after > > adding repos to Nexus sometimes I have issues. So I blogged about my > > solutions here: > > > > > > > http://bsnyderblog.blogspot.com/2008/08/do-you-use-maven-if-so-you-need-nexus.html > > > > > > > http://bsnyderblog.blogspot.com/2008/09/nexus-not-finding-artifacts-after.html > > > > Bruce > > -- > > perl -e 'print > > unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*" > > );' > > > > Apache ActiveMQ - http://activemq.org/ > > Apache Camel - http://activemq.org/camel/ > > Apache ServiceMix - http://servicemix.org/ > > > > Blog: http://bruceblog.org/ > > > -- Cheers, Jon http://janstey.blogspot.com/