Skip to content

Commit

Permalink
spring-projects#343 - Added build profiles to allow running the examp…
Browse files Browse the repository at this point in the history
…les agains Spring Data snapshots.
  • Loading branch information
odrotbohm committed Feb 27, 2018
1 parent 74d947e commit 7af58de
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 2 deletions.
13 changes: 13 additions & 0 deletions jdbc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,19 @@
<spring-data-releasetrain.version>Lovelace-BUILD-SNAPSHOT</spring-data-releasetrain.version>
</properties>

<profiles>

<!-- Override property as the module always needs Lovelace -->

<profile>
<id>spring-data-next</id>
<properties>
<spring-data-releasetrain.version>Lovelace-BUILD-SNAPSHOT</spring-data-releasetrain.version>
</properties>
</profile>

</profiles>

<dependencies>

<dependency>
Expand Down
9 changes: 9 additions & 0 deletions jpa/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,15 @@
<module>vavr</module>
</modules>

<profiles>
<profile>
<id>hibernate-53</id>
<properties>
<hibernate.version>5.3.0.CR1</hibernate.version>
</properties>
</profile>
</profiles>

<dependencies>

<dependency>
Expand Down
23 changes: 21 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,30 @@
</modules>

<properties>

<apt.version>1.1.3</apt.version>

</properties>

<profiles>
<profile>
<id>spring-data-next</id>
<properties>
<spring-data-releasetrain.version>Kay-BUILD-SNAPSHOT</spring-data-releasetrain.version>
</properties>
</profile>
<profile>
<id>spring-data-next-releasetrain</id>
<properties>
<spring-data-releasetrain.version>Lovelace-BUILD-SNAPSHOT</spring-data-releasetrain.version>
</properties>
</profile>
<profile>
<id>spring-data-next-releasetrain-released</id>
<properties>
<spring-data-releasetrain.version>Lovelace-M1</spring-data-releasetrain.version>
</properties>
</profile>
</profiles>

<developers>
<developer>
<id>ogierke</id>
Expand Down

0 comments on commit 7af58de

Please sign in to comment.