|
41 | 41 |
|
42 | 42 | <properties> |
43 | 43 | <jsr.version>0.7</jsr.version> |
44 | | - <jdkVersion>1.7</jdkVersion> |
| 44 | + <java.source.version>1.7</java.source.version> |
| 45 | + <java.target.version>1.7</java.target.version> |
45 | 46 | <maven.compile.targetLevel>${jdkVersion}</maven.compile.targetLevel> |
46 | 47 | <maven.compile.sourceLevel>${jdkVersion}</maven.compile.sourceLevel> |
47 | 48 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
|
55 | 56 | <license.licenseResolver>src/license</license.licenseResolver> |
56 | 57 |
|
57 | 58 | <jboss.test.audit.version>1.1.1-SNAPSHOT</jboss.test.audit.version> |
58 | | - <!-- This properties must be set for another implementation to be tested. --> |
| 59 | + <!-- or 1.1.0.Final. --> |
59 | 60 | <impl.groupId>org.javamoney</impl.groupId> |
60 | 61 | <impl.artifactId>moneta</impl.artifactId> |
61 | 62 | <impl.version>0.8-SNAPSHOT</impl.version> |
|
343 | 344 |
|
344 | 345 | <dependencyManagement> |
345 | 346 | <dependencies> |
| 347 | + <dependency> |
| 348 | + <groupId>org.testng</groupId> |
| 349 | + <artifactId>testng</artifactId> |
| 350 | + <version>6.8.5</version> |
| 351 | + </dependency> |
346 | 352 | <dependency> |
347 | 353 | <groupId>junit</groupId> |
348 | 354 | <artifactId>junit</artifactId> |
|
384 | 390 | <artifactId>junit</artifactId> |
385 | 391 | <scope>compile</scope> |
386 | 392 | </dependency> |
| 393 | + <dependency> |
| 394 | + <groupId>org.testng</groupId> |
| 395 | + <artifactId>testng</artifactId> |
| 396 | + </dependency> |
387 | 397 | <dependency> |
388 | 398 | <groupId>${impl.groupId}</groupId> |
389 | 399 | <artifactId>${impl.artifactId}</artifactId> |
|
435 | 445 | </configuration> |
436 | 446 | </plugin> |
437 | 447 |
|
438 | | - <!--This plugin's configuration is used to store Eclipse m2e settings |
439 | | - only. It has no influence on the Maven build itself. |
440 | | - <plugin> |
441 | | - <groupId>org.eclipse.m2e</groupId> |
442 | | - <artifactId>lifecycle-mapping</artifactId> |
443 | | - <version>1.0.0</version> |
444 | | - <configuration> |
445 | | - <lifecycleMappingMetadata> |
446 | | - <pluginExecutions> |
447 | | - <pluginExecution> |
448 | | - <pluginExecutionFilter> |
449 | | - <groupId>org.bsc.maven</groupId> |
450 | | - <artifactId>maven-processor-plugin</artifactId> |
451 | | - <version>2.0.7</version> |
452 | | - <goals> |
453 | | - <goal>process-test</goal> |
454 | | - </goals> |
455 | | - </pluginExecutionFilter> |
456 | | - <action> |
457 | | - <ignore></ignore> |
458 | | - </action> |
459 | | - </pluginExecution> |
460 | | - </pluginExecutions> |
461 | | - </lifecycleMappingMetadata> |
462 | | - </configuration> |
463 | | - </plugin> |
464 | | - --> |
465 | | - <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.--> |
466 | 448 | <plugin> |
467 | | - <groupId>org.eclipse.m2e</groupId> |
468 | | - <artifactId>lifecycle-mapping</artifactId> |
469 | | - <version>1.0.0</version> |
470 | | - <configuration> |
471 | | - <lifecycleMappingMetadata> |
472 | | - <pluginExecutions> |
473 | | - <pluginExecution> |
474 | | - <pluginExecutionFilter> |
475 | | - <groupId>org.bsc.maven</groupId> |
476 | | - <artifactId> |
477 | | - maven-processor-plugin |
478 | | - </artifactId> |
479 | | - <versionRange> |
480 | | - 2-0-7 <!-- [2.0.4,) --> |
481 | | - </versionRange> |
482 | | - <goals> |
483 | | - <goal>process-test</goal> |
484 | | - </goals> |
485 | | - </pluginExecutionFilter> |
486 | | - <action> |
487 | | - <ignore></ignore> |
488 | | - </action> |
489 | | - </pluginExecution> |
490 | | - </pluginExecutions> |
491 | | - </lifecycleMappingMetadata> |
492 | | - </configuration> |
493 | | - </plugin> |
| 449 | + <groupId>org.bsc.maven</groupId> |
| 450 | + <artifactId>maven-processor-plugin</artifactId> |
| 451 | + <version>2.0.4</version> |
| 452 | + <configuration> |
| 453 | + <defaultOutputDirectory>${basedir}/target/coverage-report</defaultOutputDirectory> |
| 454 | + <processors> |
| 455 | + <processor>org.jboss.test.audit.report.CoverageProcessor</processor> |
| 456 | + </processors> |
| 457 | + <!-- -AauditXml=${basedir}/src/test/resources/audit.xml --> |
| 458 | + <compilerArguments> |
| 459 | + -AoutputDir=${basedir}/target/coverage-report -source ${java.source.version} |
| 460 | + -target ${java.target.version} |
| 461 | + </compilerArguments> |
| 462 | + </configuration> |
| 463 | + <executions> |
| 464 | + <execution> |
| 465 | + <id>process</id> |
| 466 | + <phase>generate-sources</phase> |
| 467 | + <goals> |
| 468 | + <goal>process-test</goal> |
| 469 | + </goals> |
| 470 | + </execution> |
| 471 | + </executions> |
| 472 | + </plugin> |
494 | 473 | </plugins> |
495 | 474 | </pluginManagement> |
496 | 475 |
|
497 | 476 | <plugins> |
498 | | - <plugin> |
499 | | - <groupId>org.bsc.maven</groupId> |
500 | | - <artifactId>maven-processor-plugin</artifactId> |
501 | | - <configuration> |
502 | | - <defaultOutputDirectory>${basedir}/target/tck-report</defaultOutputDirectory> |
503 | | - <processors> |
504 | | - <processor>org.jboss.test.audit.report.CoverageProcessor</processor> |
505 | | - </processors> |
506 | | - <compilerArguments> |
507 | | - -AauditXml=test-audit.xml -AoutputDir=${basedir}/target/tck-report -source ${maven.compile.sourceLevel} -target ${maven.compile.targetLevel} |
508 | | - </compilerArguments> |
509 | | - </configuration> |
510 | | - <executions> |
511 | | - <execution> |
512 | | - <id>process</id> |
513 | | - <phase>generate-sources</phase> |
514 | | - <goals> |
515 | | - <goal>process-test</goal> |
516 | | - </goals> |
517 | | - </execution> |
518 | | - </executions> |
519 | | - </plugin> |
520 | | - <plugin> |
521 | | - <groupId>org.codehaus.mojo</groupId> |
522 | | - <artifactId>versions-maven-plugin</artifactId> |
523 | | - </plugin> |
524 | | - <plugin> |
525 | | - <groupId>org.apache.maven.plugins</groupId> |
526 | | - <artifactId>maven-release-plugin</artifactId> |
527 | | - </plugin> |
528 | 477 | <!-- ======================================================= --> |
529 | 478 | <!-- Packaging (OSGi bundle) --> |
530 | 479 | <!-- ======================================================= --> |
|
554 | 503 | <name>JBoss Maven 2 Brew Repository</name> |
555 | 504 | <url>https://repository.jboss.org/nexus/content/repositories/snapshots/</url> |
556 | 505 | </repository> |
557 | | - |
558 | 506 | </repositories> |
559 | 507 |
|
560 | 508 | </project> |
0 commit comments