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

Incorrect maven dependencies

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Works as Designed
    • Affects Version/s: 1.1.5.RELEASE
    • Fix Version/s: None
    • Component/s: @ ROO SHELL
    • Labels:
    • Environment:
      Mac OS X 10.6.8, Java(TM) SE Runtime Environment (build 1.6.0_26-b03-384-10M3425), Apache Maven 3.0.3 (r1075438; 2011-02-28 09:31:09-0800)

      Description

      Attempting to run the "First Project - Roo Standalone" (http://www.springsource.org/roo/start) fails because the following maven dependencies are incorrect:

      subset of incorrect pom.xml
      <dependency>
         <groupId>org.springframework.roo</groupId>
         <artifactId>org.springframework.roo.annotations</artifactId>
         <version>${roo.version}</version>
         <scope>provided</scope>
      </dependency>
      
      <dependency>
         <groupId>com.googlecode.gwt.inject</groupId>
         <artifactId>gin</artifactId>
         <version>1.5</version>
         <classifier/>
      </dependency>
      

      instead, the dependencies should be the following:

      subset of correct pom.xml
      <dependency>
          <groupId>org.springframework.roo.annotations</groupId>
          <artifactId>org.springframework.roo.annotations</artifactId>
          <version>${roo.version}</version>
          <scope>provided</scope>
      </dependency>
      
      <dependency>
         <groupId>com.google.gwt.inject</groupId>
         <artifactId>gin</artifactId>
         <version>1.5.0</version>
         <classifier/>
      </dependency>
      

      ${roo.version} is set to "1.1.5.RELEASE"

        Attachments

          Activity

            People

            Assignee:
            stewarta Alan Stewart
            Reporter:
            johnwmendes John Mendes
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: