[ http://jira.codehaus.org/browse/MEV-321?page=comments#action_57778 ]
Carlos Sanchez commented on MEV-321: ------------------------------------ Can you try something like this: <?xml version="1.0" encoding="UTF-8"?> <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/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>cobertura</groupId> <artifactId>cobertura-runtime</artifactId> <version>1.7</version> <packaging>pom</packaging> <description>Cobertura fake artifact to prevent unneeded dependencies at runtime</description> <dependencies> <dependency> <groupId>${project.groupId}</groupId> <artifactId>cobertura</artifactId> <version>${project.version}</version> <exclusions> <exclusion> <groupId>oro</groupId> <artifactId>oro</artifactId> </exclusion> <exclusion> <groupId>asm</groupId> <artifactId>asm</artifactId> </exclusion> <exclusion> <groupId>log4j</groupId> <artifactId>log4j</artifactId> </exclusion> <exclusion> <groupId>javancss</groupId> <artifactId>ccl</artifactId> </exclusion> <exclusion> <groupId>javancss</groupId> <artifactId>javancss</artifactId> </exclusion> </exclusions> </dependency> </dependencies> </project> > Cobertura plugin requires a new "psuedo-artifact" > ------------------------------------------------- > > Key: MEV-321 > URL: http://jira.codehaus.org/browse/MEV-321 > Project: Maven Evangelism > Type: Bug > Reporter: Mike Perham > > > The fix for MOJO-226 requires a copy of the cobertura artifact copied to > cobertura-runtime and the following POM added as cobertura-runtime-1.7.pom: > <project> > <modelVersion>4.0.0</modelVersion> > <groupId>cobertura</groupId> > <artifactId>cobertura-runtime</artifactId> > <version>1.7</version> > <description>A copy of cobertura without the listed dependencies. This > artifact is added to the project's test classpath for coverage > generation.</description> > </project> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]