[ http://jira.codehaus.org/browse/MCLOVER-53?page=comments#action_76579 ]
Vincent Massol commented on MCLOVER-53:
---------------------------------------
Hi Evan,
Just so that I understand and so that I can reproduce the problem. You're
saying that you have project which has source jar enabled, i.e. with the
following configuration in your POM:
{code:xml}
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
{code}
And then when you call "mvn install" you get the 3 lines shown above where the
myProject-2.0-SNAPSHOT-clover-sources.jar files overwrites the
myProject-2.0-SNAPSHOT-sources.jar one.
Is that correct?
Thanks
-Vincent
> Clover plugin installs clover instrumented source in local repository
> ---------------------------------------------------------------------
>
> Key: MCLOVER-53
> URL: http://jira.codehaus.org/browse/MCLOVER-53
> Project: Maven 2.x Clover Plugin
> Issue Type: Bug
> Affects Versions: 2.2
> Environment: Windows XP Pro, Maven 2.0.4
> Reporter: Evan Tritsch
> Priority: Minor
>
> When I run "clean verify site" on a project that has the clover plugin
> enabled, the clover-sources jar gets installed to the local repository,
> overwriting the real sources jar. The last line of the log snippet below
> shows the problem.
> [INFO] [install:install]
> [INFO] Installing
> C:\Workspaces\Cleanroom\myProject\target\clover\myProject-2.0-SNAPSHOT-clover.jar
> to C:\Documents and
> Settings\user\.m2\repository\system\myProject\2.0-SNAPSHOT\myProject-2.0-SNAPSHOT-clover.jar
> [INFO] Installing
> C:\Workspaces\Cleanroom\myProject\target\myProject-2.0-SNAPSHOT-sources.jar
> to C:\Documents and
> Settings\user\.m2\repository\system\myProject\2.0-SNAPSHOT\myProject-2.0-SNAPSHOT-sources.jar
> [INFO] Installing
> C:\Workspaces\Cleanroom\myProject\target\clover\myProject-2.0-SNAPSHOT-clover-sources.jar
> to C:\Documents and
> Settings\user\.m2\repository\system\myProject\2.0-SNAPSHOT\myProject-2.0-SNAPSHOT-sources.jar
> It looks like the clover plugin is just using the wrong destination name for
> the sources.
--
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