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

When adding dependency via 'dependency add' command ROO resets the topLevelPackage to the groupId of added dependency

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.0.M2
    • Fix Version/s: 1.1.0.M3
    • Component/s: @ CORE, @ ROO SHELL
    • Labels:
      None

      Description

      Here is the script:

      roo> project --topLevelPackage sample.travel.demo --projectName sample-travel-demo
      . . . .
      sample.travel.demo roo> dependency add --groupId legacy-travel --artifactId legacy-travel-transformer --version 1.1
      Managed ROOT/pom.xml [Added dependency legacy-travel:legacy-travel-transformer:1.1]
      legacy-travel roo> interface --class HelloGateway
      Created SRC_MAIN_JAVA/legacy-travel
      Created SRC_MAIN_JAVA/legacy-travel/HelloGateway.java
      legacy-travel.HelloGateway roo>
      

      This is actually a major issue, since it requires someone to create classes/interfaces before they add a dependency

        Attachments

          Activity

            People

            Assignee:
            balex Ben Alex
            Reporter:
            oleg.zhurakousky@springsource.com Oleg Zhurakousky
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: