Issue Type: Bug Bug
Affects Versions: 2.3
Assignee: Dennis Lundberg
Created: 04/Oct/12 8:36 AM
Description:

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.

Environment: Maven 2.2.1, Windows XP, Oracle Java 6
Fix Versions: 2.4
Project: Maven 2.x Clirr Plugin
Priority: Major Major
Reporter: JP Chemali
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
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