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

Pom.xml properties not defined

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Works as Designed
    • Affects Version/s: 2.0.0.RC2
    • Fix Version/s: 2.0.0.RC3
    • Component/s: @ CORE
    • Labels:
      None

      Description

      Properties that are being used in generated pom.xml file(s) don't get defined.

      Properties:

      • java version
      • start class

      How to reproduce:

      Execute

      project setup --topLevelPackage com.springsource.petclinic --projectName "Petclinic" --java 8 --packaging JAR
      

      Result:

      <properties>
          <roo.version>2.0.0.RC2</roo.version>
          <java.product.version>8</java.product.version>
          <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
          <aspectj.plugin.version>1.8</aspectj.plugin.version>
          <asciidoclet.version>1.5.4</asciidoclet.version>
          <spring-boot.version>1.4.1.RELEASE</spring-boot.version>
        <java.version>1.8</java.version>
      </properties>
      (...)
      <plugin>
      	        <groupId>org.springframework.boot</groupId>
      	        <artifactId>spring-boot-maven-plugin</artifactId>
      	        <configuration>
      	          <mainClass>${start-class}</mainClass>
      	          <classifier>exec</classifier>
      	          <excludeDevtools>true</excludeDevtools>
      	        </configuration>
      	      </plugin>
      	      <!-- Compiler plugin -->
      	      <plugin>
      	        <groupId>org.apache.maven.plugins</groupId>
      	        <artifactId>maven-compiler-plugin</artifactId>
      	        <configuration>
      	          <source>${java.version}</source>
      	          <target>${java.version}</target>
      	          <encoding>${project.build.sourceEncoding}</encoding>
      	          <useIncrementalCompilation>false</useIncrementalCompilation>
      	        </configuration>
      	      </plugin>
      

        Attachments

          Activity

            People

            Assignee:
            frnore Fran Cardoso
            Reporter:
            hwalker Harald Walker
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: