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

Not specifying groupId in default maven plugin crashes roo - NullPointerException (Dependency.java:95)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0.RC2
    • Fix Version/s: 1.0.0.RC3
    • Component/s: @ CORE
    • Labels:
      None

      Description

      Not specifying the groupId in the pom.xml for a plugin that does not require one crashes ROO.

      			<plugin>
      				<artifactId>maven-compiler-plugin</artifactId>
      				<version>2.0.2</version>
      				<configuration>
      					<source>1.6</source>
      					<target>1.6</target>
      				</configuration>
      			</plugin>
      

      If I type roo in the project home, I get a NullpointerException:

      $ roo
          ____  ____  ____
         / __ \/ __ \/ __ \
        / /_/ / / / / / / /
       / _, _/ /_/ / /_/ /
      /_/ |_|\____/\____/ 1.0.0.RC2 [rev 321]
      
      
      Welcome to Spring Roo. For assistance press TAB or type "hint" then hit ENTER.
      NullPointerException at org.springframework.roo.project.Dependency.<init>( Dependency.java:95) 
      

        Attachments

          Activity

            People

            • Assignee:
              balex Ben Alex
              Reporter:
              sdmurphy Scott Murphy
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: