|
60 | 60 | </scm>
|
61 | 61 |
|
62 | 62 | <build>
|
63 |
| - <defaultGoal>package</defaultGoal> |
| 63 | + <defaultGoal>package</defaultGoal> |
64 | 64 | <plugins>
|
65 | 65 | <plugin>
|
66 | 66 | <groupId>org.apache.maven.plugins</groupId>
|
|
99 | 99 | </executions>
|
100 | 100 | </plugin>
|
101 | 101 |
|
102 |
| - <plugin> |
| 102 | + <plugin> |
103 | 103 | <groupId>org.apache.maven.plugins</groupId>
|
104 | 104 | <artifactId>maven-gpg-plugin</artifactId>
|
105 | 105 | <version>1.6</version>
|
|
132 | 132 | <groupId>org.apache.maven.plugins</groupId>
|
133 | 133 | <artifactId>maven-javadoc-plugin</artifactId>
|
134 | 134 | <version>3.0.0</version>
|
| 135 | + <configuration> |
| 136 | + <source>8</source> |
| 137 | + </configuration> |
135 | 138 | <executions>
|
136 | 139 | <execution>
|
137 | 140 | <id>attach-javadocs</id>
|
|
145 | 148 | <plugin>
|
146 | 149 | <groupId>org.jacoco</groupId>
|
147 | 150 | <artifactId>jacoco-maven-plugin</artifactId>
|
148 |
| - <version>0.8.0</version> |
| 151 | + <version>0.8.3</version> |
149 | 152 | <executions>
|
150 | 153 | <execution>
|
151 | 154 | <id>default-prepare-agent</id>
|
|
188 | 191 | <plugin>
|
189 | 192 | <groupId>org.apache.maven.plugins</groupId>
|
190 | 193 | <artifactId>maven-surefire-plugin</artifactId>
|
191 |
| - <version>2.19.1</version> |
| 194 | + <version>2.22.0</version> |
192 | 195 | <configuration>
|
193 | 196 | <systemPropertyVariables>
|
194 | 197 | <jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile>
|
195 | 198 | </systemPropertyVariables>
|
196 | 199 | </configuration>
|
197 | 200 | </plugin>
|
| 201 | + |
| 202 | + <plugin> |
| 203 | + <groupId>org.apache.maven.plugins</groupId> |
| 204 | + <artifactId>maven-enforcer-plugin</artifactId> |
| 205 | + <version>3.0.0-M2</version> |
| 206 | + <configuration> |
| 207 | + <rules> |
| 208 | + <enforceBytecodeVersion> |
| 209 | + <maxJdkVersion>1.8</maxJdkVersion> |
| 210 | + <ignoreClasses> |
| 211 | + <ignoreClass>module-info</ignoreClass> |
| 212 | + </ignoreClasses> |
| 213 | + </enforceBytecodeVersion> |
| 214 | + </rules> |
| 215 | + </configuration> |
| 216 | + <executions> |
| 217 | + <execution> |
| 218 | + <id>enforce-bytecode-version</id> |
| 219 | + <goals> |
| 220 | + <goal>enforce</goal> |
| 221 | + </goals> |
| 222 | + </execution> |
| 223 | + </executions> |
| 224 | + <dependencies> |
| 225 | + <dependency> |
| 226 | + <groupId>org.codehaus.mojo</groupId> |
| 227 | + <artifactId>extra-enforcer-rules</artifactId> |
| 228 | + <version>1.2</version> |
| 229 | + </dependency> |
| 230 | + </dependencies> |
| 231 | + </plugin> |
| 232 | + |
198 | 233 | </plugins>
|
199 | 234 |
|
200 | 235 | <pluginManagement>
|
201 |
| - <plugins> |
| 236 | + <plugins> |
202 | 237 | <plugin>
|
203 | 238 | <groupId>se.bjurr.gitchangelog</groupId>
|
204 | 239 | <artifactId>git-changelog-maven-plugin</artifactId>
|
|
217 | 252 | </plugin>
|
218 | 253 | </plugins>
|
219 | 254 | </pluginManagement>
|
| 255 | + |
220 | 256 | </build>
|
221 | 257 |
|
222 | 258 | <dependencies>
|
223 | 259 |
|
| 260 | + <!-- javax.activation is present for Java 9+ compatibility --> |
| 261 | + <dependency> |
| 262 | + <groupId>com.sun.activation</groupId> |
| 263 | + <artifactId>javax.activation</artifactId> |
| 264 | + <version>1.2.0</version> |
| 265 | + </dependency> |
| 266 | + |
224 | 267 | <dependency>
|
225 | 268 | <groupId>com.fasterxml.jackson.jaxrs</groupId>
|
226 | 269 | <artifactId>jackson-jaxrs-json-provider</artifactId>
|
|
276 | 319 | <version>${systemRules.version}</version>
|
277 | 320 | <scope>test</scope>
|
278 | 321 | </dependency>
|
| 322 | + |
279 | 323 | </dependencies>
|
280 | 324 |
|
281 | 325 | </project>
|
0 commit comments