Return-Path: X-Original-To: apmail-archiva-users-archive@www.apache.org Delivered-To: apmail-archiva-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0B944DF4E for ; Thu, 20 Sep 2012 17:25:20 +0000 (UTC) Received: (qmail 34858 invoked by uid 500); 20 Sep 2012 17:25:19 -0000 Delivered-To: apmail-archiva-users-archive@archiva.apache.org Received: (qmail 34822 invoked by uid 500); 20 Sep 2012 17:25:19 -0000 Mailing-List: contact users-help@archiva.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@archiva.apache.org Delivered-To: mailing list users@archiva.apache.org Received: (qmail 34812 invoked by uid 99); 20 Sep 2012 17:25:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Sep 2012 17:25:19 +0000 X-ASF-Spam-Status: No, hits=-5.0 required=5.0 tests=RCVD_IN_DNSWL_HI,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [198.89.159.242] (HELO Mail3.baxter.com) (198.89.159.242) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Sep 2012 17:25:12 +0000 X-SBRS: None X-Spoof: Baxter Forged Domain X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.80,455,1344229200"; d="scan'208";a="155631891" From: "Harris, Christopher P" To: "users@archiva.apache.org" Subject: RE: Cannot download SNAPSHOT from Archiva when listed as dependency Thread-Topic: Cannot download SNAPSHOT from Archiva when listed as dependency Thread-Index: Ac2V9KayqnwOuo6yRCO2aa7la/s/pQAI6P8AAAEhSXAACenpgAAOnuGQADNYA4AAAhtQIA== Date: Thu, 20 Sep 2012 17:24:47 +0000 Message-ID: <9BD825F3554FD04AAB3B8BCBA96F192F01473FCD@026-SN2MPN1-023.026d.mgd.msft.net> References: <9BD825F3554FD04AAB3B8BCBA96F192F0147317C@026-SN2MPN1-023.026d.mgd.msft.net> <9BD825F3554FD04AAB3B8BCBA96F192F014731B5@026-SN2MPN1-023.026d.mgd.msft.net> <9BD825F3554FD04AAB3B8BCBA96F192F014739E0@026-SN2MPN1-023.026d.mgd.msft.net> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.17.55.220] MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on USDFSMTP001/NA/Baxter(Release 6.5.6FP2HF369 | June 5, 2009) at 09/20/2012 12:24:46, Serialize by Router on USDFSMTP001/NA/Baxter(Release 6.5.6FP2HF369 | June 5, 2009) at 09/20/2012 12:24:48 Content-Type: text/plain; charset="us-ascii" Content-Language: en-US Content-Transfer-Encoding: quoted-printable Hi, Deng. That didn't work. - Chris Harris -----Original Message----- From: odeaching@gmail.com [mailto:odeaching@gmail.com] On Behalf Of Deng Ch= ing Sent: Thursday, September 20, 2012 11:24 AM To: users@archiva.apache.org Subject: Re: Cannot download SNAPSHOT from Archiva when listed as dependency Hi Chris, Can you try deleting all the metadata of the artifacts (that cannot be resolved) in your local repository? Then try to build again after they're removed. Thanks, Deng On Wed, Sep 19, 2012 at 11:58 PM, Harris, Christopher P < chris_harris@baxter.com> wrote: > Here's the NetBeans Maven output for my simple PostgreSQL jdbc connection > tester project: > > My snapshots repo's id is actually biolife-snapshots. The server id, > mirrorOf, and profile's repository id all list that name as the id. > > cd C:\workspaceNB\postgresql-test; "JAVA_HOME=3DC:\\Program > Files\\Java\\jdk1.7.0_02" C:\\apache\\maven-3.0.4\\bin\\mvn.bat --debug > --debug clean install > Apache Maven 3.0.4 (r1232337; 2012-01-17 02:44:56-0600) > Maven home: C:\apache\maven-3.0.4\bin\.. > Java version: 1.7.0_02, vendor: Oracle Corporation > Java home: C:\Program Files\Java\jdk1.7.0_02\jre > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows xp", version: "5.1", arch: "x86", family: "windows" > Error stacktraces are turned on. > Reading global settings from C:\apache\maven-3.0.4\bin\..\conf\settings.x= ml > Reading user settings from C:\Documents and > Settings\harrisc7\.m2\settings.xml > Using local repository at C:\Documents and Settings\harrisc7\.m2\reposito= ry > Using manager EnhancedLocalRepositoryManager with priority 10 for > C:\Documents and Settings\harrisc7\.m2\repository > Scanning for projects... > Extension realms for project > com.baxter.biolife.webservices:postgresql-test:jar:1.0-SNAPSHOT: (none) > Looking up lifecyle mappings for packaging jar from > ClassRealm[plexus.core, parent: null] > =3D=3D=3D REACTOR BUILD PLAN =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D > Project: com.baxter.biolife.webservices:postgresql-test:jar:1.0-SNAPSHOT > Tasks: [clean, install] > Style: Regular > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > ------------------------------------------------------------------------ > Building postgresql-test 1.0-SNAPSHOT > ------------------------------------------------------------------------ > Lifecycle default -> [validate, initialize, generate-sources, > process-sources, generate-resources, process-resources, compile, > process-classes, generate-test-sources, process-test-sources, > generate-test-resources, process-test-resources, test-compile, > process-test-classes, test, prepare-package, package, pre-integration-tes= t, > integration-test, post-integration-test, verify, install, deploy] > Lifecycle clean -> [pre-clean, clean, post-clean] > Lifecycle site -> [pre-site, site, post-site, site-deploy] > Lifecycle default -> [validate, initialize, generate-sources, > process-sources, generate-resources, process-resources, compile, > process-classes, generate-test-sources, process-test-sources, > generate-test-resources, process-test-resources, test-compile, > process-test-classes, test, prepare-package, package, pre-integration-tes= t, > integration-test, post-integration-test, verify, install, deploy] > Lifecycle clean -> [pre-clean, clean, post-clean] > Lifecycle site -> [pre-site, site, post-site, site-deploy] > Using mirror biolife (http://localhost:8083/archiva/repository/biolife/) > for apache.snapshots (http://repository.apache.org/snapshots). > Using mirror biolife (http://localhost:8083/archiva/repository/biolife/) > for apache.snapshots (http://repository.apache.org/snapshots). > Using mirror biolife (http://localhost:8083/archiva/repository/biolife/) > for apache.snapshots (http://repository.apache.org/snapshots). > Using mirror biolife (http://localhost:8083/archiva/repository/biolife/) > for apache.snapshots (http://repository.apache.org/snapshots). > Using mirror biolife (http://localhost:8083/archiva/repository/biolife/) > for apache.snapshots (http://repository.apache.org/snapshots). > Using mirror biolife (http://localhost:8083/archiva/repository/biolife/) > for apache.snapshots (http://repository.apache.org/snapshots). > Lifecycle default -> [validate, initialize, generate-sources, > process-sources, generate-resources, process-resources, compile, > process-classes, generate-test-sources, process-test-sources, > generate-test-resources, process-test-resources, test-compile, > process-test-classes, test, prepare-package, package, pre-integration-tes= t, > integration-test, post-integration-test, verify, install, deploy] > Lifecycle clean -> [pre-clean, clean, post-clean] > Lifecycle site -> [pre-site, site, post-site, site-deploy] > Lifecycle default -> [validate, initialize, generate-sources, > process-sources, generate-resources, process-resources, compile, > process-classes, generate-test-sources, process-test-sources, > generate-test-resources, process-test-resources, test-compile, > process-test-classes, test, prepare-package, package, pre-integration-tes= t, > integration-test, post-integration-test, verify, install, deploy] > Lifecycle clean -> [pre-clean, clean, post-clean] > Lifecycle site -> [pre-site, site, post-site, site-deploy] > Lifecycle default -> [validate, initialize, generate-sources, > process-sources, generate-resources, process-resources, compile, > process-classes, generate-test-sources, process-test-sources, > generate-test-resources, process-test-resources, test-compile, > process-test-classes, test, prepare-package, package, pre-integration-tes= t, > integration-test, post-integration-test, verify, install, deploy] > Lifecycle clean -> [pre-clean, clean, post-clean] > Lifecycle site -> [pre-site, site, post-site, site-deploy] > Lifecycle default -> [validate, initialize, generate-sources, > process-sources, generate-resources, process-resources, compile, > process-classes, generate-test-sources, process-test-sources, > generate-test-resources, process-test-resources, test-compile, > process-test-classes, test, prepare-package, package, pre-integration-tes= t, > integration-test, post-integration-test, verify, install, deploy] > Lifecycle clean -> [pre-clean, clean, post-clean] > Lifecycle site -> [pre-site, site, post-site, site-deploy] > Lifecycle default -> [validate, initialize, generate-sources, > process-sources, generate-resources, process-resources, compile, > process-classes, generate-test-sources, process-test-sources, > generate-test-resources, process-test-resources, test-compile, > process-test-classes, test, prepare-package, package, pre-integration-tes= t, > integration-test, post-integration-test, verify, install, deploy] > Lifecycle clean -> [pre-clean, clean, post-clean] > Lifecycle site -> [pre-site, site, post-site, site-deploy] > Lifecycle default -> [validate, initialize, generate-sources, > process-sources, generate-resources, process-resources, compile, > process-classes, generate-test-sources, process-test-sources, > generate-test-resources, process-test-resources, test-compile, > process-test-classes, test, prepare-package, package, pre-integration-tes= t, > integration-test, post-integration-test, verify, install, deploy] > Lifecycle clean -> [pre-clean, clean, post-clean] > Lifecycle site -> [pre-site, site, post-site, site-deploy] > Lifecycle default -> [validate, initialize, generate-sources, > process-sources, generate-resources, process-resources, compile, > process-classes, generate-test-sources, process-test-sources, > generate-test-resources, process-test-resources, test-compile, > process-test-classes, test, prepare-package, package, pre-integration-tes= t, > integration-test, post-integration-test, verify, install, deploy] > Lifecycle clean -> [pre-clean, clean, post-clean] > Lifecycle site -> [pre-site, site, post-site, site-deploy] > Lifecycle default -> [validate, initialize, generate-sources, > process-sources, generate-resources, process-resources, compile, > process-classes, generate-test-sources, process-test-sources, > generate-test-resources, process-test-resources, test-compile, > process-test-classes, test, prepare-package, package, pre-integration-tes= t, > integration-test, post-integration-test, verify, install, deploy] > Lifecycle clean -> [pre-clean, clean, post-clean] > Lifecycle site -> [pre-site, site, post-site, site-deploy] > =3D=3D=3D PROJECT BUILD PLAN =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D > Project: com.baxter.biolife.webservices:postgresql-test:1.0-SNAPSHOT > Dependencies (collect): [] > Dependencies (resolve): [compile, runtime, test] > Repositories (dependencies): [biolife-snapshots ( > http://localhost:8083/archiva/repository/biolife-snapshots/, snapshots), > biolife (http://localhost:8083/archiva/repository/biolife/, releases)] > Repositories (plugins) : [biolife ( > http://localhost:8083/archiva/repository/biolife/, releases)] > ----------------------------------------------------------------------- > Goal: org.apache.maven.plugins:maven-clean-plugin:2.4.1:clean > (default-clean) > Style: Regular > Configuration: > > > default-value=3D"false">${clean.excludeDefaultDirectories} > default-value=3D"true">${maven.clean.failOnError} > default-value=3D"false">${clean.followSymLinks} > > > ${clean.skip} > default-value=3D"${project.build.testOutputDirectory}"/> > ${clean.verbose} > > ----------------------------------------------------------------------- > Goal: > org.apache.maven.plugins:maven-resources-plugin:2.5:resources > (default-resources) > Style: Regular > Configuration: > > > default-value=3D"${project.build.sourceEncoding}">${encoding} > ${maven.resources.escapeString} > default-value=3D"true">${maven.resources.escapeWindowsPaths} > default-value=3D"false">${maven.resources.includeEmptyDirs} > > ${maven.resources.overwrite} > > > > default-value=3D"false">${maven.resources.supportMultiLineFiltering} > > > > ----------------------------------------------------------------------- > Goal: > org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile > (default-compile) > Style: Regular > Configuration: > > > > > > default-value=3D"javac">${maven.compiler.compilerId} > ${maven.compiler.compilerVersion} > ${maven.compiler.debug} > ${maven.compiler.debuglevel} > default-value=3D"${project.build.sourceEncoding}">${encoding} > ${maven.compiler.executable} > default-value=3D"true">${maven.compiler.failOnError} > ${maven.compiler.fork} > default-value=3D"${project.build.directory}/generated-sources/annotations= "/> > ${maven.compiler.maxmem} > ${maven.compiler.meminitial} > ${maven.compiler.optimize} > > ${project.build.finalName} > > > default-value=3D"false">${maven.compiler.showDeprecation} > default-value=3D"false">${maven.compiler.showWarnings} > ${maven.compiler.source} > ${lastModGranularityMs} > ${maven.compiler.target} > ${maven.compiler.verbose} > > ----------------------------------------------------------------------- > Goal: > org.apache.maven.plugins:maven-resources-plugin:2.5:testResources > (default-testResources) > Style: Regular > Configuration: > > > default-value=3D"${project.build.sourceEncoding}">${encoding} > ${maven.resources.escapeString} > default-value=3D"true">${maven.resources.escapeWindowsPaths} > default-value=3D"false">${maven.resources.includeEmptyDirs} > ${project.build.testOutputDirectory} > ${maven.resources.overwrite} > > ${project.testResources} > > default-value=3D"false">${maven.resources.supportMultiLineFiltering} > > > > ----------------------------------------------------------------------- > Goal: > org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile > (default-testCompile) > Style: Regular > Configuration: > > > > > > default-value=3D"javac">${maven.compiler.compilerId} > ${maven.compiler.compilerVersion} > ${maven.compiler.debug} > ${maven.compiler.debuglevel} > default-value=3D"${project.build.sourceEncoding}">${encoding} > ${maven.compiler.executable} > default-value=3D"true">${maven.compiler.failOnError} > ${maven.compiler.fork} > default-value=3D"${project.build.directory}/generated-sources/test-annota= tions"/> > ${maven.compiler.maxmem} > ${maven.compiler.meminitial} > ${maven.compiler.optimize} > > ${project.build.finalName} > > default-value=3D"false">${maven.compiler.showDeprecation} > default-value=3D"false">${maven.compiler.showWarnings} > ${maven.test.skip} > ${maven.compiler.source} > ${lastModGranularityMs} > ${maven.compiler.target} > ${maven.compiler.testSource} > ${maven.compiler.testTarget} > ${maven.compiler.verbose} > > ----------------------------------------------------------------------- > Goal: org.apache.maven.plugins:maven-surefire-plugin:2.10:test > (default-test) > Style: Regular > Configuration: > > ${argLine} > > default-value=3D"false">${childDelegation} > > ${maven.surefire.debug} > default-value=3D"false">${disableXmlReport} > default-value=3D"true">${enableAssertions} > ${excludedGroups} > ${failIfNoTests} > ${forkMode} > > ${surefire.timeout} > ${groups} > default-value=3D"junit:junit">${junitArtifactName} > ${jvm} > ${localRepository} > ${objectFactory} > ${parallel} > > default-value=3D"true">${perCoreThreadCount} > ${plugin.artifactMap} > default-value=3D"true">${surefire.printSummary} > > ${project.artifactMap} > default-value=3D"false">${maven.test.redirectTestOutputToFile} > > ${project.pluginArtifactRepositories} > default-value=3D"brief">${surefire.reportFormat} > default-value=3D"">${surefire.reportNameSuffix} > default-value=3D"${project.build.directory}/surefire-reports"/> > > ${session} > ${maven.test.skip} > ${maven.test.skip.exec} > ${skipTests} > ${test} > default-value=3D"${project.build.testOutputDirectory}"/> > default-value=3D"false">${maven.test.failure.ignore} > default-value=3D"org.testng:testng">${testNGArtifactName} > default-value=3D"${project.build.testSourceDirectory}"/> > ${threadCount} > ${trimStackTrace} > ${surefire.useFile} > default-value=3D"true">${surefire.useManifestOnlyJar} > default-value=3D"true">${surefire.useSystemClassLoader} > default-value=3D"false">${useUnlimitedThreads} > ${basedir} > > ----------------------------------------------------------------------- > Goal: org.apache.maven.plugins:maven-jar-plugin:2.3.2:jar > (default-jar) > Style: Regular > Configuration: > > > default-value=3D"${project.build.outputDirectory}/META-INF/MANIFEST.MF"/> > default-value=3D"${project.build.finalName}">${jar.finalName} > ${jar.forceCreation} > > > default-value=3D"false">${jar.useDefaultManifestFile} > > ----------------------------------------------------------------------- > Goal: org.apache.maven.plugins:maven-install-plugin:2.3.1:install > (default-install) > Style: Regular > Configuration: > > > > ${createChecksum} > ${localRepository} > > > default-value=3D"false">${updateReleaseInfo} > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > Could not find metadata > org.apache.myfaces.tomahawk:tomahawk12:1.1.14-SNAPSHOT/maven-metadata.xml > in local (C:\Documents and Settings\harrisc7\.m2\repository) > Using connector WagonRepositoryConnector with priority 0 for > http://localhost:8083/archiva/repository/biolife-snapshots/ as admin > Downloading: > http://localhost:8083/archiva/repository/biolife-snapshots/org/apache/myf= aces/tomahawk/tomahawk12/1.1.14-SNAPSHOT/maven-metadata.xml > > Downloaded: > http://localhost:8083/archiva/repository/biolife-snapshots/org/apache/myf= aces/tomahawk/tomahawk12/1.1.14-SNAPSHOT/maven-metadata.xml(375 B at 0.1 KB= /sec) > Writing resolution tracking file C:\Documents and > Settings\harrisc7\.m2\repository\org\apache\myfaces\tomahawk\tomahawk12\1= .1.14-SNAPSHOT\resolver-status.properties > Could not find metadata > org.apache.myfaces.tomahawk:tomahawk-project:1.1.14-SNAPSHOT/maven-metada= ta.xml > in local (C:\Documents and Settings\harrisc7\.m2\repository) > Using connector WagonRepositoryConnector with priority 0 for > http://localhost:8083/archiva/repository/biolife-snapshots/ as admin > Downloading: > http://localhost:8083/archiva/repository/biolife-snapshots/org/apache/myf= aces/tomahawk/tomahawk-project/1.1.14-SNAPSHOT/maven-metadata.xml > > Writing resolution tracking file C:\Documents and > Settings\harrisc7\.m2\repository\org\apache\myfaces\tomahawk\tomahawk-pro= ject\1.1.14-SNAPSHOT\resolver-status.properties > Could not find metadata > org.apache.myfaces.tomahawk:tomahawk-project:1.1.14-SNAPSHOT/maven-metada= ta.xml > in biolife-snapshots ( > http://localhost:8083/archiva/repository/biolife-snapshots/) > Verifying availability of C:\Documents and > Settings\harrisc7\.m2\repository\org\apache\myfaces\tomahawk\tomahawk-pro= ject\1.1.14-SNAPSHOT\tomahawk-project-1.1.14-SNAPSHOT.pom > from [biolife-snapshots ( > http://localhost:8083/archiva/repository/biolife-snapshots/, snapshots), > biolife (http://localhost:8083/archiva/repository/biolife/, releases)] > Using connector WagonRepositoryConnector with priority 0 for > http://localhost:8083/archiva/repository/biolife-snapshots/ as admin > Downloading: > http://localhost:8083/archiva/repository/biolife-snapshots/org/apache/myf= aces/tomahawk/tomahawk-project/1.1.14-SNAPSHOT/tomahawk-project-1.1.14-SNAP= SHOT.pom > > Writing resolution tracking file C:\Documents and > Settings\harrisc7\.m2\repository\org\apache\myfaces\tomahawk\tomahawk-pro= ject\1.1.14-SNAPSHOT\tomahawk-project-1.1.14-SNAPSHOT.pom.lastUpdated > Could not find metadata > org.apache.myfaces.tomahawk:tomahawk-sandbox12:1.1.14-SNAPSHOT/maven-meta= data.xml > in local (C:\Documents and Settings\harrisc7\.m2\repository) > Using connector WagonRepositoryConnector with priority 0 for > http://localhost:8083/archiva/repository/biolife-snapshots/ as admin > Downloading: > http://localhost:8083/archiva/repository/biolife-snapshots/org/apache/myf= aces/tomahawk/tomahawk-sandbox12/1.1.14-SNAPSHOT/maven-metadata.xml > > Downloaded: > http://localhost:8083/archiva/repository/biolife-snapshots/org/apache/myf= aces/tomahawk/tomahawk-sandbox12/1.1.14-SNAPSHOT/maven-metadata.xml(383 B a= t 1.3 KB/sec) > Writing resolution tracking file C:\Documents and > Settings\harrisc7\.m2\repository\org\apache\myfaces\tomahawk\tomahawk-san= dbox12\1.1.14-SNAPSHOT\resolver-status.properties > Could not find metadata > org.apache.myfaces.tomahawk:sandbox-project:1.1.14-SNAPSHOT/maven-metadat= a.xml > in local (C:\Documents and Settings\harrisc7\.m2\repository) > Using connector WagonRepositoryConnector with priority 0 for > http://localhost:8083/archiva/repository/biolife-snapshots/ as admin > Downloading: > http://localhost:8083/archiva/repository/biolife-snapshots/org/apache/myf= aces/tomahawk/sandbox-project/1.1.14-SNAPSHOT/maven-metadata.xml > > Writing resolution tracking file C:\Documents and > Settings\harrisc7\.m2\repository\org\apache\myfaces\tomahawk\sandbox-proj= ect\1.1.14-SNAPSHOT\resolver-status.properties > Could not find metadata > org.apache.myfaces.tomahawk:sandbox-project:1.1.14-SNAPSHOT/maven-metadat= a.xml > in biolife-snapshots ( > http://localhost:8083/archiva/repository/biolife-snapshots/) > Verifying availability of C:\Documents and > Settings\harrisc7\.m2\repository\org\apache\myfaces\tomahawk\sandbox-proj= ect\1.1.14-SNAPSHOT\sandbox-project-1.1.14-SNAPSHOT.pom > from [biolife-snapshots ( > http://localhost:8083/archiva/repository/biolife-snapshots/, snapshots), > biolife (http://localhost:8083/archiva/repository/biolife/, releases)] > Using connector WagonRepositoryConnector with priority 0 for > http://localhost:8083/archiva/repository/biolife-snapshots/ as admin > Downloading: > http://localhost:8083/archiva/repository/biolife-snapshots/org/apache/myf= aces/tomahawk/sandbox-project/1.1.14-SNAPSHOT/sandbox-project-1.1.14-SNAPSH= OT.pom > > Writing resolution tracking file C:\Documents and > Settings\harrisc7\.m2\repository\org\apache\myfaces\tomahawk\sandbox-proj= ect\1.1.14-SNAPSHOT\sandbox-project-1.1.14-SNAPSHOT.pom.lastUpdated > ------------------------------------------------------------------------ > BUILD FAILURE > ------------------------------------------------------------------------ > Total time: 23.187s > Finished at: Wed Sep 19 10:44:08 CDT 2012 > Final Memory: 8M/247M > ------------------------------------------------------------------------ > Failed to execute goal on project postgresql-test: Could not resolve > dependencies for project > com.baxter.biolife.webservices:postgresql-test:jar:1.0-SNAPSHOT: Failed to > collect dependencies for [junit:junit:jar:3.8.1 (test), > postgresql:postgresql:jar:9.1-901.jdbc4 (compile), > org.apache.myfaces.tomahawk:tomahawk12:jar:1.1.14-SNAPSHOT (compile), > org.apache.myfaces.tomahawk:tomahawk-sandbox12:jar:1.1.14-SNAPSHOT > (compile)]: Failed to read artifact descriptor for > org.apache.myfaces.tomahawk:tomahawk12:jar:1.1.14-SNAPSHOT: Could not find > artifact org.apache.myfaces.tomahawk:tomahawk-project:pom:1.1.14-SNAPSHOT > in biolife-snapshots ( > http://localhost:8083/archiva/repository/biolife-snapshots/) -> [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal on project postgresql-test: Could not resolve dependencies for proje= ct > com.baxter.biolife.webservices:postgresql-test:jar:1.0-SNAPSHOT: Failed to > collect dependencies for [junit:junit:jar:3.8.1 (test), > postgresql:postgresql:jar:9.1-901.jdbc4 (compile), > org.apache.myfaces.tomahawk:tomahawk12:jar:1.1.14-SNAPSHOT (compile), > org.apache.myfaces.tomahawk:tomahawk-sandbox12:jar:1.1.14-SNAPSHOT > (compile)] > at > org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDepend= encies(LifecycleDependencyResolver.java:210) > at > org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolvePr= ojectDependencies(LifecycleDependencyResolver.java:117) > at > org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreRes= olved(MojoExecutor.java:258) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.jav= a:201) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.jav= a:153) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.jav= a:145) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(L= ifecycleModuleBuilder.java:84) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(L= ifecycleModuleBuilder.java:59) > at > org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(= LifecycleStarter.java:183) > at > org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleSta= rter.java:161) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java= :57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI= mpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:601) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher= .java:290) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:23= 0) > at > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launch= er.java:409) > at > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) > Caused by: org.apache.maven.project.DependencyResolutionException: Could > not resolve dependencies for project > com.baxter.biolife.webservices:postgresql-test:jar:1.0-SNAPSHOT: Failed to > collect dependencies for [junit:junit:jar:3.8.1 (test), > postgresql:postgresql:jar:9.1-901.jdbc4 (compile), > org.apache.myfaces.tomahawk:tomahawk12:jar:1.1.14-SNAPSHOT (compile), > org.apache.myfaces.tomahawk:tomahawk-sandbox12:jar:1.1.14-SNAPSHOT > (compile)] > at > org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(Defau= ltProjectDependenciesResolver.java:158) > at > org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDepend= encies(LifecycleDependencyResolver.java:185) > ... 22 more > Caused by: org.sonatype.aether.collection.DependencyCollectionException: > Failed to collect dependencies for [junit:junit:jar:3.8.1 (test), > postgresql:postgresql:jar:9.1-901.jdbc4 (compile), > org.apache.myfaces.tomahawk:tomahawk12:jar:1.1.14-SNAPSHOT (compile), > org.apache.myfaces.tomahawk:tomahawk-sandbox12:jar:1.1.14-SNAPSHOT > (compile)] > at > org.sonatype.aether.impl.internal.DefaultDependencyCollector.collectDepen= dencies(DefaultDependencyCollector.java:258) > at > org.sonatype.aether.impl.internal.DefaultRepositorySystem.collectDependen= cies(DefaultRepositorySystem.java:308) > at > org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(Defau= ltProjectDependenciesResolver.java:150) > ... 23 more > Caused by: org.sonatype.aether.resolution.ArtifactDescriptorException: > Failed to read artifact descriptor for > org.apache.myfaces.tomahawk:tomahawk12:jar:1.1.14-SNAPSHOT > at > org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.load= Pom(DefaultArtifactDescriptorReader.java:331) > at > org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.read= ArtifactDescriptor(DefaultArtifactDescriptorReader.java:186) > at > org.sonatype.aether.impl.internal.DefaultDependencyCollector.process(Defa= ultDependencyCollector.java:412) > at > org.sonatype.aether.impl.internal.DefaultDependencyCollector.collectDepen= dencies(DefaultDependencyCollector.java:240) > ... 25 more > Caused by: org.apache.maven.model.resolution.UnresolvableModelException: > Could not find artifact > org.apache.myfaces.tomahawk:tomahawk-project:pom:1.1.14-SNAPSHOT in > biolife-snapshots ( > http://localhost:8083/archiva/repository/biolife-snapshots/) > at > org.apache.maven.repository.internal.DefaultModelResolver.resolveModel(De= faultModelResolver.java:126) > at > org.apache.maven.model.building.DefaultModelBuilder.readParentExternally(= DefaultModelBuilder.java:813) > at > org.apache.maven.model.building.DefaultModelBuilder.readParent(DefaultMod= elBuilder.java:664) > at > org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBui= lder.java:310) > at > org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBui= lder.java:232) > at > org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.load= Pom(DefaultArtifactDescriptorReader.java:322) > ... 28 more > Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: > Could not find artifact > org.apache.myfaces.tomahawk:tomahawk-project:pom:1.1.14-SNAPSHOT in > biolife-snapshots ( > http://localhost:8083/archiva/repository/biolife-snapshots/) > at > org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(Default= ArtifactResolver.java:538) > at > org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact= s(DefaultArtifactResolver.java:216) > at > org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact= (DefaultArtifactResolver.java:193) > at > org.apache.maven.repository.internal.DefaultModelResolver.resolveModel(De= faultModelResolver.java:122) > ... 33 more > Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException: Could > not find artifact > org.apache.myfaces.tomahawk:tomahawk-project:pom:1.1.14-SNAPSHOT in > biolife-snapshots ( > http://localhost:8083/archiva/repository/biolife-snapshots/) > at > org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(Wagon= RepositoryConnector.java:947) > at > org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(Wagon= RepositoryConnector.java:941) > at > org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(= WagonRepositoryConnector.java:669) > at > org.sonatype.aether.util.concurrency.RunnableErrorForwarder$1.run(Runnabl= eErrorForwarder.java:60) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java= :1110) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.jav= a:603) > at java.lang.Thread.run(Thread.java:722) > > > For more information about the errors and possible solutions, please read > the following articles: > [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionExce= ption > > - Chris Harris > > -----Original Message----- > From: odeaching@gmail.com [mailto:odeaching@gmail.com] On Behalf Of Deng > Ching > Sent: Wednesday, September 19, 2012 3:55 AM > To: users@archiva.apache.org > Subject: Re: Cannot download SNAPSHOT from Archiva when listed as > dependency > > Yep, the repository id should match the server id and the one in mirrorOf. > Sorry, https was a typo in my part, should be just http if you're not > running Archiva in secured protocol. Can you paste the snippet of the bui= ld > output when you got the error? > > Thanks, > Deng > > On Wed, Sep 19, 2012 at 12:22 PM, Harris, Christopher P < > chris_harris@baxter.com> wrote: > > > Hi, Deng. > > > > That partially worked for me. I had to modify it though. > > > > repo-snapshots > > admin > > password > > > > > > "external:*" has never worked for me. "*" works for me. > > > > > > some_id > > http://localhost:8083/archiva/repository/group_id/ > > *,!repo-snapshots > > > > > > It seems that when I removed the 's' in "https", I was able to > > successfully download the .pom and meta-data.xml files. I couldn't > > download the .jar's though. > > > > > > repo-snapshots > > > > true > > > > > > > > repo-snapshots > > repo-snapshots > > http://localhost:8083/archiva/repository/repo-snapshots/ > > > > > > false > > > > > > true > > > > > > > > > > > > I take it something in profile is supposed to match something in > > the mirror and server sections? > > > > I received a "could not resolve dependency" error when compiling my test > > project. > > > > - Chris Harris > > > > -----Original Message----- > > From: odeaching@gmail.com [mailto:odeaching@gmail.com] On Behalf Of Deng > > Ching > > Sent: Tuesday, September 18, 2012 10:39 PM > > To: users@archiva.apache.org > > Subject: Re: Cannot download SNAPSHOT from Archiva when listed as > > dependency > > > > Hi Chris, > > > > You need to add the snapshots repo as follows: > > > > > > snapshots-profile > > > > true > > > > > > > > snapshots.repo > > Your Snapshots Repo > > https://archiva.repo/archiva/repository/snapshots > > > > false > > > > > > true > > > > > > > > > > > > Then change to: > > > > external:*,!snapshots.repo > > > > HTH, > > Deng > > > > On Wed, Sep 19, 2012 at 7:23 AM, Harris, Christopher P < > > chris_harris@baxter.com> wrote: > > > > > Hi, > > > > > > I've done several hours worth of searching and experimenting for a > > > resolution to this problem with no luck: > > > I've created an managed repo to house in-house snapshots along with > some > > > special 3rd-party snapshots. I cannot download 2 3rd-party snapshots. > > > > > > I get these 2 error messages: > > > The POM for org.apache.myfaces.tomahawk:tomahawk12:jar:1.1.14-SNAPSHOT > is > > > missing, no dependency information available > > > The POM for > > > org.apache.myfaces.tomahawk:tomahawk-sandbox12:jar:1.1.14-SNAPSHOT is > > > missing, no dependency information available > > > > > > My settings.xml: > > > > > > > > > some_id > > > http://localhost:8083/archiva/repository/repo_group_name/ > > > > > * > > > > > > > > > I've tried adding an active-by-default profile to my snapshots repo, > but > > > that didn't work. > > > > > > To upload the .jar & .pom files, I've copied them from my local Maven > > repo > > > to my C:\ and then uploaded the snapshots via command prompt: > > > > > > C:\>mvn deploy:deploy-file -Dfile=3Dtomahawk12-1.1.14-SNAPSHOT.jar > > > -DpomFile=3Dtomah > > > awk12-1.1.14-SNAPSHOT.pom -DrepositoryId=3Drepo-snapshots -Durl=3D > > > http://localhos > > > t:8083/archiva/repository/repo-snapshots/ -DuniqueVersion=3Dfalse > > > -DupdateRelea > > > seInfo=3Dtrue > > > > > > Note that deploy:deploy-file only works using artifacts not in my loc= al > > > Maven repo. That's why I move them to C:\ > > > > > > I originally tried uploading without uniqueVersion and > updateReleaseInfo. > > > No luck either. > > > > > > I opened up a simple tester project in NetBeans and added these 2 > > > dependencies. Sure enough, when I type in and hit > > Ctrl > > > + the space bar, I see 1.1.14-SNAPSHOT listed as a hint. I can also > > access > > > the pom and jar in Archiva from my browser. > > > > > > How can I download snapshot dependencies from Archiva? > > > > > > > > > - Chris Harris > > The information transmitted is intended only for the person(s)or entity > to > > which it is addressed and may contain confidential and/or legally > > privileged material. Delivery of this message to any person other than > the > > intended recipient(s) is not intended in any way to waive privilege or > > confidentiality. Any review, retransmission, dissemination or other use > of > > , or taking of any action in reliance upon, this information by entities > > other than the intended recipient is prohibited. If you receive this in > > error, please contact the sender and delete the material from any > computer. > > > > For Translation: > > > > http://www.baxter.com/email_disclaimer > > > > > The information transmitted is intended only for the person(s)or entity to > which it is addressed and may contain confidential and/or legally > privileged material. Delivery of this message to any person other than the > intended recipient(s) is not intended in any way to waive privilege or > confidentiality. Any review, retransmission, dissemination or other use of > , or taking of any action in reliance upon, this information by entities > other than the intended recipient is prohibited. If you receive this in > error, please contact the sender and delete the material from any compute= r. > > For Translation: > > http://www.baxter.com/email_disclaimer > > The information transmitted is intended only for the person(s)or entity to = which it is addressed and may contain confidential and/or legally privilege= d material. Delivery of this message to any person other than the intended = recipient(s) is not intended in any way to waive privilege or confidentiali= ty. Any review, retransmission, dissemination or other use of , or taking o= f any action in reliance upon, this information by entities other than the = intended recipient is prohibited. If you receive this in error, please cont= act the sender and delete the material from any computer. For Translation: http://www.baxter.com/email_disclaimer