Skip to content
This repository was archived by the owner on Mar 17, 2020. It is now read-only.

Commit eb1597a

Browse files
Update Spring Boot 2.1.11.RELEASE and Spring Cloud Greenwich.SR4 #3047 (#307)
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
1 parent 1390d3c commit eb1597a

File tree

5 files changed

+44
-66
lines changed

5 files changed

+44
-66
lines changed

.editorconfig

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Editor configuration, see http://editorconfig.org
2+
root = true
3+
4+
[*]
5+
end_of_line = lf
6+
charset = utf-8
7+
trim_trailing_whitespace = true
8+
insert_final_newline = true
9+
indent_style = space
10+
indent_size = 2
11+
12+
[*.java]
13+
indent_size = 4
14+
15+
[*.md]
16+
max_line_length = off
17+
trim_trailing_whitespace = false
18+
19+
[Makefile]
20+
indent_style = tab

.travis.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
language: java
2-
sudo: required
2+
3+
jdk:
4+
- oraclejdk11
5+
36
cache:
47
directories:
5-
- $HOME/.m2
8+
- ${HOME}/.m2/repository
69

710
services:
811
- docker
9-
jdk:
10-
- openjdk11
12+
1113
notifications:
1214
webhooks:
1315
urls:
@@ -16,13 +18,16 @@ notifications:
1618
on_failure: always # options: [always|never|change] default: always
1719
on_start: never # options: [always|never|change] default: always
1820

21+
branches:
22+
only:
23+
- master
24+
1925
before_script:
2026
- echo MAVEN_OPTS=-Xmx1536m > ~/.mavenrc
2127

2228
# Enable integration tests
2329
script:
24-
- mvn verify -B
25-
30+
- mvn verify -B -DskipITs=false
2631

2732
# Send coverage data
2833
after_success:

pom.xml

Lines changed: 6 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>org.springframework.boot</groupId>
88
<artifactId>spring-boot-starter-parent</artifactId>
9-
<version>2.1.10.RELEASE</version>
9+
<version>2.1.11.RELEASE</version>
1010
<relativePath /> <!-- lookup parent from repository -->
1111
</parent>
1212
<groupId>org.activiti.cloud.examples</groupId>
@@ -21,12 +21,7 @@
2121
<tag>HEAD</tag>
2222
</scm>
2323
<properties>
24-
<java.version>11</java.version>
2524
<activiti-cloud-notifications-service-graphql.version>7.1.201</activiti-cloud-notifications-service-graphql.version>
26-
<maven-compiler-plugin.version>3.8.0</maven-compiler-plugin.version>
27-
<maven-failsafe-plugin.version>3.0.0-M3</maven-failsafe-plugin.version>
28-
<maven-surefire-plugin.version>3.0.0-M3</maven-surefire-plugin.version>
29-
<maven-deploy-plugin.version>2.8.2</maven-deploy-plugin.version> <!-- required for jx -->
3025
</properties>
3126
<dependencyManagement>
3227
<dependencies>
@@ -84,32 +79,21 @@
8479
<version>${activiti-cloud-notifications-service-graphql.version}</version>
8580
<type>pom</type>
8681
</dependency>
87-
8882
<dependency>
8983
<groupId>org.springframework.boot</groupId>
9084
<artifactId>spring-boot-starter-parent</artifactId>
9185
<version>${project.parent.version}</version>
9286
<type>pom</type>
9387
</dependency>
9488
<!-- Marker Pom for Dependency Conversion Validation -->
95-
9689
</dependencies>
9790
<build>
9891
<plugins>
9992
<plugin>
100-
<groupId>org.apache.maven.plugins</groupId>
101-
<artifactId>maven-compiler-plugin</artifactId>
102-
<version>${maven-compiler-plugin.version}</version>
93+
<groupId>pl.project13.maven</groupId>
94+
<artifactId>git-commit-id-plugin</artifactId>
10395
<configuration>
104-
<release>${java.version}</release>
105-
<source>${java.version}</source>
106-
<target>${java.version}</target>
107-
<showDeprecation>true</showDeprecation>
108-
<showWarnings>true</showWarnings>
109-
<optimize>true</optimize>
110-
<compilerArgs>
111-
<arg>-parameters</arg>
112-
</compilerArgs>
96+
<verbose>false</verbose>
11397
</configuration>
11498
</plugin>
11599
<plugin>
@@ -118,50 +102,21 @@
118102
<executions>
119103
<execution>
120104
<goals>
121-
<goal>repackage</goal>
105+
<goal>build-info</goal>
122106
</goals>
123107
</execution>
124108
</executions>
125109
</plugin>
126-
<plugin>
127-
<groupId>org.apache.maven.plugins</groupId>
128-
<artifactId>maven-deploy-plugin</artifactId>
129-
<version>${maven-deploy-plugin.version}</version>
130-
</plugin>
131-
<plugin>
132-
<groupId>org.apache.maven.plugins</groupId>
133-
<artifactId>maven-surefire-plugin</artifactId>
134-
<version>${maven-surefire-plugin.version}</version>
135-
</plugin>
136110
<plugin>
137111
<groupId>org.apache.maven.plugins</groupId>
138112
<artifactId>maven-failsafe-plugin</artifactId>
139-
<version>${maven-failsafe-plugin.version}</version>
140-
<configuration>
141-
<forkCount>0</forkCount>
142-
<useSystemClassLoader>false</useSystemClassLoader>
143-
</configuration>
144-
<executions>
145-
<execution>
146-
<goals>
147-
<goal>integration-test</goal>
148-
<goal>verify</goal>
149-
</goals>
150-
</execution>
151-
</executions>
152113
</plugin>
153114
</plugins>
154115
</build>
155116
<repositories>
156117
<repository>
157118
<id>activiti-releases</id>
158-
<name>Activiti Releases</name>
159-
<url>https://artifacts.alfresco.com/nexus/content/repositories/activiti-releases/</url>
160-
</repository>
161-
<repository>
162-
<id>activiti-snapsots</id>
163-
<name>Activiti Snapshots</name>
164-
<url>https://artifacts.alfresco.com/nexus/content/repositories/activiti-snapshots/</url>
119+
<url>https://artifacts.alfresco.com/nexus/content/repositories/activiti-releases</url>
165120
</repository>
166121
</repositories>
167122
</project>

src/main/resources/application.properties

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ spring.rabbitmq.host=${ACT_RABBITMQ_HOST:rabbitmq}
1919
spring.rabbitmq.username=${ACT_RABBITMQ_USER:guest}
2020
spring.rabbitmq.password=${ACT_RABBITMQ_PASS:guest}
2121

22-
#zipkin
23-
spring.zipkin.base-url= http://zipkin:80/
24-
spring.zipkin.sender.type= web
25-
spring.sleuth.enabled = true
26-
spring.sleuth.sampler.probability = 1.0
22+
# zipkin (set spring.zipkin.enabled to true to activate)
23+
spring.zipkin.enabled=false
24+
spring.zipkin.base-url=http://zipkin:80/
25+
spring.zipkin.sender.type=web
26+
spring.sleuth.sampler.probability=1.0
2727

2828
activiti.cloud.application.name=notifications-graphql

src/main/resources/logback-spring.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22

33
<configuration>
4-
<springProfile name="kube">
4+
<springProfile name="kubernetes">
55
<appender name="stash" class="net.logstash.logback.appender.LogstashTcpSocketAppender">
66
<destination>logstash:5000</destination>
7-
87
<encoder class="net.logstash.logback.encoder.LogstashEncoder"/>
98
</appender>
10-
119
<root level="INFO">
1210
<appender-ref ref="stash"/>
1311
</root>
1412
</springProfile>
15-
<springProfile name="!kube,local">
13+
<springProfile name="!kubernetes,local">
1614
<include resource="org/springframework/boot/logging/logback/base.xml"/>
1715
<logger name="org.springframework.web" level="INFO"/>
1816
</springProfile>

0 commit comments

Comments
 (0)