Better way to skip checks with generated projects
Project: http://git-wip-us.apache.org/repos/asf/syncope/repo Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/0fa1422c Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/0fa1422c Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/0fa1422c Branch: refs/heads/SYNCOPE-156 Commit: 0fa1422c6674979f4a9b61e2b103709af809970c Parents: f29fd4e Author: Francesco Chicchiriccò <[email protected]> Authored: Mon Sep 7 08:53:09 2015 +0200 Committer: Francesco Chicchiriccò <[email protected]> Committed: Mon Sep 7 08:53:09 2015 +0200 ---------------------------------------------------------------------- archetype/src/main/resources/meta-pom.xml | 37 +++----------------------- 1 file changed, 4 insertions(+), 33 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/syncope/blob/0fa1422c/archetype/src/main/resources/meta-pom.xml ---------------------------------------------------------------------- diff --git a/archetype/src/main/resources/meta-pom.xml b/archetype/src/main/resources/meta-pom.xml index 4145d2a..e7a6487 100644 --- a/archetype/src/main/resources/meta-pom.xml +++ b/archetype/src/main/resources/meta-pom.xml @@ -33,6 +33,9 @@ under the License. <syncope.version></syncope.version> <secretKey>${secretKey}</secretKey> <anonymousKey>${anonymousKey}</anonymousKey> + + <rat.skip>true</rat.skip> + <checkstyle.skip>true</checkstyle.skip> </properties> <name>Apache Syncope sample project</name> @@ -79,9 +82,7 @@ under the License. </dependencies> </dependencyManagement> - <build> - - <!-- Disable checks for generated projects --> + <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> @@ -96,36 +97,6 @@ under the License. </execution> </executions> </plugin> - <plugin> - <groupId>org.apache.rat</groupId> - <artifactId>apache-rat-plugin</artifactId> - <inherited>true</inherited> - <executions> - <execution> - <goals> - <goal>check</goal> - </goals> - <phase>none</phase> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-checkstyle-plugin</artifactId> - <inherited>true</inherited> - <configuration> - <configLocation>sun_checks.xml</configLocation> - <targetJdk>${targetJdk}</targetJdk> - </configuration> - <executions> - <execution> - <goals> - <goal>check</goal> - </goals> - <phase>none</phase> - </execution> - </executions> - </plugin> </plugins> </build>
