Build failed

Help
2009-09-11
2013-04-05
  • Hello,

    I am trying to build the artifactory from source code but it fails with this message

    [INFO] ------------------------------------------------------------------------
    [INFO] Building Artifactory Configuration
    [INFO]    task-segment: [install]
    [INFO] ------------------------------------------------------------------------
    Downloading: http://repo1.maven.org/maven2/org/codehaus/mojo/buildnumber-maven-plugin/1.0-beta-1.2/buildnumber-maven-plugin-1.0-beta-1.2.pom
    [INFO] Unable to find resource 'org.codehaus.mojo:buildnumber-maven-plugin:pom:1.0-beta-1.2' in repository central (http://repo1.maven.org/maven2)
    Downloading: http://repo1.maven.org/maven2/org/codehaus/mojo/buildnumber-maven-plugin/1.0-beta-1.2/buildnumber-maven-plugin-1.0-beta-1.2.pom
    [INFO] Unable to find resource 'org.codehaus.mojo:buildnumber-maven-plugin:pom:1.0-beta-1.2' in repository central (http://repo1.maven.org/maven2)
    [INFO] ------------------------------------------------------------------------
    [ERROR] BUILD ERROR
    [INFO] ------------------------------------------------------------------------
    [INFO] Failed to resolve artifact.

    GroupId: org.codehaus.mojo
    ArtifactId: buildnumber-maven-plugin
    Version: 1.0-beta-1.2

    Reason: Unable to download the artifact from any repository

      org.codehaus.mojo:buildnumber-maven-plugin:pom:1.0-beta-1.2

    from the specified remote repositories:
      central (http://repo1.maven.org/maven2)

    [INFO] ------------------------------------------------------------------------
    [INFO] For more information, run Maven with the -e switch
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 9 seconds
    [INFO] Finished at: Fri Sep 11 17:27:10 CST 2009
    [INFO] Final Memory: 32M/76M
    [INFO] ------------------------------------------------------------------------

     
    • Fred Simon
      Fred Simon
      2009-09-11

      The missing artifact is on our public repository http://repo.jfrog.org and the pom is configured to fetch if you activate the "artifactory" profile.
      So "mvn -Partifactory install" should work.
      BTW: We keep this page updated about it: http://www.jfrog.org/source.php

       
  • Thanks freddy33. It worked perfectly. I was a little bit lost since there is not any README file with the trunk.