On our build the coverage runs fine, and generates the reports into $
{project.build.directory}/coverage running "clean install".
However, when "site" is run, with the coverage-report, $
{project.build.directory}/site/coverage/index.html is an empty file.
I'm running FM 4.0-RC2 with SDK 4.5.1.21328.I created a simple test POM which reproduces this: <?xml version="1.0"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http:// www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>test</groupId> <artifactId>coverage-test</artifactId> <version>0.0.1-SNAPSHOT</version> <packaging>swc</packaging> <name>Coverage report generation test</name> <properties> <flex.sdk.version>4.5.1.21328</flex.sdk.version> <flexmojos.version>4.0-RC2</flexmojos.version> </properties> <dependencies> <dependency> <groupId>com.adobe.flex.framework</groupId> <artifactId>flex-framework</artifactId> <version>${flex.sdk.version}</version> <type>pom</type> </dependency> <dependency> <groupId>com.adobe.flexunit</groupId> <artifactId>flexunit</artifactId> <version>4.1.0</version> <type>swc</type> <scope>test</scope> </dependency> <dependency> <groupId>hamcrest-as3</groupId> <artifactId>hamcrest-as3</artifactId> <version>1.1.3</version> <type>swc</type> <scope>test</scope> </dependency> </dependencies> <build> <sourceDirectory>src/main/flex</sourceDirectory> <testSourceDirectory>src/test/flex</testSourceDirectory> <resources> <resource> <directory>src/main/resources</directory> </resource> </resources> <plugins> <plugin> <groupId>org.sonatype.flexmojos</groupId> <artifactId>flexmojos-maven-plugin</artifactId> <version>${flexmojos.version}</version> <configuration> <coverage>true</coverage> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-site-plugin</artifactId> <version>3.0</version> <configuration> <reportPlugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-project-info-reports-plugin</artifactId> <version>2.4</version> </plugin> <plugin> <groupId>org.sonatype.flexmojos</groupId> <artifactId>flexmojos-maven-plugin</artifactId> <version>${flexmojos.version}</version> <reports> <report>coverage-report</report> </reports> </plugin> </reportPlugins> </configuration> </plugin> </plugins> <pluginManagement> <plugins> <plugin> <groupId>org.sonatype.flexmojos</groupId> <artifactId>flexmojos-maven-plugin</artifactId> <version>${flexmojos.version}</version> <extensions>true</extensions> <dependencies> <dependency> <groupId>com.adobe.flex</groupId> <artifactId>compiler</artifactId> <version>${flex.sdk.version}</version> <type>pom</type> </dependency> </dependencies> </plugin> </plugins> </pluginManagement> </build> </project> Any clues anyone?? This seems to be the same as this old issue which had no response: https://groups.google.com/group/flex-mojos/browse_thread/thread/88d40e771fe29e5d/5f8c319d9a6fd217 -- You received this message because you are subscribed to the Google Groups "Flex Mojos" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex-mojos http://flexmojos.sonatype.org/
