|
Running maven 3.0.4 via m2e (Maven Integration for Eclipse version
1.0.100.20110804-1717). Here is my pom.xml file: <properties> <maven-surefire-plugin.version>2.11</maven-surefire-plugin.version> <maven-surefire-report-plugin.version>2.11</maven-surefire-report-plugin.version> <jxr-maven-plugin.version>2.3</jxr-maven-plugin.version> </properties> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.8.2</version> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>${maven-surefire-plugin.version}</version> <executions> <execution> <id>test</id> <phase>test</phase> <configuration> <forkMode>once</forkMode> <redirectTestOutputToFile>true</redirectTestOutputToFile> <includes> <include>**/AllTests.java</include> </includes> </configuration> <goals> <goal>test</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-report-plugin</artifactId> <version>${maven-surefire-report-plugin.version}</version> <executions> <execution> <id>generate-test-report</id> <phase>test</phase> <goals> <goal>report</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-report-plugin</artifactId> <version>${maven-surefire-report-plugin.version}</version> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>jxr-maven-plugin</artifactId> <version>${jxr-maven-plugin.version}</version> </plugin> </plugins> </reporting> When I run 'mvn compile compiler:testCompile test', everything works (see attach'd log) but in the 'target/site' directory, the surefire-report.html does not render very nicely because of the missing files under 'target/site/css' and 'target/site/images' I've seen some discussion about this as part of issue SUREFIRE-616, but I'm not sure if there is a fix other than adding the 'site' goal to the mvn invocation. This generates about a ~dozen or so files/directories, so its a bit overkill. |
[INFO] Scanning for projects... [INFO] Resolving target platform for project MavenProject: org.eclipse.persistence:org.eclipse.persistence.oracleddlparser:1.0.0-SNAPSHOT @ C:\_eclipselink\oracleddlparser\oracleddlparser\pom.xml [WARNING] org.eclipse.persistence.oracleddlparser_1.0.0.qualifier has been replaced by another bundle with the same symbolic name org.eclipse.persistence.oracleddlparser_1.0.0.qualifier [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building EclipseLink Oracle DDL Parser 1.0.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- tycho-packaging-plugin:0.13.0:build-qualifier (default-build-qualifier) @ org.eclipse.persistence.oracleddlparser --- [INFO] [INFO] --- tycho-packaging-plugin:0.13.0:validate-id (default-validate-id) @ org.eclipse.persistence.oracleddlparser --- [INFO] [INFO] --- tycho-packaging-plugin:0.13.0:validate-version (default-validate-version) @ org.eclipse.persistence.oracleddlparser --- [INFO] [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ org.eclipse.persistence.oracleddlparser --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [INFO] --- tycho-compiler-plugin:0.13.0:compile (default-compile) @ org.eclipse.persistence.oracleddlparser --- [INFO] Using compile source roots from build.properties [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-cli) @ org.eclipse.persistence.oracleddlparser --- [INFO] Compiling 28 source files to C:\_eclipselink\oracleddlparser\oracleddlparser\target\test-classes [INFO] [INFO] --- tycho-packaging-plugin:0.13.0:build-qualifier (default-build-qualifier) @ org.eclipse.persistence.oracleddlparser --- [INFO] [INFO] --- tycho-packaging-plugin:0.13.0:validate-id (default-validate-id) @ org.eclipse.persistence.oracleddlparser --- [INFO] [INFO] --- tycho-packaging-plugin:0.13.0:validate-version (default-validate-version) @ org.eclipse.persistence.oracleddlparser --- [INFO] [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ org.eclipse.persistence.oracleddlparser --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [INFO] --- tycho-compiler-plugin:0.13.0:compile (default-compile) @ org.eclipse.persistence.oracleddlparser --- [INFO] Using compile source roots from build.properties [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ org.eclipse.persistence.oracleddlparser --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory C:\_eclipselink\oracleddlparser\oracleddlparser\src\test\resources [INFO] [INFO] --- maven-surefire-plugin:2.11:test (test) @ org.eclipse.persistence.oracleddlparser --- [INFO] Surefire report directory: C:\_eclipselink\oracleddlparser\oracleddlparser\target\surefire-reports
------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.eclipse.persistence.tools.oracleddl.test.AllTests Tests run: 75, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.859 sec Results : Tests run: 75, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] >>> maven-surefire-report-plugin:2.11:report (generate-test-report) @ org.eclipse.persistence.oracleddlparser >>> [INFO] [INFO] --- tycho-packaging-plugin:0.13.0:build-qualifier (default-build-qualifier) @ org.eclipse.persistence.oracleddlparser --- [INFO] [INFO] --- tycho-packaging-plugin:0.13.0:validate-id (default-validate-id) @ org.eclipse.persistence.oracleddlparser --- [INFO] [INFO] --- tycho-packaging-plugin:0.13.0:validate-version (default-validate-version) @ org.eclipse.persistence.oracleddlparser --- [INFO] [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ org.eclipse.persistence.oracleddlparser --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [INFO] --- tycho-compiler-plugin:0.13.0:compile (default-compile) @ org.eclipse.persistence.oracleddlparser --- [INFO] Using compile source roots from build.properties [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ org.eclipse.persistence.oracleddlparser --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory C:\_eclipselink\oracleddlparser\oracleddlparser\src\test\resources [INFO] [INFO] --- maven-surefire-plugin:2.11:test (test) @ org.eclipse.persistence.oracleddlparser --- [INFO] Skipping execution of surefire because it has already been run for this configuration [INFO] [INFO] <<< maven-surefire-report-plugin:2.11:report (generate-test-report) @ org.eclipse.persistence.oracleddlparser <<< [INFO] [INFO] --- maven-surefire-report-plugin:2.11:report (generate-test-report) @ org.eclipse.persistence.oracleddlparser --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 20.124s [INFO] Finished at: Mon Jan 30 13:38:02 EST 2012 [INFO] Final Memory: 14M/35M [INFO] ------------------------------------------------------------------------
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]


