Return-Path: Delivered-To: apmail-maven-dev-archive@www.apache.org Received: (qmail 77684 invoked from network); 2 Feb 2009 17:22:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Feb 2009 17:22:47 -0000 Received: (qmail 23931 invoked by uid 500); 2 Feb 2009 17:22:44 -0000 Delivered-To: apmail-maven-dev-archive@maven.apache.org Received: (qmail 23878 invoked by uid 500); 2 Feb 2009 17:22:44 -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 23867 invoked by uid 99); 2 Feb 2009 17:22:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Feb 2009 09:22:44 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bolyuba@gmail.com designates 72.14.220.153 as permitted sender) Received: from [72.14.220.153] (HELO fg-out-1718.google.com) (72.14.220.153) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Feb 2009 17:22:35 +0000 Received: by fg-out-1718.google.com with SMTP id l27so641790fgb.32 for ; Mon, 02 Feb 2009 09:22:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=qY5nke9NdHB/IQvSbOwIWgImabW75EWyBgyXmRoN+c0=; b=Y/M7ygf9VaB5crkKz+bDDrAnjKYjlznUPV8v9lhkGWvQB/sQAaB9eS6X7mr8LBSTus Zpa59xx2WUgpeAF2O8KWPn5/UY8ODWEU/m8RjwJ4429JTldUdT68ZpqwRpiLrPrM93MG MK/+vegQO3M+tq7KTSMG3OgJHKzDTwUyAW0/0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=XziH8IIGDau7bqS1ti1i6YGWpK+IfeCUt1wRTCibuXrCFA21Yc+kFfGKltxCKq4miE ilIevKRiocL70xpPU41rCX6VKG/6RB9eU04KDO3n1iOzMDo+cqcUQlYdNpkORi/sTWET r7xsR8xCPWOlxAlv+J3ScLkrs9tt7kKyp1NJs= MIME-Version: 1.0 Received: by 10.103.11.5 with SMTP id o5mr527847mui.75.1233595334934; Mon, 02 Feb 2009 09:22:14 -0800 (PST) In-Reply-To: <2BABBE7D2A66E04DB8A66A527D29927E53BDC3@intrepid.infinity.nu> References: <716d000b0902020739k481904e2r1441a427e936d439@mail.gmail.com> <2BABBE7D2A66E04DB8A66A527D29927E53BDC3@intrepid.infinity.nu> Date: Mon, 2 Feb 2009 18:22:14 +0100 Message-ID: <716d000b0902020922v4b1936a6g164ee9a1f5c491f5@mail.gmail.com> Subject: Re: Building from source From: Georgy Bolyuba To: Maven Developers List Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Did that, yeah. Thanks for the hint. Georgy On Mon, Feb 2, 2009 at 4:57 PM, Brian E. Fox wrote: > Can you turn of the checksum checking? > > -----Original Message----- > From: Georgy Bolyuba [mailto:bolyuba@gmail.com] > Sent: Monday, February 02, 2009 10:39 AM > To: dev@maven.apache.org > Subject: Building from source > > Hi, > > I am following this: > http://maven.apache.org/guides/development/guide-building-m2.html. > > Checkout from trunk: > >svn checkout http://svn.apache.org/repos/asf/maven/components/trunk . > > Trying to build: > >ant > > Result: > > BUILD FAILED > D:\tests\maven\build.xml:82: Unable to resolve artifact: Missing: > ---------- > 1) org.codehaus.plexus:plexus-lang:jar:1.1 > Try downloading the file manually from the project website. > Then, install it using the command: > mvn install:install-file -DgroupId=org.codehaus.plexus > -DartifactId=plexus-lang -Dversion=1.1 -Dpackaging=jar > -Dfile=/path/to/file > Alternatively, if you host your own repository you can deploy the file there: > mvn deploy:deploy-file -DgroupId=org.codehaus.plexus > -DartifactId=plexus-lang -Dversion=1.1 -Dpackaging=jar > -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > Path to dependency: > 1) org.apache.maven:maven:pom:3.0-SNAPSHOT > 2) org.apache.maven.mercury:mercury-artifact:jar:1.0.0-alpha-2 > 3) org.codehaus.plexus:plexus-lang:jar:1.1 > ---------- > 1 required artifact is missing. > for artifact: > org.apache.maven:maven:pom:3.0-SNAPSHOT > > > We use Artifactory in our company. This is from the log files: > > 2009-02-02 10:23:12,286 [ERROR] (o.a.c.c.C.[.[.[.[default]:260) - > Servlet.service() for servlet default threw exception > java.lang.RuntimeException: Failed to save resource > 'repo1:org/codehaus/plexus/plexus-lang/1.1/plexus-lang-1.1.jar'. > at org.artifactory.repo.jcr.JcrRepoBase.saveResource(JcrRepoBase.java:588) > [artifactory-core-1.3.0-rc-1.jar:na] > ...skipped... > at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) > [tomcat-util.jar:5.1] > at java.lang.Thread.run(Thread.java:595) [na:1.5.0_12] > Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException: > Failed to create file node resource at > '/repositories/repo1-cache/org/codehaus/plexus/plexus-lang/1.1/plexus-lang-1.1.jar'. > at org.artifactory.jcr.fs.JcrFile.fillData(JcrFile.java:178) > [artifactory-core-1.3.0-rc-1.jar:na] > at org.artifactory.repo.jcr.JcrRepoBase.saveResource(JcrRepoBase.java:567) > [artifactory-core-1.3.0-rc-1.jar:na] > ... 56 common frames omitted > Caused by: org.artifactory.io.checksum.policy.ChecksumPolicyException: > Checksum policy > 'org.artifactory.io.checksum.policy.ChecksumPolicyGenerateIfAbsent@5fb185' > rejected the artifact 'plexus-lang-1.1.jar'. Checksums info: > [ChecksumInfo{type=SHA-1, > original='da39a3ee5e6b4b0d3255bfef95601890afd80709', > actual='0fe38d248d8c98518ddf8173d9152c10d0a8be0c'}, > ChecksumInfo{type=MD5, original='d41d8cd98f00b204e9800998ecf8427e', > actual='f1df611b48adbe87129bb397a58f5979'}] > at org.artifactory.jcr.fs.JcrFile.fillJcrData(JcrFile.java:721) > [artifactory-core-1.3.0-rc-1.jar:na] > at org.artifactory.jcr.fs.JcrFile.setResourceNode(JcrFile.java:679) > [artifactory-core-1.3.0-rc-1.jar:na] > at org.artifactory.jcr.fs.JcrFile.fillData(JcrFile.java:175) > [artifactory-core-1.3.0-rc-1.jar:na] > ... 57 common frames omitted > > > I looked at both repo1 and codehaus repo > (http://repository.codehaus.org/org/codehaus/plexus/plexus-lang/1.1/). > Same thing - MD5 and SHA1 do not match calculated from jar. > > Any help on what to do in this situation? (Except installing it > manually to our local repo) > > Have a great rest of the day, > Georgy > > --------------------------------------------------------------------- > 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 commands, e-mail: dev-help@maven.apache.org