[ http://jira.codehaus.org/browse/MCLOVER-53?page=comments#action_76582 ] Evan Tritsch commented on MCLOVER-53: -------------------------------------
My maven-source-plugin is configured the same as above, except that I explicitly set it to run in the package phase. Also, I don't have a problem when I run "mvn install" because clover isn't set up to run with that goal (I have clover running in the pre-site phase). My problem is when I run the "mvn clean verify site" locally to check that everything is created correctly. That's when I get the log messages showing the clover jars overwriting the real jars. > 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