Skip to content

Commit 804fb33

Browse files
committed
Exclude TestNG from reactivestreams package to enable unit tests again
1 parent 2234f98 commit 804fb33

File tree

1 file changed

+42
-8
lines changed

1 file changed

+42
-8
lines changed

pom.xml

Lines changed: 42 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
<properties>
1515
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1616
<java.version>1.8</java.version>
17-
<kotlin.version>1.3.10</kotlin.version>
17+
<kotlin.version>1.3.31</kotlin.version>
1818
<kotlin-coroutines.version>1.2.1</kotlin-coroutines.version>
19-
<jackson.version>2.9.8</jackson.version>
19+
<jackson.version>2.9.9</jackson.version>
2020

2121
<maven.compiler.source>${java.version}</maven.compiler.source>
2222
<maven.compiler.target>${java.version}</maven.compiler.target>
@@ -119,6 +119,12 @@
119119
<version>1.0-groovy-2.4</version>
120120
<scope>test</scope>
121121
</dependency>
122+
<dependency>
123+
<groupId>junit</groupId>
124+
<artifactId>junit</artifactId>
125+
<version>4.12</version>
126+
<scope>test</scope>
127+
</dependency>
122128
<dependency>
123129
<groupId>cglib</groupId>
124130
<artifactId>cglib-nodep</artifactId>
@@ -136,12 +142,17 @@
136142
<artifactId>reactive-streams-tck</artifactId>
137143
<version>1.0.2</version>
138144
<scope>test</scope>
145+
<exclusions>
146+
<exclusion>
147+
<groupId>org.testng</groupId>
148+
<artifactId>testng</artifactId>
149+
</exclusion>
150+
</exclusions>
139151
</dependency>
140152
</dependencies>
141153

142154
<build>
143155
<sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
144-
<testSourceDirectory>${project.basedir}/src/test/groovy</testSourceDirectory>
145156
<plugins>
146157
<plugin>
147158
<groupId>org.codehaus.mojo</groupId>
@@ -162,6 +173,8 @@
162173
</execution>
163174
</executions>
164175
</plugin>
176+
177+
<!-- Compile Kotlin -->
165178
<plugin>
166179
<artifactId>kotlin-maven-plugin</artifactId>
167180
<groupId>org.jetbrains.kotlin</groupId>
@@ -183,26 +196,47 @@
183196
</execution>
184197
</executions>
185198
</plugin>
199+
200+
201+
<!-- Compile Groovy tests -->
186202
<plugin>
187203
<groupId>org.codehaus.gmavenplus</groupId>
188204
<artifactId>gmavenplus-plugin</artifactId>
189-
<version>1.4</version>
205+
<version>1.5</version>
190206
<executions>
191207
<execution>
192208
<goals>
209+
<goal>addTestSources</goal>
193210
<goal>testCompile</goal>
194211
</goals>
195212
</execution>
196213
</executions>
197214
</plugin>
215+
216+
<plugin>
217+
<groupId>org.apache.maven.plugins</groupId>
218+
<artifactId>maven-compiler-plugin</artifactId>
219+
<version>3.3</version>
220+
<configuration>
221+
<source>1.8</source>
222+
<target>1.8</target>
223+
</configuration>
224+
</plugin>
225+
198226
<plugin>
199227
<artifactId>maven-surefire-plugin</artifactId>
200-
<version>2.6</version>
228+
<version>2.22.2</version>
201229
<configuration>
202-
<useFile>false</useFile>
203230
<includes>
204-
<include>**/*Spec.java</include>
231+
<include>**/*Spec.*</include>
232+
<include>**/*Test.*</include>
205233
</includes>
234+
<properties>
235+
<property>
236+
<name>junit</name>
237+
<value>true</value>
238+
</property>
239+
</properties>
206240
</configuration>
207241
</plugin>
208242
<plugin>
@@ -252,7 +286,7 @@
252286
<plugin>
253287
<groupId>org.apache.maven.plugins</groupId>
254288
<artifactId>maven-javadoc-plugin</artifactId>
255-
<version>3.0.1</version>
289+
<version>3.1.0</version>
256290
<executions>
257291
<execution>
258292
<id>attach-javadocs</id>

0 commit comments

Comments
 (0)