[BUILD] Add profile that skips all validations
This commit adds a profile that skips all validation ie. - nocommit / tabs checking - forbidden API checks - license headers It's not active by default but can easily be activated with `mvn -Pdev` or in the `~/.m2/settings.xml` for reference see: http://maven.apache.org/guides/introduction/introduction-to-profiles.html
This commit is contained in:
parent
4b0a89d4fb
commit
196b56d47a
26
pom.xml
26
pom.xml
|
@ -1378,6 +1378,32 @@
|
|||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
<!-- profile for development that doesn't check forbidden-apis, no-commit validation or license headers run with mvn -Pdev -->
|
||||
<profile>
|
||||
<id>dev</id>
|
||||
<properties>
|
||||
<validate.skip>true</validate.skip>
|
||||
</properties>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>de.thetaphi</groupId>
|
||||
<artifactId>forbiddenapis</artifactId>
|
||||
<version>1.5.1</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>check-forbidden-apis</id>
|
||||
<phase>none</phase>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>check-forbidden-test-apis</id>
|
||||
<phase>none</phase>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
<!-- license profile, to generate third party license file -->
|
||||
<profile>
|
||||
<id>license</id>
|
||||
|
|
Loading…
Reference in New Issue