Instrumented Jar is not deployed durning mvn deploy. 
-----------------------------------------------------

                 Key: MCLOVER-61
                 URL: http://jira.codehaus.org/browse/MCLOVER-61
             Project: Maven 2.x Clover Plugin
          Issue Type: Bug
    Affects Versions: 2.4
         Environment: Linux 2.6.16. Java 1.5
            Reporter: Jonathon Blumenthal
            Priority: Minor
         Attachments: patch.txt

When doing mvn clean deploy $artifactId-$version-clover.jar in not uploaded to 
the Maven2 repository. Running mvn clean deploy with to source or JavaDoc 
plugins cause the source and JavaDoc jars to get uploaded. I would expect the 
same to happen with the Clover instrumented jar, but It doesn't. 

Attached is simple way of getting the Clover instrumented jar to deploy. It 
simply attaches the jar to the Maven project.

Pom Settings
...
<build>
<plugins>
  <plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-clover-plugin</artifactId>
    <version>2.4-SNAPSHOT</version>
    <configuration>
      <jdk>1.5</jdk>
      <targetPercentage>85%</targetPercentage>
      <licenseLocation>http://www/clover/clover.license</licenseLocation>
    </configuration>
    <executions>
      <execution>
        <phase>verify</phase>
        <goals>
          <goal>instrument</goal>
        </goals>
      </execution>
    </executions>
  </plugin>
...
</plugins>
...
<reporting>
  <plugins>
    <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-clover-plugin</artifactId>
      <version>2.4-local</version>
      <configuration>
        <jdk>1.5</jdk>
        <contextFilters>assert</contextFilters>
      </configuration>
    </plugin>
  ...
  </plugins>
</reporting>

-- 
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

        

Reply via email to