Return-Path: X-Original-To: apmail-maven-dev-archive@www.apache.org Delivered-To: apmail-maven-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 F09C910549 for ; Mon, 9 Sep 2013 16:45:19 +0000 (UTC) Received: (qmail 61835 invoked by uid 500); 9 Sep 2013 16:44:38 -0000 Delivered-To: apmail-maven-dev-archive@maven.apache.org Received: (qmail 61314 invoked by uid 500); 9 Sep 2013 16:44:32 -0000 Mailing-List: contact dev-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Developers List" Reply-To: "Maven Developers List" Delivered-To: mailing list dev@maven.apache.org Received: (qmail 60620 invoked by uid 99); 9 Sep 2013 16:44:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Sep 2013 16:44:30 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [69.150.27.74] (HELO stlmail1.amdocs.com) (69.150.27.74) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Sep 2013 16:44:24 +0000 X-AuditID: 0a1a0cd4-b7f146d000000f6c-dc-522decc1a28b Received: from USSTLDAGFE2.corp.amdocs.com (Unknown_Domain [10.26.49.50]) (using TLS with cipher AES128-SHA (128/128 bits)) (Client did not present a certificate) by stlmail1.amdocs.com (Amdocs ESMTP Ready) with SMTP id 1B.7E.03948.1CCED225; Mon, 9 Sep 2013 10:44:01 -0500 (CDT) Received: from USSTLDAGBE1.corp.amdocs.com ([fe80::51b3:73bc:1f52:a809]) by USSTLDAGFE2.corp.amdocs.com ([fe80::24a4:3519:ecab:7aca%10]) with mapi id 14.03.0146.000; Mon, 9 Sep 2013 11:44:02 -0500 From: John Dix To: Maven Developers List Subject: RE: Failure to find artifact in Nexus Thread-Topic: Failure to find artifact in Nexus Thread-Index: Ac6qkTAMHVqs+VFZTfC73aQ2YM3cOgALS6uAAAn+X+D//82ogP//ROpg//6H0yD//Q6/YAD2u+uA//00zhA= Date: Mon, 9 Sep 2013 16:44:01 +0000 Message-ID: <1B8FF9BB83FDCE44AB581D7E394AB90D2A2D751F@USSTLDAGBE1.corp.amdocs.com> References: <1B8FF9BB83FDCE44AB581D7E394AB90D2A2D66F2@USSTLDAGBE1.corp.amdocs.com> <52291BB9.7050205@yahoo.com> <1B8FF9BB83FDCE44AB581D7E394AB90D2A2D6765@USSTLDAGBE1.corp.amdocs.com> <5229348F.1090902@artifact-software.com> <1B8FF9BB83FDCE44AB581D7E394AB90D2A2D6C4F@USSTLDAGBE1.corp.amdocs.com> <1B8FF9BB83FDCE44AB581D7E394AB90D2A2D6C6D@USSTLDAGBE1.corp.amdocs.com> <1B8FF9BB83FDCE44AB581D7E394AB90D2A2D6C88@USSTLDAGBE1.corp.amdocs.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.26.49.50] Content-Type: text/plain; charset="us-ascii" content-transfer-encoding: quoted-printable MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrOKsWRmVeSWpSXmKPExsXCJWVopHvwjW6Qwcc5shZ7/25ndGD0aH8q FMAY1cBok5xfUOmUk5mXolCUXFBiq5RallpRkliU7ADEGZllqXqJuSn5ycV6yfm5Svp2Nol5 efkliSWpCimpxcm2So5gyfiUzOLknMTM3NQiJYXMFFslYyWFgpzE5NTc1DygkYkFBal5KUp2 XAoYwCbhM0vGs/OfmQruF1f8mbGSvYGxOaGLkZNDQsBE4uX3JjYIW0ziwr31QDYXh5DAXCaJ 5/9+MUE4JxglTs09xwhSxSagInHm4UugKg4OEQEDiX3zPEDCwgJ6Ercn9zGD2CIC+hJnl2xg hLCTJA5MaGEHsVmAWg8c3wu2jFcgSOJ3x25GiPn3mSXWnb3BBJLgFNCUOLVqG5jNCHTR91Nr wGxmAXGJW0/mM0FcKiCxZM95ZghbVOLl43+sELa8xKIn06HqdSQW7P7EBmFrSyxb+JoZYrGg xMmZT1gmMIrOQjJ2FpKWWUhaZiFpWcDIsopRuLgkJzcxM8cQKcY2MYLjn+fKDsbuW1aHGAU4 GJV4eB++0A0SYk0sK67MPcQowcGsJMK75yNQiDclsbIqtSg/vqg0J7X4EGMVMGAmMkuJJucD U1NeSbyhsamRuaGZobmFoZkpZcLmJgZmpuZGSuK8Bv08QUIC6cAklZ2aWpBaBLOciYNTqoFR O+JDTnHT74f+SX9bd0l99t7AZMp0/9fc4yG7M+9/XNp4dVbZxdM7ioU3c9pdCWl8vUlK62o0 Q9uBB3dn5lqbPuNhcDqm9+lFltuD5cFzp6/fO2Nn2JzlR3bYG2506q+/aKslfmu2ftnm6qXF LgKT5W8E3zU/IxIk/X3f/8uJy49Lx/yxNQ2tU2Ipzkg01GIuKk4EAAGbAOBaAwAA X-Virus-Checked: Checked by ClamAV on apache.org Thanks! The problem is not that I am not getting the artifact because I am. The prob= lem is that Maven acts like it doesn't have the file(after downloading it) a= nd then exits. If I rerun the build it passes just fine. It does this on ver= y specific artifacts every time. It is very reproducible. What I am trying t= o find out is why it is doing this so that I can correct the behaviour. -----Original Message----- From: Robert Scholte [mailto:rfscholte@apache.org] Sent: Saturday, September 07, 2013 10:02 AM To: Maven Developers List Subject: Re: Failure to find artifact in Nexus hi, /nexus/content/repositories/releases should be used for releases of your com= pany or project /nexus/content/repositories/thirdparty should be used for ..= . third party artifacts. Developers should connect to a repository-*group* instead of a repository-*h= ost*, so the Nexus administrator can control which hosted and proxied reposi= tories should be available for them (on URL to rule them all). Normally this would be the .../public repository What I don't understand is what you mean with the file being downloaded. Maven always comes with 2 lines: Downloading .... which mean it will *try* to download this file Downloaded .= ... means that Maven succeeded. If you don't see the second line, then it is not downloaded. I guess that confused you a bit. Robert Op Fri, 06 Sep 2013 20:09:30 +0200 schreef John Dix : > + maven dev team.. > > -----Original Message----- > From: John Dix > Sent: Friday, September 06, 2013 11:08 AM > To: Maven Users List; rwheeler@artifact-software.com > Subject: RE: Failure to find artifact in Nexus > > Let me rephrase this. It is finding it in the repository we have it in > (3rdparty), but when it gets to > http://pd-repo2.eng.qpass.net:8081/nexus/content/repositories/releases > , which is where the artifact ISN'T, maven says "Oops. I can't find it > I give up" and craps out DESPITE the fact that it has already found it > and downloaded the file. > > -----Original Message----- > From: John Dix > Sent: Friday, September 06, 2013 10:59 AM > To: Maven Users List; rwheeler@artifact-software.com > Subject: RE: Failure to find artifact in Nexus > > Yes it is. It downloads the file. I have verified it is in the .m2 > repository on the drive where the build is located. When I execute a > second time it bypasses the error. > > -----Original Message----- > From: Ron Wheeler [mailto:rwheeler@artifact-software.com] > Sent: Thursday, September 05, 2013 6:49 PM > To: users@maven.apache.org > Subject: Re: Failure to find artifact in Nexus > > > Is the artifact > > commons-httpclient:commons-httpclient:jar:3.1 > > in the > http://pd-repo2.eng.qpass.net:8081/nexus/content/repositories/releases > repo? > > That will split your problem in half. > > Ron > > On 05/09/2013 8:17 PM, John Dix wrote: >> Mark: We are going to our own Nexus repository: >> http://pd-repo2.eng.qpass.net:8081/nexus/content/repositories/release >> s >> >> -----Original Message----- >> From: Mark Eggers [mailto:its_toasted@yahoo.com] >> Sent: Thursday, September 05, 2013 5:03 PM >> To: Maven Users List >> Subject: Re: Failure to find artifact in Nexus >> >> On 9/5/2013 4:47 PM, John Dix wrote: >>> Hello everyone, >>> >>> I have hit a wall in trying to figure out why we're getting this >>> failure: >>> >>> org.sonatype.aether.transfer.ArtifactNotFoundException: Failure to >>> find commons-httpclient:commons-httpclient:jar:3.1 in >>> http://pd-repo2.eng.qpass.net:8081/nexus/content/repositories/releas >>> e s was cached in the local repository, resolution will not be >>> reattempted until the update interval of qpass-nexus-hosted-releases >>> has elapsed or updates are forced >>> >>> during our builds. On a clean .m2/repository directory(ran rm -rf >>> ~/.m2/repository/*) and executing the following command: >>> >>> mvn -e -DskipTests clean install -f . This happens >>> the first time and then after that it picks up the file. It happens >>> on the SAME file everytime after a wiping of the .ms/repository >>> directory. I have looked and visually verified that the jar file it >>> is looking for is in the .m2 repo and is the correct version it is >>> looking for. I have tried using the -U switch with the maven command >>> to no avail. We are getting this on one more jar file after this one >>> gets resolved but it behaves the same: rerun and it finds it. We do >>> not encounter this on other products, just this one. >>> >>> Does anyone have any idea on how to move forward on this? I am at a >>> loss. >>> >>> Regards! >>> -Caolan. >>> >>> Maven essentials: >>> Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; >>> 2013-02-19 13:51:28+0000) Maven home: /usr/local/maven-3.0.5 Java >>> version: 1.7.0_02, vendor: Oracle Corporation Java home: >>> /usr/local/jdk1.7.0_02/jre Default locale: en_US, platform encoding: >>> UTF-8 OS name: "linux", version: "2.6.30.10-105.2.23.fc11.x86_64", >>> arch: "amd64", family: "unix" >>> >>> >>> Full Stack: >>> [ERROR] Failed to execute goal on project >>> applicationContextComponents: Could not resolve dependencies for >>> project >>> com.amdocs.dc.applicationcontext:applicationContextComponents:jar:1. >>> 0 >>> - >>> rc-4-SNAPSHOT: Failure to find >>> commons-httpclient:commons-httpclient:jar:3.1 in >>> http://pd-repo2.eng.qpass.net:8081/nexus/content/repositories/releas >>> e s was cached in the local repository, resolution will not be >>> reattempted until the update interval of qpass-nexus-hosted-releases >>> has elapsed or updates are forced -> [Help 1] >>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to >>> execute goal on project applicationContextComponents: Could not >>> resolve dependencies for project >>> com.amdocs.dc.applicationcontext:applicationContextComponents:jar:1.0-rc= -4-SNAPSHOT: >>> Failure to find commons-httpclient:commons-httpclient:jar:3.1 in >>> http://pd-repo2.eng.qpass.net:8081/nexus/content/repositories/releas >>> es was cached in the local repository, resolution will not be >>> reattempted until the update interval of qpass-nexus-hosted-releases >>> has elapsed or updates are forced >>> at >>> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDepen= dencies(LifecycleDependencyResolver.java:210) >>> at >>> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveP= rojectDependencies(LifecycleDependencyResolver.java:117) >>> at >>> org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreRe= solved(MojoExecutor.java:258) >>> at >>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.ja= va:201) >>> at >>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.ja= va:153) >>> at >>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.ja= va:145) >>> at >>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(= LifecycleModuleBuilder.java:84) >>> at >>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(= LifecycleModuleBuilder.java:59) >>> at >>> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild= (LifecycleStarter.java:183) >>> at >>> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleSt= arter.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.jav= a:57) >>> at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor= Impl.java:43) >>> at java.lang.reflect.Method.invoke(Method.java:601) >>> at >>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launche= r.java:290) >>> at >>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:2= 30) >>> at >>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launc= her.java:409) >>> at >>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java: >>> 3 >>> 52) Caused by: org.apache.maven.project.DependencyResolutionException: >>> Could not resolve dependencies for project >>> com.amdocs.dc.applicationcontext:applicationContextComponents:jar:1.0-rc= -4-SNAPSHOT: >>> Failure to find commons-httpclient:commons-httpclient:jar:3.1 in >>> http://pd-repo2.eng.qpass.net:8081/nexus/content/repositories/releas >>> es was cached in the local repository, resolution will not be >>> reattempted until the update interval of qpass-nexus-hosted-releases >>> has elapsed or updates are forced >>> at >>> org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(Defa= ultProjectDependenciesResolver.java:189) >>> at >>> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDepen= dencies(LifecycleDependencyResolver.java:185) >>> ... 22 more >>> Caused by: >>> org.sonatype.aether.resolution.DependencyResolutionException: >>> Failure to find commons-httpclient:commons-httpclient:jar:3.1 in >>> http://pd-repo2.eng.qpass.net:8081/nexus/content/repositories/releas >>> es was cached in the local repository, resolution will not be >>> reattempted until the update interval of qpass-nexus-hosted-releases >>> has elapsed or updates are forced >>> at >>> org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDepende= ncies(DefaultRepositorySystem.java:375) >>> at >>> org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(Defa= ultProjectDependenciesResolver.java:183) >>> ... 23 more >>> Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: = >>> Failure to find commons-httpclient:commons-httpclient:jar:3.1 in >>> http://pd-repo2.eng.qpass.net:8081/nexus/content/repositories/releas >>> es was cached in the local repository, resolution will not be >>> reattempted until the update interval of qpass-nexus-hosted-releases >>> has elapsed or updates are forced >>> at >>> org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(Defaul= tArtifactResolver.java:538) >>> at >>> org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifac= ts(DefaultArtifactResolver.java:216) >>> at >>> org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDepende= ncies(DefaultRepositorySystem.java:358) >>> ... 24 more >>> Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException: >>> Failure to find commons-httpclient:commons-httpclient:jar:3.1 in >>> http://pd-repo2.eng.qpass.net:8081/nexus/content/repositories/releas >>> es was cached in the local repository, resolution will not be >>> reattempted until the update interval of qpass-nexus-hosted-releases >>> has elapsed or updates are forced >>> at >>> org.sonatype.aether.impl.internal.DefaultUpdateCheckManager.newException= (DefaultUpdateCheckManager.java:230) >>> at >>> org.sonatype.aether.impl.internal.DefaultUpdateCheckManager.checkArtifac= t(DefaultUpdateCheckManager.java:176) >>> at >>> org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(De >>> f >>> a >>> ultArtifactResolver.java:427) >>> >>> John "Caolan" Dix >>> Programming Sr. SME, Digital Commerce Amdocs Digital Services >>> Division >>> o: 206-288-0334 m: 425.351.7340 >> Why is Maven looking in the "releases" repository on Nexus? >> >> I would expect it to be looking at either public (if you use the >> group), or the mirror of central. >> >> . . . just my naive two cents. >> /mde/ >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org >> For additional commands, e-mail: users-help@maven.apache.org >> >> >> This message and the information contained herein is proprietary and >> confidential and subject to the Amdocs policy statement, you may >> review at http://www.amdocs.com/email_disclaimer.asp >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org >> For additional commands, e-mail: users-help@maven.apache.org >> >> > > > -- > Ron Wheeler > President > Artifact Software Inc > email: rwheeler@artifact-software.com > skype: ronaldmwheeler > phone: 866-970-2435, ext 102 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > For additional commands, e-mail: users-help@maven.apache.org > > > This message and the information contained herein is proprietary and > confidential and subject to the Amdocs policy statement, you may > review at http://www.amdocs.com/email_disclaimer.asp > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > For additional commands, e-mail: users-help@maven.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > For additional commands, e-mail: users-help@maven.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For > additional commands, e-mail: dev-help@maven.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For additional comm= ands, e-mail: dev-help@maven.apache.org This message and the information contained herein is proprietary and confide= ntial and subject to the Amdocs policy statement, you may review at http://www.amdocs.com/email_disclaimer.asp --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For additional commands, e-mail: dev-help@maven.apache.org