|
14 | 14 | <properties> |
15 | 15 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
16 | 16 | <java.version>1.8</java.version> |
17 | | - <kotlin.version>1.3.10</kotlin.version> |
| 17 | + <kotlin.version>1.3.31</kotlin.version> |
18 | 18 | <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> |
20 | 20 |
|
21 | 21 | <maven.compiler.source>${java.version}</maven.compiler.source> |
22 | 22 | <maven.compiler.target>${java.version}</maven.compiler.target> |
|
119 | 119 | <version>1.0-groovy-2.4</version> |
120 | 120 | <scope>test</scope> |
121 | 121 | </dependency> |
| 122 | + <dependency> |
| 123 | + <groupId>junit</groupId> |
| 124 | + <artifactId>junit</artifactId> |
| 125 | + <version>4.12</version> |
| 126 | + <scope>test</scope> |
| 127 | + </dependency> |
122 | 128 | <dependency> |
123 | 129 | <groupId>cglib</groupId> |
124 | 130 | <artifactId>cglib-nodep</artifactId> |
|
136 | 142 | <artifactId>reactive-streams-tck</artifactId> |
137 | 143 | <version>1.0.2</version> |
138 | 144 | <scope>test</scope> |
| 145 | + <exclusions> |
| 146 | + <exclusion> |
| 147 | + <groupId>org.testng</groupId> |
| 148 | + <artifactId>testng</artifactId> |
| 149 | + </exclusion> |
| 150 | + </exclusions> |
139 | 151 | </dependency> |
140 | 152 | </dependencies> |
141 | 153 |
|
142 | 154 | <build> |
143 | 155 | <sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory> |
144 | | - <testSourceDirectory>${project.basedir}/src/test/groovy</testSourceDirectory> |
145 | 156 | <plugins> |
146 | 157 | <plugin> |
147 | 158 | <groupId>org.codehaus.mojo</groupId> |
|
162 | 173 | </execution> |
163 | 174 | </executions> |
164 | 175 | </plugin> |
| 176 | + |
| 177 | + <!-- Compile Kotlin --> |
165 | 178 | <plugin> |
166 | 179 | <artifactId>kotlin-maven-plugin</artifactId> |
167 | 180 | <groupId>org.jetbrains.kotlin</groupId> |
|
183 | 196 | </execution> |
184 | 197 | </executions> |
185 | 198 | </plugin> |
| 199 | + |
| 200 | + |
| 201 | + <!-- Compile Groovy tests --> |
186 | 202 | <plugin> |
187 | 203 | <groupId>org.codehaus.gmavenplus</groupId> |
188 | 204 | <artifactId>gmavenplus-plugin</artifactId> |
189 | | - <version>1.4</version> |
| 205 | + <version>1.5</version> |
190 | 206 | <executions> |
191 | 207 | <execution> |
192 | 208 | <goals> |
| 209 | + <goal>addTestSources</goal> |
193 | 210 | <goal>testCompile</goal> |
194 | 211 | </goals> |
195 | 212 | </execution> |
196 | 213 | </executions> |
197 | 214 | </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 | + |
198 | 226 | <plugin> |
199 | 227 | <artifactId>maven-surefire-plugin</artifactId> |
200 | | - <version>2.6</version> |
| 228 | + <version>2.22.2</version> |
201 | 229 | <configuration> |
202 | | - <useFile>false</useFile> |
203 | 230 | <includes> |
204 | | - <include>**/*Spec.java</include> |
| 231 | + <include>**/*Spec.*</include> |
| 232 | + <include>**/*Test.*</include> |
205 | 233 | </includes> |
| 234 | + <properties> |
| 235 | + <property> |
| 236 | + <name>junit</name> |
| 237 | + <value>true</value> |
| 238 | + </property> |
| 239 | + </properties> |
206 | 240 | </configuration> |
207 | 241 | </plugin> |
208 | 242 | <plugin> |
|
252 | 286 | <plugin> |
253 | 287 | <groupId>org.apache.maven.plugins</groupId> |
254 | 288 | <artifactId>maven-javadoc-plugin</artifactId> |
255 | | - <version>3.0.1</version> |
| 289 | + <version>3.1.0</version> |
256 | 290 | <executions> |
257 | 291 | <execution> |
258 | 292 | <id>attach-javadocs</id> |
|
0 commit comments