You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by dk...@apache.org on 2019/06/04 12:18:30 UTC
[sling-org-apache-sling-app-cms] branch master updated: Adding
subfolders of **/target to the exclusion list to fix Rat false warnings
This is an automated email from the ASF dual-hosted git repository.
dklco pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-app-cms.git
The following commit(s) were added to refs/heads/master by this push:
new 2b57a43 Adding subfolders of **/target to the exclusion list to fix Rat false warnings
2b57a43 is described below
commit 2b57a43a1b2219182be634d8c6d75053f16d1962
Author: Dan Klco <dk...@apache.org>
AuthorDate: Tue Jun 4 08:18:14 2019 -0400
Adding subfolders of **/target to the exclusion list to fix Rat false
warnings
---
pom.xml | 59 ++++++++++++++++++++++++++++++-----------------------------
1 file changed, 30 insertions(+), 29 deletions(-)
diff --git a/pom.xml b/pom.xml
index 1ed5ebd..4f2bab5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,9 @@
in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to
in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See
the License for the specific language governing permissions and limitations under the License. -->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
+>
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.sling</groupId>
@@ -287,36 +289,35 @@
</dependencyManagement>
<build>
-
-
+ <plugins>
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <configuration>
+ <excludes>
+ <!-- Used by maven-remote-resources-plugin -->
+ <exclude>src/main/appended-resources/META-INF/*</exclude>
+ <!-- Generated by maven-remote-resources-plugin -->
+ <exclude>velocity.log</exclude>
+ <!-- don't check anything in target -->
+ <exclude>target/*</exclude>
+ <!-- Fixing issues with deleted modules -->
+ <exclude>**/target/*</exclude>
+ <exclude>**/target/**/*</exclude>
+ </excludes>
+ </configuration>
+ <executions>
+ <execution>
+ <phase>verify</phase>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
-<plugins>
-<plugin>
-<groupId>org.apache.rat</groupId>
-<artifactId>apache-rat-plugin</artifactId>
-<configuration>
-<excludes>
- <!-- Used by maven-remote-resources-plugin -->
-<exclude>src/main/appended-resources/META-INF/*</exclude>
- <!-- Generated by maven-remote-resources-plugin -->
-<exclude>velocity.log</exclude>
- <!-- don't check anything in target -->
-<exclude>target/*</exclude>
- <exclude>**/target/*</exclude>
-</excludes>
-</configuration>
-<executions>
-<execution>
-<phase>verify</phase>
-<goals>
-<goal>check</goal>
-</goals>
-</execution>
-</executions>
-</plugin>
-</plugins>
-
<pluginManagement>
<plugins>
<plugin>