Did that, yeah. Thanks for the hint. Georgy
On Mon, Feb 2, 2009 at 4:57 PM, Brian E. Fox <[email protected]> wrote: > Can you turn of the checksum checking? > > -----Original Message----- > From: Georgy Bolyuba [mailto:[email protected]] > Sent: Monday, February 02, 2009 10:39 AM > To: [email protected] > 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.checksumpolicygenerateifabs...@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: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
