My current workaround is to use Ant Java Task from Maven:

<plugin>
   <groupId>org.codehaus.mojo</groupId>
   <artifactId>truezip-maven-plugin</artifactId>
   <executions>
     <execution>
       <id>copy-out-files</id>
       <goals>
         <goal>copy</goal>
       </goals>
       <phase>process-sources</phase>
       <configuration>
         <files>
           <file>
             <source>${jscover-all.jar.path.in.zip}</source>
             <outputDirectory>${project.build.directory}</outputDirectory>
           </file>
         </files>
       </configuration>
     </execution>
    </executions>
</plugin>
<plugin>
	<artifactId>maven-antrun-plugin</artifactId>
	<executions>
		<execution>
			<id>instrument-for-coverage</id>
			<phase>process-sources</phase>
			<goals>
				<goal>run</goal>
			</goals>
			<configuration>
				<tasks>
					<java jar="${jscover-all.jar}" fork="true" failonerror="true" maxmemory="512m">
						<arg line="-fs ${basedir}/src/main/webapp ${src.webapp.to.war}"/>
						<classpath>
							<pathelement location="${jscover-all.jar}" />
						</classpath>
					</java>
				</tasks>
			</configuration>
		</execution>
	</executions>
</plugin>
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to