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.
            Asked
            
        
        
            Active
            
        
            Viewed 7,482 times
        
    18
            
            
        
        mjaggard
        
- 2,389
 - 1
 - 23
 - 45
 
- 
                    http://creadur.apache.org/rat/apache-rat-plugin/check-mojo.html#skip – Tunaki Oct 23 '15 at 11:30
 - 
                    You should fix the problems instead of skipping it... – khmarbaise Oct 23 '15 at 14:25
 - 
                    1@khmarbaise Please feel free but I don't have time. – mjaggard Oct 23 '15 at 14:31
 - 
                    Possible duplicate of [Skipping some license tests in Maven](https://stackoverflow.com/questions/30181154/skipping-some-license-tests-in-maven) – user7610 Nov 24 '17 at 15:39
 
2 Answers
43
            
            
        You can disable RAT by adding -Drat.skip=true to your maven command line.
        mjaggard
        
- 2,389
 - 1
 - 23
 - 45
 
- 
                    8Does this only apply to maven, or would it work on, say, my garage? – Johannes Ernst Nov 26 '19 at 00:55
 
2
            
            
        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>
        Frank.Chang
        
- 883
 - 1
 - 10
 - 10