|
20 | 20 | <epics-pvdatabase.version>4.3.0-SNAPSHOT</epics-pvdatabase.version> |
21 | 21 | <jca.version>2.3.7-SNAPSHOT</jca.version> |
22 | 22 | <!-- Versions of examples bundled with Core --> |
23 | | - |
| 23 | + |
24 | 24 | <!-- Name of javadoc overview page --> |
25 | 25 | <mainpage.name>${project.name}</mainpage.name> |
26 | 26 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
|
110 | 110 | <role>developer</role> |
111 | 111 | </roles> |
112 | 112 | </developer> |
| 113 | + <developer> |
| 114 | + <name>Georg Weiss</name> |
| 115 | + <email>georgweiss@esss.se</email> |
| 116 | + <organization>European Spallation Source</organization> |
| 117 | + <roles> |
| 118 | + <role>developer</role> |
| 119 | + </roles> |
| 120 | + </developer> |
113 | 121 | </developers> |
114 | 122 |
|
115 | 123 | <distributionManagement> |
|
263 | 271 | <execution> |
264 | 272 | <id>bundle-manifest</id> |
265 | 273 | <phase>process-classes</phase> |
266 | | - <goals> |
| 274 | + <goals> |
267 | 275 | <goal>manifest</goal> |
268 | 276 | </goals> |
269 | 277 | </execution> |
|
274 | 282 | <artifactId>maven-jar-plugin</artifactId> |
275 | 283 | <version>3.0.2</version> |
276 | 284 | <configuration> |
277 | | - <archive> |
| 285 | + <archive> |
278 | 286 | <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> |
279 | | - </archive> |
| 287 | + </archive> |
280 | 288 | </configuration> |
281 | 289 | </plugin> |
282 | 290 |
|
|
308 | 316 | <plugin> |
309 | 317 | <groupId>org.apache.maven.plugins</groupId> |
310 | 318 | <artifactId>maven-javadoc-plugin</artifactId> |
311 | | - <version>3.0.0-M1</version> |
| 319 | + <version>3.0.1</version> |
312 | 320 | <configuration> |
313 | 321 | <overview>documentation/${mainpage.name}.html</overview> |
314 | 322 | </configuration> |
|
322 | 330 | </executions> |
323 | 331 | </plugin> |
324 | 332 |
|
325 | | - <plugin> |
326 | | - <artifactId>maven-deploy-plugin</artifactId> |
327 | | - <version>2.8.2</version> |
328 | | - <dependencies> |
329 | | - <dependency> |
330 | | - <groupId>org.apache.maven.wagon</groupId> |
331 | | - <artifactId>wagon-ssh</artifactId> |
332 | | - <version>2.8</version> |
333 | | - </dependency> |
334 | | - </dependencies> |
| 333 | + <plugin> |
| 334 | + <artifactId>maven-deploy-plugin</artifactId> |
| 335 | + <version>2.8.2</version> |
| 336 | + <dependencies> |
| 337 | + <dependency> |
| 338 | + <groupId>org.apache.maven.wagon</groupId> |
| 339 | + <artifactId>wagon-ssh</artifactId> |
| 340 | + <version>2.8</version> |
| 341 | + </dependency> |
| 342 | + </dependencies> |
335 | 343 | </plugin> |
336 | 344 |
|
337 | 345 | <plugin> |
|
351 | 359 |
|
352 | 360 | <profiles> |
353 | 361 |
|
354 | | - <profile> |
| 362 | + <profile> |
355 | 363 | <id>with-examples</id> |
356 | 364 | <activation> |
357 | 365 | <activeByDefault>true</activeByDefault> |
|
384 | 392 | </build> |
385 | 393 | </profile> |
386 | 394 |
|
| 395 | + <profile> |
| 396 | + <id>java-9+</id> |
| 397 | + <activation> |
| 398 | + <jdk>[9,)</jdk> |
| 399 | + </activation> |
| 400 | + <modules> |
| 401 | + <module>directoryService</module> |
| 402 | + <module>exampleJava</module> |
| 403 | + <module>bundleJava</module> |
| 404 | + </modules> |
| 405 | + <build> |
| 406 | + <plugins> |
| 407 | + <plugin> |
| 408 | + <groupId>org.apache.maven.plugins</groupId> |
| 409 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 410 | + <configuration> |
| 411 | + <overview>documentation/${mainpage.name}.html</overview> |
| 412 | + </configuration> |
| 413 | + <dependencies> |
| 414 | + <dependency> |
| 415 | + <groupId>org.apache.commons</groupId> |
| 416 | + <artifactId>commons-lang3</artifactId> |
| 417 | + <version>3.7</version> |
| 418 | + </dependency> |
| 419 | + </dependencies> |
| 420 | + <executions> |
| 421 | + <execution> |
| 422 | + <id>attach-javadocs</id> |
| 423 | + <goals> |
| 424 | + <goal>jar</goal> |
| 425 | + </goals> |
| 426 | + <configuration> |
| 427 | + <additionalOptions>-html5</additionalOptions> |
| 428 | + </configuration> |
| 429 | + </execution> |
| 430 | + </executions> |
| 431 | + </plugin> |
| 432 | + </plugins> |
| 433 | + </build> |
| 434 | + </profile> |
387 | 435 | </profiles> |
388 | 436 |
|
389 | 437 | </project> |
0 commit comments