Announcement Announcement Module
Collapse
No announcement yet.
[newbie] Build error for Spring Roo Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • [newbie] Build error for Spring Roo

    Hi,
    I'm trying to build Spring Roo by myself, and I'm a newbie about Srping Roo & git & maven.

    I tried followning commands.

    Code:
    git clone git://git.springsource.org/roo/roo.git roo
    cd roo
    cd wrapping
    mvn clean install
    cd ..
    mvn clean eclipse:clean eclipse:eclipse
    And got a following error. (sorry, a bit long)
    Code:
    [INFO] ------------------------------------------------------------------------
    [ERROR] BUILD ERROR
    [INFO] ------------------------------------------------------------------------
    [INFO] Failed to resolve artifact.
    
    Missing:
    ----------
    1) org.springframework.roo:org.springframework.roo.support:bundle:1.1.0.RELEASE
    
     Try downloading the file manually from the project website.
    
     Then, install it using the command:
         mvn install:install-file -DgroupId=org.springframework.roo
    -DartifactId=org.springframework.roo.support -Dversion=1.1.0.RELEASE
    -Dpackaging=bundle -Dfile=/path/to/file
    
     Alternatively, if you host your own repository you can deploy the file there:
         mvn deploy:deploy-file -DgroupId=org.springframework.roo
    -DartifactId=org.springframework.roo.support -Dversion=1.1.0.RELEASE
    -Dpackaging=bundle -Dfile=/path/to/file -Durl=[url]
    -DrepositoryId=[id]
    
     Path to dependency:
           1) org.springframework.roo:org.springframework.roo.support.osgi:bundle:1.1.0.RELEASE
           2) org.springframework.roo:org.springframework.roo.support:bundle:1.1.0.RELEASE
    
    ----------
    1 required artifact is missing.
    
    for artifact:
     org.springframework.roo:org.springframework.roo.support.osgi:bundle:1.1.0.RELEASE
    
    from the specified remote repositories:
     spring-roo-repository (http://spring-roo-repository.springsource.org/release),
     central (http://repo1.maven.org/maven2)
    hmm, I tried for RC1.
    Code:
    git checkout -b RC1 1.1.0.RC1
    cd wrapping
    mvn clean install
    cd ..
    mvn clean eclipse:clean eclipse:eclipse
    And got an another error.

    Code:
    [INFO] ------------------------------------------------------------------------
    [ERROR] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] A required plugin was not found: Plugin could not be found -
    check that the goal name is correct: Unable to download the artifact
    from any repository
    
    Try downloading the file manually from the project website.
    
    Then, install it using the command:
       mvn install:install-file -DgroupId=org.springframework.roo
    -DartifactId=org.springframework.roo.mojo.addon -Dversion=1.1.0.RC1
    -Dpackaging=maven-plugin -Dfile=/path/to/file
    
    Alternatively, if you host your own repository you can deploy the file there:
       mvn deploy:deploy-file -DgroupId=org.springframework.roo
    -DartifactId=org.springframework.roo.mojo.addon -Dversion=1.1.0.RC1
    -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url]
    -DrepositoryId=[id]
    
    
     org.springframework.roo:org.springframework.roo.mojo.addon:maven-plugin:1.1.0.RC1
    
    from the specified remote repositories:
     central (http://repo1.maven.org/maven2)
    
     org.springframework.roo:org.springframework.roo.mojo.addon:maven-plugin:1.1.0.RC1
    
    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: 10 seconds
    [INFO] Finished at: Sat Oct 16 13:24:30 JST 2010
    [INFO] Final Memory: 67M/381M
    [INFO] ------------------------------------------------------------------------
    Hmm, I should download org.springframework.roo:org.springframework.roo.mo jo.addon:maven-plugin:1.1.0.RC1
    but from where?
    Or Is there anothor work around? What shoud I do for this?
    Regards.
    Last edited by kzuno; Oct 16th, 2010, 01:47 AM.

  • #2
    i am encounting the same situation.

    http://spring-roo-repository.springs...k.roo.support/

    above url responds 0 size data(application/octet-stream).

    http://spring-roo-repository.springs....0.RELEASE.jar

    above url responds below xml.
    --
    <Error>
    <Code>NoSuchKey</Code>
    <Message>The specified key does not exist.</Message>
    <Key>
    release/org/springframework/roo/org.springframework.roo.support/1.1.0.RELEASE/org.springframework.roo.support-1.1.0.RELEASE.jar
    </Key>
    <RequestId>5F707CD4DD8AB012</RequestId>
    <HostId>
    6+vaHSWCv6e82HaqvgPEzuQxyn73GWbnRgkaAqay64bJDtY8XD 1p+p5p2mKYuFja
    </HostId>
    </Error>

    Comment


    • #3
      it is possible to download the org.springframework.roo.support-1.1.0.RELEASE.jar, but failed to find org.springframework.roo.mojo.addon-1.1.0.RELEASE.jar.

      --
      [INFO] ------------------------------------------------------------------------
      [INFO] Building Spring Roo - OSGi Roo Bundle Module Parent
      [INFO] task-segment: [clean, eclipse:clean, eclipse:eclipse]
      [INFO] ------------------------------------------------------------------------
      Downloading: http://repo1.maven.org/maven2/org/sp....0.RELEASE.jar
      [INFO] Unable to find resource 'org.springframework.roo:org.springframework.roo.
      mojo.addon:maven-plugin:1.1.0.RELEASE' in repository central (http://repo1.maven.org/maven2)
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] A required plugin was not found: Plugin could not be found - check that the goal name is correct: Unable to download the artifact from any repository

      Comment

      Working...
      X