Skip to content

Commit 5a463b3

Browse files
committed
clean up
1 parent 9044109 commit 5a463b3

34 files changed

Lines changed: 105 additions & 179518 deletions

‎core-java-8/pom.xml‎

Lines changed: 13 additions & 198 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,6 @@
1818
<dependencies>
1919

2020
<!-- utils -->
21-
<dependency>
22-
<groupId>net.sourceforge.collections</groupId>
23-
<artifactId>collections-generic</artifactId>
24-
<version>${collections-generic.version}</version>
25-
</dependency>
2621
<dependency>
2722
<groupId>com.google.guava</groupId>
2823
<artifactId>guava</artifactId>
@@ -53,156 +48,41 @@
5348
<version>${commons-math3.version}</version>
5449
</dependency>
5550

56-
<dependency>
57-
<groupId>org.decimal4j</groupId>
58-
<artifactId>decimal4j</artifactId>
59-
<version>${decimal4j.version}</version>
60-
</dependency>
61-
62-
<dependency>
63-
<groupId>org.bouncycastle</groupId>
64-
<artifactId>bcprov-jdk15on</artifactId>
65-
<version>${bouncycastle.version}</version>
66-
</dependency>
67-
68-
<dependency>
69-
<groupId>org.unix4j</groupId>
70-
<artifactId>unix4j-command</artifactId>
71-
<version>${unix4j.version}</version>
72-
</dependency>
73-
74-
<dependency>
75-
<groupId>com.googlecode.grep4j</groupId>
76-
<artifactId>grep4j</artifactId>
77-
<version>${grep4j.version}</version>
78-
</dependency>
79-
<!-- web -->
80-
81-
<!-- marshalling -->
82-
83-
<dependency>
84-
<groupId>com.fasterxml.jackson.core</groupId>
85-
<artifactId>jackson-databind</artifactId>
86-
<version>${jackson.version}</version>
87-
</dependency>
88-
89-
<!-- logging -->
9051
<dependency>
9152
<groupId>log4j</groupId>
9253
<artifactId>log4j</artifactId>
9354
<version>1.2.17</version>
9455
</dependency>
56+
9557
<dependency>
96-
<groupId>org.slf4j</groupId>
97-
<artifactId>slf4j-api</artifactId>
98-
<version>${org.slf4j.version}</version>
99-
</dependency>
100-
<dependency>
101-
<groupId>ch.qos.logback</groupId>
102-
<artifactId>logback-classic</artifactId>
103-
<version>${logback.version}</version>
104-
<!-- <scope>runtime</scope> -->
105-
</dependency>
106-
<dependency>
107-
<groupId>org.slf4j</groupId>
108-
<artifactId>jcl-over-slf4j</artifactId>
109-
<version>${org.slf4j.version}</version>
110-
<!-- <scope>runtime</scope> --> <!-- some spring dependencies need to compile against jcl -->
111-
</dependency>
112-
<dependency> <!-- needed to bridge to slf4j for projects that use the log4j APIs directly -->
113-
<groupId>org.slf4j</groupId>
114-
<artifactId>log4j-over-slf4j</artifactId>
115-
<version>${org.slf4j.version}</version>
116-
</dependency>
58+
<groupId>commons-codec</groupId>
59+
<artifactId>commons-codec</artifactId>
60+
<version>${commons-codec.version}</version>
61+
</dependency>
62+
11763
<dependency>
11864
<groupId>org.projectlombok</groupId>
11965
<artifactId>lombok</artifactId>
12066
<version>${lombok.version}</version>
12167
<scope>provided</scope>
12268
</dependency>
123-
69+
12470
<!-- test scoped -->
12571

126-
<dependency>
127-
<groupId>org.hamcrest</groupId>
128-
<artifactId>hamcrest-all</artifactId>
129-
<version>1.3</version>
130-
<scope>test</scope>
131-
</dependency>
132-
133-
<dependency>
134-
<groupId>junit</groupId>
135-
<artifactId>junit</artifactId>
136-
<version>${junit.version}</version>
137-
<scope>test</scope>
138-
</dependency>
139-
140-
<dependency>
141-
<groupId>org.hamcrest</groupId>
142-
<artifactId>hamcrest-core</artifactId>
143-
<version>${org.hamcrest.version}</version>
144-
<scope>test</scope>
145-
</dependency>
146-
<dependency>
147-
<groupId>org.hamcrest</groupId>
148-
<artifactId>hamcrest-library</artifactId>
149-
<version>${org.hamcrest.version}</version>
150-
<scope>test</scope>
151-
</dependency>
152-
15372
<dependency>
15473
<groupId>org.assertj</groupId>
15574
<artifactId>assertj-core</artifactId>
15675
<version>${assertj.version}</version>
15776
<scope>test</scope>
15877
</dependency>
15978

160-
<dependency>
161-
<groupId>org.mockito</groupId>
162-
<artifactId>mockito-core</artifactId>
163-
<version>${mockito.version}</version>
164-
<scope>test</scope>
165-
</dependency>
16679
<dependency>
16780
<groupId>com.jayway.awaitility</groupId>
16881
<artifactId>awaitility</artifactId>
16982
<version>${avaitility.version}</version>
17083
<scope>test</scope>
17184
</dependency>
17285

173-
<dependency>
174-
<groupId>commons-codec</groupId>
175-
<artifactId>commons-codec</artifactId>
176-
<version>${commons-codec.version}</version>
177-
</dependency>
178-
179-
<dependency>
180-
<groupId>org.javamoney</groupId>
181-
<artifactId>moneta</artifactId>
182-
<version>1.1</version>
183-
</dependency>
184-
185-
<dependency>
186-
<groupId>org.owasp.esapi</groupId>
187-
<artifactId>esapi</artifactId>
188-
<version>2.1.0.1</version>
189-
</dependency>
190-
191-
<dependency>
192-
<groupId>com.sun.messaging.mq</groupId>
193-
<artifactId>fscontext</artifactId>
194-
<version>${fscontext.version}</version>
195-
</dependency>
196-
<dependency>
197-
<groupId>joda-time</groupId>
198-
<artifactId>joda-time</artifactId>
199-
<version>${joda-time.version}</version>
200-
</dependency>
201-
<dependency>
202-
<groupId>com.darwinsys</groupId>
203-
<artifactId>hirondelle-date4j</artifactId>
204-
<version>${hirondelle-date4j.version}</version>
205-
</dependency>
20686
</dependencies>
20787

20888
<build>
@@ -215,30 +95,6 @@
21595
</resources>
21696

21797
<plugins>
218-
219-
<plugin>
220-
<groupId>org.apache.maven.plugins</groupId>
221-
<artifactId>maven-compiler-plugin</artifactId>
222-
<version>${maven-compiler-plugin.version}</version>
223-
<configuration>
224-
<source>1.8</source>
225-
<target>1.8</target>
226-
</configuration>
227-
</plugin>
228-
229-
<plugin>
230-
<groupId>org.apache.maven.plugins</groupId>
231-
<artifactId>maven-surefire-plugin</artifactId>
232-
<configuration>
233-
<excludes>
234-
<exclude>**/*IntegrationTest.java</exclude>
235-
<exclude>**/*LongRunningUnitTest.java</exclude>
236-
<exclude>**/*ManualTest.java</exclude>
237-
</excludes>
238-
<testFailureIgnore>true</testFailureIgnore>
239-
</configuration>
240-
</plugin>
241-
24298
<plugin>
24399
<groupId>org.apache.maven.plugins</groupId>
244100
<artifactId>maven-dependency-plugin</artifactId>
@@ -269,7 +125,6 @@
269125
</archive>
270126
</configuration>
271127
</plugin>
272-
273128
<plugin>
274129
<groupId>org.apache.maven.plugins</groupId>
275130
<artifactId>maven-assembly-plugin</artifactId>
@@ -293,7 +148,6 @@
293148
</execution>
294149
</executions>
295150
</plugin>
296-
297151
<plugin>
298152
<groupId>org.apache.maven.plugins</groupId>
299153
<artifactId>maven-shade-plugin</artifactId>
@@ -306,15 +160,14 @@
306160
<shadedArtifactAttached>true</shadedArtifactAttached>
307161
<transformers>
308162
<transformer
309-
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
163+
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
310164
<mainClass>org.baeldung.executable.ExecutableMavenJar</mainClass>
311165
</transformer>
312166
</transformers>
313167
</configuration>
314168
</execution>
315169
</executions>
316170
</plugin>
317-
318171
<plugin>
319172
<groupId>com.jolira</groupId>
320173
<artifactId>onejar-maven-plugin</artifactId>
@@ -331,7 +184,6 @@
331184
</execution>
332185
</executions>
333186
</plugin>
334-
335187
<plugin>
336188
<groupId>org.springframework.boot</groupId>
337189
<artifactId>spring-boot-maven-plugin</artifactId>
@@ -347,23 +199,6 @@
347199
</execution>
348200
</executions>
349201
</plugin>
350-
351-
<plugin>
352-
<groupId>org.codehaus.mojo</groupId>
353-
<artifactId>exec-maven-plugin</artifactId>
354-
<version>1.6.0</version>
355-
<configuration>
356-
<executable>java</executable>
357-
<mainClass>com.baeldung.outofmemoryerror.OutOfMemoryGCLimitExceed</mainClass>
358-
<arguments>
359-
<argument>-Xmx300m</argument>
360-
<argument>-XX:+UseParallelGC</argument>
361-
<argument>-classpath</argument>
362-
<classpath/>
363-
<argument>com.baeldung.outofmemoryerror.OutOfMemoryGCLimitExceed</argument>
364-
</arguments>
365-
</configuration>
366-
</plugin>
367202
</plugins>
368203

369204
</build>
@@ -402,42 +237,22 @@
402237
</build>
403238
</profile>
404239
</profiles>
405-
406-
<properties>
407-
<!-- marshalling -->
408-
<jackson.version>2.8.5</jackson.version>
409-
410-
<!-- logging -->
411-
<org.slf4j.version>1.7.21</org.slf4j.version>
412-
<logback.version>1.1.7</logback.version>
240+
241+
<properties>
413242

414243
<!-- util -->
415-
<guava.version>22.0</guava.version>
244+
<guava.version>21.0</guava.version>
416245
<commons-lang3.version>3.5</commons-lang3.version>
417-
<bouncycastle.version>1.55</bouncycastle.version>
418-
<commons-codec.version>1.10</commons-codec.version>
419246
<commons-math3.version>3.6.1</commons-math3.version>
420-
<decimal4j.version>1.0.3</decimal4j.version>
421247
<commons-io.version>2.5</commons-io.version>
422248
<commons-collections4.version>4.1</commons-collections4.version>
423249
<collections-generic.version>4.01</collections-generic.version>
424-
<unix4j.version>0.4</unix4j.version>
425-
<grep4j.version>1.8.7</grep4j.version>
250+
<commons-codec.version>1.10</commons-codec.version>
426251
<lombok.version>1.16.12</lombok.version>
427-
<fscontext.version>4.6-b01</fscontext.version>
428-
<joda-time.version>2.9.9</joda-time.version>
429-
<hirondelle-date4j.version>1.5.1</hirondelle-date4j.version>
430252

431253
<!-- testing -->
432-
<org.hamcrest.version>1.3</org.hamcrest.version>
433-
<junit.version>4.12</junit.version>
434-
<mockito.version>2.8.9</mockito.version>
435254
<assertj.version>3.6.1</assertj.version>
436255
<avaitility.version>1.7.0</avaitility.version>
437256

438-
439-
<!-- maven plugins -->
440-
<maven-compiler-plugin.version>3.6.0</maven-compiler-plugin.version>
441-
<maven-surefire-plugin.version>2.19.1</maven-surefire-plugin.version>
442257
</properties>
443-
</project>
258+
</project>

0 commit comments

Comments
 (0)