check conflict with a mavenProject and a folder - maven-plugin-jcc/jcc GitHub Wiki

1.First copy the plugin config below to your pom file

<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-enforcer-plugin</artifactId>
    <version>1.3</version>
    <dependencies>
        <dependency>
            <groupId>com.alibaba.maven.plugins</groupId>
            <artifactId>maven-jcc-plugin</artifactId>
            <version>1.0-SNAPSHOT</version>
        </dependency>
    </dependencies>
    <executions>
        <execution>
            <id>jcc</id>                        
            <configuration>
                <rules>                             
                    <compareIsIncludeRule  implementation="com.alibaba.maven.plugin.jcc.rule.CompareIsIncludeRule">                   

                              </compareIsIncludeRule>
                </rules>
            </configuration>
            <goals>
                <goal>enforce</goal>
            </goals>
        </execution>
    </executions>
</plugin>

2.Build and Install your project like below

mvn validate -Dpath=D:/jar

3.That's it.you will see the result on the console like below

jcc_folder.jpg

⚠️ **GitHub.com Fallback** ⚠️