|
13 | 13 |
|
14 | 14 | <groupId>javax.money</groupId>
|
15 | 15 | <artifactId>money-api</artifactId>
|
16 |
| - <packaging>jar</packaging> |
| 16 | + <packaging>multi-release-jar</packaging> |
17 | 17 |
|
18 | 18 | <version>1.0.3-SNAPSHOT</version>
|
19 | 19 | <name>JSR 354 (Money and Currency API)</name>
|
|
34 | 34 | <basedir>.</basedir>
|
35 | 35 | <!-- Dependency versions -->
|
36 | 36 | <testng.version>6.8.5</testng.version>
|
37 |
| - <mockito.version>1.10.19</mockito.version> |
| 37 | + <mockito.version>1.10.19</mockito.version> |
| 38 | + <maven.compiler.source>1.8</maven.compiler.source> |
| 39 | + <maven.compiler.target>1.8</maven.compiler.target> |
38 | 40 | </properties>
|
39 | 41 |
|
40 | 42 | <organization>
|
|
243 | 245 | <url>https://github.com/JavaMoney/jsr354-api</url>
|
244 | 246 | </scm>
|
245 | 247 |
|
246 |
| - <distributionManagement> |
247 |
| - <repository> |
248 |
| - <id>bintray-release</id> |
249 |
| - <name>oss-jfrog-artifactory-releases</name> |
250 |
| - <url>https://oss.jfrog.org/artifactory/oss-release-local</url> |
251 |
| - </repository> |
252 |
| - <snapshotRepository> |
253 |
| - <id>bintray-snapshot</id> |
254 |
| - <name>oss-jfrog-artifactory-snapshots</name> |
255 |
| - <url>https://oss.jfrog.org/artifactory/oss-snapshot-local</url> |
256 |
| - </snapshotRepository> |
257 |
| - </distributionManagement> |
| 248 | + <distributionManagement> |
| 249 | + <repository> |
| 250 | + <id>bintray-release</id> |
| 251 | + <name>oss-jfrog-artifactory-releases</name> |
| 252 | + <url>https://oss.jfrog.org/artifactory/oss-release-local</url> |
| 253 | + </repository> |
| 254 | + <snapshotRepository> |
| 255 | + <id>bintray-snapshot</id> |
| 256 | + <name>oss-jfrog-artifactory-snapshots</name> |
| 257 | + <url>https://oss.jfrog.org/artifactory/oss-snapshot-local</url> |
| 258 | + </snapshotRepository> |
| 259 | + </distributionManagement> |
258 | 260 |
|
259 | 261 | <repositories>
|
260 | 262 | <repository>
|
|
266 | 268 | <url>http://oss.jfrog.org/artifactory/libs-release</url>
|
267 | 269 | </repository>
|
268 | 270 | <repository>
|
269 |
| - <snapshots> |
270 |
| - <enabled>true</enabled> |
271 |
| - </snapshots> |
| 271 | + <snapshots> |
| 272 | + <enabled>true</enabled> |
| 273 | + </snapshots> |
272 | 274 | <id>bintray-snapshot</id>
|
273 | 275 | <name>libs-snapshot</name>
|
274 | 276 | <url>http://oss.jfrog.org/artifactory/libs-snapshot</url>
|
275 | 277 | </repository>
|
276 | 278 | </repositories>
|
277 | 279 |
|
278 | 280 | <profiles>
|
279 |
| - <profile> |
280 |
| - <id>travis</id> |
281 |
| - <activation> |
282 |
| - <property> |
283 |
| - <name>env.TRAVIS</name> |
284 |
| - <value>true</value> |
285 |
| - </property> |
286 |
| - </activation> |
287 |
| - <build> |
288 |
| - <plugins> |
289 |
| - <plugin> |
290 |
| - <groupId>org.jacoco</groupId> |
291 |
| - <artifactId>jacoco-maven-plugin</artifactId> |
292 |
| - </plugin> |
293 |
| - <plugin> |
294 |
| - <groupId>org.eluder.coveralls</groupId> |
295 |
| - <artifactId>coveralls-maven-plugin</artifactId> |
296 |
| - <version>2.2.0</version> |
297 |
| - </plugin> |
298 |
| - <plugin> |
299 |
| - <groupId>org.apache.maven.plugins</groupId> |
300 |
| - <artifactId>maven-javadoc-plugin</artifactId> |
301 |
| - <executions> |
302 |
| - <execution> |
303 |
| - <id>attach-javadocs</id> |
304 |
| - <goals> |
305 |
| - <goal>jar</goal> |
306 |
| - </goals> |
307 |
| - </execution> |
308 |
| - </executions> |
309 |
| - </plugin> |
310 |
| - <plugin> |
311 |
| - <groupId>org.apache.maven.plugins</groupId> |
312 |
| - <artifactId>maven-source-plugin</artifactId> |
313 |
| - <executions> |
314 |
| - <execution> |
315 |
| - <id>attach-sources</id> |
316 |
| - <goals> |
317 |
| - <goal>jar</goal> |
318 |
| - </goals> |
319 |
| - </execution> |
320 |
| - </executions> |
321 |
| - </plugin> |
322 |
| - <!--<plugin>--> |
323 |
| - <!--<groupId>org.jfrog.buildinfo</groupId>--> |
324 |
| - <!--<artifactId>artifactory-maven-plugin</artifactId>--> |
325 |
| - <!--<version>2.6.1</version>--> |
326 |
| - <!--<inherited>false</inherited>--> |
327 |
| - <!--<executions>--> |
328 |
| - <!--<execution>--> |
329 |
| - <!--<id>build-info</id>--> |
330 |
| - <!--<goals>--> |
331 |
| - <!--<goal>publish</goal>--> |
332 |
| - <!--</goals>--> |
333 |
| - <!--<configuration>--> |
334 |
| - <!--<deployProperties>--> |
335 |
| - <!--<gradle>awesome</gradle>--> |
336 |
| - <!--<review.team>qa</review.team>--> |
337 |
| - <!--</deployProperties>--> |
338 |
| - <!--<publisher>--> |
339 |
| - <!--<contextUrl>https://oss.jfrog.org</contextUrl>--> |
340 |
| - <!--<username>javamoney</username>--> |
341 |
| - <!--<password></password>--> |
342 |
| - <!--<repoKey>libs-release-local</repoKey>--> |
343 |
| - <!--<snapshotRepoKey>libs-snapshot-local</snapshotRepoKey>--> |
344 |
| - <!--</publisher>--> |
345 |
| - <!--</configuration>--> |
346 |
| - <!--</execution>--> |
347 |
| - <!--</executions>--> |
348 |
| - <!--</plugin>--> |
349 |
| - </plugins> |
350 |
| - </build> |
351 |
| - </profile> |
| 281 | + <profile> |
| 282 | + <id>travis</id> |
| 283 | + <activation> |
| 284 | + <property> |
| 285 | + <name>env.TRAVIS</name> |
| 286 | + <value>true</value> |
| 287 | + </property> |
| 288 | + </activation> |
| 289 | + <build> |
| 290 | + <plugins> |
| 291 | + <plugin> |
| 292 | + <groupId>org.jacoco</groupId> |
| 293 | + <artifactId>jacoco-maven-plugin</artifactId> |
| 294 | + </plugin> |
| 295 | + <plugin> |
| 296 | + <groupId>org.eluder.coveralls</groupId> |
| 297 | + <artifactId>coveralls-maven-plugin</artifactId> |
| 298 | + <version>2.2.0</version> |
| 299 | + </plugin> |
| 300 | + <plugin> |
| 301 | + <groupId>org.apache.maven.plugins</groupId> |
| 302 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 303 | + <executions> |
| 304 | + <execution> |
| 305 | + <id>attach-javadocs</id> |
| 306 | + <goals> |
| 307 | + <goal>jar</goal> |
| 308 | + </goals> |
| 309 | + </execution> |
| 310 | + </executions> |
| 311 | + </plugin> |
| 312 | + <plugin> |
| 313 | + <groupId>org.apache.maven.plugins</groupId> |
| 314 | + <artifactId>maven-source-plugin</artifactId> |
| 315 | + <executions> |
| 316 | + <execution> |
| 317 | + <id>attach-sources</id> |
| 318 | + <goals> |
| 319 | + <goal>jar</goal> |
| 320 | + </goals> |
| 321 | + </execution> |
| 322 | + </executions> |
| 323 | + </plugin> |
| 324 | + <!--<plugin> --> |
| 325 | + <!--<groupId>org.jfrog.buildinfo</groupId> --> |
| 326 | + <!--<artifactId>artifactory-maven-plugin</artifactId> --> |
| 327 | + <!--<version>2.6.1</version> --> |
| 328 | + <!--<inherited>false</inherited> --> |
| 329 | + <!--<executions> --> |
| 330 | + <!--<execution> --> |
| 331 | + <!--<id>build-info</id> --> |
| 332 | + <!--<goals> --> |
| 333 | + <!--<goal>publish</goal> --> |
| 334 | + <!--</goals> --> |
| 335 | + <!--<configuration> --> |
| 336 | + <!--<deployProperties> --> |
| 337 | + <!--<gradle>awesome</gradle> --> |
| 338 | + <!--<review.team>qa</review.team> --> |
| 339 | + <!--</deployProperties> --> |
| 340 | + <!--<publisher> --> |
| 341 | + <!--<contextUrl>https://oss.jfrog.org</contextUrl> --> |
| 342 | + <!--<username>javamoney</username> --> |
| 343 | + <!--<password></password> --> |
| 344 | + <!--<repoKey>libs-release-local</repoKey> --> |
| 345 | + <!--<snapshotRepoKey>libs-snapshot-local</snapshotRepoKey> --> |
| 346 | + <!--</publisher> --> |
| 347 | + <!--</configuration> --> |
| 348 | + <!--</execution> --> |
| 349 | + <!--</executions> --> |
| 350 | + <!--</plugin> --> |
| 351 | + </plugins> |
| 352 | + </build> |
| 353 | + </profile> |
352 | 354 | <profile>
|
353 | 355 | <id>release-sign-artifacts</id>
|
354 | 356 | <activation>
|
|
426 | 428 | <version>${testng.version}</version>
|
427 | 429 | <scope>test</scope>
|
428 | 430 | </dependency>
|
429 |
| - <dependency> |
430 |
| - <groupId>org.mockito</groupId> |
431 |
| - <artifactId>mockito-all</artifactId> |
432 |
| - <version>${mockito.version}</version> |
433 |
| - <scope>test</scope> |
434 |
| - </dependency> |
| 431 | + <dependency> |
| 432 | + <groupId>org.mockito</groupId> |
| 433 | + <artifactId>mockito-all</artifactId> |
| 434 | + <version>${mockito.version}</version> |
| 435 | + <scope>test</scope> |
| 436 | + </dependency> |
435 | 437 | </dependencies>
|
436 | 438 | </dependencyManagement>
|
437 | 439 |
|
|
441 | 443 | <artifactId>testng</artifactId>
|
442 | 444 | <scope>test</scope>
|
443 | 445 | </dependency>
|
444 |
| - <dependency> |
445 |
| - <groupId>org.mockito</groupId> |
446 |
| - <artifactId>mockito-all</artifactId> |
447 |
| - <scope>test</scope> |
448 |
| - </dependency> |
| 446 | + <dependency> |
| 447 | + <groupId>org.mockito</groupId> |
| 448 | + <artifactId>mockito-all</artifactId> |
| 449 | + <scope>test</scope> |
| 450 | + </dependency> |
449 | 451 | </dependencies>
|
450 | 452 |
|
451 | 453 | <build>
|
452 | 454 | <defaultGoal>install</defaultGoal>
|
453 | 455 |
|
454 | 456 | <extensions>
|
| 457 | + <extension> |
| 458 | + <groupId>pw.krejci</groupId> |
| 459 | + <artifactId>multi-release-jar-maven-plugin</artifactId> |
| 460 | + <version>0.1.5</version> |
| 461 | + </extension> |
455 | 462 | <extension>
|
456 | 463 | <groupId>org.apache.maven.wagon</groupId>
|
457 | 464 | <artifactId>wagon-ssh</artifactId>
|
|
653 | 660 | </goals>
|
654 | 661 | </pluginExecutionFilter>
|
655 | 662 | <action>
|
656 |
| - <ignore/> |
| 663 | + <ignore /> |
| 664 | + </action> |
| 665 | + </pluginExecution> |
| 666 | + <pluginExecution> |
| 667 | + <pluginExecutionFilter> |
| 668 | + <groupId>pw.krejci</groupId> |
| 669 | + <artifactId> |
| 670 | + multi-release-jar-maven-plugin |
| 671 | + </artifactId> |
| 672 | + <versionRange> |
| 673 | + [0.1.5,) |
| 674 | + </versionRange> |
| 675 | + <goals> |
| 676 | + <goal>compile</goal> |
| 677 | + </goals> |
| 678 | + </pluginExecutionFilter> |
| 679 | + <action> |
| 680 | + <ignore></ignore> |
657 | 681 | </action>
|
658 | 682 | </pluginExecution>
|
659 | 683 | </pluginExecutions>
|
|
696 | 720 | <groupId>org.codehaus.mojo</groupId>
|
697 | 721 | <artifactId>versions-maven-plugin</artifactId>
|
698 | 722 | </plugin>
|
699 |
| - <plugin> |
700 |
| - <groupId>org.apache.maven.plugins</groupId> |
701 |
| - <artifactId>maven-enforcer-plugin</artifactId> |
702 |
| - <version>1.3.1</version> |
703 |
| - <executions> |
704 |
| - <execution> |
705 |
| - <id>enforce-versions</id> |
706 |
| - <goals> |
707 |
| - <goal>enforce</goal> |
708 |
| - </goals> |
709 |
| - <configuration> |
710 |
| - <rules> |
711 |
| - <requireMavenVersion> |
712 |
| - <version>3.0.4</version> |
713 |
| - </requireMavenVersion> |
714 |
| - <requireJavaVersion> |
715 |
| - <version>1.7.0</version> |
716 |
| - </requireJavaVersion> |
717 |
| - <!-- <bannedDependencies> <excludes> <exclude>commons-logging:*</exclude> |
718 |
| - </excludes> </bannedDependencies> --> |
719 |
| - <requirePluginVersions> |
720 |
| - <banLatest>true</banLatest> |
721 |
| - <banRelease>true</banRelease> |
722 |
| - <banSnapshots>true</banSnapshots> |
723 |
| - <!-- <unCheckedPluginList>org.codehaus.mojo:sonar-maven-plugin</unCheckedPluginList> --> |
724 |
| - </requirePluginVersions> |
725 |
| - </rules> |
726 |
| - </configuration> |
727 |
| - </execution> |
728 |
| - </executions> |
729 |
| - </plugin> |
| 723 | + <!-- <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> |
| 724 | + <version>1.3.1</version> <executions> <execution> <id>enforce-versions</id> |
| 725 | + <goals> <goal>enforce</goal> </goals> <configuration> <rules> <requireMavenVersion> |
| 726 | + <version>3.0.4</version> </requireMavenVersion> <requireJavaVersion> <version>1.7.0</version> |
| 727 | + </requireJavaVersion> <requirePluginVersions> <banLatest>true</banLatest> |
| 728 | + <banRelease>true</banRelease> <banSnapshots>true</banSnapshots> </requirePluginVersions> |
| 729 | + </rules> </configuration> </execution> </executions> </plugin> --> |
730 | 730 | <!-- ======================================================= -->
|
731 | 731 | <!-- Packaging (OSGi bundle) -->
|
732 | 732 | <!-- ======================================================= -->
|
|
880 | 880 | <show>private</show>
|
881 | 881 | <additionalparam>
|
882 | 882 | -Xdoclint:none
|
883 |
| - -inferrel -inferdep -quiet -hide java.* |
| 883 | + -inferrel -inferdep -quiet -hide |
| 884 | + java.* |
884 | 885 | -collpackages java.util.*
|
885 |
| - -postfixpackage -nodefontname Tahoma |
| 886 | + -postfixpackage -nodefontname |
| 887 | + Tahoma |
886 | 888 | -nodefontsize 9
|
887 |
| - -nodefontpackagesize 7 -outputencoding UTF-8 |
| 889 | + -nodefontpackagesize 7 -outputencoding |
| 890 | + UTF-8 |
888 | 891 | </additionalparam>
|
889 | 892 | </configuration>
|
890 | 893 | </reportSet>
|
|
0 commit comments