Return-Path: X-Original-To: apmail-camel-dev-archive@www.apache.org Delivered-To: apmail-camel-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 4AC9C6EEB for ; Fri, 15 Jul 2011 16:23:26 +0000 (UTC) Received: (qmail 39039 invoked by uid 500); 15 Jul 2011 16:23:26 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 38990 invoked by uid 500); 15 Jul 2011 16:23:25 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 38981 invoked by uid 99); 15 Jul 2011 16:23:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jul 2011 16:23:25 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jul 2011 16:23:21 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 7AE2E59E50 for ; Fri, 15 Jul 2011 16:23:00 +0000 (UTC) Date: Fri, 15 Jul 2011 16:23:00 +0000 (UTC) From: "Jonathan Anstey (JIRA)" To: dev@camel.apache.org Message-ID: <1915568843.17919.1310746980499.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <758782559.17913.1310746860264.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (CAMEL-4237) Archetypes fail to build in offline mode MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-4237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Anstey resolved CAMEL-4237. ------------------------------------ Resolution: Fixed janstey@mojo:/x1/asf/camel/trunk$ svn ci -m "CAMEL-4237 - fix issue with archetypes not building in Maven offline mode" Sending tooling/archetypes/camel-archetype-activemq/pom.xml Sending tooling/archetypes/camel-archetype-blueprint/pom.xml Sending tooling/archetypes/camel-archetype-component/pom.xml Sending tooling/archetypes/camel-archetype-java/pom.xml Sending tooling/archetypes/camel-archetype-scala/pom.xml Sending tooling/archetypes/camel-archetype-spring/pom.xml Sending tooling/archetypes/camel-archetype-spring-dm/pom.xml Sending tooling/archetypes/camel-archetype-web/pom.xml Sending tooling/archetypes/camel-archetype-webconsole/pom.xml Transmitting file data ......... Committed revision 1147216. > Archetypes fail to build in offline mode > ---------------------------------------- > > Key: CAMEL-4237 > URL: https://issues.apache.org/jira/browse/CAMEL-4237 > Project: Camel > Issue Type: Bug > Affects Versions: 2.7.2 > Environment: Maven 3.0.2 on Linux > Reporter: Jonathan Anstey > Assignee: Jonathan Anstey > Fix For: 2.8.0 > > > If build tooling/archetypes with the --offline Maven argument you may see an error like > [ERROR] Unresolveable build extension: Error resolving version for plugin 'org.apache.maven.archetype:archetype-packaging' > Seems the version for archetype-packaging in the dependencyManagement section defined in the parent pom is not propagating down to build extension... when Maven is not in offline mode it can simply grab the latest version from the metadata at central. I'm committing a simple fix shortly. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira