Skip to content

Commit 4f39696

Browse files
authored
Merge pull request eugenp#5099 from dkapil/task/BAEL-8504
Task/bael 8504
2 parents 1635858 + 68aaf0b commit 4f39696

15 files changed

Lines changed: 964 additions & 1201 deletions

File tree

‎jhipster/jhipster-monolithic/pom.xml‎

Lines changed: 6 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
33
<modelVersion>4.0.0</modelVersion>
4-
<groupId>com.baeldung</groupId>
54
<artifactId>jhipster-monolithic</artifactId>
6-
<version>0.0.1-SNAPSHOT</version>
75
<packaging>war</packaging>
86
<description>JHipster Monolithic Application</description>
97

@@ -89,27 +87,23 @@
8987
<dependency>
9088
<groupId>io.dropwizard.metrics</groupId>
9189
<artifactId>metrics-annotation</artifactId>
92-
<version>${dropwizard-metrics.version}</version>
93-
</dependency>
90+
</dependency>
9491
<dependency>
9592
<groupId>io.dropwizard.metrics</groupId>
9693
<artifactId>metrics-core</artifactId>
9794
</dependency>
9895
<dependency>
9996
<groupId>io.dropwizard.metrics</groupId>
10097
<artifactId>metrics-json</artifactId>
101-
<version>${dropwizard-metrics.version}</version>
102-
</dependency>
98+
</dependency>
10399
<dependency>
104100
<groupId>io.dropwizard.metrics</groupId>
105101
<artifactId>metrics-jvm</artifactId>
106-
<version>${dropwizard-metrics.version}</version>
107-
</dependency>
102+
</dependency>
108103
<dependency>
109104
<groupId>io.dropwizard.metrics</groupId>
110105
<artifactId>metrics-servlet</artifactId>
111-
<version>${dropwizard-metrics.version}</version>
112-
</dependency>
106+
</dependency>
113107
<dependency>
114108
<groupId>io.dropwizard.metrics</groupId>
115109
<artifactId>metrics-servlets</artifactId>
@@ -493,17 +487,6 @@
493487
</execution>
494488
</executions>
495489
</plugin>
496-
<plugin>
497-
<groupId>org.apache.maven.plugins</groupId>
498-
<artifactId>maven-surefire-plugin</artifactId>
499-
<configuration>
500-
<!-- Force alphabetical order to have a reproducible build -->
501-
<runOrder>alphabetical</runOrder>
502-
<excludes>
503-
<exclude>**/*IntTest.java</exclude>
504-
</excludes>
505-
</configuration>
506-
</plugin>
507490
<plugin>
508491
<groupId>org.jacoco</groupId>
509492
<artifactId>jacoco-maven-plugin</artifactId>
@@ -536,7 +519,7 @@
536519
<plugin>
537520
<groupId>org.liquibase</groupId>
538521
<artifactId>liquibase-maven-plugin</artifactId>
539-
<version>${liquibase.version}</version>
522+
<version>${liquibase-maven-plugin.version}</version>
540523
<dependencies>
541524
<dependency>
542525
<groupId>javax.validation</groupId>
@@ -920,6 +903,7 @@
920903
<jzlib.version>1.1.3</jzlib.version>
921904
<liquibase-hibernate5.version>3.6</liquibase-hibernate5.version>
922905
<liquibase-slf4j.version>2.0.0</liquibase-slf4j.version>
906+
<liquibase-maven-plugin.version>3.6.2</liquibase-maven-plugin.version>
923907
<logstash-logback-encoder.version>4.8</logstash-logback-encoder.version>
924908
<m2e.apt.activation>jdt_apt</m2e.apt.activation>
925909
<mapstruct.version>1.1.0.Final</mapstruct.version>

‎parent-boot-1/pom.xml‎

Lines changed: 46 additions & 109 deletions
Original file line numberDiff line numberDiff line change
@@ -1,117 +1,54 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3-
<modelVersion>4.0.0</modelVersion>
4-
<groupId>com.baeldung</groupId>
5-
<artifactId>parent-boot-1</artifactId>
6-
<version>0.0.1-SNAPSHOT</version>
7-
<packaging>pom</packaging>
8-
<description>Parent for all Spring Boot 1.x modules</description>
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
<artifactId>parent-boot-1</artifactId>
5+
<version>0.0.1-SNAPSHOT</version>
6+
<packaging>pom</packaging>
7+
<description>Parent for all Spring Boot 1.x modules</description>
98

10-
<parent>
11-
<groupId>org.springframework.boot</groupId>
12-
<artifactId>spring-boot-starter-parent</artifactId>
13-
<version>1.5.13.RELEASE</version>
14-
<relativePath />
15-
</parent>
9+
<parent>
10+
<groupId>com.baeldung</groupId>
11+
<artifactId>parent-modules</artifactId>
12+
<version>1.0.0-SNAPSHOT</version>
13+
</parent>
1614

17-
<dependencies>
18-
<dependency>
19-
<groupId>io.rest-assured</groupId>
20-
<artifactId>rest-assured</artifactId>
21-
<version>${rest-assured.version}</version>
22-
</dependency>
23-
<dependency>
24-
<groupId>org.springframework.boot</groupId>
25-
<artifactId>spring-boot-starter-test</artifactId>
26-
<scope>test</scope>
27-
</dependency>
28-
</dependencies>
15+
<dependencyManagement>
16+
<dependencies>
17+
<dependency>
18+
<groupId>org.springframework.boot</groupId>
19+
<artifactId>spring-boot-dependencies</artifactId>
20+
<version>1.5.15.RELEASE</version>
21+
<type>pom</type>
22+
<scope>import</scope>
23+
</dependency>
24+
</dependencies>
25+
</dependencyManagement>
26+
<dependencies>
27+
<dependency>
28+
<groupId>io.rest-assured</groupId>
29+
<artifactId>rest-assured</artifactId>
30+
<version>${rest-assured.version}</version>
31+
</dependency>
32+
<dependency>
33+
<groupId>org.springframework.boot</groupId>
34+
<artifactId>spring-boot-starter-test</artifactId>
35+
<scope>test</scope>
36+
</dependency>
37+
</dependencies>
2938

30-
<build>
31-
<plugins>
32-
<plugin>
33-
<groupId>org.springframework.boot</groupId>
34-
<artifactId>spring-boot-maven-plugin</artifactId>
35-
</plugin>
36-
<plugin>
37-
<groupId>org.apache.maven.plugins</groupId>
38-
<artifactId>maven-surefire-plugin</artifactId>
39-
<version>${maven-surefire-plugin.version}</version>
40-
<configuration>
41-
<forkCount>3</forkCount>
42-
<reuseForks>true</reuseForks>
43-
<excludes>
44-
<exclude>**/*IntegrationTest.java</exclude>
45-
<exclude>**/*IntTest.java</exclude>
46-
<exclude>**/*LongRunningUnitTest.java</exclude>
47-
<exclude>**/*ManualTest.java</exclude>
48-
<exclude>**/*LiveTest.java</exclude>
49-
</excludes>
50-
</configuration>
51-
</plugin>
52-
<plugin>
53-
<groupId>org.apache.maven.plugins</groupId>
54-
<artifactId>maven-compiler-plugin</artifactId>
55-
<version>${maven-compiler-plugin.version}</version>
56-
<configuration>
57-
<source>${maven.compiler.source}</source>
58-
<target>${maven.compiler.target}</target>
59-
</configuration>
60-
</plugin>
61-
</plugins>
62-
</build>
39+
<build>
40+
<plugins>
41+
<plugin>
42+
<groupId>org.springframework.boot</groupId>
43+
<artifactId>spring-boot-maven-plugin</artifactId>
44+
<version>1.5.15.RELEASE</version>
45+
</plugin>
46+
</plugins>
47+
</build>
6348

64-
<profiles>
65-
<profile>
66-
<id>integration</id>
67-
<build>
68-
<plugins>
69-
<plugin>
70-
<groupId>org.apache.maven.plugins</groupId>
71-
<artifactId>maven-surefire-plugin</artifactId>
72-
<executions>
73-
<execution>
74-
<phase>integration-test</phase>
75-
<goals>
76-
<goal>test</goal>
77-
</goals>
78-
<configuration>
79-
<excludes>
80-
<exclude>**/*ManualTest.java</exclude>
81-
<exclude>**/*LiveTest.java</exclude>
82-
<exclude>**/AutoconfigurationTest.java</exclude>
83-
<exclude>**/*UnitTest.java</exclude>
84-
</excludes>
85-
<includes>
86-
<include>**/*IntegrationTest.java</include>
87-
<include>**/*IntTest.java</include>
88-
<include>*/EthControllerTestOne.java</include>
89-
<include>**/*EntryPointsTest.java</include>
90-
</includes>
91-
</configuration>
92-
</execution>
93-
</executions>
94-
<configuration>
95-
<systemPropertyVariables>
96-
<test.mime>json</test.mime>
97-
</systemPropertyVariables>
98-
</configuration>
99-
</plugin>
100-
</plugins>
101-
</build>
102-
</profile>
103-
</profiles>
10449

105-
<properties>
106-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
107-
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
108-
<java.version>1.8</java.version>
109-
<rest-assured.version>3.0.6</rest-assured.version>
110-
<!-- plugins -->
111-
<maven-surefire-plugin.version>2.20.1</maven-surefire-plugin.version>
112-
<maven-compiler-plugin.version>3.7.0</maven-compiler-plugin.version>
113-
<maven.compiler.source>1.8</maven.compiler.source>
114-
<maven.compiler.target>1.8</maven.compiler.target>
115-
</properties>
50+
<properties>
51+
<rest-assured.version>3.1.0</rest-assured.version>
52+
</properties>
11653

11754
</project>

‎parent-boot-2/pom.xml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
33
<modelVersion>4.0.0</modelVersion>
4-
<groupId>com.baeldung</groupId>
54
<artifactId>parent-boot-2</artifactId>
65
<version>0.0.1-SNAPSHOT</version>
76
<packaging>pom</packaging>
@@ -18,7 +17,7 @@
1817
<dependency>
1918
<groupId>org.springframework.boot</groupId>
2019
<artifactId>spring-boot-dependencies</artifactId>
21-
<version>2.0.1.RELEASE</version>
20+
<version>2.0.4.RELEASE</version>
2221
<type>pom</type>
2322
<scope>import</scope>
2423
</dependency>
@@ -41,10 +40,11 @@
4140
<plugin>
4241
<groupId>org.springframework.boot</groupId>
4342
<artifactId>spring-boot-maven-plugin</artifactId>
44-
<version>2.0.1.RELEASE</version>
43+
<version>2.0.4.RELEASE</version>
4544
</plugin>
4645
</plugins>
4746
</build>
47+
4848
<profiles>
4949
<profile>
5050
<id>thin-jar</id>

‎pom.xml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,7 @@
474474
<module>spring-core</module>
475475
<module>spring-cucumber</module>
476476
<module>spring-ejb</module>
477+
<module>spring-ejb/spring-ejb-client</module>
477478
<module>spring-aop</module>
478479
<module>persistence-modules/spring-data-cassandra</module>
479480
<module>spring-data-couchbase-2</module>
@@ -741,6 +742,7 @@
741742
<module>spring-core</module>
742743
<module>spring-cucumber</module>
743744
<module>spring-ejb</module>
745+
<module>spring-ejb/spring-ejb-client</module>
744746
<module>spring-aop</module>
745747
<module>persistence-modules/spring-data-cassandra</module>
746748
<module>spring-data-couchbase-2</module>
@@ -1018,6 +1020,7 @@
10181020
<module>spring-core</module>
10191021
<module>spring-cucumber</module>
10201022
<module>spring-ejb</module>
1023+
<module>spring-ejb/spring-ejb-client</module>
10211024
<module>spring-aop</module>
10221025

10231026
<module>persistence-modules/spring-data-dynamodb</module>

‎spring-4/pom.xml‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>spring-4</groupId>
55
<artifactId>spring-4</artifactId>
6-
<version>0.0.1-SNAPSHOT</version>
76
<packaging>jar</packaging>
87
<name>spring-4</name>
98

@@ -32,14 +31,12 @@
3231
<dependency>
3332
<groupId>com.h2database</groupId>
3433
<artifactId>h2</artifactId>
35-
<version>${h2database.version}</version>
3634
<scope>test</scope>
3735
</dependency>
3836
<dependency>
3937
<groupId>com.zaxxer</groupId>
4038
<artifactId>HikariCP</artifactId>
41-
<version>${hikaricp.version}</version>
42-
</dependency>
39+
</dependency>
4340
<dependency>
4441
<groupId>org.springframework.boot</groupId>
4542
<artifactId>spring-boot-starter-test</artifactId>
@@ -53,7 +50,6 @@
5350
<groupId>org.projectlombok</groupId>
5451
<artifactId>lombok</artifactId>
5552
<!-- Check for the most recent available version: https://projectlombok.org/changelog.html -->
56-
<version>${lombok.version}</version>
5753
<scope>provided</scope>
5854
</dependency>
5955
</dependencies>

‎spring-activiti/pom.xml‎

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
33
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
44
<modelVersion>4.0.0</modelVersion>
5-
<groupId>com.example</groupId>
65
<artifactId>spring-activiti</artifactId>
7-
<version>0.0.1-SNAPSHOT</version>
86
<packaging>jar</packaging>
97
<name>spring-activiti</name>
108
<description>Demo project for Spring Boot</description>
@@ -44,33 +42,6 @@
4442
</dependency>
4543
</dependencies>
4644

47-
<build>
48-
<plugins>
49-
<plugin>
50-
<groupId>org.springframework.boot</groupId>
51-
<artifactId>spring-boot-maven-plugin</artifactId>
52-
</plugin>
53-
<plugin>
54-
<groupId>org.apache.maven.plugins</groupId>
55-
<artifactId>maven-surefire-plugin</artifactId>
56-
<version>${maven-surefire-plugin.version}</version>
57-
<configuration>
58-
<forkCount>3</forkCount>
59-
<reuseForks>true</reuseForks>
60-
<excludes>
61-
<exclude>**/*IntegrationTest.java</exclude>
62-
<exclude>**/*IntTest.java</exclude>
63-
<exclude>**/*LongRunningUnitTest.java</exclude>
64-
<exclude>**/*ManualTest.java</exclude>
65-
<exclude>**/JdbcTest.java</exclude>
66-
<exclude>**/*LiveTest.java</exclude>
67-
</excludes>
68-
69-
</configuration>
70-
</plugin>
71-
</plugins>
72-
</build>
73-
7445
<properties>
7546
<start-class>com.example.activitiwithspring.ActivitiWithSpringApplication</start-class>
7647
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

0 commit comments

Comments
 (0)