File tree 11 files changed +52
-14
lines changed
algorithms-modules/algorithms-miscellaneous-5
aws-lambda-modules/lambda-function
testing-modules/gatling-java
11 files changed +52
-14
lines changed Original file line number Diff line number Diff line change 47
47
<configuration >
48
48
<source >17</source >
49
49
<target >17</target >
50
+ <release >17</release >
50
51
</configuration >
51
52
</plugin >
52
53
</plugins >
Original file line number Diff line number Diff line change 70
70
<plugin >
71
71
<groupId >org.springframework.boot</groupId >
72
72
<artifactId >spring-boot-maven-plugin</artifactId >
73
+ <version >${spring-boot.version} </version >
73
74
<configuration >
74
75
<excludes >
75
76
<exclude >
Original file line number Diff line number Diff line change 43
43
<plugin >
44
44
<groupId >org.springframework.boot</groupId >
45
45
<artifactId >spring-boot-maven-plugin</artifactId >
46
+ <version >${spring-boot.version} </version >
46
47
</plugin >
47
48
</plugins >
48
49
</build >
Original file line number Diff line number Diff line change 24
24
<groupId >com.amazonaws</groupId >
25
25
<artifactId >aws-java-sdk-core</artifactId >
26
26
<version >${aws-java-sdk.version} </version >
27
+ <exclusions >
28
+ <exclusion >
29
+ <groupId >commons-logging</groupId >
30
+ <artifactId >commons-logging</artifactId >
31
+ </exclusion >
32
+ <exclusion >
33
+ <groupId >commons-codec</groupId >
34
+ <artifactId >commons-codec</artifactId >
35
+ </exclusion >
36
+ <exclusion >
37
+ <groupId >com.amazonaws</groupId >
38
+ <artifactId >aws-java-sdk-pom</artifactId >
39
+ </exclusion >
40
+ </exclusions >
27
41
</dependency >
28
42
<dependency >
29
43
<groupId >com.amazonaws</groupId >
85
99
<version >${maven-shade-plugin.version} </version >
86
100
<configuration >
87
101
<createDependencyReducedPom >false</createDependencyReducedPom >
102
+ <filters >
103
+ <filter >
104
+ <artifact >*:*</artifact >
105
+ <excludes >
106
+ <!-- Exclude module-info.class -->
107
+ <exclude >**/module-info.class</exclude >
108
+ <!-- Exclude overlapping META-INF files -->
109
+ <exclude >META-INF/LICENSE</exclude >
110
+ <exclude >META-INF/NOTICE</exclude >
111
+ <exclude >META-INF/LICENSE.txt</exclude >
112
+ <exclude >META-INF/NOTICE.txt</exclude >
113
+ <exclude >META-INF/services/com.fasterxml.jackson.core.JsonFactory</exclude >
114
+ <exclude >META-INF/DEPENDENCIES</exclude >
115
+ </excludes >
116
+ </filter >
117
+ </filters >
88
118
</configuration >
89
119
<executions >
90
120
<execution >
Original file line number Diff line number Diff line change 94
94
</plugins >
95
95
</build >
96
96
97
+ <profiles >
98
+ <profile >
99
+ <id >default</id >
100
+ <activation >
101
+ <activeByDefault >true</activeByDefault >
102
+ </activation >
103
+ </profile >
104
+ </profiles >
105
+
97
106
<properties >
98
107
<maven .compiler.target>21</maven .compiler.target>
99
108
<maven .compiler.source>21</maven .compiler.source>
102
111
<lombok .version>1.18.32</lombok .version>
103
112
<junit-jupiter .version>5.5.2</junit-jupiter .version>
104
113
<commons-io .version>2.16.1</commons-io .version>
114
+ <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
115
+ <project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
105
116
</properties >
106
117
107
118
</project >
Original file line number Diff line number Diff line change 29
29
<configuration >
30
30
<source >${maven.compiler.source} </source >
31
31
<target >${maven.compiler.target} </target >
32
+ <release >${maven.compiler.release} </release >
32
33
</configuration >
33
34
</plugin >
34
35
<plugin >
52
53
</plugins >
53
54
</build >
54
55
56
+ <properties >
57
+ <maven .compiler.release>17</maven .compiler.release>
58
+ </properties >
55
59
</project >
Original file line number Diff line number Diff line change 42
42
<configuration >
43
43
<source >${maven.compiler.source} </source >
44
44
<target >${maven.compiler.target} </target >
45
+ <release >17</release >
45
46
</configuration >
46
47
</plugin >
47
48
</plugins >
90
91
<goal >compile</goal >
91
92
</goals >
92
93
<configuration >
93
- <source >1.8</source >
94
94
<target >1.8</target >
95
95
<compileSourceRoots >
96
96
<compileSourceRoot >${project.basedir} /src/main/java8</compileSourceRoot >
Original file line number Diff line number Diff line change 49
49
<artifactId >commons-lang3</artifactId >
50
50
<version >${commons-lang3.version} </version >
51
51
</dependency >
52
- <dependency >
53
- <groupId >org.apache.httpcomponents.client5</groupId >
54
- <artifactId >httpclient5</artifactId >
55
- <version >${apache.httpclient5.version} </version >
56
- </dependency >
57
-
58
52
<dependency >
59
53
<groupId >com.squareup.okhttp3</groupId >
60
54
<artifactId >okhttp</artifactId >
Original file line number Diff line number Diff line change 59
59
<artifactId >jakarta.xml.bind-api</artifactId >
60
60
<version >${jakarta.bind.version} </version >
61
61
</dependency >
62
- <dependency >
63
- <groupId >org.apache.httpcomponents.client5</groupId >
64
- <artifactId >httpclient5</artifactId >
65
- <version >${apache.httpclient5.version} </version >
66
- </dependency >
67
62
</dependencies >
68
63
69
64
<build >
Original file line number Diff line number Diff line change 141
141
<configuration >
142
142
<source >${java.version} </source >
143
143
<target >${java.version} </target >
144
+ <encoding >UTF-8</encoding >
144
145
</configuration >
145
146
</plugin >
146
147
<plugin >
156
157
</dependencies >
157
158
<configuration >
158
159
<failurePriority >5</failurePriority >
159
- <aggregate >false</aggregate >
160
160
<failOnViolation >true</failOnViolation >
161
161
<verbose >true</verbose >
162
162
<linkXRef >true</linkXRef >
163
163
<includeTests >true</includeTests >
164
- <sourceEncoding >UTF-8</sourceEncoding >
165
164
<targetJdk >${java.version} </targetJdk >
166
165
<rulesets >
167
166
<ruleset >${tutorialsproject.basedir} /baeldung-pmd-rules.xml</ruleset >
178
177
<phase >compile</phase >
179
178
<goals >
180
179
<goal >check</goal >
180
+ <goal >pmd</goal >
181
181
</goals >
182
182
</execution >
183
183
</executions >
Original file line number Diff line number Diff line change 87
87
<plugin >
88
88
<groupId >org.springframework.boot</groupId >
89
89
<artifactId >spring-boot-maven-plugin</artifactId >
90
+ <version >${spring.version} </version >
90
91
<configuration >
91
92
<mainClass >org.baeldung.Application</mainClass >
92
93
<finalName >gatling-java</finalName >
You can’t perform that action at this time.
0 commit comments