[ http://jira.codehaus.org/browse/MCLOVER-53?page=comments#action_77041 ] 
            
Evan Tritsch commented on MCLOVER-53:
-------------------------------------

I did not make any changes to the test project, and I was able to reproduce the 
problem.  I even deleted my entire local repository to make sure I had the 
latest and greatest of everything.  I checked after all the plugins got 
downloaded again, and I'm running the 2.3 version of the clover plugin.  Even 
with new copies of everything, I still got the following in the log.

 [INFO] Installing 
C:\Temp\usertest\target\clover\maven-clover-plugin-sample-usertest-1.0-SNAPSHOT-clover.jar
 to C:\Documents and 
Settings\ET012568\.m2\repository\org\apache\maven\plugins\maven-clover-plugin-sample-usertest\1.0-SNAPSHOT\maven-clover-plugin-sample-usertest-1.0-SNAPSHOT-clover.jar
 [INFO] Installing 
C:\Temp\usertest\target\maven-clover-plugin-sample-usertest-1.0-SNAPSHOT-sources.jar
 to C:\Documents and 
Settings\ET012568\.m2\repository\org\apache\maven\plugins\maven-clover-plugin-sample-usertest\1.0-SNAPSHOT\maven-clover-plugin-sample-usertest-1.0-SNAPSHOT-sources.jar
 [INFO] Installing 
C:\Temp\usertest\target\clover\maven-clover-plugin-sample-usertest-1.0-SNAPSHOT-clover-sources.jar
 to C:\Documents and 
Settings\ET012568\.m2\repository\org\apache\maven\plugins\maven-clover-plugin-sample-usertest\1.0-SNAPSHOT\maven-clover-plugin-sample-usertest-1.0-SNAPSHOT-sources.jar

The third line shows it overwriting the source jar.

> 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
>         Assigned To: Vincent Massol
>            Priority: Minor
>         Attachments: usertest.zip
>
>
> 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

        

Reply via email to