[ http://jira.codehaus.org/browse/MCLOVER-77?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_107708 ]
Tom Davies commented on MCLOVER-77: ----------------------------------- I haven't been able to reproduce this -- can you provide a simple pair of projects which fail? > Artifact has 2 candidates, please provide a classifier > ------------------------------------------------------ > > Key: MCLOVER-77 > URL: http://jira.codehaus.org/browse/MCLOVER-77 > Project: Maven 2.x Clover Plugin > Issue Type: Bug > Affects Versions: 2.4 > Reporter: maya nayak > > INFO - > INFO - [INFO] [clover:instrumentInternal] > INFO - [WARNING] No Clover instrumentation done as no matching sources files > found > INFO - [INFO] [ear:generate-application-xml] > INFO - [INFO] > ------------------------------------------------------------------------ > INFO - [ERROR] BUILD FAILURE > INFO - [INFO] > ------------------------------------------------------------------------ > INFO - [INFO] Artifact[jar:com.tsysprepaid.psa:psa-common] has 2 candidates, > please provide a classifier. > INFO - [INFO] > ------------------------------------------------------------------------ > psa-common is a separate project and i ran clover:instrument successfully on > that. it created psa-common-<version num>-clover.jar in the local > repository and after that my other project which lists psa-common as a > dependency started to fail on clover:instrument with the above error. > It appears that since psa-common now has psa-common-<version num>.jar and > psa-common-<version num>-clover.jar in the repository, clover > is unable to resolve it and fails it with message artificat has 2 candidates, > please provide a classifier. > How do I provide a classifier? > Is there any way to prevent clover from installing clover artifacts into m2 > repository? -- 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