enable apache-rat plugin by default.

Time consumption is about a second over the whole build.
So it's really neglible.


Project: http://git-wip-us.apache.org/repos/asf/deltaspike/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltaspike/commit/07f154fe
Tree: http://git-wip-us.apache.org/repos/asf/deltaspike/tree/07f154fe
Diff: http://git-wip-us.apache.org/repos/asf/deltaspike/diff/07f154fe

Branch: refs/heads/master
Commit: 07f154fe30c66458bc39b8ad1a63fc6d2793ef18
Parents: 515d12d
Author: Mark Struberg <strub...@apache.org>
Authored: Mon Sep 10 07:54:17 2018 +0200
Committer: Mark Struberg <strub...@apache.org>
Committed: Mon Sep 10 07:54:17 2018 +0200

----------------------------------------------------------------------
 deltaspike/pom.xml | 35 +++++++++++++++--------------------
 1 file changed, 15 insertions(+), 20 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltaspike/blob/07f154fe/deltaspike/pom.xml
----------------------------------------------------------------------
diff --git a/deltaspike/pom.xml b/deltaspike/pom.xml
index e3ddf55..6ca4472 100644
--- a/deltaspike/pom.xml
+++ b/deltaspike/pom.xml
@@ -172,30 +172,25 @@
                 </plugin>
             </plugins>
         </pluginManagement>
+
+        <plugins>
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <phase>validate</phase>
+                        <goals>
+                            <goal>check</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
     </build>
 
     <profiles>
         <profile>
-            <id>rat</id>
-            <build>
-                <plugins>
-                    <plugin>
-                        <groupId>org.apache.rat</groupId>
-                        <artifactId>apache-rat-plugin</artifactId>
-                        <executions>
-                            <execution>
-                                <phase>validate</phase>
-                                <goals>
-                                    <goal>check</goal>
-                                </goals>
-                            </execution>
-                        </executions>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-
-        <profile>
             <!-- It disables javadoc doclint for JDK > 8 -->
             <id>javadoc-xdoclint-disable-jdk8+</id>
             <activation>

Reply via email to