Plugin does not support "maven-plugin" packaging/type
-----------------------------------------------------

                 Key: MCLIRR-39
                 URL: https://jira.codehaus.org/browse/MCLIRR-39
             Project: Maven 2.x Clirr Plugin
          Issue Type: Bug
    Affects Versions: 2.3
         Environment: Maven 2.2.1, Windows XP, Oracle Java 6
            Reporter: Grzegorz Slowikowski


AbstractClirrMojo (v.2.3) from line 327:
            for ( Iterator iter = previousArtifacts.iterator();  
iter.hasNext();  )
            {
                Artifact artifact = (Artifact) iter.next();
                // clirr expects jar files, so let's not pass other artifact 
files.
                if ("jar".equals(artifact.getType())) {
                    files.add( new File( localRepository.getBasedir(), 
localRepository.pathOf( artifact ) ) );
                }
            }
Maven plugins have "maven-plugin" type, not "jar", so Clirr cannot be used 
(even if you configure "comparisonArtifact").

Check file extension instead of artifact type, to solve this problem.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to