move out of test
OBS-URL: https://build.opensuse.org/package/show/Java:packages/maven-surefire?expand=0&rev=42
This commit is contained in:
commit
ceffb6c96c
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
|
54
0001-Port-to-TestNG-7.4.0.patch
Normal file
54
0001-Port-to-TestNG-7.4.0.patch
Normal file
@ -0,0 +1,54 @@
|
||||
From 900884b9e9f4d359d173bfb0251ccdc44d885f11 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
|
||||
|
||||
---
|
||||
surefire-providers/surefire-testng/pom.xml | 3 +--
|
||||
.../maven/surefire/testng/conf/AbstractDirectConfigurator.java | 2 +-
|
||||
.../maven/surefire/testng/conf/TestNGMapConfigurator.java | 2 +-
|
||||
3 files changed, 3 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/surefire-providers/surefire-testng/pom.xml b/surefire-providers/surefire-testng/pom.xml
|
||||
index 0bd39be71..19e1b6e32 100644
|
||||
--- a/surefire-providers/surefire-testng/pom.xml
|
||||
+++ b/surefire-providers/surefire-testng/pom.xml
|
||||
@@ -56,8 +56,7 @@
|
||||
<dependency>
|
||||
<groupId>org.testng</groupId>
|
||||
<artifactId>testng</artifactId>
|
||||
- <version>${testngVersion}</version>
|
||||
- <classifier>jdk15</classifier>
|
||||
+ <version>7.4.0</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
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..ab187b6d5 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..06dbd2316 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
|
||||
@@ -71,7 +71,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));
|
||||
}
|
||||
}
|
||||
|
||||
--
|
||||
2.46.1
|
||||
|
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.1</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
|
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:9450eb612ce8cfd4add91381e887c68179219afdd5db2b562129c1a1dad34537
|
||||
size 4536
|
188
maven-surefire-plugins.changes
Normal file
188
maven-surefire-plugins.changes
Normal file
@ -0,0 +1,188 @@
|
||||
-------------------------------------------------------------------
|
||||
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
|
195
maven-surefire-plugins.spec
Normal file
195
maven-surefire-plugins.spec
Normal file
@ -0,0 +1,195 @@
|
||||
#
|
||||
# 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.1
|
||||
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
|
||||
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
|
||||
|
||||
# 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
|
||||
|
||||
# Unshade
|
||||
%pom_disable_module surefire-shared-utils
|
||||
%pom_remove_dep -r :surefire-shared-utils
|
||||
|
||||
find -name *.java -exec sed -i -e s/org.apache.maven.surefire.shared.utils/org.apache.maven.shared.utils/ -e s/org.apache.maven.surefire.shared.io/org.apache.commons.io/ -e s/org.apache.maven.surefire.shared.lang3/org.apache.commons.lang3/ -e s/org.apache.maven.surefire.shared.compress/org.apache.commons.compress/ {} \;
|
||||
|
||||
%pom_add_dep org.apache.maven.shared:maven-shared-utils surefire-api
|
||||
%pom_change_dep org.apache.maven.shared:maven-shared-utils ::- surefire-api
|
||||
|
||||
%pom_add_dep org.apache.commons:commons-lang3 surefire-api
|
||||
%pom_change_dep org.apache.commons:commons-lang3 ::- surefire-api
|
||||
|
||||
%pom_add_dep org.apache.commons:commons-compress maven-surefire-common
|
||||
%pom_change_dep org.apache.commons:commons-compress ::- maven-surefire-common
|
||||
|
||||
%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
|
181
maven-surefire-provider-junit5.changes
Normal file
181
maven-surefire-provider-junit5.changes
Normal file
@ -0,0 +1,181 @@
|
||||
-------------------------------------------------------------------
|
||||
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
|
119
maven-surefire-provider-junit5.spec
Normal file
119
maven-surefire-provider-junit5.spec
Normal file
@ -0,0 +1,119 @@
|
||||
#
|
||||
# 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.1
|
||||
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
|
||||
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
|
||||
|
||||
# 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
|
||||
|
||||
# Unshade
|
||||
%pom_disable_module surefire-shared-utils
|
||||
%pom_remove_dep -r :surefire-shared-utils
|
||||
|
||||
find -name *.java -exec sed -i -e s/org.apache.maven.surefire.shared.utils/org.apache.maven.shared.utils/ -e s/org.apache.maven.surefire.shared.io/org.apache.commons.io/ -e s/org.apache.maven.surefire.shared.lang3/org.apache.commons.lang3/ -e s/org.apache.maven.surefire.shared.compress/org.apache.commons.compress/ {} \;
|
||||
|
||||
%pom_add_dep org.apache.maven.shared:maven-shared-utils surefire-api
|
||||
%pom_change_dep org.apache.maven.shared:maven-shared-utils ::- surefire-api
|
||||
|
||||
%pom_add_dep org.apache.commons:commons-lang3 surefire-api
|
||||
%pom_change_dep org.apache.commons:commons-lang3 ::- surefire-api
|
||||
|
||||
%pom_add_dep org.apache.commons:commons-compress maven-surefire-common
|
||||
%pom_change_dep org.apache.commons:commons-compress ::- maven-surefire-common
|
||||
|
||||
%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
|
193
maven-surefire.changes
Normal file
193
maven-surefire.changes
Normal file
@ -0,0 +1,193 @@
|
||||
-------------------------------------------------------------------
|
||||
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
|
290
maven-surefire.spec
Normal file
290
maven-surefire.spec
Normal file
@ -0,0 +1,290 @@
|
||||
#
|
||||
# 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.1
|
||||
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
|
||||
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 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
|
||||
|
||||
# Unshade
|
||||
%pom_disable_module surefire-shared-utils
|
||||
%pom_remove_dep -r :surefire-shared-utils
|
||||
|
||||
find -name *.java -exec sed -i -e s/org.apache.maven.surefire.shared.utils/org.apache.maven.shared.utils/ -e s/org.apache.maven.surefire.shared.io/org.apache.commons.io/ -e s/org.apache.maven.surefire.shared.lang3/org.apache.commons.lang3/ -e s/org.apache.maven.surefire.shared.compress/org.apache.commons.compress/ {} \;
|
||||
|
||||
%pom_add_dep org.apache.maven.shared:maven-shared-utils surefire-api
|
||||
%pom_change_dep org.apache.maven.shared:maven-shared-utils ::- surefire-api
|
||||
|
||||
%pom_add_dep org.apache.commons:commons-lang3 surefire-api
|
||||
%pom_change_dep org.apache.commons:commons-lang3 ::- surefire-api
|
||||
|
||||
%pom_add_dep org.apache.commons:commons-compress maven-surefire-common
|
||||
%pom_change_dep org.apache.commons:commons-compress ::- maven-surefire-common
|
||||
|
||||
%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