Ben McGuire commented on Bug MOJO-1922

This occurs when any files paths have mixed slashes due to windows file paths. For example if I setup the plugin as follows

<plugin>
    <groupId>org.codehaus.mojo</groupId>
    <artifactId>codenarc-maven-plugin</artifactId>
    <version>0.18</version>
    <configuration>
        <excludes>${basedir}/scripts/*.*</excludes>
    </configuration>
    <executions>
        <execution>
            <phase>compile</phase>
            <goals>
                <goal>codenarc</goal>
            </goals>
        </execution>
    </executions>
</plugin>

The value in excludes will end up being something like "c:\\path\\to\\my
project/scripts/." when run on a Windows machine, this will work just fine on a Linux based OS.

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