Browse Source

Inherit profile activation spring-snapshot-build

Inherit default profile activation for spring-snapshot-build in the
spring-boot-starter-parent from the spring-boot-parent.

Allow sample projects to work correctly in eclipse.
pull/10/head
Phillip Webb 13 years ago
parent
commit
05171f6a75
  1. 8
      spring-boot-parent/pom.xml
  2. 3
      spring-boot-starters/spring-boot-starter-parent/pom.xml
  3. 3
      spring-boot-starters/src/main/parent/pom.xml

8
spring-boot-parent/pom.xml

@ -15,6 +15,7 @@ @@ -15,6 +15,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.version>3.0.5</maven.version>
<spring-snapshot-build-profile-active>false</spring-snapshot-build-profile-active>
</properties>
<developers>
<developer>
@ -33,7 +34,7 @@ @@ -33,7 +34,7 @@
</scm>
<dependencyManagement>
<dependencies>
<!-- Additional Dependencies the consumers of spring-boot-dependencies
<!-- Additional Dependencies the consumers of spring-boot-dependencies
will generally not need -->
<dependency>
<groupId>net.sf.jopt-simple</groupId>
@ -293,13 +294,16 @@ @@ -293,13 +294,16 @@
</build>
<profiles>
<profile>
<!-- Allow snapshots and milestones when building locally, this profile
<!-- Allow snapshots and milestones when building locally, this profile
should not be enabled during release. -->
<id>spring-snapshot-build</id>
<activation>
<!-- FIXME disable this during release -->
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<spring-snapshot-build-profile-active>true</spring-snapshot-build-profile-active>
</properties>
<repositories>
<repository>
<id>spring-milestones</id>

3
spring-boot-starters/spring-boot-starter-parent/pom.xml

@ -277,6 +277,9 @@ @@ -277,6 +277,9 @@
<profiles>
<profile>
<id>spring-snapshot-build</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<repositories>
<repository>
<id>spring-milestones</id>

3
spring-boot-starters/src/main/parent/pom.xml

@ -277,6 +277,9 @@ @@ -277,6 +277,9 @@
<profiles>
<profile>
<id>spring-snapshot-build</id>
<activation>
<activeByDefault>@{spring-snapshot-build-profile-active}</activeByDefault>
</activation>
<repositories>
<repository>
<id>spring-milestones</id>

Loading…
Cancel
Save