This commit is contained in:
commit
607409f2e6
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
357
0001-Port-to-TestNG-7.4.0.patch
Normal file
357
0001-Port-to-TestNG-7.4.0.patch
Normal file
@ -0,0 +1,357 @@
|
||||
From 71bca819927dcd976ece1aab6cdb9ddd4aab8a09 Mon Sep 17 00:00:00 2001
|
||||
From: Mikolaj Izdebski <mizdebsk@redhat.com>
|
||||
Date: Mon, 10 Jul 2017 10:37:50 +0200
|
||||
Subject: [PATCH 1/2] Port to TestNG 7.4.0
|
||||
|
||||
---
|
||||
pom.xml | 2 +-
|
||||
.../surefire-testng-utils/pom.xml | 1 -
|
||||
.../java/testng/utils/MethodSelectorTest.java | 106 ++++++++++++++++--
|
||||
surefire-providers/surefire-testng/pom.xml | 1 -
|
||||
.../maven/surefire/testng/TestNGReporter.java | 4 -
|
||||
.../conf/AbstractDirectConfigurator.java | 2 +-
|
||||
.../testng/conf/TestNGMapConfigurator.java | 9 +-
|
||||
.../surefire/testng/TestNGReporterTest.java | 4 +-
|
||||
.../conf/TestNGMapConfiguratorTest.java | 6 +-
|
||||
9 files changed, 104 insertions(+), 31 deletions(-)
|
||||
|
||||
diff --git a/pom.xml b/pom.xml
|
||||
index 432d7ebae..75a61b38e 100644
|
||||
--- a/pom.xml
|
||||
+++ b/pom.xml
|
||||
@@ -98,7 +98,7 @@
|
||||
<mavenSharedUtilsVersion>3.3.4</mavenSharedUtilsVersion>
|
||||
<powermockVersion>2.0.9</powermockVersion>
|
||||
<jacocoVersion>0.8.12</jacocoVersion>
|
||||
- <testngVersion>5.11</testngVersion>
|
||||
+ <testngVersion>7.4.0</testngVersion>
|
||||
<surefire-shared-utils.version>${project.version}</surefire-shared-utils.version>
|
||||
<maven.surefire.scm.devConnection>scm:git:https://gitbox.apache.org/repos/asf/maven-surefire.git</maven.surefire.scm.devConnection>
|
||||
<maven.site.path>surefire-archives/surefire-LATEST</maven.site.path>
|
||||
diff --git a/surefire-providers/surefire-testng-utils/pom.xml b/surefire-providers/surefire-testng-utils/pom.xml
|
||||
index 2816d9329..fbb357d02 100644
|
||||
--- a/surefire-providers/surefire-testng-utils/pom.xml
|
||||
+++ b/surefire-providers/surefire-testng-utils/pom.xml
|
||||
@@ -47,7 +47,6 @@
|
||||
<groupId>org.testng</groupId>
|
||||
<artifactId>testng</artifactId>
|
||||
<version>${testngVersion}</version>
|
||||
- <classifier>jdk15</classifier>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
diff --git a/surefire-providers/surefire-testng-utils/src/test/java/testng/utils/MethodSelectorTest.java b/surefire-providers/surefire-testng-utils/src/test/java/testng/utils/MethodSelectorTest.java
|
||||
index c0e7838bd..5f180624d 100644
|
||||
--- a/surefire-providers/surefire-testng-utils/src/test/java/testng/utils/MethodSelectorTest.java
|
||||
+++ b/surefire-providers/surefire-testng-utils/src/test/java/testng/utils/MethodSelectorTest.java
|
||||
@@ -19,6 +19,10 @@
|
||||
package testng.utils;
|
||||
|
||||
import java.lang.reflect.Method;
|
||||
+import java.util.Collections;
|
||||
+import java.util.List;
|
||||
+import java.util.Map;
|
||||
+import java.util.concurrent.Callable;
|
||||
|
||||
import junit.framework.TestCase;
|
||||
import org.apache.maven.surefire.api.testset.TestListResolver;
|
||||
@@ -27,7 +31,11 @@
|
||||
import org.testng.IRetryAnalyzer;
|
||||
import org.testng.ITestClass;
|
||||
import org.testng.ITestNGMethod;
|
||||
+import org.testng.ITestResult;
|
||||
+import org.testng.internal.ConstructorOrMethod;
|
||||
import org.testng.internal.DefaultMethodSelectorContext;
|
||||
+import org.testng.internal.reflect.ReflectionHelper;
|
||||
+import org.testng.xml.XmlTest;
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -65,16 +73,26 @@ public void testInclusionOfMethodFromSubClass() {
|
||||
}
|
||||
|
||||
private static class FakeTestNGMethod implements ITestNGMethod {
|
||||
+ private final ConstructorOrMethod consMethod;
|
||||
private final Class<?> clazz;
|
||||
private final String methodName;
|
||||
|
||||
FakeTestNGMethod(Class<?> clazz, String methodName) {
|
||||
+ ConstructorOrMethod temp = null;
|
||||
+ Method[] methods = ReflectionHelper.getLocalMethods(clazz);
|
||||
+ for (Method method : methods) {
|
||||
+ if (method.getName().equalsIgnoreCase(methodName)) {
|
||||
+ temp = new ConstructorOrMethod(method);
|
||||
+ break;
|
||||
+ }
|
||||
+ }
|
||||
this.clazz = clazz;
|
||||
this.methodName = methodName;
|
||||
+ this.consMethod = temp;
|
||||
}
|
||||
|
||||
@Override
|
||||
- public Class getRealClass() {
|
||||
+ public Class<?> getRealClass() {
|
||||
return clazz;
|
||||
}
|
||||
|
||||
@@ -86,19 +104,14 @@ public ITestClass getTestClass() {
|
||||
@Override
|
||||
public void setTestClass(ITestClass iTestClass) {}
|
||||
|
||||
- @Override
|
||||
- public Method getMethod() {
|
||||
- return null;
|
||||
- }
|
||||
-
|
||||
@Override
|
||||
public String getMethodName() {
|
||||
return methodName;
|
||||
}
|
||||
|
||||
@Override
|
||||
- public Object[] getInstances() {
|
||||
- return new Object[0];
|
||||
+ public Object getInstance() {
|
||||
+ return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -202,6 +215,9 @@ public long getTimeOut() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
+ @Override
|
||||
+ public void setTimeOut(long timeOut) {}
|
||||
+
|
||||
@Override
|
||||
public int getInvocationCount() {
|
||||
return 0;
|
||||
@@ -249,11 +265,19 @@ public int getThreadPoolSize() {
|
||||
@Override
|
||||
public void setThreadPoolSize(int i) {}
|
||||
|
||||
+ @Override
|
||||
+ public boolean getEnabled() {
|
||||
+ return false;
|
||||
+ }
|
||||
+
|
||||
@Override
|
||||
public String getDescription() {
|
||||
return null;
|
||||
}
|
||||
|
||||
+ @Override
|
||||
+ public void setDescription(String description) {}
|
||||
+
|
||||
@Override
|
||||
public void incrementCurrentInvocationCount() {}
|
||||
|
||||
@@ -270,6 +294,14 @@ public int getParameterInvocationCount() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
+ @Override
|
||||
+ public void setMoreInvocationChecker(Callable<Boolean> moreInvocationChecker) {}
|
||||
+
|
||||
+ @Override
|
||||
+ public boolean hasMoreInvocation() {
|
||||
+ return false;
|
||||
+ }
|
||||
+
|
||||
@Override
|
||||
public ITestNGMethod clone() {
|
||||
try {
|
||||
@@ -280,12 +312,17 @@ public ITestNGMethod clone() {
|
||||
}
|
||||
|
||||
@Override
|
||||
- public IRetryAnalyzer getRetryAnalyzer() {
|
||||
+ public IRetryAnalyzer getRetryAnalyzer(ITestResult result) {
|
||||
+ return null;
|
||||
+ }
|
||||
+
|
||||
+ @Override
|
||||
+ public Class<? extends IRetryAnalyzer> getRetryAnalyzerClass() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
- public void setRetryAnalyzer(IRetryAnalyzer iRetryAnalyzer) {}
|
||||
+ public void setRetryAnalyzerClass(Class<? extends IRetryAnalyzer> clazz) {}
|
||||
|
||||
@Override
|
||||
public boolean skipFailedInvocations() {
|
||||
@@ -309,8 +346,55 @@ public boolean ignoreMissingDependencies() {
|
||||
public void setIgnoreMissingDependencies(boolean b) {}
|
||||
|
||||
@Override
|
||||
- public int compareTo(Object o) {
|
||||
+ public List<Integer> getInvocationNumbers() {
|
||||
+ return Collections.emptyList();
|
||||
+ }
|
||||
+
|
||||
+ @Override
|
||||
+ public void setInvocationNumbers(List<Integer> numbers) {}
|
||||
+
|
||||
+ @Override
|
||||
+ public void addFailedInvocationNumber(int number) {}
|
||||
+
|
||||
+ @Override
|
||||
+ public List<Integer> getFailedInvocationNumbers() {
|
||||
+ return Collections.emptyList();
|
||||
+ }
|
||||
+
|
||||
+ @Override
|
||||
+ public int getPriority() {
|
||||
+ return 0;
|
||||
+ }
|
||||
+
|
||||
+ @Override
|
||||
+ public void setPriority(int priority) {}
|
||||
+
|
||||
+ @Override
|
||||
+ public int getInterceptedPriority() {
|
||||
return 0;
|
||||
}
|
||||
+
|
||||
+ @Override
|
||||
+ public void setInterceptedPriority(int priority) {}
|
||||
+
|
||||
+ @Override
|
||||
+ public XmlTest getXmlTest() {
|
||||
+ return null;
|
||||
+ }
|
||||
+
|
||||
+ @Override
|
||||
+ public ConstructorOrMethod getConstructorOrMethod() {
|
||||
+ return consMethod;
|
||||
+ }
|
||||
+
|
||||
+ @Override
|
||||
+ public Map<String, String> findMethodParameters(XmlTest test) {
|
||||
+ return test.getLocalParameters();
|
||||
+ }
|
||||
+
|
||||
+ @Override
|
||||
+ public String getQualifiedName() {
|
||||
+ return null;
|
||||
+ }
|
||||
}
|
||||
}
|
||||
diff --git a/surefire-providers/surefire-testng/pom.xml b/surefire-providers/surefire-testng/pom.xml
|
||||
index aa23267c3..33b1ef76f 100644
|
||||
--- a/surefire-providers/surefire-testng/pom.xml
|
||||
+++ b/surefire-providers/surefire-testng/pom.xml
|
||||
@@ -57,7 +57,6 @@
|
||||
<groupId>org.testng</groupId>
|
||||
<artifactId>testng</artifactId>
|
||||
<version>${testngVersion}</version>
|
||||
- <classifier>jdk15</classifier>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
diff --git a/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/TestNGReporter.java b/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/TestNGReporter.java
|
||||
index ec887b792..3021a4049 100644
|
||||
--- a/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/TestNGReporter.java
|
||||
+++ b/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/TestNGReporter.java
|
||||
@@ -59,10 +59,6 @@ public class TestNGReporter
|
||||
/**
|
||||
* Constructs a new instance that will listen to
|
||||
* test updates from a {@link org.testng.TestNG} class instance.
|
||||
- * <br>
|
||||
- * <br>It is assumed that the requisite {@link org.testng.TestNG#addListener(ITestListener)}
|
||||
- * method call has already associated with this instance <i>before</i> the test
|
||||
- * suite is run.
|
||||
*
|
||||
* @param reportManager Instance to report suite status to
|
||||
*/
|
||||
diff --git a/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/conf/AbstractDirectConfigurator.java b/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/conf/AbstractDirectConfigurator.java
|
||||
index b73b9bacd..6ab5a626d 100644
|
||||
--- a/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/conf/AbstractDirectConfigurator.java
|
||||
+++ b/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/conf/AbstractDirectConfigurator.java
|
||||
@@ -57,7 +57,7 @@ public void configure(TestNG testng, Map<String, String> options) throws TestSet
|
||||
testng.setUseDefaultListeners(false);
|
||||
configureInstance(testng, options);
|
||||
// TODO: we should have the Profile so that we can decide if this is needed or not
|
||||
- testng.setListenerClasses(loadListenerClasses(listeners));
|
||||
+ testng.setListenerClasses((List) loadListenerClasses(listeners));
|
||||
}
|
||||
|
||||
@Override
|
||||
diff --git a/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/conf/TestNGMapConfigurator.java b/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/conf/TestNGMapConfigurator.java
|
||||
index d91e76afc..4bb4fe0b0 100755
|
||||
--- a/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/conf/TestNGMapConfigurator.java
|
||||
+++ b/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/conf/TestNGMapConfigurator.java
|
||||
@@ -33,12 +33,7 @@
|
||||
|
||||
/**
|
||||
* TestNG configurator for 5.3+ versions. TestNG exposes a {@link org.testng.TestNG#configure(java.util.Map)} method.
|
||||
- * All supported TestNG options are passed in String format, except
|
||||
- * {@link org.testng.TestNGCommandLineArgs#LISTENER_COMMAND_OPT} which is {@link java.util.List List>Class<},
|
||||
- * {@link org.testng.TestNGCommandLineArgs#JUNIT_DEF_OPT} which is a {@link Boolean},
|
||||
- * {@link org.testng.TestNGCommandLineArgs#SKIP_FAILED_INVOCATION_COUNT_OPT} which is a {@link Boolean},
|
||||
- * {@link org.testng.TestNGCommandLineArgs#OBJECT_FACTORY_COMMAND_OPT} which is a {@link Class},
|
||||
- * {@link org.testng.TestNGCommandLineArgs#REPORTERS_LIST} which is a {@link java.util.List List>ReporterConfig<}.
|
||||
+ * All supported TestNG options are passed in String format.
|
||||
* <br>
|
||||
* Test classes and/or suite files are not passed along as options parameters, but configured separately.
|
||||
*
|
||||
@@ -71,7 +66,7 @@ protected void configureThreadCount(XmlSuite suite, Map<String, String> options)
|
||||
protected void configureParallel(XmlSuite suite, Map<String, String> options) throws TestSetFailedException {
|
||||
String parallel = options.get(PARALLEL_PROP);
|
||||
if (parallel != null) {
|
||||
- suite.setParallel(parallel);
|
||||
+ suite.setParallel(XmlSuite.ParallelMode.getValidParallel(parallel));
|
||||
}
|
||||
}
|
||||
|
||||
diff --git a/surefire-providers/surefire-testng/src/test/java/org/apache/maven/surefire/testng/TestNGReporterTest.java b/surefire-providers/surefire-testng/src/test/java/org/apache/maven/surefire/testng/TestNGReporterTest.java
|
||||
index 514ecf9f8..5b201d765 100644
|
||||
--- a/surefire-providers/surefire-testng/src/test/java/org/apache/maven/surefire/testng/TestNGReporterTest.java
|
||||
+++ b/surefire-providers/surefire-testng/src/test/java/org/apache/maven/surefire/testng/TestNGReporterTest.java
|
||||
@@ -129,7 +129,7 @@ public void testOnTestFailure() {
|
||||
|
||||
ITestResult testResult = mock(ITestResult.class);
|
||||
when(testResult.getThrowable()).thenReturn(stackTrace);
|
||||
- when(cls.getRealClass()).thenReturn(getClass());
|
||||
+ when((Object) cls.getRealClass()).thenReturn(getClass());
|
||||
when(testResult.getTestClass()).thenReturn(cls);
|
||||
when(testResult.getMethod()).thenReturn(method);
|
||||
when(testResult.getName()).thenReturn("myTest");
|
||||
@@ -200,7 +200,7 @@ public void testOnTestFailedButWithinSuccessPercentage() {
|
||||
|
||||
ITestResult testResult = mock(ITestResult.class);
|
||||
when(testResult.getThrowable()).thenReturn(stackTrace);
|
||||
- when(cls.getRealClass()).thenReturn(getClass());
|
||||
+ when((Object) cls.getRealClass()).thenReturn(getClass());
|
||||
when(testResult.getTestClass()).thenReturn(cls);
|
||||
when(testResult.getMethod()).thenReturn(method);
|
||||
when(testResult.getName()).thenReturn("myTest");
|
||||
diff --git a/surefire-providers/surefire-testng/src/test/java/org/apache/maven/surefire/testng/conf/TestNGMapConfiguratorTest.java b/surefire-providers/surefire-testng/src/test/java/org/apache/maven/surefire/testng/conf/TestNGMapConfiguratorTest.java
|
||||
index 097a74d1e..8b34db85d 100755
|
||||
--- a/surefire-providers/surefire-testng/src/test/java/org/apache/maven/surefire/testng/conf/TestNGMapConfiguratorTest.java
|
||||
+++ b/surefire-providers/surefire-testng/src/test/java/org/apache/maven/surefire/testng/conf/TestNGMapConfiguratorTest.java
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
import junit.framework.TestCase;
|
||||
import org.apache.maven.surefire.api.testset.TestSetFailedException;
|
||||
-import org.testng.ReporterConfig;
|
||||
+import org.testng.internal.ReporterConfig;
|
||||
|
||||
/**
|
||||
* @author Kristian Rosenvold
|
||||
@@ -62,8 +62,8 @@ public void testGroupByInstances() throws Exception {
|
||||
|
||||
public void testReporter() throws Exception {
|
||||
Map<String, Object> convertedOptions = getConvertedOptions("reporter", "classname");
|
||||
- List<ReporterConfig> reporter = (List) convertedOptions.get("-reporterslist");
|
||||
- ReporterConfig reporterConfig = reporter.get(0);
|
||||
+ String reporter = (String) convertedOptions.get("-reporterslist");
|
||||
+ ReporterConfig reporterConfig = ReporterConfig.deserialize(reporter);
|
||||
assertEquals("classname", reporterConfig.getClassName());
|
||||
}
|
||||
|
||||
--
|
||||
2.46.1
|
||||
|
1972
0002-Unshade-surefire.patch
Normal file
1972
0002-Unshade-surefire.patch
Normal file
File diff suppressed because it is too large
Load Diff
202
LICENSE-2.0.txt
Normal file
202
LICENSE-2.0.txt
Normal file
@ -0,0 +1,202 @@
|
||||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright [yyyy] [name of copyright owner]
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except 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.
|
4
_multibuild
Normal file
4
_multibuild
Normal file
@ -0,0 +1,4 @@
|
||||
<multibuild>
|
||||
<package>maven-surefire-plugins</package>
|
||||
<package>maven-surefire-provider-junit5</package>
|
||||
</multibuild>
|
17
_service
Normal file
17
_service
Normal file
@ -0,0 +1,17 @@
|
||||
<services>
|
||||
<service name="tar_scm" mode="disabled">
|
||||
<param name="scm">git</param>
|
||||
<param name="url">https://github.com/apache/maven-surefire.git</param>
|
||||
<param name="revision">surefire-3.5.2</param>
|
||||
<param name="match-tag">surefire-*</param>
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
<param name="versionrewrite-pattern">surefire-(.*)</param>
|
||||
<param name="exclude">**/*.jar</param>
|
||||
<param name="exclude">**/*.class</param>
|
||||
</service>
|
||||
<service name="recompress" mode="disabled">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">xz</param>
|
||||
</service>
|
||||
<service name="set_version" mode="disabled"/>
|
||||
</services>
|
131
cpl-v10.html
Normal file
131
cpl-v10.html
Normal file
@ -0,0 +1,131 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Common Public License - v 1.0</TITLE>
|
||||
<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="#FFFFFF" VLINK="#800000">
|
||||
|
||||
|
||||
<P ALIGN="CENTER"><B>Common Public License - v 1.0</B>
|
||||
|
||||
<P><FONT SIZE="2"><B>Updated 16 Apr 2009</B></FONT>
|
||||
|
||||
<P><FONT SIZE="2"><B>As of 25 Feb 2009, IBM has assigned the Agreement Steward role for the CPL to the Eclipse Foundation.
|
||||
Eclipse has designated the Eclipse Public License (EPL) as the follow-on version of the CPL.</B></FONT>
|
||||
|
||||
<P><B></B><FONT SIZE="3"></FONT>
|
||||
<P><FONT SIZE="3"></FONT><FONT SIZE="2">THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.</FONT>
|
||||
<P><FONT SIZE="2"></FONT>
|
||||
<P><FONT SIZE="2"><B>1. DEFINITIONS</B></FONT>
|
||||
<P><FONT SIZE="2">"Contribution" means:</FONT>
|
||||
|
||||
<UL><FONT SIZE="2">a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and<BR CLEAR="LEFT">
|
||||
b) in the case of each subsequent Contributor:</FONT></UL>
|
||||
|
||||
|
||||
<UL><FONT SIZE="2">i) changes to the Program, and</FONT></UL>
|
||||
|
||||
|
||||
<UL><FONT SIZE="2">ii) additions to the Program;</FONT></UL>
|
||||
|
||||
|
||||
<UL><FONT SIZE="2">where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. </FONT><FONT SIZE="2">A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. </FONT><FONT SIZE="2">Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program. </FONT></UL>
|
||||
|
||||
<P><FONT SIZE="2"></FONT>
|
||||
<P><FONT SIZE="2">"Contributor" means any person or entity that distributes the Program.</FONT>
|
||||
<P><FONT SIZE="2"></FONT><FONT SIZE="2"></FONT>
|
||||
<P><FONT SIZE="2">"Licensed Patents " mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program. </FONT>
|
||||
<P><FONT SIZE="2"></FONT><FONT SIZE="2"></FONT>
|
||||
<P><FONT SIZE="2"></FONT><FONT SIZE="2">"Program" means the Contributions distributed in accordance with this Agreement.</FONT>
|
||||
<P><FONT SIZE="2"></FONT>
|
||||
<P><FONT SIZE="2">"Recipient" means anyone who receives the Program under this Agreement, including all Contributors.</FONT>
|
||||
<P><FONT SIZE="2"><B></B></FONT>
|
||||
<P><FONT SIZE="2"><B>2. GRANT OF RIGHTS</B></FONT>
|
||||
|
||||
<UL><FONT SIZE="2"></FONT><FONT SIZE="2">a) </FONT><FONT SIZE="2">Subject to the terms of this Agreement, each Contributor hereby grants</FONT><FONT SIZE="2"> Recipient a non-exclusive, worldwide, royalty-free copyright license to</FONT><FONT SIZE="2" COLOR="#FF0000"> </FONT><FONT SIZE="2">reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form.</FONT></UL>
|
||||
|
||||
|
||||
<UL><FONT SIZE="2"></FONT></UL>
|
||||
|
||||
|
||||
<UL><FONT SIZE="2"></FONT><FONT SIZE="2">b) Subject to the terms of this Agreement, each Contributor hereby grants </FONT><FONT SIZE="2">Recipient a non-exclusive, worldwide,</FONT><FONT SIZE="2" COLOR="#008000"> </FONT><FONT SIZE="2">royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder. </FONT></UL>
|
||||
|
||||
|
||||
<UL><FONT SIZE="2"></FONT></UL>
|
||||
|
||||
|
||||
<UL><FONT SIZE="2">c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program.</FONT></UL>
|
||||
|
||||
|
||||
<UL><FONT SIZE="2"></FONT></UL>
|
||||
|
||||
|
||||
<UL><FONT SIZE="2">d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement. </FONT></UL>
|
||||
|
||||
|
||||
<UL><FONT SIZE="2"></FONT></UL>
|
||||
|
||||
<P><FONT SIZE="2"><B>3. REQUIREMENTS</B></FONT>
|
||||
<P><FONT SIZE="2"><B></B>A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that:</FONT>
|
||||
|
||||
<UL><FONT SIZE="2">a) it complies with the terms and conditions of this Agreement; and</FONT></UL>
|
||||
|
||||
|
||||
<UL><FONT SIZE="2">b) its license agreement:</FONT></UL>
|
||||
|
||||
|
||||
<UL><FONT SIZE="2">i) effectively disclaims</FONT><FONT SIZE="2"> on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose; </FONT></UL>
|
||||
|
||||
|
||||
<UL><FONT SIZE="2">ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits; </FONT></UL>
|
||||
|
||||
|
||||
<UL><FONT SIZE="2">iii)</FONT><FONT SIZE="2"> states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and</FONT></UL>
|
||||
|
||||
|
||||
<UL><FONT SIZE="2">iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange.</FONT><FONT SIZE="2" COLOR="#0000FF"> </FONT><FONT SIZE="2" COLOR="#FF0000"></FONT></UL>
|
||||
|
||||
|
||||
<UL><FONT SIZE="2" COLOR="#FF0000"></FONT><FONT SIZE="2"></FONT></UL>
|
||||
|
||||
<P><FONT SIZE="2">When the Program is made available in source code form:</FONT>
|
||||
|
||||
<UL><FONT SIZE="2">a) it must be made available under this Agreement; and </FONT></UL>
|
||||
|
||||
|
||||
<UL><FONT SIZE="2">b) a copy of this Agreement must be included with each copy of the Program. </FONT></UL>
|
||||
|
||||
<P><FONT SIZE="2"></FONT><FONT SIZE="2" COLOR="#0000FF"><STRIKE></STRIKE></FONT>
|
||||
<P><FONT SIZE="2" COLOR="#0000FF"><STRIKE></STRIKE></FONT><FONT SIZE="2">Contributors may not remove or alter any copyright notices contained within the Program. </FONT>
|
||||
<P><FONT SIZE="2"></FONT>
|
||||
<P><FONT SIZE="2">Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution. </FONT>
|
||||
<P><FONT SIZE="2"></FONT>
|
||||
<P><FONT SIZE="2"><B>4. COMMERCIAL DISTRIBUTION</B></FONT>
|
||||
<P><FONT SIZE="2">Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense.</FONT>
|
||||
<P><FONT SIZE="2"></FONT>
|
||||
<P><FONT SIZE="2">For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages.</FONT>
|
||||
<P><FONT SIZE="2"></FONT><FONT SIZE="2" COLOR="#0000FF"></FONT>
|
||||
<P><FONT SIZE="2" COLOR="#0000FF"></FONT><FONT SIZE="2"><B>5. NO WARRANTY</B></FONT>
|
||||
<P><FONT SIZE="2">EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is</FONT><FONT SIZE="2"> solely responsible for determining the appropriateness of using and distributing </FONT><FONT SIZE="2">the Program</FONT><FONT SIZE="2"> and assumes all risks associated with its exercise of rights under this Agreement</FONT><FONT SIZE="2">, including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, </FONT><FONT SIZE="2">programs or equipment, and unavailability or interruption of operations</FONT><FONT SIZE="2">. </FONT><FONT SIZE="2"></FONT>
|
||||
<P><FONT SIZE="2"></FONT>
|
||||
<P><FONT SIZE="2"></FONT><FONT SIZE="2"><B>6. DISCLAIMER OF LIABILITY</B></FONT>
|
||||
<P><FONT SIZE="2"></FONT><FONT SIZE="2">EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES </FONT><FONT SIZE="2">(INCLUDING WITHOUT LIMITATION LOST PROFITS),</FONT><FONT SIZE="2"> HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.</FONT>
|
||||
<P><FONT SIZE="2"></FONT><FONT SIZE="2"></FONT>
|
||||
<P><FONT SIZE="2"><B>7. GENERAL</B></FONT>
|
||||
<P><FONT SIZE="2"></FONT><FONT SIZE="2">If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.</FONT>
|
||||
<P><FONT SIZE="2"></FONT>
|
||||
<P><FONT SIZE="2">If Recipient institutes patent litigation against a Contributor with respect to a patent applicable to software (including a cross-claim or counterclaim in a lawsuit), then any patent licenses granted by that Contributor to such Recipient under this Agreement shall terminate as of the date such litigation is filed. In addition, if Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed. </FONT><FONT SIZE="2"></FONT>
|
||||
<P><FONT SIZE="2"></FONT>
|
||||
<P><FONT SIZE="2">All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive. </FONT><FONT SIZE="2"></FONT>
|
||||
<P><FONT SIZE="2"></FONT>
|
||||
<P><FONT SIZE="2"></FONT><FONT SIZE="2">Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to </FONT><FONT SIZE="2">publish new versions (including revisions) of this Agreement from time to </FONT><FONT SIZE="2">time. No one other than the Agreement Steward has the right to modify this Agreement. IBM is the initial Agreement Steward. IBM may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. </FONT><FONT SIZE="2">Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new </FONT><FONT SIZE="2">version. </FONT><FONT SIZE="2">Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, </FONT><FONT SIZE="2">by implication, estoppel or otherwise</FONT><FONT SIZE="2">.</FONT><FONT SIZE="2"> All rights in the Program not expressly granted under this Agreement are reserved.</FONT>
|
||||
<P><FONT SIZE="2"></FONT>
|
||||
<P><FONT SIZE="2">This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation.</FONT>
|
||||
<P><FONT SIZE="2"></FONT><FONT SIZE="2"></FONT>
|
||||
<P><FONT SIZE="2"></FONT>
|
||||
|
||||
</BODY>
|
||||
|
||||
</HTML>
|
BIN
maven-surefire-3.2.5.tar.xz
(Stored with Git LFS)
Normal file
BIN
maven-surefire-3.2.5.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
3
maven-surefire-3.5.1.tar.xz
Normal file
3
maven-surefire-3.5.1.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:842f80efec4d3e2b65b3e43c910a002b3873279d41d6dce1fec8afa738c9f8ad
|
||||
size 911104
|
3
maven-surefire-3.5.2.tar.xz
Normal file
3
maven-surefire-3.5.2.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5e99aa55c0a99f26780d11e0e13b5b417adca7c43f93f427a623e04ea0bf8fbc
|
||||
size 911400
|
7361
maven-surefire-bootstrap-resources.patch
Normal file
7361
maven-surefire-bootstrap-resources.patch
Normal file
File diff suppressed because it is too large
Load Diff
3
maven-surefire-build.tar.xz
Normal file
3
maven-surefire-build.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:57b84e1770489a7dfc6ca82e97abeded4b44522bfdc9143044549f248553bad4
|
||||
size 4624
|
266
maven-surefire-plugins.changes
Normal file
266
maven-surefire-plugins.changes
Normal file
@ -0,0 +1,266 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 3 14:33:33 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Upgrade to 3.5.1
|
||||
* Bug
|
||||
+ SUREFIRE-1737: Disabling the JUnit5Xml30StatelessReporter has
|
||||
no effect
|
||||
+ SUREFIRE-2257: [REGRESSION] NPEx: Cannot invoke
|
||||
"Object.toString()" because "value" is null
|
||||
+ SUREFIRE-2267: Packages for commons-codec should be relocated
|
||||
in surefire-shared-utils
|
||||
+ SUREFIRE-2268: Tests run under classpath if JDK 23 is used
|
||||
* Improvement
|
||||
+ SUREFIRE-2264: Limit usage of commons-io from
|
||||
surefire-shared-utils
|
||||
+ SUREFIRE-2266: Execute ITs in parallel
|
||||
+ SUREFIRE-2270: Use JUnit5 in surefire-shadefire
|
||||
- Upgrade to 3.5.0
|
||||
* Improvement
|
||||
+ SUREFIRE-2227: Dynamically calculate xrefTestLocation
|
||||
* Task
|
||||
+ SUREFIRE-2161: Align Mojo class names and output names
|
||||
- Upgrade to 3.4.0
|
||||
* Bug
|
||||
+ SUREFIRE-2251: [REGRESSION] java.lang.NoSuchMethodException:
|
||||
org.apache.maven.plugin.surefire.StartupReportConfiguration
|
||||
.<init>
|
||||
+ SUREFIRE-2253: [REGRESSION] Bump
|
||||
org.apache.commons:commons-compress from 1.26.0 to 1.26.1
|
||||
causes hang
|
||||
* Improvement
|
||||
+ SUREFIRE-1385: System properties defined in the Surefire and
|
||||
Failsafe plugin configuration should override user properties
|
||||
- Upgrade to 3.3.1
|
||||
* Bug
|
||||
+ SUREFIRE-2105: Failsafe report size increased with version
|
||||
upgrade from 2.17 to 2.22.2
|
||||
+ SUREFIRE-2242: Plain test report does not include names of the
|
||||
skipped tests
|
||||
+ SUREFIRE-2250: Surefire Test Report Schema properties element
|
||||
is not consistent with the code
|
||||
* Improvement
|
||||
+ SUREFIRE-1360: Ability to disable properties for successfully
|
||||
passed tests
|
||||
+ SUREFIRE-1934: Ability to disable system-out/system-err for
|
||||
successfully passed tests
|
||||
+ SUREFIRE-2124: Avoid creating unnecessary target files for pom
|
||||
projects
|
||||
+ SUREFIRE-2249: Doc for 'properties' parameter does not mention
|
||||
JUnit
|
||||
- Upgrade to 3.3.0
|
||||
* Bug
|
||||
+ SUREFIRE-1939: Build fails if java.home has <=2 path
|
||||
components
|
||||
+ SUREFIRE-2232: [REGRESSION] StatelessXmlReporter fails to
|
||||
process failed result without a throwable
|
||||
+ SUREFIRE-2240: Using JUnit BOM prevents upgrading the engine
|
||||
version via plugin dependency
|
||||
* Improvement
|
||||
+ SUREFIRE-2248: Make "type" attribute on failures and errors in
|
||||
(surefire|failsafe)-test-report schema optional
|
||||
* Test
|
||||
+ SUREFIRE-2141: Surefire 3.0.0-M8 tests don't pass on Mac M1
|
||||
(Surefire1295AttributeJvmCrashesToTestsIT)
|
||||
* Task
|
||||
+ SUREFIRE-2244: Make IT for SUREFIRE-1295 reliable
|
||||
+ SUREFIRE-2246: Clean up dependencies reported by
|
||||
dependencies:analyze
|
||||
- Modified patches:
|
||||
* maven-surefire-bootstrap-resources.patch
|
||||
+ regenerate from non-bootstrap build
|
||||
* 0001-Port-to-TestNG-7.4.0.patch
|
||||
+ rediff and augment to make the test pass in upstream evironment
|
||||
- Added patch:
|
||||
* 0002-Unshade-surefire.patch
|
||||
+ remove the use of the shaded surefire-shared-utils artifact
|
||||
in favour of direct use of the dependencies
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 10 10:54:02 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Upgrade to 3.2.5
|
||||
* Bug
|
||||
+ SUREFIRE-2223: Surefire evaluates parameter jvm before skip
|
||||
+ SUREFIRE-2224: StatelessXmlReporter#getTestProblems() does
|
||||
not properly reflect report schema structure
|
||||
+ SUREFIRE-2225: Surefire ITs fail when project directory
|
||||
contains space
|
||||
+ SUREFIRE-2229: + REGRESSION] SUREFIRE-2224 causes stack trace
|
||||
to be omitted for errors and failures
|
||||
+ SUREFIRE-2231: JaCoCo 0.8.11 fails with old TestNG releases on
|
||||
Java 17+
|
||||
* Improvement
|
||||
+ SUREFIRE-1345: Support flakyFailure and flakyError in
|
||||
TestSuiteXmlParser
|
||||
+ SUREFIRE-2221: Document minimum supported Java version for
|
||||
Toolchains
|
||||
- Upgrade to 3.2.3
|
||||
* Bug
|
||||
+ SUREFIRE-2210: Additional class path ordering broken since
|
||||
3.2.0
|
||||
+ SUREFIRE-2211: additionalClasspathElement with UNC path not
|
||||
working with Maven Failsafe Plugin
|
||||
+ SUREFIRE-2212: OutOfMemoryError raised when parsing files with
|
||||
huge stderr/stdout output in surefire-report-parser
|
||||
+ SUREFIRE-2220:
|
||||
SurefireForkChannel#getForkNodeConnectionString() returns
|
||||
invalid URI string if localHost resolves to IPv6 address
|
||||
* Dependency upgrade
|
||||
+ SUREFIRE-2214: Upgrade to HtmlUnit 3.8.0
|
||||
+ SUREFIRE-2215: Upgrade to Parent 41
|
||||
+ SUREFIRE-2216: Upgrade plugins and components (in ITs)
|
||||
- Upgrade to 3.2.2
|
||||
* Bug Fixes
|
||||
+ SUREFIRE-2205: Use maven-plugin-report-plugin only in plugins
|
||||
modules
|
||||
+ SUREFIRE-2206: Downgrade plexus-xml to 3.0.0
|
||||
* Dependency updates
|
||||
+ SUREFIRE-2208: Bump org.codehaus.plexus:plexus-java from 1.1.2
|
||||
to 1.2.0
|
||||
- Upgrade to 3.2.1
|
||||
* New features and improvements
|
||||
+ SUREFIRE-1124: Support forkNumber in environment variables
|
||||
+ SUREFIRE-2177: Use junit-bom instead of single JUnit 5
|
||||
versions
|
||||
+ SUREFIRE-2179: Support adding additional Maven dependencies to
|
||||
the test runtime classpath
|
||||
+ SUREFIRE-2178: clarify classpathDependencyExcludes
|
||||
+ SUREFIRE-2182: Log starter implementation on DEBUG level
|
||||
* Bug Fixes
|
||||
+ SUREFIRE-2190: Fix module dependencies for compile only
|
||||
dependencies
|
||||
* Documentation updates
|
||||
+ Fix TestNG web site URL (#671) @sabi0
|
||||
- Upgrade to 3.1.2
|
||||
* Changes
|
||||
+ SUREFIRE-2166: Use ChoiceFormat to selective render percentage
|
||||
and elapsed time in SurefireReportRenderer
|
||||
+ Simplify serialization/deserialization of elapsed time
|
||||
(SUREFIRE-2164 + SUREFIRE-2167)
|
||||
+ SUREFIRE-2169: Potential NPE in WrappedReportEntry when
|
||||
#getElapsed() is called
|
||||
+ MNG-6829: Replace StringUtils#isEmpty(String) and
|
||||
#isNotEmpty(String)
|
||||
- Upgrade to 3.1.0
|
||||
* Sub-task
|
||||
+ SUREFIRE-2162: Document upcoming mojo and file names change
|
||||
* Bug
|
||||
+ SUREFIRE-2140: Cannot release Surefire on Windows
|
||||
* Improvement
|
||||
+ SUREFIRE-2153: Replace SurefireReportGenerator with a new
|
||||
SurefireReportRenderer
|
||||
+ SUREFIRE-2160: Replace LocalizedProperties with (Custom)I18N
|
||||
approach from MPIR
|
||||
* Task
|
||||
+ SUREFIRE-2130: Rewrite several test classes in report
|
||||
plugin for upcoming Doxia 2.0.0 stack
|
||||
- Upgrade to 3.0.0
|
||||
* New features and improvements
|
||||
+ SUREFIRE-2154: Get rid of localRepository from surefire
|
||||
mojo parameter, use Resolver API
|
||||
* Bug Fixes
|
||||
+ SUREFIRE-2119: Sanitize failIfNoSpecifiedTests prefix in
|
||||
failsafe
|
||||
+ SUREFIRE-2143: Fix reporting of skipped parameterized test
|
||||
* Documentation updates
|
||||
+ SUREFIRE-2156: Refresh download page
|
||||
- Modifed patch:
|
||||
* 0003-Port-to-TestNG-7.4.0.patch -> 0001-Port-to-TestNG-7.4.0.patch
|
||||
+ regenerate
|
||||
* maven-surefire-bootstrap-resources.patch
|
||||
+ regenerate from maven build
|
||||
- Removed patches:
|
||||
* 0001-Maven-3.patch
|
||||
* 0002-Port-to-current-doxia.patch
|
||||
* 0004-Port-to-current-maven-shared-utils.patch
|
||||
+ not needed with this version
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 22 07:58:37 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Upgrade to 2.22.2
|
||||
* Bugs:
|
||||
+ SUREFIRE-1614: JUnit Runner that writes to System.out
|
||||
corrupts Surefire’s STDOUT when using JUnit’s Vintage Engine
|
||||
- Upgrade to 2.22.1
|
||||
* Bugs:
|
||||
+ SUREFIRE-1532: MIME type for javascript is now officially
|
||||
application/javascript
|
||||
+ SUREFIRE-1535: Surefire unable to run testng suites in
|
||||
parallel
|
||||
+ SUREFIRE-1538: Git considers PNG files as changed although
|
||||
there is no change
|
||||
+ SUREFIRE-1550: The surefire XSD published on maven site lacks
|
||||
of some rerun element
|
||||
+ SUREFIRE-1559: XML Report elements rerunError, rerunFailure,
|
||||
flakyFailure, flakyError should contain element stackTrace and
|
||||
should not be simpleContent.
|
||||
+ SUREFIRE-1561: Logs in Parallel Tests are mixed up when
|
||||
forkMode=never or forkCount=0
|
||||
+ SUREFIRE-1564: Can’t override platform version through
|
||||
project/plugin dependencies
|
||||
+ SUREFIRE-1579: Forks mixed up characters in standard output
|
||||
* Improvements:
|
||||
+ SUREFIRE-1552: Nil element “failureMessage” in
|
||||
failsafe-summary.xml should have self closed tag
|
||||
+ SUREFIRE-1554: Fix old test resources TEST-*.xml in favor of
|
||||
continuing with SUREFIRE-1550
|
||||
+ SUREFIRE-1555: Elapsed time in XML Report should satisfy
|
||||
pattern in XSD.
|
||||
+ SUREFIRE-1562: Support Java 11
|
||||
+ SUREFIRE-1565: Surefire should support parameterized
|
||||
reportsDirectory
|
||||
* Tasks:
|
||||
+ SUREFIRE-1569: m-invoker-p:3.1.0 attempts to resolve
|
||||
maven-surefire-common:jar:2.22.1-SNAPSHOT from remote repo
|
||||
'apache.snapshots'
|
||||
+ SUREFIRE-1578: Remove obsolete module
|
||||
surefire-setup-integration-tests
|
||||
* Dependency upgrades:
|
||||
+ SUREFIRE-1540: Upgrade maven-plugins parent to version 32
|
||||
+ SUREFIRE-1571: Upgrade maven-plugins parent to version 33
|
||||
- Fetch sources using source service to avoid bundling binaries in
|
||||
sources
|
||||
- Fix broken links in the spec file
|
||||
- Modified patch:
|
||||
* 0004-Port-to-current-maven-shared-utils.patch
|
||||
+ rediff to changed context
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 5 10:46:11 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Clean and simplify the spec file in order to be able to generate
|
||||
the javadoc with either maven-javadoc-plugin or xmvn javadoc mojo
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 27 13:52:13 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Modified patches:
|
||||
* 0004-Port-to-current-maven-shared-utils.patch
|
||||
+ Add some try/catch blocks so that we catch new exceptions
|
||||
potentially thrown by maven-shared-utils-3.3.x
|
||||
* 0003-Port-to-TestNG-6.11.patch -> 0003-Port-to-TestNG-7.4.0.patch
|
||||
+ Allow building with the new testng 7.4.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 22 13:53:34 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Build with source and target level 8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 19 16:59:36 UTC 2021 - Pedro Monreal <pmonreal@suse.com>
|
||||
|
||||
- Update generate-tarball.sh to use https URL [bsc#1182708]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 24 17:49:18 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Specify maven.compiler.release to fix build with jdk9+ and newer
|
||||
maven-javadoc-plugin
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 3 09:30:18 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Initial packaging of the non-bootstrap versions of maven plugins
|
||||
distributed with surefire 2.22.0
|
182
maven-surefire-plugins.spec
Normal file
182
maven-surefire-plugins.spec
Normal file
@ -0,0 +1,182 @@
|
||||
#
|
||||
# spec file for package maven-surefire-plugins
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%global base_name maven-surefire
|
||||
Name: %{base_name}-plugins
|
||||
Version: 3.5.2
|
||||
Release: 0
|
||||
Summary: Test framework project
|
||||
License: Apache-2.0 AND CPL-1.0
|
||||
Group: Development/Libraries/Java
|
||||
URL: https://maven.apache.org/surefire/
|
||||
Source0: %{base_name}-%{version}.tar.xz
|
||||
Source1: https://www.apache.org/licenses/LICENSE-2.0.txt
|
||||
Source2: https://www.eclipse.org/legal/cpl-v10.html
|
||||
Patch0: 0001-Port-to-TestNG-7.4.0.patch
|
||||
Patch1: 0002-Unshade-surefire.patch
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: java-devel >= 1.8
|
||||
BuildRequires: maven-local
|
||||
BuildRequires: mvn(org.apache.maven.doxia:doxia-core)
|
||||
BuildRequires: mvn(org.apache.maven.doxia:doxia-sink-api)
|
||||
BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-annotations)
|
||||
BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin)
|
||||
BuildRequires: mvn(org.apache.maven.reporting:maven-reporting-impl)
|
||||
BuildRequires: mvn(org.apache.maven.resolver:maven-resolver-api)
|
||||
BuildRequires: mvn(org.apache.maven.shared:maven-shared-utils)
|
||||
BuildRequires: mvn(org.apache.maven.surefire:maven-surefire-common)
|
||||
BuildRequires: mvn(org.apache.maven.surefire:surefire-api)
|
||||
BuildRequires: mvn(org.apache.maven.surefire:surefire-booter)
|
||||
BuildRequires: mvn(org.apache.maven.surefire:surefire-extensions-api)
|
||||
BuildRequires: mvn(org.apache.maven.surefire:surefire-logger-api)
|
||||
BuildRequires: mvn(org.apache.maven.surefire:surefire-report-parser)
|
||||
BuildRequires: mvn(org.apache.maven:maven-artifact)
|
||||
BuildRequires: mvn(org.apache.maven:maven-core)
|
||||
BuildRequires: mvn(org.apache.maven:maven-model)
|
||||
BuildRequires: mvn(org.apache.maven:maven-parent:pom:)
|
||||
BuildRequires: mvn(org.apache.maven:maven-plugin-api)
|
||||
BuildRequires: mvn(org.apache.maven:maven-settings)
|
||||
BuildRequires: mvn(org.codehaus.plexus:plexus-i18n)
|
||||
BuildRequires: mvn(org.codehaus.plexus:plexus-interpolation)
|
||||
BuildRequires: mvn(org.codehaus.plexus:plexus-xml)
|
||||
BuildRequires: mvn(org.eclipse.sisu:org.eclipse.sisu.plexus)
|
||||
BuildRequires: mvn(org.fusesource.jansi:jansi)
|
||||
#!BuildRequires: maven-compiler-plugin-bootstrap
|
||||
#!BuildRequires: maven-jar-plugin-bootstrap
|
||||
#!BuildRequires: maven-plugin-plugin-bootstrap
|
||||
#!BuildRequires: maven-resources-plugin-bootstrap
|
||||
#!BuildRequires: maven-surefire-plugin-bootstrap
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
Surefire is a test framework project.
|
||||
|
||||
%package -n maven-surefire-plugin
|
||||
Summary: Surefire plugin for maven
|
||||
Group: Development/Libraries/Java
|
||||
|
||||
%description -n maven-surefire-plugin
|
||||
Maven surefire plugin for running tests via the surefire framework.
|
||||
|
||||
%package -n maven-surefire-report-plugin
|
||||
Summary: Surefire reports plugin for maven
|
||||
Group: Development/Libraries/Java
|
||||
|
||||
%description -n maven-surefire-report-plugin
|
||||
Plugin for generating reports from surefire test runs.
|
||||
|
||||
%package -n maven-failsafe-plugin
|
||||
Summary: Maven plugin for running integration tests
|
||||
Group: Development/Libraries/Java
|
||||
|
||||
%description -n maven-failsafe-plugin
|
||||
The Failsafe Plugin is designed to run integration tests while the
|
||||
Surefire Plugins is designed to run unit. The name (failsafe) was
|
||||
chosen both because it is a synonym of surefire and because it implies
|
||||
that when it fails, it does so in a safe way.
|
||||
|
||||
If you use the Surefire Plugin for running tests, then when you have a
|
||||
test failure, the build will stop at the integration-test phase and
|
||||
your integration test environment will not have been torn down
|
||||
correctly.
|
||||
|
||||
The Failsafe Plugin is used during the integration-test and verify
|
||||
phases of the build lifecycle to execute the integration tests of an
|
||||
application. The Failsafe Plugin will not fail the build during the
|
||||
integration-test phase thus enabling the post-integration-test phase
|
||||
to execute.
|
||||
|
||||
%package javadoc
|
||||
Summary: Javadoc for %{name}
|
||||
Group: Development/Libraries/Java
|
||||
|
||||
%description javadoc
|
||||
Javadoc for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{base_name}-%{version}
|
||||
cp -p %{SOURCE1} %{SOURCE2} .
|
||||
|
||||
%patch -P 0 -p1
|
||||
%patch -P 1 -p1
|
||||
|
||||
# Disable strict doclint
|
||||
sed -i /-Xdoclint:all/d pom.xml
|
||||
|
||||
# QA plugin useful only for upstream
|
||||
%pom_remove_plugin -r :jacoco-maven-plugin
|
||||
# Not wanted
|
||||
%pom_remove_plugin -r :maven-shade-plugin
|
||||
# Not packaged
|
||||
%pom_remove_plugin -r :animal-sniffer-maven-plugin
|
||||
# Complains
|
||||
%pom_remove_plugin -r :apache-rat-plugin
|
||||
|
||||
%pom_disable_module surefire-shadefire
|
||||
%pom_remove_dep -r :surefire-shadefire
|
||||
|
||||
# Help plugin is needed only to evaluate effective Maven settings.
|
||||
# For building RPM package default settings will suffice.
|
||||
%pom_remove_plugin :maven-help-plugin surefire-its
|
||||
|
||||
# We don't need site-source
|
||||
%pom_remove_plugin :maven-assembly-plugin maven-surefire-plugin
|
||||
%pom_remove_dep -r ::::site-source
|
||||
|
||||
# Disable all modules besides the 3 plugins
|
||||
for module in \
|
||||
maven-surefire-common \
|
||||
surefire-api \
|
||||
surefire-booter \
|
||||
surefire-grouper \
|
||||
surefire-extensions-api \
|
||||
surefire-extensions-spi \
|
||||
surefire-its \
|
||||
surefire-logger-api \
|
||||
surefire-providers \
|
||||
surefire-report-parser; do
|
||||
%pom_disable_module ${module}
|
||||
done
|
||||
|
||||
%build
|
||||
%{mvn_package} ":*tests*" __noinstall
|
||||
%{mvn_package} ":{surefire,surefire-providers}" __noinstall
|
||||
%{mvn_package} ":*{surefire-plugin,report-plugin}*" @1
|
||||
%{mvn_package} ":*junit-platform*" junit5
|
||||
%{mvn_package} ":*{junit,testng,failsafe-plugin,report-parser}*" @1
|
||||
|
||||
%{mvn_build} -f -- \
|
||||
%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0}
|
||||
-Dmaven.compiler.release=8 \
|
||||
%endif
|
||||
-Dsource=8
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
%fdupes -s %{buildroot}%{_javadocdir}
|
||||
|
||||
%files -n maven-surefire-plugin -f .mfiles-surefire-plugin
|
||||
|
||||
%files -n maven-surefire-report-plugin -f .mfiles-report-plugin
|
||||
|
||||
%files -n maven-failsafe-plugin -f .mfiles-failsafe-plugin
|
||||
|
||||
%files javadoc -f .mfiles-javadoc
|
||||
%license LICENSE-2.0.txt cpl-v10.html
|
||||
|
||||
%changelog
|
259
maven-surefire-provider-junit5.changes
Normal file
259
maven-surefire-provider-junit5.changes
Normal file
@ -0,0 +1,259 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 3 14:33:33 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Upgrade to 3.5.1
|
||||
* Bug
|
||||
+ SUREFIRE-1737: Disabling the JUnit5Xml30StatelessReporter has
|
||||
no effect
|
||||
+ SUREFIRE-2257: [REGRESSION] NPEx: Cannot invoke
|
||||
"Object.toString()" because "value" is null
|
||||
+ SUREFIRE-2267: Packages for commons-codec should be relocated
|
||||
in surefire-shared-utils
|
||||
+ SUREFIRE-2268: Tests run under classpath if JDK 23 is used
|
||||
* Improvement
|
||||
+ SUREFIRE-2264: Limit usage of commons-io from
|
||||
surefire-shared-utils
|
||||
+ SUREFIRE-2266: Execute ITs in parallel
|
||||
+ SUREFIRE-2270: Use JUnit5 in surefire-shadefire
|
||||
- Upgrade to 3.5.0
|
||||
* Improvement
|
||||
+ SUREFIRE-2227: Dynamically calculate xrefTestLocation
|
||||
* Task
|
||||
+ SUREFIRE-2161: Align Mojo class names and output names
|
||||
- Upgrade to 3.4.0
|
||||
* Bug
|
||||
+ SUREFIRE-2251: [REGRESSION] java.lang.NoSuchMethodException:
|
||||
org.apache.maven.plugin.surefire.StartupReportConfiguration
|
||||
.<init>
|
||||
+ SUREFIRE-2253: [REGRESSION] Bump
|
||||
org.apache.commons:commons-compress from 1.26.0 to 1.26.1
|
||||
causes hang
|
||||
* Improvement
|
||||
+ SUREFIRE-1385: System properties defined in the Surefire and
|
||||
Failsafe plugin configuration should override user properties
|
||||
- Upgrade to 3.3.1
|
||||
* Bug
|
||||
+ SUREFIRE-2105: Failsafe report size increased with version
|
||||
upgrade from 2.17 to 2.22.2
|
||||
+ SUREFIRE-2242: Plain test report does not include names of the
|
||||
skipped tests
|
||||
+ SUREFIRE-2250: Surefire Test Report Schema properties element
|
||||
is not consistent with the code
|
||||
* Improvement
|
||||
+ SUREFIRE-1360: Ability to disable properties for successfully
|
||||
passed tests
|
||||
+ SUREFIRE-1934: Ability to disable system-out/system-err for
|
||||
successfully passed tests
|
||||
+ SUREFIRE-2124: Avoid creating unnecessary target files for pom
|
||||
projects
|
||||
+ SUREFIRE-2249: Doc for 'properties' parameter does not mention
|
||||
JUnit
|
||||
- Upgrade to 3.3.0
|
||||
* Bug
|
||||
+ SUREFIRE-1939: Build fails if java.home has <=2 path
|
||||
components
|
||||
+ SUREFIRE-2232: [REGRESSION] StatelessXmlReporter fails to
|
||||
process failed result without a throwable
|
||||
+ SUREFIRE-2240: Using JUnit BOM prevents upgrading the engine
|
||||
version via plugin dependency
|
||||
* Improvement
|
||||
+ SUREFIRE-2248: Make "type" attribute on failures and errors in
|
||||
(surefire|failsafe)-test-report schema optional
|
||||
* Test
|
||||
+ SUREFIRE-2141: Surefire 3.0.0-M8 tests don't pass on Mac M1
|
||||
(Surefire1295AttributeJvmCrashesToTestsIT)
|
||||
* Task
|
||||
+ SUREFIRE-2244: Make IT for SUREFIRE-1295 reliable
|
||||
+ SUREFIRE-2246: Clean up dependencies reported by
|
||||
dependencies:analyze
|
||||
- Modified patches:
|
||||
* maven-surefire-bootstrap-resources.patch
|
||||
+ regenerate from non-bootstrap build
|
||||
* 0001-Port-to-TestNG-7.4.0.patch
|
||||
+ rediff and augment to make the test pass in upstream evironment
|
||||
- Added patch:
|
||||
* 0002-Unshade-surefire.patch
|
||||
+ remove the use of the shaded surefire-shared-utils artifact
|
||||
in favour of direct use of the dependencies
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 10 10:54:02 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Upgrade to 3.2.5
|
||||
* Bug
|
||||
+ SUREFIRE-2223: Surefire evaluates parameter jvm before skip
|
||||
+ SUREFIRE-2224: StatelessXmlReporter#getTestProblems() does
|
||||
not properly reflect report schema structure
|
||||
+ SUREFIRE-2225: Surefire ITs fail when project directory
|
||||
contains space
|
||||
+ SUREFIRE-2229: + REGRESSION] SUREFIRE-2224 causes stack trace
|
||||
to be omitted for errors and failures
|
||||
+ SUREFIRE-2231: JaCoCo 0.8.11 fails with old TestNG releases on
|
||||
Java 17+
|
||||
* Improvement
|
||||
+ SUREFIRE-1345: Support flakyFailure and flakyError in
|
||||
TestSuiteXmlParser
|
||||
+ SUREFIRE-2221: Document minimum supported Java version for
|
||||
Toolchains
|
||||
- Upgrade to 3.2.3
|
||||
* Bug
|
||||
+ SUREFIRE-2210: Additional class path ordering broken since
|
||||
3.2.0
|
||||
+ SUREFIRE-2211: additionalClasspathElement with UNC path not
|
||||
working with Maven Failsafe Plugin
|
||||
+ SUREFIRE-2212: OutOfMemoryError raised when parsing files with
|
||||
huge stderr/stdout output in surefire-report-parser
|
||||
+ SUREFIRE-2220:
|
||||
SurefireForkChannel#getForkNodeConnectionString() returns
|
||||
invalid URI string if localHost resolves to IPv6 address
|
||||
* Dependency upgrade
|
||||
+ SUREFIRE-2214: Upgrade to HtmlUnit 3.8.0
|
||||
+ SUREFIRE-2215: Upgrade to Parent 41
|
||||
+ SUREFIRE-2216: Upgrade plugins and components (in ITs)
|
||||
- Upgrade to 3.2.2
|
||||
* Bug Fixes
|
||||
+ SUREFIRE-2205: Use maven-plugin-report-plugin only in plugins
|
||||
modules
|
||||
+ SUREFIRE-2206: Downgrade plexus-xml to 3.0.0
|
||||
* Dependency updates
|
||||
+ SUREFIRE-2208: Bump org.codehaus.plexus:plexus-java from 1.1.2
|
||||
to 1.2.0
|
||||
- Upgrade to 3.2.1
|
||||
* New features and improvements
|
||||
+ SUREFIRE-1124: Support forkNumber in environment variables
|
||||
+ SUREFIRE-2177: Use junit-bom instead of single JUnit 5
|
||||
versions
|
||||
+ SUREFIRE-2179: Support adding additional Maven dependencies to
|
||||
the test runtime classpath
|
||||
+ SUREFIRE-2178: clarify classpathDependencyExcludes
|
||||
+ SUREFIRE-2182: Log starter implementation on DEBUG level
|
||||
* Bug Fixes
|
||||
+ SUREFIRE-2190: Fix module dependencies for compile only
|
||||
dependencies
|
||||
* Documentation updates
|
||||
+ Fix TestNG web site URL (#671) @sabi0
|
||||
- Upgrade to 3.1.2
|
||||
* Changes
|
||||
+ SUREFIRE-2166: Use ChoiceFormat to selective render percentage
|
||||
and elapsed time in SurefireReportRenderer
|
||||
+ Simplify serialization/deserialization of elapsed time
|
||||
(SUREFIRE-2164 + SUREFIRE-2167)
|
||||
+ SUREFIRE-2169: Potential NPE in WrappedReportEntry when
|
||||
#getElapsed() is called
|
||||
+ MNG-6829: Replace StringUtils#isEmpty(String) and
|
||||
#isNotEmpty(String)
|
||||
- Upgrade to 3.1.0
|
||||
* Sub-task
|
||||
+ SUREFIRE-2162: Document upcoming mojo and file names change
|
||||
* Bug
|
||||
+ SUREFIRE-2140: Cannot release Surefire on Windows
|
||||
* Improvement
|
||||
+ SUREFIRE-2153: Replace SurefireReportGenerator with a new
|
||||
SurefireReportRenderer
|
||||
+ SUREFIRE-2160: Replace LocalizedProperties with (Custom)I18N
|
||||
approach from MPIR
|
||||
* Task
|
||||
+ SUREFIRE-2130: Rewrite several test classes in report
|
||||
plugin for upcoming Doxia 2.0.0 stack
|
||||
- Upgrade to 3.0.0
|
||||
* New features and improvements
|
||||
+ SUREFIRE-2154: Get rid of localRepository from surefire
|
||||
mojo parameter, use Resolver API
|
||||
* Bug Fixes
|
||||
+ SUREFIRE-2119: Sanitize failIfNoSpecifiedTests prefix in
|
||||
failsafe
|
||||
+ SUREFIRE-2143: Fix reporting of skipped parameterized test
|
||||
* Documentation updates
|
||||
+ SUREFIRE-2156: Refresh download page
|
||||
- Modifed patch:
|
||||
* 0003-Port-to-TestNG-7.4.0.patch -> 0001-Port-to-TestNG-7.4.0.patch
|
||||
+ regenerate
|
||||
* maven-surefire-bootstrap-resources.patch
|
||||
+ regenerate from maven build
|
||||
- Removed patches:
|
||||
* 0001-Maven-3.patch
|
||||
* 0002-Port-to-current-doxia.patch
|
||||
* 0004-Port-to-current-maven-shared-utils.patch
|
||||
+ not needed with this version
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 22 07:58:37 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Upgrade to 2.22.2
|
||||
* Bugs:
|
||||
+ SUREFIRE-1614: JUnit Runner that writes to System.out
|
||||
corrupts Surefire’s STDOUT when using JUnit’s Vintage Engine
|
||||
- Upgrade to 2.22.1
|
||||
* Bugs:
|
||||
+ SUREFIRE-1532: MIME type for javascript is now officially
|
||||
application/javascript
|
||||
+ SUREFIRE-1535: Surefire unable to run testng suites in
|
||||
parallel
|
||||
+ SUREFIRE-1538: Git considers PNG files as changed although
|
||||
there is no change
|
||||
+ SUREFIRE-1550: The surefire XSD published on maven site lacks
|
||||
of some rerun element
|
||||
+ SUREFIRE-1559: XML Report elements rerunError, rerunFailure,
|
||||
flakyFailure, flakyError should contain element stackTrace and
|
||||
should not be simpleContent.
|
||||
+ SUREFIRE-1561: Logs in Parallel Tests are mixed up when
|
||||
forkMode=never or forkCount=0
|
||||
+ SUREFIRE-1564: Can’t override platform version through
|
||||
project/plugin dependencies
|
||||
+ SUREFIRE-1579: Forks mixed up characters in standard output
|
||||
* Improvements:
|
||||
+ SUREFIRE-1552: Nil element “failureMessage” in
|
||||
failsafe-summary.xml should have self closed tag
|
||||
+ SUREFIRE-1554: Fix old test resources TEST-*.xml in favor of
|
||||
continuing with SUREFIRE-1550
|
||||
+ SUREFIRE-1555: Elapsed time in XML Report should satisfy
|
||||
pattern in XSD.
|
||||
+ SUREFIRE-1562: Support Java 11
|
||||
+ SUREFIRE-1565: Surefire should support parameterized
|
||||
reportsDirectory
|
||||
* Tasks:
|
||||
+ SUREFIRE-1569: m-invoker-p:3.1.0 attempts to resolve
|
||||
maven-surefire-common:jar:2.22.1-SNAPSHOT from remote repo
|
||||
'apache.snapshots'
|
||||
+ SUREFIRE-1578: Remove obsolete module
|
||||
surefire-setup-integration-tests
|
||||
* Dependency upgrades:
|
||||
+ SUREFIRE-1540: Upgrade maven-plugins parent to version 32
|
||||
+ SUREFIRE-1571: Upgrade maven-plugins parent to version 33
|
||||
- Fetch sources using source service to avoid bundling binaries in
|
||||
sources
|
||||
- Fix broken links in the spec file
|
||||
- Modified patch:
|
||||
* 0004-Port-to-current-maven-shared-utils.patch
|
||||
+ rediff to changed context
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 27 13:52:13 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Modified patches:
|
||||
* 0004-Port-to-current-maven-shared-utils.patch
|
||||
+ Add some try/catch blocks so that we catch new exceptions
|
||||
potentially thrown by maven-shared-utils-3.3.x
|
||||
* 0003-Port-to-TestNG-6.11.patch -> 0003-Port-to-TestNG-7.4.0.patch
|
||||
+ Allow building with the new testng 7.4.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 22 13:53:55 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Build with source and target levels 8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 19 16:59:36 UTC 2021 - Pedro Monreal <pmonreal@suse.com>
|
||||
|
||||
- Update generate-tarball.sh to use https URL [bsc#1182708]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 24 17:49:33 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Specify maven.compiler.release to fix build with jdk9+ and newer
|
||||
maven-javadoc-plugin
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 1 13:28:26 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Intial packaging of junit 5 provider for maven surefire
|
106
maven-surefire-provider-junit5.spec
Normal file
106
maven-surefire-provider-junit5.spec
Normal file
@ -0,0 +1,106 @@
|
||||
#
|
||||
# spec file for package maven-surefire-provider-junit5
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%global base_name maven-surefire
|
||||
Name: %{base_name}-provider-junit5
|
||||
Version: 3.5.2
|
||||
Release: 0
|
||||
Summary: JUnit 5 provider for Maven Surefire
|
||||
License: Apache-2.0 AND CPL-1.0
|
||||
Group: Development/Libraries/Java
|
||||
URL: https://maven.apache.org/surefire/
|
||||
Source0: %{base_name}-%{version}.tar.xz
|
||||
Source1: https://www.apache.org/licenses/LICENSE-2.0.txt
|
||||
Source2: https://www.eclipse.org/legal/cpl-v10.html
|
||||
Patch0: 0001-Port-to-TestNG-7.4.0.patch
|
||||
Patch1: 0002-Unshade-surefire.patch
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: java-devel >= 1.8
|
||||
BuildRequires: maven-local
|
||||
BuildRequires: mvn(org.apache.maven.surefire:common-java5)
|
||||
BuildRequires: mvn(org.apache.maven:maven-parent:pom:)
|
||||
BuildRequires: mvn(org.junit.platform:junit-platform-engine)
|
||||
BuildRequires: mvn(org.junit.platform:junit-platform-launcher)
|
||||
# PpidChecker relies on /usr/bin/ps to check process uptime
|
||||
Requires: procps
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
JUnit 5 provider for Maven Surefire.
|
||||
|
||||
%package javadoc
|
||||
Summary: Javadoc for %{name}
|
||||
Group: Documentation/HTML
|
||||
|
||||
%description javadoc
|
||||
Javadoc for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{base_name}-%{version}
|
||||
cp -p %{SOURCE1} %{SOURCE2} .
|
||||
|
||||
%patch -P 0 -p1
|
||||
%patch -P 1 -p1
|
||||
|
||||
# Disable strict doclint
|
||||
sed -i /-Xdoclint:all/d pom.xml
|
||||
|
||||
# QA plugin useful only for upstream
|
||||
%pom_remove_plugin -r :jacoco-maven-plugin
|
||||
# Not wanted
|
||||
%pom_remove_plugin -r :maven-shade-plugin
|
||||
# Not packaged
|
||||
%pom_remove_plugin -r :animal-sniffer-maven-plugin
|
||||
# Complains
|
||||
%pom_remove_plugin -r :apache-rat-plugin
|
||||
|
||||
%pom_disable_module surefire-shadefire
|
||||
%pom_remove_dep -r :surefire-shadefire
|
||||
|
||||
# Help plugin is needed only to evaluate effective Maven settings.
|
||||
# For building RPM package default settings will suffice.
|
||||
%pom_remove_plugin :maven-help-plugin surefire-its
|
||||
|
||||
# We don't need site-source
|
||||
%pom_remove_plugin :maven-assembly-plugin maven-surefire-plugin
|
||||
%pom_remove_dep -r ::::site-source
|
||||
|
||||
%build
|
||||
pushd surefire-providers/surefire-junit-platform
|
||||
%{mvn_build} -f -- \
|
||||
%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0}
|
||||
-Dmaven.compiler.release=8 \
|
||||
%endif
|
||||
-Dsource=8
|
||||
|
||||
popd
|
||||
|
||||
%install
|
||||
pushd surefire-providers/surefire-junit-platform
|
||||
%mvn_install
|
||||
%fdupes -s %{buildroot}%{_javadocdir}
|
||||
popd
|
||||
|
||||
%files -f surefire-providers/surefire-junit-platform/.mfiles
|
||||
%doc README.md
|
||||
%license LICENSE-2.0.txt cpl-v10.html
|
||||
|
||||
%files javadoc -f surefire-providers/surefire-junit-platform/.mfiles-javadoc
|
||||
%license LICENSE-2.0.txt cpl-v10.html
|
||||
|
||||
%changelog
|
272
maven-surefire.changes
Normal file
272
maven-surefire.changes
Normal file
@ -0,0 +1,272 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 3 14:33:33 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Upgrade to 3.5.1
|
||||
* Bug
|
||||
+ SUREFIRE-1737: Disabling the JUnit5Xml30StatelessReporter has
|
||||
no effect
|
||||
+ SUREFIRE-2257: [REGRESSION] NPEx: Cannot invoke
|
||||
"Object.toString()" because "value" is null
|
||||
+ SUREFIRE-2267: Packages for commons-codec should be relocated
|
||||
in surefire-shared-utils
|
||||
+ SUREFIRE-2268: Tests run under classpath if JDK 23 is used
|
||||
* Improvement
|
||||
+ SUREFIRE-2264: Limit usage of commons-io from
|
||||
surefire-shared-utils
|
||||
+ SUREFIRE-2266: Execute ITs in parallel
|
||||
+ SUREFIRE-2270: Use JUnit5 in surefire-shadefire
|
||||
- Upgrade to 3.5.0
|
||||
* Improvement
|
||||
+ SUREFIRE-2227: Dynamically calculate xrefTestLocation
|
||||
* Task
|
||||
+ SUREFIRE-2161: Align Mojo class names and output names
|
||||
- Upgrade to 3.4.0
|
||||
* Bug
|
||||
+ SUREFIRE-2251: [REGRESSION] java.lang.NoSuchMethodException:
|
||||
org.apache.maven.plugin.surefire.StartupReportConfiguration
|
||||
.<init>
|
||||
+ SUREFIRE-2253: [REGRESSION] Bump
|
||||
org.apache.commons:commons-compress from 1.26.0 to 1.26.1
|
||||
causes hang
|
||||
* Improvement
|
||||
+ SUREFIRE-1385: System properties defined in the Surefire and
|
||||
Failsafe plugin configuration should override user properties
|
||||
- Upgrade to 3.3.1
|
||||
* Bug
|
||||
+ SUREFIRE-2105: Failsafe report size increased with version
|
||||
upgrade from 2.17 to 2.22.2
|
||||
+ SUREFIRE-2242: Plain test report does not include names of the
|
||||
skipped tests
|
||||
+ SUREFIRE-2250: Surefire Test Report Schema properties element
|
||||
is not consistent with the code
|
||||
* Improvement
|
||||
+ SUREFIRE-1360: Ability to disable properties for successfully
|
||||
passed tests
|
||||
+ SUREFIRE-1934: Ability to disable system-out/system-err for
|
||||
successfully passed tests
|
||||
+ SUREFIRE-2124: Avoid creating unnecessary target files for pom
|
||||
projects
|
||||
+ SUREFIRE-2249: Doc for 'properties' parameter does not mention
|
||||
JUnit
|
||||
- Upgrade to 3.3.0
|
||||
* Bug
|
||||
+ SUREFIRE-1939: Build fails if java.home has <=2 path
|
||||
components
|
||||
+ SUREFIRE-2232: [REGRESSION] StatelessXmlReporter fails to
|
||||
process failed result without a throwable
|
||||
+ SUREFIRE-2240: Using JUnit BOM prevents upgrading the engine
|
||||
version via plugin dependency
|
||||
* Improvement
|
||||
+ SUREFIRE-2248: Make "type" attribute on failures and errors in
|
||||
(surefire|failsafe)-test-report schema optional
|
||||
* Test
|
||||
+ SUREFIRE-2141: Surefire 3.0.0-M8 tests don't pass on Mac M1
|
||||
(Surefire1295AttributeJvmCrashesToTestsIT)
|
||||
* Task
|
||||
+ SUREFIRE-2244: Make IT for SUREFIRE-1295 reliable
|
||||
+ SUREFIRE-2246: Clean up dependencies reported by
|
||||
dependencies:analyze
|
||||
- Modified patches:
|
||||
* maven-surefire-bootstrap-resources.patch
|
||||
+ regenerate from non-bootstrap build
|
||||
* 0001-Port-to-TestNG-7.4.0.patch
|
||||
+ rediff and augment to make the test pass in upstream
|
||||
environment
|
||||
- Added patch:
|
||||
* 0002-Unshade-surefire.patch
|
||||
+ remove the use of the shaded surefire-shared-utils artifact
|
||||
in favour of direct use of the dependencies
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 10 19:00:07 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Use plexus-metadata-generator executable directly to simplify
|
||||
build classpath
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 10 10:54:02 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Upgrade to 3.2.5
|
||||
* Bug
|
||||
+ SUREFIRE-2223: Surefire evaluates parameter jvm before skip
|
||||
+ SUREFIRE-2224: StatelessXmlReporter#getTestProblems() does
|
||||
not properly reflect report schema structure
|
||||
+ SUREFIRE-2225: Surefire ITs fail when project directory
|
||||
contains space
|
||||
+ SUREFIRE-2229: + REGRESSION] SUREFIRE-2224 causes stack trace
|
||||
to be omitted for errors and failures
|
||||
+ SUREFIRE-2231: JaCoCo 0.8.11 fails with old TestNG releases on
|
||||
Java 17+
|
||||
* Improvement
|
||||
+ SUREFIRE-1345: Support flakyFailure and flakyError in
|
||||
TestSuiteXmlParser
|
||||
+ SUREFIRE-2221: Document minimum supported Java version for
|
||||
Toolchains
|
||||
- Upgrade to 3.2.3
|
||||
* Bug
|
||||
+ SUREFIRE-2210: Additional class path ordering broken since
|
||||
3.2.0
|
||||
+ SUREFIRE-2211: additionalClasspathElement with UNC path not
|
||||
working with Maven Failsafe Plugin
|
||||
+ SUREFIRE-2212: OutOfMemoryError raised when parsing files with
|
||||
huge stderr/stdout output in surefire-report-parser
|
||||
+ SUREFIRE-2220:
|
||||
SurefireForkChannel#getForkNodeConnectionString() returns
|
||||
invalid URI string if localHost resolves to IPv6 address
|
||||
* Dependency upgrade
|
||||
+ SUREFIRE-2214: Upgrade to HtmlUnit 3.8.0
|
||||
+ SUREFIRE-2215: Upgrade to Parent 41
|
||||
+ SUREFIRE-2216: Upgrade plugins and components (in ITs)
|
||||
- Upgrade to 3.2.2
|
||||
* Bug Fixes
|
||||
+ SUREFIRE-2205: Use maven-plugin-report-plugin only in plugins
|
||||
modules
|
||||
+ SUREFIRE-2206: Downgrade plexus-xml to 3.0.0
|
||||
* Dependency updates
|
||||
+ SUREFIRE-2208: Bump org.codehaus.plexus:plexus-java from 1.1.2
|
||||
to 1.2.0
|
||||
- Upgrade to 3.2.1
|
||||
* New features and improvements
|
||||
+ SUREFIRE-1124: Support forkNumber in environment variables
|
||||
+ SUREFIRE-2177: Use junit-bom instead of single JUnit 5
|
||||
versions
|
||||
+ SUREFIRE-2179: Support adding additional Maven dependencies to
|
||||
the test runtime classpath
|
||||
+ SUREFIRE-2178: clarify classpathDependencyExcludes
|
||||
+ SUREFIRE-2182: Log starter implementation on DEBUG level
|
||||
* Bug Fixes
|
||||
+ SUREFIRE-2190: Fix module dependencies for compile only
|
||||
dependencies
|
||||
* Documentation updates
|
||||
+ Fix TestNG web site URL (#671) @sabi0
|
||||
- Upgrade to 3.1.2
|
||||
* Changes
|
||||
+ SUREFIRE-2166: Use ChoiceFormat to selective render percentage
|
||||
and elapsed time in SurefireReportRenderer
|
||||
+ Simplify serialization/deserialization of elapsed time
|
||||
(SUREFIRE-2164 + SUREFIRE-2167)
|
||||
+ SUREFIRE-2169: Potential NPE in WrappedReportEntry when
|
||||
#getElapsed() is called
|
||||
+ MNG-6829: Replace StringUtils#isEmpty(String) and
|
||||
#isNotEmpty(String)
|
||||
- Upgrade to 3.1.0
|
||||
* Sub-task
|
||||
+ SUREFIRE-2162: Document upcoming mojo and file names change
|
||||
* Bug
|
||||
+ SUREFIRE-2140: Cannot release Surefire on Windows
|
||||
* Improvement
|
||||
+ SUREFIRE-2153: Replace SurefireReportGenerator with a new
|
||||
SurefireReportRenderer
|
||||
+ SUREFIRE-2160: Replace LocalizedProperties with (Custom)I18N
|
||||
approach from MPIR
|
||||
* Task
|
||||
+ SUREFIRE-2130: Rewrite several test classes in report
|
||||
plugin for upcoming Doxia 2.0.0 stack
|
||||
- Upgrade to 3.0.0
|
||||
* New features and improvements
|
||||
+ SUREFIRE-2154: Get rid of localRepository from surefire
|
||||
mojo parameter, use Resolver API
|
||||
* Bug Fixes
|
||||
+ SUREFIRE-2119: Sanitize failIfNoSpecifiedTests prefix in
|
||||
failsafe
|
||||
+ SUREFIRE-2143: Fix reporting of skipped parameterized test
|
||||
* Documentation updates
|
||||
+ SUREFIRE-2156: Refresh download page
|
||||
- Modifed patch:
|
||||
* 0003-Port-to-TestNG-7.4.0.patch -> 0001-Port-to-TestNG-7.4.0.patch
|
||||
+ regenerate
|
||||
* maven-surefire-bootstrap-resources.patch
|
||||
+ regenerate from maven build
|
||||
- Removed patches:
|
||||
* 0001-Maven-3.patch
|
||||
* 0002-Port-to-current-doxia.patch
|
||||
* 0004-Port-to-current-maven-shared-utils.patch
|
||||
+ not needed with this version
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 22 07:58:37 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Upgrade to 2.22.2
|
||||
* Bugs:
|
||||
+ SUREFIRE-1614: JUnit Runner that writes to System.out
|
||||
corrupts Surefire’s STDOUT when using JUnit’s Vintage Engine
|
||||
- Upgrade to 2.22.1
|
||||
* Bugs:
|
||||
+ SUREFIRE-1532: MIME type for javascript is now officially
|
||||
application/javascript
|
||||
+ SUREFIRE-1535: Surefire unable to run testng suites in
|
||||
parallel
|
||||
+ SUREFIRE-1538: Git considers PNG files as changed although
|
||||
there is no change
|
||||
+ SUREFIRE-1550: The surefire XSD published on maven site lacks
|
||||
of some rerun element
|
||||
+ SUREFIRE-1559: XML Report elements rerunError, rerunFailure,
|
||||
flakyFailure, flakyError should contain element stackTrace and
|
||||
should not be simpleContent.
|
||||
+ SUREFIRE-1561: Logs in Parallel Tests are mixed up when
|
||||
forkMode=never or forkCount=0
|
||||
+ SUREFIRE-1564: Can’t override platform version through
|
||||
project/plugin dependencies
|
||||
+ SUREFIRE-1579: Forks mixed up characters in standard output
|
||||
* Improvements:
|
||||
+ SUREFIRE-1552: Nil element “failureMessage” in
|
||||
failsafe-summary.xml should have self closed tag
|
||||
+ SUREFIRE-1554: Fix old test resources TEST-*.xml in favor of
|
||||
continuing with SUREFIRE-1550
|
||||
+ SUREFIRE-1555: Elapsed time in XML Report should satisfy
|
||||
pattern in XSD.
|
||||
+ SUREFIRE-1562: Support Java 11
|
||||
+ SUREFIRE-1565: Surefire should support parameterized
|
||||
reportsDirectory
|
||||
* Tasks:
|
||||
+ SUREFIRE-1569: m-invoker-p:3.1.0 attempts to resolve
|
||||
maven-surefire-common:jar:2.22.1-SNAPSHOT from remote repo
|
||||
'apache.snapshots'
|
||||
+ SUREFIRE-1578: Remove obsolete module
|
||||
surefire-setup-integration-tests
|
||||
* Dependency upgrades:
|
||||
+ SUREFIRE-1540: Upgrade maven-plugins parent to version 32
|
||||
+ SUREFIRE-1571: Upgrade maven-plugins parent to version 33
|
||||
- Fetch sources using source service to avoid bundling binaries in
|
||||
sources
|
||||
- Fix broken links in the spec file
|
||||
- Modified patch:
|
||||
* 0004-Port-to-current-maven-shared-utils.patch
|
||||
+ rediff to changed context
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 5 08:30:46 UTC 2023 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Add _multibuild to define 2nd spec file as additional flavor.
|
||||
Eliminates the need for source package links in OBS.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 27 13:52:13 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Modified patches:
|
||||
* 0004-Port-to-current-maven-shared-utils.patch
|
||||
+ Add some try/catch blocks so that we catch new exceptions
|
||||
potentially thrown by maven-shared-utils-3.3.x
|
||||
* 0003-Port-to-TestNG-6.11.patch -> 0003-Port-to-TestNG-7.4.0.patch
|
||||
+ Allow building with the new testng 7.4.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 22 13:52:58 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Build with java source and target levels 8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 19 16:59:36 UTC 2021 - Pedro Monreal <pmonreal@suse.com>
|
||||
|
||||
- Update generate-tarball.sh to use https URL [bsc#1182708]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 2 09:06:05 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Initial packaging of maven-surefire 2.22.0
|
||||
- Generate and customize ant build files
|
||||
- Build the maven plugins as bootstrap packages
|
||||
- Added patch:
|
||||
* maven-surefire-bootstrap-resources.patch
|
||||
+ Add to the build of the plugins generated files that
|
||||
we cannot generate when building outside maven
|
277
maven-surefire.spec
Normal file
277
maven-surefire.spec
Normal file
@ -0,0 +1,277 @@
|
||||
#
|
||||
# spec file for package maven-surefire
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: maven-surefire
|
||||
Version: 3.5.2
|
||||
Release: 0
|
||||
Summary: Test framework project
|
||||
License: Apache-2.0 AND CPL-1.0
|
||||
Group: Development/Libraries/Java
|
||||
URL: https://maven.apache.org/surefire/
|
||||
Source0: %{name}-%{version}.tar.xz
|
||||
Source1: https://www.apache.org/licenses/LICENSE-2.0.txt
|
||||
Source2: https://www.eclipse.org/legal/cpl-v10.html
|
||||
Source10: %{name}-build.tar.xz
|
||||
Patch0: 0001-Port-to-TestNG-7.4.0.patch
|
||||
Patch1: 0002-Unshade-surefire.patch
|
||||
Patch10: %{name}-bootstrap-resources.patch
|
||||
BuildRequires: ant
|
||||
BuildRequires: apache-commons-compress
|
||||
BuildRequires: apache-commons-io
|
||||
BuildRequires: apache-commons-lang3
|
||||
BuildRequires: atinject
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: java-devel >= 1.8
|
||||
BuildRequires: javacc
|
||||
BuildRequires: javapackages-local >= 6
|
||||
BuildRequires: jsr-305
|
||||
BuildRequires: junit
|
||||
BuildRequires: maven-common-artifact-filters
|
||||
BuildRequires: maven-doxia-core
|
||||
BuildRequires: maven-doxia-sink-api
|
||||
BuildRequires: maven-lib
|
||||
BuildRequires: maven-plugin-annotations
|
||||
BuildRequires: maven-reporting-api
|
||||
BuildRequires: maven-reporting-impl
|
||||
BuildRequires: maven-resolver-api
|
||||
BuildRequires: maven-resolver-impl
|
||||
BuildRequires: maven-resolver-named-locks
|
||||
BuildRequires: maven-resolver-util
|
||||
BuildRequires: maven-shared-utils
|
||||
BuildRequires: plexus-containers-component-annotations
|
||||
BuildRequires: plexus-i18n
|
||||
BuildRequires: plexus-interpolation
|
||||
BuildRequires: plexus-languages
|
||||
BuildRequires: plexus-metadata-generator
|
||||
BuildRequires: plexus-utils
|
||||
BuildRequires: plexus-xml
|
||||
BuildRequires: sisu-inject
|
||||
BuildRequires: sisu-plexus
|
||||
BuildRequires: testng
|
||||
BuildRequires: xmvn-install
|
||||
BuildRequires: xmvn-resolve
|
||||
BuildRequires: mvn(org.apache.maven:maven-parent:pom:)
|
||||
# PpidChecker relies on /usr/bin/ps to check process uptime
|
||||
Requires: procps
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
Surefire is a test framework project.
|
||||
|
||||
%package plugin-bootstrap
|
||||
Summary: Surefire plugin for maven
|
||||
Group: Development/Libraries/Java
|
||||
|
||||
%description plugin-bootstrap
|
||||
Maven surefire plugin for running tests via the surefire framework.
|
||||
|
||||
%package report-plugin-bootstrap
|
||||
Summary: Surefire reports plugin for maven
|
||||
Group: Development/Libraries/Java
|
||||
|
||||
%description report-plugin-bootstrap
|
||||
Plugin for generating reports from surefire test runs.
|
||||
|
||||
%package provider-junit
|
||||
Summary: JUnit provider for Maven Surefire
|
||||
Group: Development/Libraries/Java
|
||||
|
||||
%description provider-junit
|
||||
JUnit provider for Maven Surefire.
|
||||
|
||||
%package provider-testng
|
||||
Summary: TestNG provider for Maven Surefire
|
||||
Group: Development/Libraries/Java
|
||||
|
||||
%description provider-testng
|
||||
TestNG provider for Maven Surefire.
|
||||
|
||||
%package report-parser
|
||||
Summary: Parses report output files from surefire
|
||||
Group: Development/Libraries/Java
|
||||
|
||||
%description report-parser
|
||||
Plugin for parsing report output files from surefire.
|
||||
|
||||
%package -n maven-failsafe-plugin-bootstrap
|
||||
Summary: Maven plugin for running integration tests
|
||||
Group: Development/Libraries/Java
|
||||
|
||||
%description -n maven-failsafe-plugin-bootstrap
|
||||
The Failsafe Plugin is designed to run integration tests while the
|
||||
Surefire Plugins is designed to run unit. The name (failsafe) was
|
||||
chosen both because it is a synonym of surefire and because it implies
|
||||
that when it fails, it does so in a safe way.
|
||||
|
||||
If you use the Surefire Plugin for running tests, then when you have a
|
||||
test failure, the build will stop at the integration-test phase and
|
||||
your integration test environment will not have been torn down
|
||||
correctly.
|
||||
|
||||
The Failsafe Plugin is used during the integration-test and verify
|
||||
phases of the build lifecycle to execute the integration tests of an
|
||||
application. The Failsafe Plugin will not fail the build during the
|
||||
integration-test phase thus enabling the post-integration-test phase
|
||||
to execute.
|
||||
|
||||
%package javadoc
|
||||
Summary: Javadoc for %{name}
|
||||
Group: Documentation/HTML
|
||||
|
||||
%description javadoc
|
||||
Javadoc for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -a10
|
||||
cp -p %{SOURCE1} %{SOURCE2} .
|
||||
|
||||
%patch -P 0 -p1
|
||||
%patch -P 1 -p1
|
||||
%patch -P 10 -p1
|
||||
|
||||
# Disable strict doclint
|
||||
sed -i /-Xdoclint:all/d pom.xml
|
||||
|
||||
# QA plugin useful only for upstream
|
||||
%pom_remove_plugin -r :jacoco-maven-plugin
|
||||
# Not wanted
|
||||
%pom_remove_plugin -r :maven-shade-plugin
|
||||
# Not packaged
|
||||
%pom_remove_plugin -r :animal-sniffer-maven-plugin
|
||||
# Complains
|
||||
%pom_remove_plugin -r :apache-rat-plugin
|
||||
|
||||
%pom_disable_module surefire-shadefire
|
||||
%pom_remove_dep -r :surefire-shadefire
|
||||
|
||||
# Help plugin is needed only to evaluate effective Maven settings.
|
||||
# For building RPM package default settings will suffice.
|
||||
%pom_remove_plugin :maven-help-plugin surefire-its
|
||||
|
||||
# We don't need site-source
|
||||
%pom_remove_plugin :maven-assembly-plugin maven-surefire-plugin
|
||||
%pom_remove_dep -r ::::site-source
|
||||
|
||||
%build
|
||||
%{mvn_package} ":*tests*" __noinstall
|
||||
%{mvn_package} ":{surefire,surefire-providers}" __noinstall
|
||||
%{mvn_package} ":*{surefire-plugin,report-plugin}*" @1
|
||||
%{mvn_package} ":*junit-platform*" junit5
|
||||
%{mvn_package} ":*{junit,testng,failsafe-plugin,report-parser}*" @1
|
||||
|
||||
mkdir -p lib
|
||||
build-jar-repository -s -p lib \
|
||||
apache-commons-lang3 \
|
||||
atinject \
|
||||
commons-compress \
|
||||
commons-io \
|
||||
jsr-305 \
|
||||
junit \
|
||||
maven-common-artifact-filters/maven-common-artifact-filters \
|
||||
maven-doxia/doxia-core \
|
||||
maven-doxia/doxia-sink-api \
|
||||
maven/maven-artifact \
|
||||
maven/maven-core \
|
||||
maven/maven-model \
|
||||
maven/maven-plugin-api \
|
||||
maven/maven-settings \
|
||||
maven-plugin-tools/maven-plugin-annotations \
|
||||
maven-reporting-api/maven-reporting-api \
|
||||
maven-reporting-impl/maven-reporting-impl \
|
||||
maven-resolver/maven-resolver-api \
|
||||
maven-resolver/maven-resolver-impl \
|
||||
maven-resolver/maven-resolver-named-locks \
|
||||
maven-resolver/maven-resolver-util \
|
||||
maven-shared-utils/maven-shared-utils \
|
||||
org.eclipse.sisu.inject \
|
||||
org.eclipse.sisu.plexus \
|
||||
plexus-containers/plexus-component-annotations \
|
||||
plexus-i18n/plexus-i18n \
|
||||
plexus/interpolation \
|
||||
plexus-languages/plexus-java \
|
||||
plexus/utils \
|
||||
plexus/xml \
|
||||
testng
|
||||
|
||||
%{ant} \
|
||||
-Dtest.skip=true \
|
||||
package javadoc
|
||||
|
||||
%{mvn_artifact} pom.xml
|
||||
%{mvn_artifact} surefire-providers/pom.xml
|
||||
|
||||
mkdir -p target/site/apidocs
|
||||
|
||||
for module in \
|
||||
surefire-logger-api \
|
||||
surefire-api \
|
||||
surefire-booter \
|
||||
surefire-grouper \
|
||||
surefire-extensions-api \
|
||||
surefire-extensions-spi \
|
||||
maven-surefire-common \
|
||||
surefire-report-parser \
|
||||
maven-surefire-plugin \
|
||||
maven-failsafe-plugin \
|
||||
maven-surefire-report-plugin; do
|
||||
%{mvn_artifact} ${module}/pom.xml ${module}/target/${module}-%{version}.jar
|
||||
if [ -d ${module}/target/site/apidocs ]; then
|
||||
cp -r ${module}/target/site/apidocs target/site/apidocs/${module}
|
||||
fi
|
||||
done
|
||||
for module in \
|
||||
common-java5 \
|
||||
common-junit3 \
|
||||
common-junit4 \
|
||||
common-junit48 \
|
||||
surefire-junit3 \
|
||||
surefire-junit4 \
|
||||
surefire-junit47 \
|
||||
surefire-testng-utils \
|
||||
surefire-testng; do
|
||||
%{mvn_artifact} surefire-providers/${module}/pom.xml \
|
||||
surefire-providers/${module}/target/${module}-%{version}.jar
|
||||
if [ -d surefire-providers/${module}/target/site/apidocs ]; then
|
||||
cp -r surefire-providers/${module}/target/site/apidocs target/site/apidocs/${module}
|
||||
fi
|
||||
done
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
%fdupes -s %{buildroot}%{_javadocdir}
|
||||
|
||||
%files -f .mfiles
|
||||
%doc README.md
|
||||
%license LICENSE-2.0.txt cpl-v10.html
|
||||
|
||||
%files plugin-bootstrap -f .mfiles-surefire-plugin
|
||||
|
||||
%files report-plugin-bootstrap -f .mfiles-report-plugin
|
||||
|
||||
%files report-parser -f .mfiles-report-parser
|
||||
|
||||
%files provider-junit -f .mfiles-junit
|
||||
|
||||
%files provider-testng -f .mfiles-testng
|
||||
|
||||
%files -n maven-failsafe-plugin-bootstrap -f .mfiles-failsafe-plugin
|
||||
|
||||
%files javadoc -f .mfiles-javadoc
|
||||
%license LICENSE-2.0.txt cpl-v10.html
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user