Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I disable Apache RAT (Release Audit Tool) in Maven

Tags:

maven

archiva

I have checked out Apache Archiva Redback and the compile is failing when I do mvn install because Apache RAT is failing and I haven't changed anything yet.

like image 592
mjaggard Avatar asked Oct 23 '15 11:10

mjaggard


2 Answers

You can disable RAT by adding -Drat.skip=true to your maven command line.

like image 148
mjaggard Avatar answered Sep 28 '22 10:09

mjaggard


You can config it in your pom file.

<plugin>
    <groupId>org.apache.rat</groupId>
    <artifactId>apache-rat-plugin</artifactId>

    <configuration>
        <skip>true</skip>
    </configuration>
</plugin>
like image 33
Frank.Chang Avatar answered Sep 28 '22 11:09

Frank.Chang