Upgrade version to 2.8.0
Signed-off-by: cherry530 <xuping33@huawei.com>
This commit is contained in:
parent
9a98d84a3d
commit
28bbef3b07
@ -1,37 +1,40 @@
|
|||||||
From acf04523b01489645eb441a9248c48838095aa70 Mon Sep 17 00:00:00 2001
|
From 3c564e5605ef403b77968770c1177f50331a5080 Mon Sep 17 00:00:00 2001
|
||||||
From: Dawid Weiss <dawid.weiss@carrotsearch.com>
|
From: cherry530 <xuping33@huawei.com>
|
||||||
Date: Tue, 7 Jul 2020 16:43:12 +0200
|
Date: Wed, 23 Aug 2023 14:43:15 +0800
|
||||||
Subject: [PATCH] GH-289: Bump asm to 8.0.1.
|
Subject: [PATCH] Bump ASM to 8.0.1
|
||||||
|
|
||||||
|
Signed-off-by: cherry530 <xuping33@huawei.com>
|
||||||
---
|
---
|
||||||
CHANGES.txt | 2 ++
|
|
||||||
.../src/main/java/com/carrotsearch/ant/tasks/junit4/JUnit4.java | 2 +-
|
.../src/main/java/com/carrotsearch/ant/tasks/junit4/JUnit4.java | 2 +-
|
||||||
pom.xml | 2 +-
|
pom.xml | 2 +-
|
||||||
3 files changed, 4 insertions(+), 2 deletions(-)
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
diff --git a/junit4-ant/src/main/java/com/carrotsearch/ant/tasks/junit4/JUnit4.java b/junit4-ant/src/main/java/com/carrotsearch/ant/tasks/junit4/JUnit4.java
|
diff --git a/junit4-ant/src/main/java/com/carrotsearch/ant/tasks/junit4/JUnit4.java b/junit4-ant/src/main/java/com/carrotsearch/ant/tasks/junit4/JUnit4.java
|
||||||
index be7c94e3..f4b3e833 100644
|
index 0cc947f..1053231 100644
|
||||||
--- a/junit4-ant/src/main/java/com/carrotsearch/ant/tasks/junit4/JUnit4.java
|
--- a/junit4-ant/src/main/java/com/carrotsearch/ant/tasks/junit4/JUnit4.java
|
||||||
+++ b/junit4-ant/src/main/java/com/carrotsearch/ant/tasks/junit4/JUnit4.java
|
+++ b/junit4-ant/src/main/java/com/carrotsearch/ant/tasks/junit4/JUnit4.java
|
||||||
@@ -1835,7 +1835,7 @@ private TestsCollection processTestResources() {
|
@@ -1847,7 +1847,7 @@ public class JUnit4 extends Task {
|
||||||
final TestClass testClass = new TestClass();
|
final TestClass testClass = new TestClass();
|
||||||
ClassReader reader = new ClassReader(is);
|
ClassReader reader = new ClassReader(is);
|
||||||
@SuppressWarnings("deprecation")
|
@SuppressWarnings("deprecation")
|
||||||
- ClassVisitor annotationVisitor = new ClassVisitor(Opcodes.ASM7_EXPERIMENTAL) {
|
- ClassVisitor annotationVisitor = new ClassVisitor(Opcodes.ASM9) {
|
||||||
+ ClassVisitor annotationVisitor = new ClassVisitor(Opcodes.ASM8) {
|
+ ClassVisitor annotationVisitor = new ClassVisitor(Opcodes.ASM8) {
|
||||||
@Override
|
@Override
|
||||||
public AnnotationVisitor visitAnnotation(String desc, boolean visible) {
|
public AnnotationVisitor visitAnnotation(String desc, boolean visible) {
|
||||||
String className = Type.getType(desc).getClassName();
|
String className = Type.getType(desc).getClassName();
|
||||||
diff --git a/pom.xml b/pom.xml
|
diff --git a/pom.xml b/pom.xml
|
||||||
index a1664789..1a921e72 100644
|
index e6f16ff..1349740 100644
|
||||||
--- a/pom.xml
|
--- a/pom.xml
|
||||||
+++ b/pom.xml
|
+++ b/pom.xml
|
||||||
@@ -134,7 +134,7 @@
|
@@ -134,7 +134,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.ow2.asm</groupId>
|
<groupId>org.ow2.asm</groupId>
|
||||||
<artifactId>asm</artifactId>
|
<artifactId>asm</artifactId>
|
||||||
- <version>6.2.1</version>
|
- <version>9.2</version>
|
||||||
+ <version>8.0.1</version>
|
+ <version>8.0.1</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
|
--
|
||||||
|
2.27.0
|
||||||
|
|
||||||
|
|||||||
80
change-sample-xml-safe-to-sample-xml.patch
Normal file
80
change-sample-xml-safe-to-sample-xml.patch
Normal file
@ -0,0 +1,80 @@
|
|||||||
|
From 49cd79e91c29bab3d2e8e16d76691aabded8fe82 Mon Sep 17 00:00:00 2001
|
||||||
|
From: cherry530 <xuping33@huawei.com>
|
||||||
|
Date: Wed, 23 Aug 2023 14:44:31 +0800
|
||||||
|
Subject: [PATCH] change sample-xml-safe to sample-xml
|
||||||
|
|
||||||
|
Signed-off-by: cherry530 <xuping33@huawei.com>
|
||||||
|
---
|
||||||
|
junit4-ant/pom.xml | 8 ++++----
|
||||||
|
junit4-maven-plugin-tests/src/it/01-basic-test/pom.xml | 6 +++---
|
||||||
|
pom.xml | 4 ++--
|
||||||
|
3 files changed, 9 insertions(+), 9 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/junit4-ant/pom.xml b/junit4-ant/pom.xml
|
||||||
|
index 0cd3d4b..462fd2f 100644
|
||||||
|
--- a/junit4-ant/pom.xml
|
||||||
|
+++ b/junit4-ant/pom.xml
|
||||||
|
@@ -54,8 +54,8 @@
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
- <groupId>com.carrotsearch.thirdparty</groupId>
|
||||||
|
- <artifactId>simple-xml-safe</artifactId>
|
||||||
|
+ <groupId>org.simpleframework</groupId>
|
||||||
|
+ <artifactId>simple-xml</artifactId>
|
||||||
|
<scope>provided</scope>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
@@ -222,8 +222,8 @@
|
||||||
|
<filter>!module-info.class</filter>
|
||||||
|
</inclusion>
|
||||||
|
<inclusion>
|
||||||
|
- <groupId>com.carrotsearch.thirdparty</groupId>
|
||||||
|
- <artifactId>simple-xml-safe</artifactId>
|
||||||
|
+ <groupId>org.simpleframework</groupId>
|
||||||
|
+ <artifactId>simple-xml</artifactId>
|
||||||
|
</inclusion>
|
||||||
|
<inclusion>
|
||||||
|
<groupId>com.carrotsearch.randomizedtesting</groupId>
|
||||||
|
diff --git a/junit4-maven-plugin-tests/src/it/01-basic-test/pom.xml b/junit4-maven-plugin-tests/src/it/01-basic-test/pom.xml
|
||||||
|
index 63b0090..7b36957 100644
|
||||||
|
--- a/junit4-maven-plugin-tests/src/it/01-basic-test/pom.xml
|
||||||
|
+++ b/junit4-maven-plugin-tests/src/it/01-basic-test/pom.xml
|
||||||
|
@@ -29,8 +29,8 @@
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
- <groupId>com.carrotsearch.thirdparty</groupId>
|
||||||
|
- <artifactId>simple-xml-safe</artifactId>
|
||||||
|
+ <groupId>org.simpleframework</groupId>
|
||||||
|
+ <artifactId>simple-xml</artifactId>
|
||||||
|
<version>2.7.1</version>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
@@ -71,7 +71,7 @@
|
||||||
|
<leaveTemporary>true</leaveTemporary>
|
||||||
|
<ifNoTests>warn</ifNoTests>
|
||||||
|
<classpathDependencyExcludes>
|
||||||
|
- <dependency>com.carrotsearch.thirdparty:simple-xml-safe</dependency>
|
||||||
|
+ <dependency>org.simpleframework:simple-xml</dependency>
|
||||||
|
</classpathDependencyExcludes>
|
||||||
|
|
||||||
|
<argLine>
|
||||||
|
diff --git a/pom.xml b/pom.xml
|
||||||
|
index 1349740..06c24c3 100644
|
||||||
|
--- a/pom.xml
|
||||||
|
+++ b/pom.xml
|
||||||
|
@@ -138,8 +138,8 @@
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
- <groupId>com.carrotsearch.thirdparty</groupId>
|
||||||
|
- <artifactId>simple-xml-safe</artifactId>
|
||||||
|
+ <groupId>org.simpleframework</groupId>
|
||||||
|
+ <artifactId>simple-xml</artifactId>
|
||||||
|
<version>2.7.1</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
--
|
||||||
|
2.27.0
|
||||||
|
|
||||||
BIN
randomizedtesting-2.8.0.tar.gz
Normal file
BIN
randomizedtesting-2.8.0.tar.gz
Normal file
Binary file not shown.
@ -1,12 +1,13 @@
|
|||||||
Name: randomizedtesting
|
Name: randomizedtesting
|
||||||
Version: 2.7.4
|
Version: 2.8.0
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: Java Testing Framework
|
Summary: Java Testing Framework
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: http://labs.carrotsearch.com/randomizedtesting.html
|
URL: http://labs.carrotsearch.com/randomizedtesting.html
|
||||||
Source0: https://github.com/carrotsearch/randomizedtesting/archive/release/%{version}.tar.gz
|
Source0: https://github.com/randomizedtesting/randomizedtesting/archive/release/%{version}/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
Patch0: Bump-asm-to-8.0.1.patch
|
Patch0: Bump-asm-to-8.0.1.patch
|
||||||
|
Patch1: change-sample-xml-safe-to-sample-xml.patch
|
||||||
|
|
||||||
BuildRequires: maven-local mvn(com.google.guava:guava) mvn(de.thetaphi:forbiddenapis)
|
BuildRequires: maven-local mvn(com.google.guava:guava) mvn(de.thetaphi:forbiddenapis)
|
||||||
BuildRequires: mvn(dom4j:dom4j) mvn(junit:junit) mvn(org.apache.ant:ant)
|
BuildRequires: mvn(dom4j:dom4j) mvn(junit:junit) mvn(org.apache.ant:ant)
|
||||||
@ -154,6 +155,9 @@ rm -r randomized-runner/src/test/java/com/carrotsearch/randomizedtesting/TestCla
|
|||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Aug 23 2023 xu_ping <707078654@qq.com> - 2.8.0-1
|
||||||
|
- Update to 2.8.0
|
||||||
|
|
||||||
* Tue May 31 2022 yaoxin <yaoxin30@h-partners.com> - 2.7.4-1
|
* Tue May 31 2022 yaoxin <yaoxin30@h-partners.com> - 2.7.4-1
|
||||||
- Update to 2.7.4
|
- Update to 2.7.4
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user