Return-Path: Delivered-To: apmail-maven-archiva-users-archive@locus.apache.org Received: (qmail 86256 invoked from network); 29 Jan 2008 20:45:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Jan 2008 20:45:33 -0000 Received: (qmail 77291 invoked by uid 500); 29 Jan 2008 20:45:24 -0000 Delivered-To: apmail-maven-archiva-users-archive@maven.apache.org Received: (qmail 77115 invoked by uid 500); 29 Jan 2008 20:45:23 -0000 Mailing-List: contact archiva-users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: archiva-users@maven.apache.org Delivered-To: mailing list archiva-users@maven.apache.org Received: (qmail 77106 invoked by uid 99); 29 Jan 2008 20:45:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jan 2008 12:45:23 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=RCVD_NUMERIC_HELO,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [158.228.82.132] (HELO mx1.kronos.com) (158.228.82.132) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jan 2008 20:45:07 +0000 X-WSS-ID: 0JVFAZ1-01-H36-01 Received: from Front-end2.KRONOS.COM (front-end2.kronos.com [158.228.2.30]) by mx1.kronos.com (Tumbleweed MailGate 3.5.1) with ESMTP id 2758525CE43 for ; Tue, 29 Jan 2008 15:45:00 -0500 (EST) Received: from exchg-q.KRONOS.COM ([158.228.0.210]) by Front-end2.KRONOS.COM with Microsoft SMTPSVC(6.0.3790.1830); Tue, 29 Jan 2008 15:44:58 -0500 Received: from 158.228.236.125 ([158.228.236.125]) by exchg-q.KRONOS.COM ([158.228.0.210]) via Exchange Front-End Server exchange.kronos.com ([158.228.2.30]) with Microsoft Exchange Server HTTP-DAV ; Tue, 29 Jan 2008 20:44:57 +0000 Received: from emilesd610 by exchange.kronos.com; 29 Jan 2008 15:44:50 -0500 Subject: Re: proxied repositories -- plugin question From: Eric Miles To: archiva-users@maven.apache.org In-Reply-To: <1201618854.5923.18.camel@localhost> References: <1201618854.5923.18.camel@localhost> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Tue, 29 Jan 2008 15:44:50 -0500 Message-Id: <1201639490.5923.35.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 X-OriginalArrivalTime: 29 Jan 2008 20:44:58.0215 (UTC) FILETIME=[CFA2CF70:01C862B7] X-Virus-Checked: Checked by ClamAV on apache.org Figured out my problem although not sure why it's NOT a problem when I don't use Archiva. This particular plugin (and no others) requires that I specify the version in order for the dependency to be downloaded. This isn't desirable as I'd like to have the upgrades to the plugins when they happen, however this is a workaround. Is this particular plugin deployed incorrectly? Is that why archiva/maven can not find the correct current version information? Thanks! Eric On Tue, 2008-01-29 at 10:00 -0500, Eric Miles wrote: > I have a managed repository that I intend to use as a proxy for several > remote repositories. I'm doing a test and can't get the proxy to > resolve a plugin dependency to save my life. It will however resolve > regular dependencies to same remote repository. I am attempting to > proxy the Dev Java Net remote repoistory. > > Here is my pom: > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/maven-v4_0_0.xsd"> > 4.0.0 > archiva-test > archiva-test > 0.0.1-SNAPSHOT > > > > org.j4j > j4j > 1.0 > > > javax.xml.bind > jaxb-api > 2.1 > compile > > > org.jtb > quickr > 0.8 > > > > > proxied > > http://myproxyserver/archiva/repository/proxied > > > > > > proxied > > http://myproxyserver/archiva/repository/proxied > > > > > > > true > src/main/resources > > > > > org.jvnet.jaxb2.maven2 > maven-jaxb2-plugin > > > > generate > > > > > > **/*.xsd > > true > > > > > > > I have no problems resolving and proxying quickr and j4j dependencies, > but I get the following error for the jaxb2 maven plugin: > > $ mvn clean package > [INFO] Scanning for projects... > [INFO] > ------------------------------------------------------------------------ > [INFO] Building Unnamed - archiva-test:archiva-test:jar:0.0.1-SNAPSHOT > [INFO] task-segment: [clean, package] > [INFO] > ------------------------------------------------------------------------ > [INFO] artifact org.apache.maven.plugins:maven-clean-plugin: checking > for updates from proxied > [INFO] artifact org.jvnet.jaxb2.maven2:maven-jaxb2-plugin: checking for > updates from proxied > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] The plugin 'org.jvnet.jaxb2.maven2:maven-jaxb2-plugin' does not > exist or no valid version could be found > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 1 second > [INFO] Finished at: Tue Jan 29 09:38:40 EST 2008 > [INFO] Final Memory: 1M/254M > [INFO] > ------------------------------------------------------------------------ > > > Any suggestions? Thanks in advance. > > Eric