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

Use Spring IO platform on generated projects

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 2.0.0.M1
    • Fix Version/s: 2.0.0.M2
    • Component/s: None
    • Labels:
      None

      Description

      The spring.io platform provides a maven dependency as a BOM (Bill Of Materials), with a cohesive list of spring projects and its dependencies: http://platform.spring.io/platform/

      To use it just add the following in the generated projects:

      <dependencyManagement>
          <dependencies>
              <dependency>
                  <groupId>io.spring.platform</groupId>
                  <artifactId>platform-bom</artifactId>
                  <version>2.0.0.BUILD-SNAPSHOT</version>
                  <type>pom</type>
                  <scope>import</scope>
              </dependency>
          </dependencies>
      </dependencyManagement><repositories>
          <repository>
              <id>spring-snapshots</id>
              <name>Spring Snapshots</name>
              <url>http://repo.spring.io/snapshot</url>
              <snapshots>
                  <enabled>true</enabled>
              </snapshots>
          </repository>
      </repositories>
      

      The Spring IO platform provides versions of the various Spring projects and their dependencies. With the configuration shown above added to your build script, you're ready to declare your dependencies without having to worry about version numbers. Ex:

      <dependency>
          <groupId>org.springframework</groupId>
          <artifactId>spring-core</artifactId>
      </dependency>
      

      Include Spring IO on generated projects.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jcgarcia Juan Carlos García del Canto
                Reporter:
                jcgarcia Juan Carlos García del Canto
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: