Uploaded image for project: 'Clover'
  1. Clover
  2. CLOV-184

Artifact[ejb:my.wonderful.artifact] has 2 candidates, please provide a classifier.

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: High High
    • won't fix
    • None
    • Maven plugin
    • None
    • Linux, jdk1.6, maven 2.0.8, maven-clover-plugin 3.6

      Running clover over our project with maven gives

      [INFO] Executed tasks
      [INFO] [ear:generate-application-xml]
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Artifact[ejb:my.wonderful.artifact] has 2 candidates, please provide a classifier.

      A little google'ing directs to http://jira.codehaus.org/browse/MCLOVER-77 which lets me assume that the atlassian plugin has similar problems. Can you verify that, please?

      It talks about a way to workaround that problem:

      "This can be fixed by specifying a classifier in the Modules section for the ear, but means that you must create two poms (or use complicated profiles), one with the classifier set to clover and one set to the empty string. This is a pain and hard to maintain."

      Can you tell detail of how to specify a classifier there?

      Thanks,
      Thomas

              npellow Nick
              924489c72524 Thomas Arand
              Affected customers:
              0 This affects my team
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: