Thanks Wayne. That was very helpful. I added a classifier with no value to force it to look for the maven generated jar file and not clover generated jar file because i dont want maven using clover jar file for its builds.
Maya Wayne Fay <[EMAIL PROTECTED]> wrote: I don't really use Clover, so hopefully someone else who uses Clover will reply with more specific info. Classifier is simply a child node of dependency: So you'd want to use clover in your particular case, to target the -clover.jar file. Wayne On 5/10/07, Maya Nayak wrote: > 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--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-.jar and > psa-common--clover.jar in the repository, clover > is unable to resolve it and fails it with message artificat has 2 > candidates, please provide a classifier. > > Has anyone come across this issue? How do I provide a classifier? > > Is there any way to prevent clover from installing clover artifacts into m2 > repository? > > Thanks. > > Maya > > > --------------------------------- > Need Mail bonding? > Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------- Ahhh...imagining that irresistible "new car" smell? Check outnew cars at Yahoo! Autos.