[ROO-3649] Use Spring IO platform on generated projects Created: 24/Jul/15  Updated: 21/Aug/15  Resolved: 21/Aug/15

Status: Resolved
Project: Spring Roo
Component/s: None
Affects Version/s: 2.0.0.M1
Fix Version/s: 2.0.0.M2

Type: Improvement Priority: Minor
Reporter: Juan Carlos García del Canto Assignee: Juan Carlos García del Canto
Resolution: Complete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relate
relates to ROO-3660 ROO should be able to include depende... Resolved

 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.



 Comments   
Comment by Juan Carlos García del Canto [ 21/Aug/15 ]

Spring ROO 2.0+ generates applications that use Spring IO dependencies

Generated at Fri Dec 13 23:51:21 UTC 2019 using Jira 7.13.8#713008-sha1:1606a5c1e7006e1ab135aac81f7a9566b2dbc3a6.