You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by kw...@apache.org on 2021/08/10 06:46:02 UTC
[sling-scriptingbundle-maven-plugin] 01/01: SLING-10718 update to
Parent 44
This is an automated email from the ASF dual-hosted git repository.
kwin pushed a commit to branch feature/update-parent
in repository https://gitbox.apache.org/repos/asf/sling-scriptingbundle-maven-plugin.git
commit 9aea6073b6802da5b901861e0eba4550aee9a723
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Tue Aug 10 08:45:47 2021 +0200
SLING-10718 update to Parent 44
clean and update plugins
change scope of bndlib dependency
---
pom.xml | 33 ++++++++-------------------------
src/test/resources/spotbugs-exclude.xml | 7 +++++++
2 files changed, 15 insertions(+), 25 deletions(-)
diff --git a/pom.xml b/pom.xml
index 732a97c..6bd3daa 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.sling</groupId>
<artifactId>sling</artifactId>
- <version>41</version>
+ <version>44</version>
<relativePath />
</parent>
<modelVersion>4.0.0</modelVersion>
@@ -49,6 +49,7 @@
<maven.version>3.6.0</maven.version>
<site.jira.version.id>12344664,12347157,12348422,12350010</site.jira.version.id>
<maven.site.path>${project.artifactId}-archives/${project.artifactId}-LATEST</maven.site.path>
+ <project.build.outputTimestamp>2020-01-22T15:10:38Z</project.build.outputTimestamp>
</properties>
<build>
@@ -77,18 +78,6 @@
</configuration>
</plugin>
<plugin>
- <groupId>org.codehaus.plexus</groupId>
- <artifactId>plexus-component-metadata</artifactId>
- <version>2.1.0</version>
- <executions>
- <execution>
- <goals>
- <goal>generate-metadata</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<configuration>
@@ -115,7 +104,7 @@
<plugin>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
- <version>3.1.12.2</version>
+ <version>4.3.0</version>
<configuration>
<effort>Max</effort>
<xmlOutput>true</xmlOutput>
@@ -170,7 +159,6 @@
</dependencies>
</dependencyManagement>
-
<dependencies>
<dependency>
<groupId>org.jetbrains</groupId>
@@ -178,8 +166,8 @@
</dependency>
<dependency>
- <groupId>org.apache.maven</groupId>
- <artifactId>maven-plugin-api</artifactId>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-plugin-api</artifactId>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
@@ -217,12 +205,13 @@
<version>2.22.0</version>
<scope>compile</scope>
</dependency>
-
+ <!-- due to dependency mediation (https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#transitive-dependencies)
+ for the bnd plugin the actual version is determined by either bnd-maven-plugin or maven-bundle-plugin -->
<dependency>
<groupId>biz.aQute.bnd</groupId>
<artifactId>biz.aQute.bndlib</artifactId>
<version>4.3.0</version>
- <scope>provided</scope>
+ <scope>compile</scope>
</dependency>
<dependency>
@@ -232,12 +221,6 @@
<scope>test</scope>
</dependency>
<dependency>
- <groupId>org.sonatype.plexus</groupId>
- <artifactId>plexus-build-api</artifactId>
- <version>0.0.7</version>
- <scope>test</scope>
- </dependency>
- <dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>3.6.28</version>
diff --git a/src/test/resources/spotbugs-exclude.xml b/src/test/resources/spotbugs-exclude.xml
index 6726b6a..98847d5 100644
--- a/src/test/resources/spotbugs-exclude.xml
+++ b/src/test/resources/spotbugs-exclude.xml
@@ -25,4 +25,11 @@
<!-- false positive - https://github.com/spotbugs/spotbugs/issues/259 -->
<Bug pattern="RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE"/>
</Match>
+ <!-- the following two rules are just too strict in the context of this Maven plugin -->
+ <Match>
+ <Bug pattern="EI_EXPOSE_REP"/>
+ </Match>
+ <Match>
+ <Bug pattern="EI_EXPOSE_REP2"/>
+ </Match>
</FindBugsFilter>