From ab49dec9d227a221c4832c57a80212316cf44cc0 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Fri, 8 May 2020 02:29:02 +0000 Subject: [PATCH] import maven-surefire-3.0.0~M3-4.module+el8.2.0+4938+c0cffa5b --- .gitignore | 1 + .maven-surefire.metadata | 1 + SOURCES/0001-Port-to-TestNG-6.11.patch | 40 ++ ...2-Port-to-current-maven-shared-utils.patch | 70 +++ SOURCES/cpl-v10.html | 125 +++++ SOURCES/generate-tarball.sh | 25 + SPECS/maven-surefire.spec | 484 ++++++++++++++++++ 7 files changed, 746 insertions(+) create mode 100644 .gitignore create mode 100644 .maven-surefire.metadata create mode 100644 SOURCES/0001-Port-to-TestNG-6.11.patch create mode 100644 SOURCES/0002-Port-to-current-maven-shared-utils.patch create mode 100644 SOURCES/cpl-v10.html create mode 100755 SOURCES/generate-tarball.sh create mode 100644 SPECS/maven-surefire.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..dd56dce --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/maven-surefire-3.0.0-M3.tar.gz diff --git a/.maven-surefire.metadata b/.maven-surefire.metadata new file mode 100644 index 0000000..0741bf7 --- /dev/null +++ b/.maven-surefire.metadata @@ -0,0 +1 @@ +aa431c17c3667c58c9895ae845aa566f6336c7ba SOURCES/maven-surefire-3.0.0-M3.tar.gz diff --git a/SOURCES/0001-Port-to-TestNG-6.11.patch b/SOURCES/0001-Port-to-TestNG-6.11.patch new file mode 100644 index 0000000..0281bd5 --- /dev/null +++ b/SOURCES/0001-Port-to-TestNG-6.11.patch @@ -0,0 +1,40 @@ +From 69c97f47a7bbec601b407cd2cd81aee64507e562 Mon Sep 17 00:00:00 2001 +From: Mikolaj Izdebski +Date: Mon, 10 Jul 2017 10:37:50 +0200 +Subject: [PATCH 1/2] Port to TestNG 6.11 + +--- + surefire-providers/surefire-testng/pom.xml | 3 +-- + .../maven/surefire/testng/conf/AbstractDirectConfigurator.java | 2 +- + 2 files changed, 2 insertions(+), 3 deletions(-) + +diff --git a/surefire-providers/surefire-testng/pom.xml b/surefire-providers/surefire-testng/pom.xml +index 49e75b6e..a9db4a8d 100644 +--- a/surefire-providers/surefire-testng/pom.xml ++++ b/surefire-providers/surefire-testng/pom.xml +@@ -51,8 +51,7 @@ + + org.testng + testng +- 5.10 +- jdk15 ++ 6.11 + provided + + +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 e9667316..7021ef56 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 +@@ -63,7 +63,7 @@ public void configure( TestNG testng, Map options ) + 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 +-- +2.20.1 + diff --git a/SOURCES/0002-Port-to-current-maven-shared-utils.patch b/SOURCES/0002-Port-to-current-maven-shared-utils.patch new file mode 100644 index 0000000..8c69771 --- /dev/null +++ b/SOURCES/0002-Port-to-current-maven-shared-utils.patch @@ -0,0 +1,70 @@ +From a96b8f5dd6d7fc51d9056c93bd08635e06957ea5 Mon Sep 17 00:00:00 2001 +From: Michael Simacek +Date: Fri, 16 Mar 2018 13:45:01 +0100 +Subject: [PATCH 2/2] Port to current maven-shared-utils + +--- + .../plugin/surefire/report/StatelessXmlReporter.java | 12 ++++++------ + 1 file changed, 6 insertions(+), 6 deletions(-) + +diff --git a/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/report/StatelessXmlReporter.java b/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/report/StatelessXmlReporter.java +index b89c4e9b..8cf0b60c 100644 +--- a/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/report/StatelessXmlReporter.java ++++ b/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/report/StatelessXmlReporter.java +@@ -326,7 +326,7 @@ private static File getReportFile( ReportEntry report, File reportsDirectory, St + } + + private static void startTestElement( XMLWriter ppw, WrappedReportEntry report, String reportNameSuffix, +- String timeAsString ) ++ String timeAsString ) throws IOException + { + ppw.startElement( "testcase" ); + ppw.addAttribute( "name", report.getReportName() ); +@@ -349,7 +349,7 @@ private static void startTestElement( XMLWriter ppw, WrappedReportEntry report, + } + + private void createTestSuiteElement( XMLWriter ppw, WrappedReportEntry report, TestSetStats testSetStats, +- String timeAsString ) ++ String timeAsString ) throws IOException + { + ppw.startElement( "testsuite" ); + +@@ -377,7 +377,7 @@ private void createTestSuiteElement( XMLWriter ppw, WrappedReportEntry report, T + + private static void getTestProblems( OutputStreamWriter outputStreamWriter, XMLWriter ppw, + WrappedReportEntry report, boolean trimStackTrace, OutputStream fw, +- String testErrorType, boolean createOutErrElementsInside ) ++ String testErrorType, boolean createOutErrElementsInside ) throws IOException + { + ppw.startElement( testErrorType ); + +@@ -434,7 +434,7 @@ private static void getTestProblems( OutputStreamWriter outputStreamWriter, XMLW + + // Create system-out and system-err elements + private static void createOutErrElements( OutputStreamWriter outputStreamWriter, XMLWriter ppw, +- WrappedReportEntry report, OutputStream fw ) ++ WrappedReportEntry report, OutputStream fw ) throws IOException + { + EncodingOutputStream eos = new EncodingOutputStream( fw ); + addOutputStreamElement( outputStreamWriter, eos, ppw, report.getStdout(), "system-out" ); +@@ -444,7 +444,7 @@ private static void createOutErrElements( OutputStreamWriter outputStreamWriter, + private static void addOutputStreamElement( OutputStreamWriter outputStreamWriter, + EncodingOutputStream eos, XMLWriter xmlWriter, + Utf8RecodingDeferredFileOutputStream utf8RecodingDeferredFileOutputStream, +- String name ) ++ String name ) throws IOException + { + if ( utf8RecodingDeferredFileOutputStream != null && utf8RecodingDeferredFileOutputStream.getByteCount() > 0 ) + { +@@ -474,7 +474,7 @@ private static void addOutputStreamElement( OutputStreamWriter outputStreamWrite + * + * @param xmlWriter The test suite to report to + */ +- private static void showProperties( XMLWriter xmlWriter, Map systemProperties ) ++ private static void showProperties( XMLWriter xmlWriter, Map systemProperties ) throws IOException + { + xmlWriter.startElement( "properties" ); + for ( final Entry entry : systemProperties.entrySet() ) +-- +2.20.1 + diff --git a/SOURCES/cpl-v10.html b/SOURCES/cpl-v10.html new file mode 100644 index 0000000..36aa208 --- /dev/null +++ b/SOURCES/cpl-v10.html @@ -0,0 +1,125 @@ + + + +Common Public License - v 1.0 + + + + + + +

Common Public License - v 1.0 +

+

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. +

+

1. DEFINITIONS +

"Contribution" means: + +

    a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and
    +b) in the case of each subsequent Contributor:
+ + +
    i) changes to the Program, and
+ + +
    ii) additions to the Program;
+ + +
    where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. 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. 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.
+ +

+

"Contributor" means any person or entity that distributes the Program. +

+

"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. +

+

"Program" means the Contributions distributed in accordance with this Agreement. +

+

"Recipient" means anyone who receives the Program under this Agreement, including all Contributors. +

+

2. GRANT OF RIGHTS + +

    a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free copyright license to 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.
+ + +
+ + +
    b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, 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.
+ + +
+ + +
    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.
+ + +
+ + +
    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.
+ + +
+ +

3. REQUIREMENTS +

A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that: + +

    a) it complies with the terms and conditions of this Agreement; and
+ + +
    b) its license agreement:
+ + +
    i) effectively disclaims 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;
+ + +
    ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits;
+ + +
    iii) states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and
+ + +
    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.
+ + +
+ +

When the Program is made available in source code form: + +

    a) it must be made available under this Agreement; and
+ + +
    b) a copy of this Agreement must be included with each copy of the Program.
+ +

+

Contributors may not remove or alter any copyright notices contained within the Program. +

+

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. +

+

4. COMMERCIAL DISTRIBUTION +

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. +

+

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. +

+

5. NO WARRANTY +

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 solely responsible for determining the appropriateness of using and distributing the Program and assumes all risks associated with its exercise of rights under this Agreement, including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption of operations. +

+

6. DISCLAIMER OF LIABILITY +

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 (INCLUDING WITHOUT LIMITATION LOST PROFITS), 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. +

+

7. GENERAL +

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. +

+

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. +

+

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. +

+

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 publish new versions (including revisions) of this Agreement from time to 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. 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 version. 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, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved. +

+

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. +

+

+ + + + \ No newline at end of file diff --git a/SOURCES/generate-tarball.sh b/SOURCES/generate-tarball.sh new file mode 100755 index 0000000..37a1413 --- /dev/null +++ b/SOURCES/generate-tarball.sh @@ -0,0 +1,25 @@ +#!/bin/bash +set -e + +name=maven-surefire +if [[ -n "$1" ]]; then + version="$1" +else + version="$(sed -n 's/Version:\s*//p' *.spec)" +fi + +# RETRIEVE +wget "http://repo2.maven.org/maven2/org/apache/maven/surefire/surefire/${version}/surefire-${version}-source-release.zip" -O "${name}-${version}.orig.zip" + +rm -rf tarball-tmp +mkdir tarball-tmp +cd tarball-tmp +unzip "../${name}-${version}.orig.zip" + +# CLEAN TARBALL +find -name '*.jar' -delete +find -name '*.class' -delete + +tar czf "../${name}-${version}.tar.gz" * +cd .. +rm -r tarball-tmp "${name}-${version}.orig.zip" diff --git a/SPECS/maven-surefire.spec b/SPECS/maven-surefire.spec new file mode 100644 index 0000000..d48276a --- /dev/null +++ b/SPECS/maven-surefire.spec @@ -0,0 +1,484 @@ +Name: maven-surefire +Version: 3.0.0~M3 +Release: 4%{?dist} +Summary: Test framework project +License: ASL 2.0 and CPL +URL: http://maven.apache.org/surefire/ +BuildArch: noarch + +# ./generate-tarball.sh 3.0.0-M3 +Source0: %{name}-3.0.0-M3.tar.gz +# Remove bundled binaries which cannot be easily verified for licensing +Source1: generate-tarball.sh +Source2: http://junit.sourceforge.net/cpl-v10.html + +Patch1: 0001-Port-to-TestNG-6.11.patch +Patch2: 0002-Port-to-current-maven-shared-utils.patch + +BuildRequires: maven-local +BuildRequires: mvn(com.google.code.findbugs:jsr305) +BuildRequires: mvn(commons-io:commons-io) +BuildRequires: mvn(junit:junit) +BuildRequires: mvn(org.apache.commons:commons-lang3) +BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-annotations) +BuildRequires: mvn(org.apache.maven.plugins:maven-assembly-plugin) +BuildRequires: mvn(org.apache.maven.plugins:maven-dependency-plugin) +BuildRequires: mvn(org.apache.maven.plugins:maven-failsafe-plugin) +BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin) +BuildRequires: mvn(org.apache.maven.plugins:maven-shade-plugin) +BuildRequires: mvn(org.apache.maven.shared:maven-common-artifact-filters) +BuildRequires: mvn(org.apache.maven.shared:maven-shared-utils) +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-toolchain) +BuildRequires: mvn(org.codehaus.mojo:javacc-maven-plugin) +BuildRequires: mvn(org.codehaus.plexus:plexus-java) +BuildRequires: mvn(org.fusesource.jansi:jansi) +BuildRequires: mvn(org.junit.platform:junit-platform-launcher) +BuildRequires: mvn(org.testng:testng) +BuildRequires: mvn(org.testng:testng::jdk15:) + + +# PpidChecker relies on /usr/bin/ps to check process uptime +Requires: procps-ng + +%description +Surefire is a test framework project. + +%package plugin +Summary: Surefire plugin for maven +Requires: (%{name}-provider-junit = %{version}-%{release} if junit) +Requires: (%{name}-provider-junit5 = %{version}-%{release} if junit5) +Requires: (%{name}-provider-testng = %{version}-%{release} if testng) + +%description plugin +Maven surefire plugin for running tests via the surefire framework. + +%package provider-junit +Summary: JUnit provider for Maven Surefire + +%description provider-junit +JUnit provider for Maven Surefire. + +%package provider-junit5 +Summary: JUnit 5 provider for Maven Surefire + +%description provider-junit5 +JUnit 5 provider for Maven Surefire. + +%package provider-testng +Summary: TestNG provider for Maven Surefire + +%description provider-testng +TestNG provider for Maven Surefire. + +%package -n maven-failsafe-plugin +Summary: Maven plugin for running integration tests + +%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} + +%description javadoc +Javadoc for %{name}. + +%prep +%setup -q -n surefire-3.0.0-M3 +cp -p %{SOURCE2} . + +%patch1 -p1 +%patch2 -p1 + +# Disable strict doclint +sed -i /-Xdoclint:all/d pom.xml + +%pom_disable_module maven-surefire-report-plugin +%pom_disable_module surefire-report-parser +%pom_disable_module surefire-shadefire + +%pom_remove_dep -r org.apache.maven.surefire: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 + +# QA plugin useful only for upstream +%pom_remove_plugin -r :jacoco-maven-plugin + +# Not in Fedora +%pom_remove_plugin -r :animal-sniffer-maven-plugin +# Complains +%pom_remove_plugin -r :apache-rat-plugin +%pom_remove_plugin -r :maven-enforcer-plugin +# We don't need site-source +%pom_remove_plugin :maven-assembly-plugin maven-surefire-plugin +%pom_remove_dep -r ::::site-source + + +%build +%mvn_package ":*{surefire-plugin}*" @1 +%mvn_package ":*junit-platform*" junit5 +%mvn_package ":*{junit,testng,failsafe-plugin}*" @1 +%mvn_package ":*tests*" __noinstall +# tests turned off because they need jmock +%mvn_build -f + +%install +%mvn_install + + +%files -f .mfiles +%doc README.md +%license LICENSE NOTICE cpl-v10.html + +%files plugin -f .mfiles-surefire-plugin +%files provider-junit -f .mfiles-junit +%files provider-junit5 -f .mfiles-junit5 +%files provider-testng -f .mfiles-testng +%files -n maven-failsafe-plugin -f .mfiles-failsafe-plugin + +%files javadoc -f .mfiles-javadoc +%license LICENSE NOTICE cpl-v10.html + +%changelog +* Tue Nov 05 2019 Mikolaj Izdebski - 3.0.0~M3-4 +- Mass rebuild for javapackages-tools 201902 + +* Mon Oct 28 2019 Mikolaj Izdebski - 3.0.0~M3-3 +- Enable JUnit 5 provider + +* Fri May 24 2019 Mikolaj Izdebski - 3.0.0~M3-2 +- Mass rebuild for javapackages-tools 201901 + +* Mon May 13 2019 Mikolaj Izdebski - 3.0.0~M3-1 +- Switch to tilde versioning + +* Sat Apr 13 2019 Mikolaj Izdebski - 3.0.0-0.1.M3 +- Update to upstream 3.0.0-M3 milestone snapshot + +* Tue Jul 31 2018 Michael Simacek - 0:2.22.0-3 +- Repack the tarball without binaries + +* Fri Jul 13 2018 Fedora Release Engineering - 0:2.22.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Fri Jun 29 2018 Michael Simacek - 0:2.22.0-1 +- Update to upstream version 2.22.0 + +* Fri Mar 16 2018 Michael Simacek - 0:2.21.0-1 +- Update to upstream version 2.21.0 + +* Thu Feb 08 2018 Fedora Release Engineering - 0:2.20.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Mon Sep 18 2017 Mikolaj Izdebski - 0:2.20.1-3 +- Remove temporary build-requires + +* Mon Sep 18 2017 Mikolaj Izdebski - 0:2.20.1-2 +- Add missing requires on procps-ng + +* Mon Sep 18 2017 Mikolaj Izdebski - 0:2.20.1-1 +- Update to upstream version 2.20.1 + +* Tue Sep 12 2017 Mikolaj Izdebski - 0:2.20-1 +- Update to upstream version 2.20 + +* Wed Jul 26 2017 Fedora Release Engineering - 0:2.19.1-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Mon Jul 10 2017 Mikolaj Izdebski - 0:2.19.1-7 +- Port to TestNG 6.11 +- Resolves: rhbz#1469005 + +* Fri Feb 10 2017 Fedora Release Engineering - 0:2.19.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Fri Jul 15 2016 Mikolaj Izdebski - 0:2.19.1-5 +- Don't use Maven 2 toolchain + +* Thu Jun 30 2016 Mikolaj Izdebski - 0:2.19.1-4 +- Compile against Maven 3 APIs + +* Thu May 05 2016 Michael Simacek - 0:2.19.1-3 +- Fix FTBFS after doxia 1.7 update + +* Thu Feb 04 2016 Fedora Release Engineering - 0:2.19.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Mon Jan 4 2016 Mikolaj Izdebski - 0:2.19.1-1 +- Update to upstream version 2.19.1 + +* Mon Oct 19 2015 Mikolaj Izdebski - 0:2.19-1 +- Update to upstream version 2.19 + +* Mon Jul 13 2015 Michael Simacek - 0:2.18.1-2 +- Fix FTBFS + +* Thu Jun 25 2015 Michael Simacek - 0:2.18.1-1 +- Update to upstream version 2.18.1 + +* Wed Jun 17 2015 Fedora Release Engineering - 0:2.17-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Tue Oct 14 2014 Mikolaj Izdebski - 0:2.17-6 +- Remove legacy Obsoletes/Provides for maven2 plugin + +* Thu Jun 19 2014 Michal Srb - 0:2.17-5 +- Fix maven-parent BR + +* Sat Jun 07 2014 Fedora Release Engineering - 0:2.17-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Mon May 26 2014 Mikolaj Izdebski - 0:2.17-3 +- Rebuild to regenerate file lists + +* Thu May 22 2014 Mikolaj Izdebski - 0:2.17-2 +- Drop junit4 virtual provide + +* Mon Mar 17 2014 Mikolaj Izdebski - 0:2.17-1 +- Update to upstream version 2.17 + +* Tue Mar 04 2014 Stanislav Ochotnicky - 0:2.16-3 +- Use Requires: java-headless rebuild (#1067528) + +* Fri Feb 21 2014 Michal Srb - 0:2.16-2 +- Remove dep on maven-compat + +* Mon Aug 19 2013 Mikolaj Izdebski - 0:2.16-1 +- Update to upstream version 2.16 + +* Sat Aug 03 2013 Fedora Release Engineering - 0:2.15-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Tue Jun 18 2013 Michal Srb - 0:2.15-1 +- Update to upstream version 2.15 + +* Thu May 9 2013 Mikolaj Izdebski - 0:2.14.1-2 +- Remove unneeded BR +- Resolves: rhbz#961467 + +* Mon Apr 15 2013 Michal Srb - 0:2.14.1-1 +- Update to upstream version 2.14.1 + +* Fri Apr 05 2013 Michal Srb - 0:2.14-3 +- Remove unnecessary dependency on mockito + +* Fri Mar 15 2013 Michal Srb - 0:2.14-2 +- Remove unneeded dependencies + +* Fri Mar 15 2013 Michal Srb - 0:2.14-1 +- Update to upstream version 2.14 + +* Thu Mar 7 2013 Mikolaj Izdebski - 0:2.13-4 +- Add missing BR: mockito + +* Wed Feb 06 2013 Java SIG - 0:2.13-3 +- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild +- Replace maven BuildRequires with maven-local + +* Tue Jan 29 2013 Mikolaj Izdebski - 0:2.13-2 +- Get rid of custom depmap + +* Wed Jan 23 2013 Mikolaj Izdebski - 0:2.13-1 +- Update to upstream version 2.13 + +* Fri Dec 21 2012 Michal Srb - 0:2.12.4-8 +- Migrated from maven-doxia to doxia subpackages (Resolves: #889149) + +* Fri Dec 14 2012 Mikolaj Izdebski - 0:2.12.4-7 +- Fix Provides: maven-surefire-provider-junit4 + +* Fri Dec 14 2012 Mikolaj Izdebski - 0:2.12.4-6 +- Merge junit3 and junit4 providers +- Disable dependency on shadefire + +* Mon Dec 10 2012 Mikolaj Izdebski - 0:2.12.4-5 +- Enable xmvn auto-requires + +* Thu Nov 29 2012 Mikolaj Izdebski - 0:2.12.4-4 +- Build with xmvn + +* Thu Nov 15 2012 Mikolaj Izdebski - 0:2.12.4-3 +- Add CPL license + +* Mon Oct 22 2012 Mikolaj Izdebski - 0:2.12.4-2 +- Add maven depmap for org.beanshell:bsh + +* Fri Oct 5 2012 Mikolaj Izdebski - 0:2.12.4-1 +- Update to upstream version 2.12.4 + +* Tue Sep 25 2012 Mikolaj Izdebski - 0:2.12.3-1 +- Update to upstream version 2.12.3 + +* Mon Aug 13 2012 Mikolaj Izdebski - 0:2.12.2-1 +- Update to upstream version 2.12.2 + +* Fri Aug 3 2012 Mikolaj Izdebski - 0:2.12.1-1 +- Update to upstream version 2.12.1 +- Install LICENSE and NOTICE files +- Remove RPM bug workaround + +* Fri Jul 27 2012 Stanislav Ochotnicky - 0:2.12-5 +- Fix build problem and rebuild with target 1.5 + +* Thu Jul 19 2012 Fedora Release Engineering - 0:2.12-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue Mar 06 2012 Jaromir Capik - 0:2.12-3 +- Removing bootstrap condition for Patch1 inclusion (always needed in SRPM) + +* Thu Mar 01 2012 Jaromir Capik - 0:2.12-2 +- Update to 2.12 + +* Thu Mar 01 2012 Jaromir Capik - 0:2.12-1 +- Bootstrap for 2.12 + +* Fri Jan 13 2012 Fedora Release Engineering - 0:2.10-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Thu Nov 24 2011 Stanislav Ochotnicky - 0:2.10-4 +- Move poms and depmaps to respective sub-packages +- Add requires on junit provider to maven-plugin + +* Wed Oct 5 2011 Stanislav Ochotnicky - 0:2.10-3 +- Fix junit4 depmap provider macro +- Remove unused patches + +* Sun Oct 2 2011 Alexander Kurtakov 0:2.10-2 +- BR maven-enforcer-plugin. + +* Sun Oct 2 2011 Alexander Kurtakov 0:2.10-1 +- Update to latest upstream - 2.10. +- Use new maven macro. + +* Mon Jun 27 2011 Stanislav Ochotnicky - 0:2.9-1 +- Update to latest upstream (2.9) +- Fix up Requires for juni4 provider + +* Tue May 24 2011 Stanislav Ochotnicky - 0:2.8.1-4 +- Fix up providers artifact and report plugin groupid + +* Tue May 24 2011 Alexander Kurtakov 0:2.8.1-3 +- Fix maven-surefire-plugin group in the depmap. + +* Fri May 13 2011 Stanislav Ochotnicky - 0:2.8.1-2 +- Install testng-utils jar and pom + +* Mon Apr 18 2011 Stanislav Ochotnicky - 0:2.8.1-1 +- Update to latest upstream version (2.8.1) + +* Tue Mar 29 2011 Stanislav Ochotnicky - 0:2.8-1 +- Update to latest upstream version (2.8) + +* Mon Mar 7 2011 Stanislav Ochotnicky - 0:2.7.2-1 +- Update to latest version (2.7.2) +- Add common-junit* jars to distribution +- Versionless javadocs +- Use maven 3 to build + +* Tue Feb 08 2011 Fedora Release Engineering - 0:2.7.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Mon Jan 3 2011 Alexander Kurtakov 0:2.7.1-2 +- Fix junit3 depmap. + +* Wed Dec 29 2010 Alexander Kurtakov 0:2.7.1-1 +- Update to 2.7.1. + +* Wed Dec 8 2010 Stanislav Ochotnicky - 0:2.6-3 +- Add proper Requires on junit/junit4/testng to providers + +* Fri Oct 29 2010 Stanislav Ochotnicky - 0:2.6-2 +- Add main pom.xml + +* Mon Aug 30 2010 Stanislav Ochotnicky - 0:2.6-1 +- Rename subpackages to not repeat "maven" twice +- Update to latest upstream version +- Add common jar to files +- Introduce maven-failsafe-plugin sub-package +- Cleanups + +* Mon Aug 31 2009 Andrew Overholt 0:2.3-7.7 +- Bump release to rebuild + +* Mon Aug 31 2009 Alexander Kurtakov 0:2.3-7.6 +- Really remove maven2-plugin-surefire BR. + +* Mon Aug 31 2009 Alexander Kurtakov 0:2.3-7.5 +- Revert previous change. + +* Mon Aug 31 2009 Alexander Kurtakov 0:2.3-7.4 +- Disable not needed BRs. + +* Mon Aug 31 2009 Alexander Kurtakov 0:2.3-7.3 +- Install JPP.maven2.plugins-surefire-plugin.pom now that we have maven 2.0.8. + +* Wed Aug 19 2009 Alexander Kurtakov 0:2.3-7.2 +- Don't install JPP.maven2.plugins-surefire-plugin.pom to fix conflict with maven2 2.0.4. + +* Tue Aug 18 2009 Alexander Kurtakov 0:2.3-7.1 +- Update to 2.3 - sync with jpackage. + +* Sat Jul 25 2009 Fedora Release Engineering - 0:1.5.3-4.8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Feb 25 2009 Fedora Release Engineering - 0:1.5.3-3.8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Wed Aug 13 2008 Deepak Bhole 1.5.3-2.8 +- Build for ppc64 + +* Wed Jul 9 2008 Tom "spot" Callaway 1.5.3-2.7 +- drop repotag + +* Thu May 29 2008 Tom "spot" Callaway 1.5.3-2jpp.6 +- fix license tag + +* Thu Feb 28 2008 Deepak Bhole 1.5.3-2jpp.5 +- Rebuild + +* Fri Sep 21 2007 Deepak Bhole 1.5.3-2jpp.4 +- Build with maven +- ExcludeArch ppc64 + +* Fri Aug 31 2007 Deepak Bhole 0:1.5.3-2jpp.3 +- Build without maven (for initial ppc build) + +* Tue Mar 20 2007 Deepak Bhole 0:1.5.3-2jpp.2 +- Build with maven + +* Mon Feb 26 2007 Tania Bento 0:1.5.3-2jpp.1 +- Fixed %%Release. +- Fixed %%BuildRoot. +- Removed %%Vendor. +- Removed %%Distribution. +- Removed period at the end of %%Summary. +- Removed %%post and %%postun sections for javadoc. +- Removed %%post and %%postun sections for booter-javadoc. +- Added gcj support option. +- Fixed instructions on how to generate source drop. + +* Tue Oct 17 2006 Deepak Bhole 1.5.3-2jpp +- Update for maven2 9jpp + +* Mon Jun 19 2006 Deepak Bhole - 0:1.5.3-1jpp +- Initial build