You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Mike Perham (JIRA)" <ji...@codehaus.org> on 2006/02/02 17:39:13 UTC

[jira] Created: (MEV-321) Cobertura plugin requires a new "psuedo-artifact"

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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MEV-321) Cobertura plugin requires a new "psuedo-artifact"

Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
    [ 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MEV-321) Cobertura plugin requires a new "psuedo-artifact"

Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MEV-321?page=all ]
     
Carlos Sanchez closed MEV-321:
------------------------------

    Resolution: Fixed

It's already there

> 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
>     Assignee: Carlos Sanchez

>
>
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MEV-321) Cobertura plugin requires a new "psuedo-artifact"

Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MEV-321?page=all ]
     
Carlos Sanchez closed MEV-321:
------------------------------

     Assign To: Carlos Sanchez
    Resolution: Fixed

Will be in the repo soon

> 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
>     Assignee: Carlos Sanchez

>
>
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MEV-321) Cobertura plugin requires a new "psuedo-artifact"

Posted by "Mike Perham (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MEV-321?page=comments#action_57780 ] 

Mike Perham commented on MEV-321:
---------------------------------

Carlos, genius!  That works perfectly and is a better solution.  I just verified that the plugin works as expected with your version of the POM.

> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Reopened: (MEV-321) Cobertura plugin requires a new "psuedo-artifact"

Posted by "Mike Perham (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MEV-321?page=all ]
     
Mike Perham reopened MEV-321:
-----------------------------


There is no cobertura-runtime artifact in http://www.ibiblio.org/maven2/cobertura/ still...

> 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
>     Assignee: Carlos Sanchez

>
>
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org