Return-Path: X-Original-To: apmail-archiva-dev-archive@www.apache.org Delivered-To: apmail-archiva-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4DB077B76 for ; Wed, 7 Dec 2011 03:03:11 +0000 (UTC) Received: (qmail 82181 invoked by uid 500); 7 Dec 2011 03:03:11 -0000 Delivered-To: apmail-archiva-dev-archive@archiva.apache.org Received: (qmail 82116 invoked by uid 500); 7 Dec 2011 03:03:09 -0000 Mailing-List: contact dev-help@archiva.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@archiva.apache.org Delivered-To: mailing list dev@archiva.apache.org Delivered-To: moderator for dev@archiva.apache.org Received: (qmail 74830 invoked by uid 99); 1 Dec 2011 14:02:17 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of Per-Arnold.Blaasmo@atmel.com designates 204.2.163.5 as permitted sender) Message-ID: <4ED788C9.7030403@atmel.com> Date: Thu, 01 Dec 2011 15:01:45 +0100 From: Per Arnold Blaasmo Reply-To: Per-Arnold.Blaasmo@atmel.com Organization: Atmel Norway User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Fedora/2.0.0.21-1.fc10 Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: Brett Porter CC: dev@archiva.apache.org Subject: Re: Building fails in Consumers Archetype References: <4ED38B67.9020609@atmel.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 01 Dec 2011 14:01:46.0537 (UTC) FILETIME=[C36B3190:01CCB031] X-Virus-Checked: Checked by ClamAV on apache.org Hi, Sorry for answering late. but.. I do have proxy settings in my .m2/settings.xml file and they are correct. Also, other files get downloaded, so i do not understand why this file should have problem. Doing this outside the work network on another PC directly connected to internet works ok, so I guess is not a archiva problem. I will need to look other places for this problem. Although I did not understand what you mean with 'a clean settings.xml & local repository'? Thanks for your input! Regards Per A. -- Per Arnold Bl�smo Senior Design Engineer, Atmel Norway On 29. nov. 2011 06:23, Brett Porter wrote: > Do you use a proxy to access it? > > I think what might be happening is that it's using a clean settings.xml & local repository for that build and re-downloading that. It probably shouldn't. > > - Brett > > On 29/11/2011, at 12:23 AM, Per Arnold Blaasmo wrote: > >> Hi, >> Sorry to bother you guys, but I have been fiddling with trying to build >> Archiva and gets error trying to fetch one artifact dependency when >> building. >> >> I have been able to build Archiva before, but this time I checked out a >> fresh repository and tried to build it with maven 3. >> >> Below you see where it fails. >> It fails whit 'connection refeused' when trying to download >> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.4.3/maven-resources-plugin-2.4.3.pom. >> >> I do not see why, since I can download it in my browser without problem. >> Also earlier in the process it downloads version 2.5 of the same. So why >> is there a problem with version 2.4.3? >> >> Regards >> Per A. >> >> >> [INFO] >> >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Building Archiva Consumers :: Consumers Archetype 1.4-M2-SNAPSHOT >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] >> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ >> archiva-consumer-archetype --- >> [INFO] Deleting >> /home/pablaasmo/workspace-archiva/archiva-aggregator/archiva/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/target >> [INFO] >> [INFO] --- maven-enforcer-plugin:1.0:enforce (default) @ >> archiva-consumer-archetype --- >> [INFO] >> [INFO] --- maven-remote-resources-plugin:1.2:process (default) @ >> archiva-consumer-archetype --- >> [INFO] Setting property: classpath.resource.loader.class => >> 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'. >> [INFO] Setting property: velocimacro.messages.on => 'false'. >> [INFO] Setting property: resource.loader => 'classpath'. >> [INFO] Setting property: resource.manager.logwhenfound => 'false'. >> [INFO] >> [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ >> archiva-consumer-archetype --- >> [debug] execute contextualize >> [INFO] Using 'UTF-8' encoding to copy filtered resources. >> [INFO] Copying 7 resources >> [INFO] Copying 2 resources >> [INFO] >> [INFO] --- maven-resources-plugin:2.5:testResources >> (default-testResources) @ archiva-consumer-archetype --- >> [debug] execute contextualize >> [INFO] Using 'UTF-8' encoding to copy filtered resources. >> [INFO] Copying 2 resources >> [INFO] Copying 2 resources >> [INFO] >> [INFO] --- maven-archetype-plugin:2.2:jar (default-jar) @ >> archiva-consumer-archetype --- >> [INFO] Building archetype jar: >> /home/pablaasmo/workspace-archiva/archiva-aggregator/archiva/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/target/archiva-consumer-archetype-1.4-M2-SNAPSHOT >> [INFO] >> [INFO] --- maven-archetype-plugin:2.2:integration-test >> (default-integration-test) @ archiva-consumer-archetype --- >> [INFO] Processing Archetype IT project: compile >> [INFO] >> ---------------------------------------------------------------------------- >> [INFO] Using following parameters for creating project from Archetype: >> archiva-consumer-archetype:1.4-M2-SNAPSHOT >> [INFO] >> ---------------------------------------------------------------------------- >> [INFO] Parameter: groupId, Value: org.apache.archiva.consumer.its.compile >> [INFO] Parameter: artifactId, Value: simple-consumer-compile >> [INFO] Parameter: version, Value: 1.0-SNAPSHOT >> [INFO] Parameter: package, Value: org.apache.archiva.consumer.its >> [INFO] Parameter: packageInPathFormat, Value: >> org/apache/archiva/consumer/its >> [INFO] Parameter: package, Value: org.apache.archiva.consumer.its >> [INFO] Parameter: version, Value: 1.0-SNAPSHOT >> [INFO] Parameter: groupId, Value: org.apache.archiva.consumer.its.compile >> [INFO] Parameter: artifactId, Value: simple-consumer-compile >> [INFO] project created from Archetype in dir: >> /home/pablaasmo/workspace-archiva/archiva-aggregator/archiva/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/target/test-classes/projects/compile/project/simple-consumer-compile >> [INFO] Invoking post-archetype-generation goals: clean verify >> [INFO] [INFO] Error stacktraces are turned on. >> [INFO] [INFO] Scanning for projects... >> [INFO] >> [INFO] >> >> [INFO] [INFO] >> ------------------------------------------------------------------------ >> [INFO] [INFO] Building Simple Archiva Consumer 1.4-M2-SNAPSHOT >> [INFO] [INFO] >> ------------------------------------------------------------------------ >> [INFO] Downloading: >> file:///home/pablaasmo/.m2/repository/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom >> [INFO] Downloaded: >> file:///home/pablaasmo/.m2/repository/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom >> (5 KB at 579.9 KB/sec) >> [INFO] Downloading: >> file:///home/pablaasmo/.m2/repository/org/apache/maven/plugins/maven-plugins/18/maven-plugins-18.pom >> [INFO] Downloaded: >> file:///home/pablaasmo/.m2/repository/org/apache/maven/plugins/maven-plugins/18/maven-plugins-18.pom >> (13 KB at 2539.3 KB/sec) >> [INFO] Downloading: >> file:///home/pablaasmo/.m2/repository/org/apache/maven/maven-parent/16/maven-parent-16.pom >> [INFO] Downloaded: >> file:///home/pablaasmo/.m2/repository/org/apache/maven/maven-parent/16/maven-parent-16.pom >> (23 KB at 5681.6 KB/sec) >> [INFO] Downloading: >> file:///home/pablaasmo/.m2/repository/org/apache/apache/7/apache-7.pom >> [INFO] Downloaded: >> file:///home/pablaasmo/.m2/repository/org/apache/apache/7/apache-7.pom >> (15 KB at 4697.3 KB/sec) >> [INFO] Downloading: >> file:///home/pablaasmo/.m2/repository/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.jar >> [INFO] Downloaded: >> file:///home/pablaasmo/.m2/repository/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.jar >> (23 KB at 5749.3 KB/sec) >> [INFO] Downloading: >> file:///home/pablaasmo/.m2/repository/org/apache/maven/plugins/maven-resources-plugin/2.4.3/maven-resources-plugin-2.4.3.pom >> [INFO] Downloading: >> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.4.3/maven-resources-plugin-2.4.3.pom >> [INFO] [INFO] >> ------------------------------------------------------------------------ >> [INFO] [INFO] BUILD FAILURE >> [INFO] [INFO] >> ------------------------------------------------------------------------ >> [INFO] [INFO] Total time: 0.479s >> [INFO] [INFO] Finished at: Mon Nov 28 14:01:15 CET 2011 >> [INFO] [INFO] Final Memory: 3M/179M >> [INFO] [INFO] >> ------------------------------------------------------------------------ >> [INFO] [ERROR] Plugin >> org.apache.maven.plugins:maven-resources-plugin:2.4.3 or one of its >> dependencies could not be resolved: Failed to read artifact descriptor >> for org.apache.maven.plugins:maven-resources-plugin:jar:2.4.3: Could not >> transfer artifact >> org.apache.maven.plugins:maven-resources-plugin:pom:2.4.3 from/to >> central (http://repo1.maven.org/maven2): Error transferring file: >> Connection refused -> [Help 1] >> [INFO] org.apache.maven.plugin.PluginResolutionException: Plugin >> org.apache.maven.plugins:maven-resources-plugin:2.4.3 or one of its >> dependencies could not be resolved: Failed to read artifact descriptor >> for org.apache.maven.plugins:maven-resources-plugin:jar:2.4.3 >> >> -- >> Per Arnold Bl�smo >> Senior Design Engineer, Atmel Norway >> Tel: (+47) 72897-651 / Mobile: (+47) 901-63-657 / Fax: (+47) 72-88-43-99 >> e-mail: Per-Arnold.Blaasmo@atmel.com / g-talk: pablaasmo@gmail.com / www.atmel.com >> >> The information contained in this email message may be privileged, confidential and/or protected from unauthorized disclosure. If you are not the intended recipient, any dissemination, distribution or copying is strictly prohibited. Please immediately notify the sender by reply if you received this email in error. Thank you for your cooperation. >> > -- > Brett Porter > brett@apache.org > http://brettporter.wordpress.com/ > http://au.linkedin.com/in/brettporter > > > >