This is an automated email from the ASF dual-hosted git repository. ningjiang pushed a commit to branch SCB-555 in repository https://gitbox.apache.org/repos/asf/incubator-servicecomb-saga.git
commit ca56d9512837db4dd4c5bfc031a0bee30062956c Author: Willem Jiang <jiangni...@huawei.com> AuthorDate: Sat May 26 16:14:33 2018 +0800 SCB-555 Fixed the test error with spring boot 2 --- acceptance-tests/acceptance-dubbo-demo/pom.xml | 8 +++++++- saga-demo/saga-dubbo-demo/pom.xml | 16 ++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/acceptance-tests/acceptance-dubbo-demo/pom.xml b/acceptance-tests/acceptance-dubbo-demo/pom.xml index 8dc7265..85500d4 100644 --- a/acceptance-tests/acceptance-dubbo-demo/pom.xml +++ b/acceptance-tests/acceptance-dubbo-demo/pom.xml @@ -318,7 +318,13 @@ </plugins> </build> </profile> + <profile> + <id>spring-boot-2</id> + <properties> + <info.service.uri>/actuator/info</info.service.uri> + </properties> + </profile> </profiles> -</project> \ No newline at end of file +</project> diff --git a/saga-demo/saga-dubbo-demo/pom.xml b/saga-demo/saga-dubbo-demo/pom.xml index a7d568b..af8cc4c 100644 --- a/saga-demo/saga-dubbo-demo/pom.xml +++ b/saga-demo/saga-dubbo-demo/pom.xml @@ -104,4 +104,20 @@ <artifactId>mysql-connector-java</artifactId> </dependency>--> </dependencies> + <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> + <artifactId>log4j</artifactId> + <groupId>log4j</groupId> + <version>1.2.17</version> + </dependency> + </dependencies> + </profile> + </profiles> </project> -- To stop receiving notification emails like this one, please contact ningji...@apache.org.