You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2023/09/20 21:49:32 UTC
[maven-jdeprscan-plugin] branch MJDEPRSCAN-7 updated (0a1ddde -> a8021e7)
This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a change to branch MJDEPRSCAN-7
in repository https://gitbox.apache.org/repos/asf/maven-jdeprscan-plugin.git
discard 0a1ddde [MJDEPRSCAN-7] Bump plexus-utils, commons-lang3 and Junit5 to latest versions
discard 6a6bd7d [MJDEPRSCAN-7] Bump plexus-utils, commons-lang3 to latest versions
add fc4ad36 [MJDEPRSCAN-8] Upgrade to Parent POM 40
new a8021e7 [MJDEPRSCAN-7] Bump plexus-utils, commons-lang3 and Junit5 to latest versions
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (0a1ddde)
\
N -- N -- N refs/heads/MJDEPRSCAN-7 (a8021e7)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
pom.xml | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
[maven-jdeprscan-plugin] 01/01: [MJDEPRSCAN-7] Bump plexus-utils, commons-lang3 and Junit5 to latest versions
Posted by sl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch MJDEPRSCAN-7
in repository https://gitbox.apache.org/repos/asf/maven-jdeprscan-plugin.git
commit a8021e7d67a1e36f1fa31f0d6243c83d5990041c
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Thu Feb 9 21:44:55 2023 +0100
[MJDEPRSCAN-7] Bump plexus-utils, commons-lang3 and Junit5 to latest versions
---
pom.xml | 12 ++++++------
.../plugins/jdeprscan/consumers/JDeprScanConsumerTest.java | 12 ++++++------
2 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/pom.xml b/pom.xml
index 84df962..530526f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -51,7 +51,7 @@ under the License.
</issueManagement>
<ciManagement>
<system>Jenkins</system>
- <url>https://ci-builds.apache.org/job/Maven/job/maven-box/job/maven-jdeprscan-plugin/</url>
+ <url>https://ci-maven.apache.org/job/Maven/job/maven-box/job/maven-jdeprscan-plugin/</url>
</ciManagement>
<distributionManagement>
<site>
@@ -94,19 +94,19 @@ under the License.
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-utils</artifactId>
- <version>3.1.0</version>
+ <version>4.0.0</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
- <version>3.5</version>
+ <version>3.13.0</version>
</dependency>
<!-- TEST -->
<dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.13.2</version>
+ <groupId>org.junit.jupiter</groupId>
+ <artifactId>junit-jupiter</artifactId>
+ <version>5.10.0</version>
<scope>test</scope>
</dependency>
</dependencies>
diff --git a/src/test/java/org/apache/maven/plugins/jdeprscan/consumers/JDeprScanConsumerTest.java b/src/test/java/org/apache/maven/plugins/jdeprscan/consumers/JDeprScanConsumerTest.java
index 3f4d563..2f0992a 100644
--- a/src/test/java/org/apache/maven/plugins/jdeprscan/consumers/JDeprScanConsumerTest.java
+++ b/src/test/java/org/apache/maven/plugins/jdeprscan/consumers/JDeprScanConsumerTest.java
@@ -21,21 +21,21 @@ package org.apache.maven.plugins.jdeprscan.consumers;
import java.util.Collections;
import java.util.Set;
-import org.junit.Before;
-import org.junit.Test;
+import org.junit.jupiter.api.BeforeEach;
+import org.junit.jupiter.api.Test;
-import static org.junit.Assert.assertEquals;
+import static org.junit.jupiter.api.Assertions.assertEquals;
public class JDeprScanConsumerTest {
private JDeprScanConsumer consumer;
- @Before
+ @BeforeEach
public void setUp() {
consumer = new JDeprScanConsumer();
}
@Test
- public void testDeprecatedClass() {
+ void testDeprecatedClass() {
consumer.consumeLine("class o/a/m/p/j/its/Deprecations uses deprecated class java/rmi/RMISecurityManager ");
assertEquals(consumer.getDeprecatedClasses().size(), 1);
@@ -46,7 +46,7 @@ public class JDeprScanConsumerTest {
}
@Test
- public void testDeprecatedMethod() {
+ void testDeprecatedMethod() {
consumer.consumeLine("class o/a/m/p/j/its/Deprecations uses deprecated method java/lang/Boolean::<init>(Z)V");
assertEquals(consumer.getDeprecatedClasses().size(), 0);