Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-816

New projects don't build

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 1.1.0.M1
    • Component/s: PERSISTENCE
    • Labels:
      None
    • Environment:
      Spring Roo 1.1.0.M1 (Roo trunk)

      Description

      Projects created with development release (1.1.M1) don't build because the javax.annotation dependency isn't in Maven Central repository.

      Error:

       
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] Failed to resolve artifact.
      
      Missing:
      ----------
      1) javax.annotation:com.springsource.javax.annotation:jar:1.0.0
      
        Try downloading the file manually from the project website.
      
        Then, install it using the command: 
            mvn install:install-file -DgroupId=javax.annotation 
              -DartifactId=com.springsource.javax.annotation -Dversion=1.0.0 
              -Dpackaging=jar -Dfile=/path/to/file
      
        Alternatively, if you host your own repository you can deploy the file there: 
            mvn deploy:deploy-file -DgroupId=javax.annotation 
              -DartifactId=com.springsource.javax.annotation -Dversion=1.0.0 
              -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
      
        Path to dependency: 
        	1) com.semana:semana:jar:0.1.0-SNAPSHOT
        	2) javax.annotation:com.springsource.javax.annotation:jar:1.0.0
      
      ----------
      1 required artifact is missing.
      

        Attachments

          Activity

            People

            Assignee:
            stewarta Alan Stewart
            Reporter:
            eruiz Enrique Ruiz (DiSiD)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: