Announcement Announcement Module
No announcement yet.
/testroo snapshot gives error when doing perform package Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • /testroo snapshot gives error when doing perform package

    I have to use Roo 1.1.3 snapshot build to avoid the GWT ID issue related with DBRE. But when I try "perform package" or "perform test", it gives the following error
    Failure to find notations:jar:1.1.3.BUILD-SNA
    PSHOT in was cached in the local reposi
    tory, resolution will not be reattempted until the update interval of spring-maven-release has elapsed or updates are forced

    I tried changing the pom.xml to set the version back to 1.1.2.RELEASE, but it was reset back and does not work around.
    I use Maven 3.0.


  • #2
    The 1.1.3 snapshot build zip contains a folder called annotations which contains the jar file you are missing. All you need to do is to install that jar file into your local repo by following the suggestions that maven emits when you see the error.



    • #3
      Thx a lot, Stefan
      I installed Artifactory and upload the Roo annotation jar file org.springframework.roo.annotations-1.1.3.BUILD-SNAPSHOT.jar into plugins-snapshot-local.
      And then I changed POM.xml
      <name>Spring Roo Repository</name>
      <name>Spring Roo Repository</name>

      The good news is that "perfrom test" now can find the 1.1.3 jar but the bad news is new errors on the dependent jar files since the "plugins-snapshot-local" in my server does not have other jar files.
      Am I on the right direction? Can I just only point he annotation jar to the "plugins-snapshot-local" or I have to sync all the jar files into "plugins-snapshot-local"?



      • #4
        I was using the Maven 3 and did not see the detail instruction about the snapshot jar.
        Today I switched to STS with Maven 2, not it says

        mvn install:install-file -DgroupId=org.springframework.roo -DartifactId=org.springframework.roo.annotations -Dversion=1.1.3.BUILD-SNAPSHOT -Dpackaging=jar -Dfile=...

        The problem is solved.