Skip to content

Commit 944a6f5

Browse files
author
a_total_another_bla
committed
maven setup
1 parent 4688be2 commit 944a6f5

File tree

12 files changed

+56
-110
lines changed

12 files changed

+56
-110
lines changed

pom.xml

Lines changed: 6 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,21 @@
2121
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2222
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
2323
<java.version>1.8</java.version>
24-
<spring-statemachine.version>2.0.1.RELEASE</spring-statemachine.version>
25-
24+
<maven.compiler.source>${java.version}</maven.compiler.source>
25+
<maven.compiler.target>${java.version}</maven.compiler.target>
2626
<failsafe.skipAfterFailureCount>1</failsafe.skipAfterFailureCount>
2727
<surefire.skipAfterFailureCount>1</surefire.skipAfterFailureCount>
2828
<resource.delimiter>@</resource.delimiter>
29-
<maven.compiler.source>${java.version}</maven.compiler.source>
30-
<maven.compiler.target>${java.version}</maven.compiler.target>
29+
3130
<!--
3231
<main.basedir>../${basedir}</main.basedir>
3332
-->
3433
<org.apache.maven.scm.plugin.version>1.9.5</org.apache.maven.scm.plugin.version>
3534
<org.apache.maven.plugins.maven-scm-publish-plugin.version>3.0.0</org.apache.maven.plugins.maven-scm-publish-plugin.version>
3635
<org.apache.maven.plugins.maven-release-plugin.version>2.5.3</org.apache.maven.plugins.maven-release-plugin.version>
36+
37+
<spring-statemachine.version>2.0.1.RELEASE</spring-statemachine.version>
38+
<spring-shell.version>2.0.0.RELEASE</spring-shell.version>
3739
</properties>
3840

3941
<modules>
@@ -180,76 +182,11 @@
180182
</dependencyManagement>
181183

182184
<dependencies>
183-
<!--
184-
<dependency>
185-
<groupId>org.apache.maven.plugins</groupId>
186-
<artifactId>maven-scm-plugin</artifactId>
187-
</dependency>
188-
<dependency>
189-
<groupId>org.apache.maven.scm</groupId>
190-
<artifactId>maven-scm</artifactId>
191-
</dependency>
192-
<dependency>
193-
<groupId>org.apache.maven.scm</groupId>
194-
<artifactId>maven-scm-providers</artifactId>
195-
</dependency>
196-
-->
197-
<!--
198-
<dependency>
199-
<groupId>org.apache.maven.scm</groupId>
200-
<artifactId>maven-scm-api</artifactId>
201-
<scope>compile</scope>
202-
</dependency>
203-
<dependency>
204-
<groupId>org.apache.maven.scm</groupId>
205-
<artifactId>maven-scm-providers-svn</artifactId>
206-
</dependency>
207-
208-
<dependency>
209-
<groupId>org.apache.maven.scm</groupId>
210-
<artifactId>maven-scm-provider-svnexe</artifactId>
211-
</dependency>
212-
<dependency>
213-
<groupId>org.apache.maven.scm</groupId>
214-
<artifactId>maven-scm-provider-svn-commons</artifactId>
215-
</dependency>
216-
-->
217-
218185
<dependency>
219186
<groupId>org.apache.maven.scm</groupId>
220187
<artifactId>maven-scm-provider-jgit</artifactId>
221188
<scope>compile</scope>
222189
</dependency>
223-
224-
225-
<!--
226-
<dependency>
227-
<groupId>org.apache.maven.scm</groupId>
228-
<artifactId>maven-scm-providers-git</artifactId>
229-
</dependency>
230-
<dependency>
231-
<groupId>org.apache.maven.scm</groupId>
232-
<artifactId>maven-scm-provider-gitexe</artifactId>
233-
</dependency>
234-
<dependency>
235-
<groupId>org.apache.maven.scm</groupId>
236-
<artifactId>maven-scm-provider-git-commons</artifactId>
237-
</dependency>
238-
-->
239-
<!--
240-
<dependency>
241-
<groupId>org.apache.maven.scm</groupId>
242-
<artifactId>maven-scm-managers</artifactId>
243-
</dependency>
244-
<dependency>
245-
<groupId>org.apache.maven.scm</groupId>
246-
<artifactId>maven-scm-manager-plexus</artifactId>
247-
</dependency>
248-
<dependency>
249-
<groupId>org.apache.maven.scm</groupId>
250-
<artifactId>maven-scm-client</artifactId>
251-
</dependency>
252-
-->
253190
</dependencies>
254191

255192
<!-- https://maven.apache.org/plugins/maven-project-info-reports-plugin/plugin-management.html -->

twitterwall3-clickdummy/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@
132132
<dependency>
133133
<groupId>org.springframework.shell</groupId>
134134
<artifactId>spring-shell-starter</artifactId>
135-
<version>2.0.0.RELEASE</version>
135+
<version>${spring-shell.version}</version>
136136
</dependency>
137137
<dependency>
138138
<groupId>org.springframework.statemachine</groupId>

twitterwall3-dev/pom.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,11 @@
113113
<groupId>org.springframework.session</groupId>
114114
<artifactId>spring-session-jdbc</artifactId>
115115
</dependency>
116-
<dependency>
117-
<groupId>org.springframework.shell</groupId>
118-
<artifactId>spring-shell-starter</artifactId>
119-
<version>2.0.0.RELEASE</version>
120-
</dependency>
116+
<dependency>
117+
<groupId>org.springframework.shell</groupId>
118+
<artifactId>spring-shell-starter</artifactId>
119+
<version>${spring-shell.version}</version>
120+
</dependency>
121121
<dependency>
122122
<groupId>org.springframework.statemachine</groupId>
123123
<artifactId>spring-statemachine-starter</artifactId>

twitterwall3-doc/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@
132132
<dependency>
133133
<groupId>org.springframework.shell</groupId>
134134
<artifactId>spring-shell-starter</artifactId>
135-
<version>2.0.0.RELEASE</version>
135+
<version>${spring-shell.version}</version>
136136
</dependency>
137137
<dependency>
138138
<groupId>org.springframework.statemachine</groupId>

twitterwall3-engineering/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@
132132
<dependency>
133133
<groupId>org.springframework.shell</groupId>
134134
<artifactId>spring-shell-starter</artifactId>
135-
<version>2.0.0.RELEASE</version>
135+
<version>${spring-shell.version}</version>
136136
</dependency>
137137
<dependency>
138138
<groupId>org.springframework.statemachine</groupId>

twitterwall3-frontend/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@
132132
<dependency>
133133
<groupId>org.springframework.shell</groupId>
134134
<artifactId>spring-shell-starter</artifactId>
135-
<version>2.0.0.RELEASE</version>
135+
<version>${spring-shell.version}</version>
136136
</dependency>
137137
<dependency>
138138
<groupId>org.springframework.statemachine</groupId>

twitterwall3-graphdb/pom.xml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -130,11 +130,11 @@
130130
<groupId>org.springframework.session</groupId>
131131
<artifactId>spring-session-jdbc</artifactId>
132132
</dependency>
133-
<dependency>
134-
<groupId>org.springframework.shell</groupId>
135-
<artifactId>spring-shell-starter</artifactId>
136-
<version>2.0.0.RELEASE</version>
137-
</dependency>
133+
<dependency>
134+
<groupId>org.springframework.shell</groupId>
135+
<artifactId>spring-shell-starter</artifactId>
136+
<version>${spring-shell.version}</version>
137+
</dependency>
138138
<dependency>
139139
<groupId>org.springframework.statemachine</groupId>
140140
<artifactId>spring-statemachine-starter</artifactId>
@@ -202,16 +202,11 @@
202202
</dependency>
203203

204204
<!--
205-
<dependency>
206-
<groupId>org.glassfish.jersey.ext</groupId>
207-
<artifactId>jersey-spring4</artifactId>
208-
</dependency>
209-
-->
210-
211205
<dependency>
212206
<groupId>org.apache.logging.log4j</groupId>
213207
<artifactId>log4j-api</artifactId>
214208
</dependency>
209+
-->
215210

216211
<dependency>
217212
<groupId>org.webjars</groupId>

twitterwall3-int/pom.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,11 @@
113113
<groupId>org.springframework.session</groupId>
114114
<artifactId>spring-session-jdbc</artifactId>
115115
</dependency>
116-
<dependency>
117-
<groupId>org.springframework.shell</groupId>
118-
<artifactId>spring-shell-starter</artifactId>
119-
<version>2.0.0.RELEASE</version>
120-
</dependency>
116+
<dependency>
117+
<groupId>org.springframework.shell</groupId>
118+
<artifactId>spring-shell-starter</artifactId>
119+
<version>${spring-shell.version}</version>
120+
</dependency>
121121
<dependency>
122122
<groupId>org.springframework.statemachine</groupId>
123123
<artifactId>spring-statemachine-starter</artifactId>

twitterwall3-parent/pom.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,25 @@
2222
<description>Added other things to starter parent from org.springframework.boot</description>
2323

2424
<properties>
25+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
26+
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
27+
<java.version>1.8</java.version>
28+
<maven.compiler.source>${java.version}</maven.compiler.source>
29+
<maven.compiler.target>${java.version}</maven.compiler.target>
30+
<failsafe.skipAfterFailureCount>1</failsafe.skipAfterFailureCount>
31+
<surefire.skipAfterFailureCount>1</surefire.skipAfterFailureCount>
32+
<resource.delimiter>@</resource.delimiter>
33+
2534
<org.webjars.jquery.version>3.3.1</org.webjars.jquery.version>
2635
<org.webjars.bootstrap.version>4.1.0</org.webjars.bootstrap.version>
2736
<org.webjars.font-awesome.version>5.0.10</org.webjars.font-awesome.version>
37+
2838
<org.apache.maven.scm.plugin.version>1.9.5</org.apache.maven.scm.plugin.version>
2939
<org.apache.maven.plugins.maven-scm-publish-plugin.version>3.0.0</org.apache.maven.plugins.maven-scm-publish-plugin.version>
3040
<org.apache.maven.plugins.maven-release-plugin.version>2.5.3</org.apache.maven.plugins.maven-release-plugin.version>
41+
42+
<spring-statemachine.version>2.0.1.RELEASE</spring-statemachine.version>
43+
<spring-shell.version>2.0.0.RELEASE</spring-shell.version>
3144
</properties>
3245

3346
<dependencyManagement>

twitterwall3-prod/pom.xml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2222
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
2323
<java.version>1.8</java.version>
24-
<spring-statemachine.version>2.0.1.RELEASE</spring-statemachine.version>
2524
</properties>
2625

2726
<dependencies>
@@ -113,11 +112,11 @@
113112
<groupId>org.springframework.session</groupId>
114113
<artifactId>spring-session-jdbc</artifactId>
115114
</dependency>
116-
<dependency>
117-
<groupId>org.springframework.shell</groupId>
118-
<artifactId>spring-shell-starter</artifactId>
119-
<version>2.0.0.RELEASE</version>
120-
</dependency>
115+
<dependency>
116+
<groupId>org.springframework.shell</groupId>
117+
<artifactId>spring-shell-starter</artifactId>
118+
<version>${spring-shell.version}</version>
119+
</dependency>
121120
<dependency>
122121
<groupId>org.springframework.statemachine</groupId>
123122
<artifactId>spring-statemachine-starter</artifactId>

0 commit comments

Comments
 (0)