Skip to content

Commit 7be444f

Browse files
committed
Updated pom.
Updated document model.
1 parent c079d54 commit 7be444f

File tree

3 files changed

+658
-637
lines changed

3 files changed

+658
-637
lines changed

pom.xml

Lines changed: 36 additions & 88 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@
4141

4242
<properties>
4343
<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>
4546
<maven.compile.targetLevel>${jdkVersion}</maven.compile.targetLevel>
4647
<maven.compile.sourceLevel>${jdkVersion}</maven.compile.sourceLevel>
4748
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -55,7 +56,7 @@
5556
<license.licenseResolver>src/license</license.licenseResolver>
5657

5758
<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. -->
5960
<impl.groupId>org.javamoney</impl.groupId>
6061
<impl.artifactId>moneta</impl.artifactId>
6162
<impl.version>0.8-SNAPSHOT</impl.version>
@@ -343,6 +344,11 @@
343344

344345
<dependencyManagement>
345346
<dependencies>
347+
<dependency>
348+
<groupId>org.testng</groupId>
349+
<artifactId>testng</artifactId>
350+
<version>6.8.5</version>
351+
</dependency>
346352
<dependency>
347353
<groupId>junit</groupId>
348354
<artifactId>junit</artifactId>
@@ -384,6 +390,10 @@
384390
<artifactId>junit</artifactId>
385391
<scope>compile</scope>
386392
</dependency>
393+
<dependency>
394+
<groupId>org.testng</groupId>
395+
<artifactId>testng</artifactId>
396+
</dependency>
387397
<dependency>
388398
<groupId>${impl.groupId}</groupId>
389399
<artifactId>${impl.artifactId}</artifactId>
@@ -435,96 +445,35 @@
435445
</configuration>
436446
</plugin>
437447

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.-->
466448
<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>
494473
</plugins>
495474
</pluginManagement>
496475

497476
<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>
528477
<!-- ======================================================= -->
529478
<!-- Packaging (OSGi bundle) -->
530479
<!-- ======================================================= -->
@@ -554,7 +503,6 @@
554503
<name>JBoss Maven 2 Brew Repository</name>
555504
<url>https://repository.jboss.org/nexus/content/repositories/snapshots/</url>
556505
</repository>
557-
558506
</repositories>
559507

560508
</project>

recommendations.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<specification xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xmlns="http://jboss.com/products/weld/tck/audit" xsi:schemaLocation="http://jboss.com/products/weld/tck/audit"
4+
name="JSR 354 Money and Currency" version="1.0.0" id="JSR 354"
5+
generateSectionIds="false">
6+
<section id="5" title="Recommendations" />
7+
<section id="5.1" title="Overview" />
8+
<section id="5.2" title="MonetaryArithmetic" />
9+
<section id="5.3" title="Numeric Precision" />
10+
</specification>

0 commit comments

Comments
 (0)