Return-Path: X-Original-To: apmail-aries-dev-archive@www.apache.org Delivered-To: apmail-aries-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 D7259D353 for ; Tue, 31 Jul 2012 14:31:18 +0000 (UTC) Received: (qmail 97399 invoked by uid 500); 31 Jul 2012 14:31:18 -0000 Delivered-To: apmail-aries-dev-archive@aries.apache.org Received: (qmail 97367 invoked by uid 500); 31 Jul 2012 14:31:18 -0000 Mailing-List: contact dev-help@aries.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aries.apache.org Delivered-To: mailing list dev@aries.apache.org Received: (qmail 97359 invoked by uid 99); 31 Jul 2012 14:31:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jul 2012 14:31:18 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of holly.k.cummins@googlemail.com designates 74.125.82.48 as permitted sender) Received: from [74.125.82.48] (HELO mail-wg0-f48.google.com) (74.125.82.48) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jul 2012 14:31:14 +0000 Received: by wgbdq11 with SMTP id dq11so4729831wgb.17 for ; Tue, 31 Jul 2012 07:30:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=gCDD6z6VvQfl1/55Zu0qwMLan4L3COmU60g/2phxhVc=; b=otXZAsWzChodPb+GIXFeDWvQgiFSFkrwzNHuTyWeGx+AIgzioMJG2PaBRm5BaudTCl aTOWZ9ABIuIy3bNHL/H7tnEuypcFLQ1hw7l0XfCmXcrZ/T6sNCCa3/cwtC/RnbKl3x6P l4LzEK3sfrwBwF6tSKZJggVJlLZKGeOoHwGJ3VCGoDefmiELYJIfYwk07kduNmiWBI5D nhu9OhvVR4HfkTx4uuBtzvzoqkQHnXI1ZQaPulfKVeSONuHC4dvXMue7dzv9Z46GFU15 +1w5FwY4uU3c7c5/OUdyvAKv9HuxaJ15nIo9eZQp+9BeWYOiKUFiasD95zqtFBhxf0iJ +WoA== MIME-Version: 1.0 Received: by 10.180.95.193 with SMTP id dm1mr2588373wib.10.1343745052559; Tue, 31 Jul 2012 07:30:52 -0700 (PDT) Received: by 10.227.55.1 with HTTP; Tue, 31 Jul 2012 07:30:52 -0700 (PDT) In-Reply-To: <5017BD26.1000804@jboss.com> References: <5017BD26.1000804@jboss.com> Date: Tue, 31 Jul 2012 15:30:52 +0100 Message-ID: Subject: Re: Apache Aries build still broken locally. From: Holly Cummins To: dev@aries.apache.org Content-Type: multipart/alternative; boundary=f46d041825da86caf104c621069b X-Virus-Checked: Checked by ClamAV on apache.org --f46d041825da86caf104c621069b Content-Type: text/plain; charset=ISO-8859-1 Hi Thomas, That's exactly the policy we're aiming for. We weren't able to do it effectively when our versions were below 1.0.0, so what we're doing now is moving to a 1.0.0 platform. Once we have released versions of all our 1.0.0 bundles we expect we'll almost always have the case that aries-foo depends on a released version of aries-bar, unless aries-foo compilation or tests require the latest aries-bar snapshot to work. I'm reasonably confident the micro commits from the release-plugin are necessary, unless we release our mainline code from a branch. As long as we have a deployed 1.0.0-SNAPSHOT of aries-bar, moving the version of aries-bar in trunk to 1.0.1-SNAPSHOT shouldn't break anything - the issue here seems to be that the deployed snapshot is incomplete. I wonder if we should build Jenkins from a clean maven repo so that we catch these local clean-repo issues centrally? It would slow our builds down a lot, but it seems like being able to build from a clean repo is important enough that we want to catch problems centrally. Holly On Tue, Jul 31, 2012 at 12:10 PM, Thomas Diesler wrote: > Same here. I cannot build jndi and related projects. Makes me wonder > whether these micro commits aries/commits/trunk/ > > using the maven-release-plugin are really necessary. > > Would it not be possible to have a policy where aries-foo would only have > dependendies on aries-bar that are released versions of aries-bar? IMHO it > should always be possible to build/test aries sub projects independent of > the others. > > cheers > -thomas > > > > On 07/31/2012 12:51 PM, Mark Nuttall wrote: > >> Hello, >> Is anyone able to build the Apache Aries code on their local machine? I >> cannot, for example, build application/ which fails for lack of, >> >> Path to dependency: >> 1) org.apache.aries.application:**org.apache.aries.application.** >> management:bundle:1.0.0-**SNAPSHOT >> 2) org.apache.aries.application:**org.apache.aries.application.** >> deployment.management:jar:1.0.**0-SNAPSHOT >> 3) org.apache.aries.application:**org.apache.aries.application.** >> modeller:jar:1.0.0-SNAPSHOT >> >> What's interesting is that running with -X I see errors of the form >> below, which indicate a problem with the snapshot repository, which is >> pulled in from /parent/pom.xml: >> >> Caused by: java.io.FileNotFoundException:**http://repository.apache.org/* >> *snapshots/org/apache/aries/**application/org.apache.aries.** >> application.modeller/1.0.0-**SNAPSHOT/org.apache.aries.** >> application.modeller-1.0.0-**SNAPSHOT.pom >> Checking the snapshots under https://repository.apache.org/** >> content/groups/snapshots/org/**apache/aries/application/org.** >> apache.aries.application.**modeller/it does indeed appear that the 1.0.1-SNAPSHOTs are well populated, but that >> the 1.0.0-SNAPSHOT is not. >> >> I have completely removed ~/.m2/settings.xml, which makes no difference. >> I've attached a .zip of my -X output, in case anyone is able to offer any >> suggestions. Does anyone know how to get around this? Surely I don't have >> to manually edit out all the bogus 1.0.0-SNAPSHOT dependencies just to get >> things to build locally? >> >> Many thanks for any help. >> >> Regards, >> Mark >> >> >> >> >> [DEBUG] Connecting to repository: 'apache.snapshots' with url: ' >> http://repository.apache.org/**snapshots >> '. >> Downloading:http://repository.**apache.org/snapshots/org/** >> apache/aries/application/org.**apache.aries.application.** >> modeller/1.0.0-SNAPSHOT/org.**apache.aries.application.** >> modeller-1.0.0-SNAPSHOT.pom >> [DEBUG] Unable to locate resource in repository >> org.apache.maven.wagon.**ResourceDoesNotExistException: Unable to locate >> resource in repository >> at org.apache.maven.wagon.**providers.http.** >> LightweightHttpWagon.**fillInputData(**LightweightHttpWagon.java:139) >> at org.apache.maven.wagon.**StreamWagon.getInputStream(** >> StreamWagon.java:116) >> at org.apache.maven.wagon.**StreamWagon.getIfNewer(** >> StreamWagon.java:88) >> at org.apache.maven.wagon.**StreamWagon.get(StreamWagon.** >> java:61) >> at org.apache.maven.artifact.**manager.DefaultWagonManager.** >> getRemoteFile(**DefaultWagonManager.java:546) >> at org.apache.maven.artifact.**manager.DefaultWagonManager.** >> getArtifact(**DefaultWagonManager.java:427) >> at org.apache.maven.artifact.**manager.DefaultWagonManager.** >> getArtifact(**DefaultWagonManager.java:382) >> at org.apache.maven.artifact.**resolver.** >> DefaultArtifactResolver.**resolve(**DefaultArtifactResolver.java:**216) >> at org.apache.maven.artifact.**resolver.** >> DefaultArtifactResolver.**resolve(**DefaultArtifactResolver.java:**90) >> at org.apache.maven.project.**DefaultMavenProjectBuilder.** >> findModelFromRepository(**DefaultMavenProjectBuilder.**java:558) >> at org.apache.maven.project.**DefaultMavenProjectBuilder.** >> buildFromRepository(**DefaultMavenProjectBuilder.**java:251) >> at org.apache.maven.project.**artifact.MavenMetadataSource.** >> retrieveRelocatedProject(**MavenMetadataSource.java:163) >> at org.apache.maven.project.**artifact.MavenMetadataSource.** >> retrieveRelocatedArtifact(**MavenMetadataSource.java:94) >> at org.apache.maven.artifact.**resolver.** >> DefaultArtifactCollector.**recurse(**DefaultArtifactCollector.java:**387) >> at org.apache.maven.artifact.**resolver.** >> DefaultArtifactCollector.**recurse(**DefaultArtifactCollector.java:**435) >> at org.apache.maven.artifact.**resolver.** >> DefaultArtifactCollector.**collect(**DefaultArtifactCollector.java:**74) >> at org.apache.maven.artifact.**resolver.** >> DefaultArtifactResolver.**resolveTransitively(** >> DefaultArtifactResolver.java:**316) >> at org.apache.maven.artifact.**resolver.** >> DefaultArtifactResolver.**resolveTransitively(** >> DefaultArtifactResolver.java:**304) >> at org.apache.maven.plugin.**DefaultPluginManager.** >> resolveTransitiveDependencies(**DefaultPluginManager.java:**1499) >> at org.apache.maven.plugin.**DefaultPluginManager.**executeMojo( >> **DefaultPluginManager.java:442) >> at org.apache.maven.lifecycle.**DefaultLifecycleExecutor.** >> executeGoals(**DefaultLifecycleExecutor.java:**694) >> at org.apache.maven.lifecycle.**DefaultLifecycleExecutor.** >> executeGoalWithLifecycle(**DefaultLifecycleExecutor.java:**556) >> at org.apache.maven.lifecycle.**DefaultLifecycleExecutor.** >> executeGoal(**DefaultLifecycleExecutor.java:**535) >> at org.apache.maven.lifecycle.**DefaultLifecycleExecutor.** >> executeGoalAndHandleFailures(**DefaultLifecycleExecutor.java:**387) >> at org.apache.maven.lifecycle.**DefaultLifecycleExecutor.** >> executeTaskSegments(**DefaultLifecycleExecutor.java:**348) >> at org.apache.maven.lifecycle.**DefaultLifecycleExecutor.** >> execute(**DefaultLifecycleExecutor.java:**180) >> at org.apache.maven.DefaultMaven.**doExecute(DefaultMaven.java:* >> *328) >> at org.apache.maven.DefaultMaven.** >> execute(DefaultMaven.java:138) >> at org.apache.maven.cli.MavenCli.**main(MavenCli.java:362) >> at org.apache.maven.cli.compat.**CompatibleMain.main(** >> CompatibleMain.java:60) >> at sun.reflect.**NativeMethodAccessorImpl.**invoke0(Native >> Method) >> at sun.reflect.**NativeMethodAccessorImpl.**invoke(** >> NativeMethodAccessorImpl.java:**39) >> at sun.reflect.**DelegatingMethodAccessorImpl.**invoke(** >> DelegatingMethodAccessorImpl.**java:25) >> at java.lang.reflect.Method.**invoke(Method.java:597) >> at org.codehaus.classworlds.**Launcher.launchEnhanced(** >> Launcher.java:315) >> at org.codehaus.classworlds.**Launcher.launch(Launcher.java:** >> 255) >> at org.codehaus.classworlds.**Launcher.mainWithExitCode(** >> Launcher.java:430) >> at org.codehaus.classworlds.**Launcher.main(Launcher.java:**375) >> Caused by: java.io.FileNotFoundException:**http://repository.apache.org/* >> *snapshots/org/apache/aries/**application/org.apache.aries.** >> application.modeller/1.0.0-**SNAPSHOT/org.apache.aries.** >> application.modeller-1.0.0-**SNAPSHOT.pom >> at sun.reflect.**NativeConstructorAccessorImpl.**newInstance0(Native >> Method) >> at sun.reflect.**NativeConstructorAccessorImpl.**newInstance(** >> NativeConstructorAccessorImpl.**java:39) >> at sun.reflect.**DelegatingConstructorAccessorI** >> mpl.newInstance(**DelegatingConstructorAccessorI**mpl.java:27) >> at java.lang.reflect.Constructor.**newInstance(Constructor.java: >> **513) >> at sun.net.www.protocol.http.**HttpURLConnection$6.run(** >> HttpURLConnection.java:1496) >> at java.security.**AccessController.doPrivileged(**Native >> Method) >> at sun.net.www.protocol.http.**HttpURLConnection.** >> getChainedException(**HttpURLConnection.java:1490) >> at sun.net.www.protocol.http.**HttpURLConnection.** >> getInputStream(**HttpURLConnection.java:1144) >> at org.apache.maven.wagon.**providers.http.** >> LightweightHttpWagon.**fillInputData(**LightweightHttpWagon.java:122) >> ... 37 more >> Caused by: java.io.FileNotFoundException:**http://repository.apache.org/* >> *snapshots/org/apache/aries/**application/org.apache.aries.** >> application.modeller/1.0.0-**SNAPSHOT/org.apache.aries.** >> application.modeller-1.0.0-**SNAPSHOT.pom >> at sun.net.www.protocol.http.**HttpURLConnection.** >> getInputStream(**HttpURLConnection.java:1439) >> at java.net.HttpURLConnection.**getResponseCode(** >> HttpURLConnection.java:379) >> at org.apache.maven.wagon.**providers.http.** >> LightweightHttpWagon.**fillInputData(**LightweightHttpWagon.java:115) >> ... 37 more >> [DEBUG] Using Wagon implementation lightweight from default mapping for >> protocol http >> [INFO] Unable to find resource 'org.apache.aries.application:** >> org.apache.aries.application.**modeller:pom:1.0.0-SNAPSHOT' in >> repository apache.snapshots (http://repository.apache.org/**snapshots >> ) >> [DEBUG] Skipping disabled repository central >> [DEBUG] Artifact not found - using stub model: Unable to download the >> artifact from any repository >> >> org.apache.aries.application:**org.apache.aries.application.** >> modeller:pom:1.0.0-SNAPSHOT >> >> >> >> >> >> > -- > xxxxxxxxxxxxxxxxxxxxxxxxxxxx > Thomas Diesler > JBoss OSGi Lead > JBoss, a division of Red Hat > xxxxxxxxxxxxxxxxxxxxxxxxxxxx > > --f46d041825da86caf104c621069b--