Skip to content

Commit c876174

Browse files
committed
Merge remote-tracking branch 'eugenp/master'
2 parents 845db90 + 263009f commit c876174

162 files changed

Lines changed: 2341 additions & 1400 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎animal-sniffer-mvn-plugin/pom.xml‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,6 @@
2626
</dependencies>
2727
<build>
2828
<plugins>
29-
<plugin>
30-
<artifactId>maven-compiler-plugin</artifactId>
31-
<version>3.7.0</version>
32-
<configuration>
33-
<source>1.8</source>
34-
<target>1.8</target>
35-
</configuration>
36-
</plugin>
3729
<plugin>
3830
<groupId>org.codehaus.mojo</groupId>
3931
<artifactId>animal-sniffer-maven-plugin</artifactId>

‎annotations/annotation-processing/pom.xml‎

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -19,32 +19,11 @@
1919
</properties>
2020

2121
<dependencies>
22-
2322
<dependency>
2423
<groupId>com.google.auto.service</groupId>
2524
<artifactId>auto-service</artifactId>
2625
<version>${auto-service.version}</version>
2726
<scope>provided</scope>
2827
</dependency>
29-
3028
</dependencies>
31-
32-
<build>
33-
34-
<plugins>
35-
36-
<plugin>
37-
<groupId>org.apache.maven.plugins</groupId>
38-
<artifactId>maven-compiler-plugin</artifactId>
39-
<version>${maven-compiler-plugin.version}</version>
40-
<configuration>
41-
<source>1.8</source>
42-
<target>1.8</target>
43-
</configuration>
44-
</plugin>
45-
46-
</plugins>
47-
48-
</build>
49-
5029
</project>

‎apache-cxf/cxf-introduction/pom.xml‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,6 @@
2525
<mainClass>com.baeldung.cxf.introduction.Server</mainClass>
2626
</configuration>
2727
</plugin>
28-
<plugin>
29-
<artifactId>maven-surefire-plugin</artifactId>
30-
<version>${surefire.version}</version>
31-
<configuration>
32-
<excludes>
33-
<exclude>**/*LiveTest.java</exclude>
34-
</excludes>
35-
</configuration>
36-
</plugin>
3728
</plugins>
3829
</build>
3930

‎apache-cxf/cxf-jaxrs-implementation/pom.xml‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,6 @@
2727
<mainClass>com.baeldung.cxf.jaxrs.implementation.RestfulServer</mainClass>
2828
</configuration>
2929
</plugin>
30-
<plugin>
31-
<artifactId>maven-surefire-plugin</artifactId>
32-
<version>${surefire.version}</version>
33-
<configuration>
34-
<excludes>
35-
<exclude>**/*LiveTest.java</exclude>
36-
</excludes>
37-
</configuration>
38-
</plugin>
3930
</plugins>
4031
</build>
4132

‎apache-cxf/cxf-spring/pom.xml‎

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,6 @@
5252
<failOnMissingWebXml>false</failOnMissingWebXml>
5353
</configuration>
5454
</plugin>
55-
<plugin>
56-
<artifactId>maven-surefire-plugin</artifactId>
57-
<version>${surefire.version}</version>
58-
<configuration>
59-
<excludes>
60-
<exclude>**/*LiveTest.java</exclude>
61-
</excludes>
62-
</configuration>
63-
</plugin>
6455
</plugins>
6556
</build>
6657

@@ -102,24 +93,6 @@
10293
</execution>
10394
</executions>
10495
</plugin>
105-
106-
<plugin>
107-
<artifactId>maven-surefire-plugin</artifactId>
108-
<version>${surefire.version}</version>
109-
<executions>
110-
<execution>
111-
<phase>integration-test</phase>
112-
<goals>
113-
<goal>test</goal>
114-
</goals>
115-
<configuration>
116-
<excludes>
117-
<exclude>none</exclude>
118-
</excludes>
119-
</configuration>
120-
</execution>
121-
</executions>
122-
</plugin>
12396
</plugins>
12497
</build>
12598
</profile>

‎apache-opennlp/src/test/java/com/baeldung/apache/opennlp/LanguageDetectorAndTrainingDataTest.java‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
import opennlp.tools.util.PlainTextByLineStream;
1717
import opennlp.tools.util.TrainingParameters;
1818
import static org.assertj.core.api.Assertions.assertThat;
19+
import static org.assertj.core.api.Assertions.tuple;
1920
import org.junit.Test;
2021

2122
public class LanguageDetectorAndTrainingDataTest {
@@ -35,7 +36,9 @@ public void givenLanguageDictionary_whenLanguageDetect_thenLanguageIsDetected()
3536

3637
LanguageDetector ld = new LanguageDetectorME(model);
3738
Language[] languages = ld.predictLanguages("estava em uma marcenaria na Rua Bruno");
38-
assertThat(Arrays.asList(languages).toString()).contains("pob (0.9999999950605625)", "ita (4.939427661577956E-9)", "spa (9.665954064665144E-15)",
39-
"fra (8.250349924885834E-25)");
39+
40+
assertThat(Arrays.asList(languages)).extracting("lang", "confidence").contains(tuple("pob", 0.9999999950605625),
41+
tuple("ita", 4.939427661577956E-9), tuple("spa", 9.665954064665144E-15),
42+
tuple("fra", 8.250349924885834E-25));
4043
}
4144
}

‎apache-spark/pom.xml‎

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -32,17 +32,4 @@
3232
<scope>test</scope>
3333
</dependency>
3434
</dependencies>
35-
<build>
36-
<plugins>
37-
<plugin>
38-
<groupId>org.apache.maven.plugins</groupId>
39-
<artifactId>maven-compiler-plugin</artifactId>
40-
<version>3.7.0</version>
41-
<configuration>
42-
<source>1.8</source>
43-
<target>1.8</target>
44-
</configuration>
45-
</plugin>
46-
</plugins>
47-
</build>
4835
</project>

‎atomix/pom.xml‎

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,4 @@
2929
<version>1.2.17</version>
3030
</dependency>
3131
</dependencies>
32-
<build>
33-
<plugins>
34-
<plugin>
35-
<artifactId>maven-compiler-plugin</artifactId>
36-
<version>3.7.0</version>
37-
<configuration>
38-
<source>1.8</source>
39-
<target>1.8</target>
40-
</configuration>
41-
</plugin>
42-
</plugins>
43-
</build>
44-
45-
4632
</project>

‎aws/pom.xml‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
<assertj-core.version>3.8.0</assertj-core.version>
2525
<dynamodblocal.version>1.11.86</dynamodblocal.version>
2626
<dynamodblocal.repository.url>https://s3-us-west-2.amazonaws.com/dynamodb-local/release</dynamodblocal.repository.url>
27+
<commons-codec-version>1.10.L001</commons-codec-version>
28+
<jets3t-version>0.9.4.0006L</jets3t-version>
2729
</properties>
2830

2931
<dependencies>
@@ -97,6 +99,19 @@
9799
<version>${dynamodblocal.version}</version>
98100
<scope>test</scope>
99101
</dependency>
102+
103+
<!-- JetS3t -->
104+
<dependency>
105+
<groupId>org.lucee</groupId>
106+
<artifactId>jets3t</artifactId>
107+
<version>${jets3t-version}</version>
108+
</dependency>
109+
<dependency>
110+
<groupId>org.lucee</groupId>
111+
<artifactId>commons-codec</artifactId>
112+
<version>${commons-codec-version}</version>
113+
</dependency>
114+
100115
</dependencies>
101116

102117
<build>

0 commit comments

Comments
 (0)