Skip to content

Commit

Permalink
SCB-1086 Using spring-boot-2 by default
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanglongchun authored and WillemJiang committed Dec 24, 2018
1 parent 3e75610 commit a4e9334
Show file tree
Hide file tree
Showing 11 changed files with 31 additions and 54 deletions.
6 changes: 0 additions & 6 deletions acceptance-tests/acceptance-pack-dubbo-demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -323,12 +323,6 @@
</plugins>
</build>
</profile>
<profile>
<id>spring-boot-2</id>
<properties>
<info.service.uri>/actuator/info</info.service.uri>
</properties>
</profile>
</profiles>


Expand Down
6 changes: 0 additions & 6 deletions acceptance-tests/acceptance-pack-spring-demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -371,12 +371,6 @@
</plugins>
</build>
</profile>
<profile>
<id>spring-boot-2</id>
<properties>
<info.service.uri>/actuator/info</info.service.uri>
</properties>
</profile>
</profiles>

</project>
6 changes: 0 additions & 6 deletions acceptance-tests/acceptance-pack-tcc-spring-demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -340,12 +340,6 @@
</plugins>
</build>
</profile>
<profile>
<id>spring-boot-2</id>
<properties>
<info.service.uri>/actuator/info</info.service.uri>
</properties>
</profile>
</profiles>

</project>
14 changes: 14 additions & 0 deletions acceptance-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,18 @@
</dependency>
</dependencies>

<profiles>
<profile>
<id>spring-boot-1</id>
<properties>
<info.service.uri>/info</info.service.uri>
</properties>
</profile>
<profile>
<id>spring-boot-2</id>
<properties>
<info.service.uri>/actuator/info</info.service.uri>
</properties>
</profile>
</profiles>
</project>
6 changes: 0 additions & 6 deletions alpha/alpha-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -213,12 +213,6 @@
</dependency>
</dependencies>
</profile>
<profile>
<id>spring-boot-2</id>
<properties>
<spring.boot.version>${spring.boot2.version}</spring.boot.version>
</properties>
</profile>
<profile>
<id>perf</id>
<dependencies>
Expand Down
6 changes: 3 additions & 3 deletions demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,9 @@
<profiles>
<profile>
<id>spring-boot-2</id>
<properties>
<spring.boot.version>${spring.boot2.version}</spring.boot.version>
</properties>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<!-- Need to add the dependency of log4j2 core -->
<dependencies>
<dependency>
Expand Down
3 changes: 0 additions & 3 deletions demo/saga-dubbo-demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,6 @@
<profiles>
<profile>
<id>spring-boot-2</id>
<properties>
<spring.boot.version>${spring.boot2.version}</spring.boot.version>
</properties>
<!-- Need to add the dependency of log4j jar to avoid no class found error -->
<dependencies>
<dependency>
Expand Down
6 changes: 0 additions & 6 deletions integration-tests/pack-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,6 @@
</dependencies>

<profiles>
<profile>
<id>spring-boot-2</id>
<properties>
<spring.boot.version>${spring.boot2.version}</spring.boot.version>
</properties>
</profile>
<profile>
<id>docker</id>
<activation>
Expand Down
9 changes: 0 additions & 9 deletions omega/omega-spring-tx/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,4 @@

</dependencies>

<profiles>
<profile>
<id>spring-boot-2</id>
<properties>
<spring.boot.version>${spring.boot2.version}</spring.boot.version>
</properties>
</profile>
</profiles>

</project>
8 changes: 0 additions & 8 deletions persistence/persistence-jpa/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,5 @@
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>spring-boot-2</id>
<properties>
<spring.boot.version>${spring.boot2.version}</spring.boot.version>
</properties>
</profile>
</profiles>

</project>
15 changes: 14 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,9 @@
<log4j.version>2.7</log4j.version>
<disruptor.version>3.3.7</disruptor.version>
<dubbo.version>2.6.1</dubbo.version>
<spring.boot.version>1.5.17.RELEASE</spring.boot.version>
<spring.boot1.version>1.5.17.RELEASE</spring.boot1.version>
<spring.boot2.version>2.0.6.RELEASE</spring.boot2.version>
<spring.boot.version>${spring.boot2.version}</spring.boot.version>
<java.chassis.version>1.0.0</java.chassis.version>
<spring.version>4.3.18.RELEASE</spring.version>
<akka.version>2.5.14</akka.version>
Expand Down Expand Up @@ -774,6 +775,18 @@
</build>

<profiles>
<profile>
<id>spring-boot-1</id>
<properties>
<spring.boot.version>${spring.boot1.version}</spring.boot.version>
</properties>
</profile>
<profile>
<id>spring-boot-2</id>
<properties>
<spring.boot.version>${spring.boot2.version}</spring.boot.version>
</properties>
</profile>
<profile>
<id>release</id>
<modules>
Expand Down

0 comments on commit a4e9334

Please sign in to comment.