2012-03-01 15:24:57 +00:00
|
|
|
%global bootstrap 0
|
2012-03-01 14:28:44 +00:00
|
|
|
|
2007-03-13 23:19:51 +00:00
|
|
|
Name: maven-surefire
|
2012-09-25 15:09:25 +00:00
|
|
|
Version: 2.12.3
|
2012-08-03 10:02:15 +00:00
|
|
|
Release: 1%{?dist}
|
2007-03-13 23:19:51 +00:00
|
|
|
Epoch: 0
|
|
|
|
Summary: Test framework project
|
2010-08-30 13:00:52 +00:00
|
|
|
License: ASL 2.0
|
|
|
|
Group: Development/Libraries
|
2007-03-13 23:19:51 +00:00
|
|
|
URL: http://maven.apache.org/surefire/
|
|
|
|
|
2010-12-29 21:55:55 +00:00
|
|
|
Source0: http://repo2.maven.org/maven2/org/apache/maven/surefire/surefire/%{version}/surefire-%{version}-source-release.zip
|
2010-08-30 13:00:52 +00:00
|
|
|
Source1: %{name}-jpp-depmap.xml
|
2007-03-13 23:19:51 +00:00
|
|
|
|
2011-06-27 14:23:38 +00:00
|
|
|
# provide compatibility for maven3
|
2011-10-05 12:51:55 +00:00
|
|
|
Patch0: 0003-Fix-maven3-compatibility.patch
|
2012-03-01 14:28:44 +00:00
|
|
|
Patch1: 0004-Surefire-2.12-bootstrap.patch
|
|
|
|
|
2007-03-13 23:19:51 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: ant
|
2012-08-13 08:56:37 +00:00
|
|
|
BuildRequires: apache-commons-lang3
|
2007-03-13 23:19:51 +00:00
|
|
|
BuildRequires: classworlds
|
|
|
|
BuildRequires: jpackage-utils >= 0:1.7.2
|
|
|
|
BuildRequires: junit >= 3.8.2
|
|
|
|
BuildRequires: plexus-utils
|
2009-08-18 18:43:59 +00:00
|
|
|
BuildRequires: junit4
|
2010-08-30 13:00:52 +00:00
|
|
|
BuildRequires: testng
|
|
|
|
|
2011-03-07 14:25:55 +00:00
|
|
|
BuildRequires: maven
|
2010-08-30 13:00:52 +00:00
|
|
|
BuildRequires: maven-compiler-plugin
|
|
|
|
BuildRequires: maven-help-plugin
|
|
|
|
BuildRequires: maven-install-plugin
|
|
|
|
BuildRequires: maven-invoker-plugin
|
|
|
|
BuildRequires: maven-jar-plugin
|
|
|
|
BuildRequires: maven-javadoc-plugin
|
2012-08-13 08:56:37 +00:00
|
|
|
BuildRequires: maven-plugin-annotations
|
2010-08-30 13:00:52 +00:00
|
|
|
BuildRequires: maven-plugin-plugin
|
|
|
|
BuildRequires: maven-resources-plugin
|
|
|
|
BuildRequires: maven-site-plugin
|
|
|
|
BuildRequires: maven-shade-plugin
|
|
|
|
BuildRequires: maven-shared-verifier
|
2011-10-02 13:05:19 +00:00
|
|
|
BuildRequires: maven-enforcer-plugin
|
2012-03-01 15:24:57 +00:00
|
|
|
BuildRequires: maven-surefire-plugin >= 0:2.12-1
|
2011-06-27 14:23:38 +00:00
|
|
|
BuildRequires: maven-surefire-provider-junit
|
|
|
|
BuildRequires: maven-toolchain
|
|
|
|
BuildRequires: maven-project
|
|
|
|
BuildRequires: maven-shared-common-artifact-filters
|
|
|
|
BuildRequires: modello
|
2009-08-18 18:43:59 +00:00
|
|
|
BuildRequires: plexus-containers-component-api >= 1.0-0.a34
|
2010-08-30 13:00:52 +00:00
|
|
|
BuildRequires: tomcat6-servlet-2.5-api
|
2010-12-29 21:55:55 +00:00
|
|
|
BuildRequires: maven-plugin-testing-harness
|
2009-08-18 18:43:59 +00:00
|
|
|
BuildRequires: bsf
|
2012-03-01 14:28:44 +00:00
|
|
|
BuildRequires: javacc-maven-plugin
|
2007-03-13 23:19:51 +00:00
|
|
|
|
2012-08-13 08:56:37 +00:00
|
|
|
Requires: apache-commons-lang3
|
2007-03-13 23:19:51 +00:00
|
|
|
Requires: classworlds
|
2011-05-24 09:40:51 +00:00
|
|
|
Requires: maven
|
2011-06-27 14:23:38 +00:00
|
|
|
Requires: maven-toolchain
|
|
|
|
Requires: maven-project
|
|
|
|
Requires: maven-shared-common-artifact-filters
|
2007-03-13 23:19:51 +00:00
|
|
|
Requires: junit
|
2009-08-18 18:43:59 +00:00
|
|
|
Requires: plexus-utils
|
2007-03-13 23:19:51 +00:00
|
|
|
|
2009-08-18 18:43:59 +00:00
|
|
|
Obsoletes: maven-surefire-booter <= 0:1.5.3
|
|
|
|
Provides: maven-surefire-booter = %{epoch}:%{version}-%{release}
|
|
|
|
|
2007-03-13 23:19:51 +00:00
|
|
|
%description
|
|
|
|
Surefire is a test framework project.
|
|
|
|
|
2010-08-30 13:00:52 +00:00
|
|
|
%package plugin
|
2009-08-18 18:43:59 +00:00
|
|
|
Summary: Surefire plugin for maven
|
2010-08-30 13:00:52 +00:00
|
|
|
Group: Development/Libraries
|
2011-06-27 14:23:38 +00:00
|
|
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
2011-11-24 08:59:42 +00:00
|
|
|
Requires: %{name}-provider-junit = %{epoch}:%{version}-%{release}
|
2009-08-18 18:43:59 +00:00
|
|
|
Obsoletes: maven2-plugin-surefire <= 0:2.0.4
|
2011-05-24 12:41:11 +00:00
|
|
|
Provides: maven2-plugin-surefire = %{epoch}:%{version}-%{release}
|
2010-08-30 13:00:52 +00:00
|
|
|
Obsoletes: maven-surefire-maven-plugin < 0:2.6
|
2011-05-24 12:41:11 +00:00
|
|
|
Provides: maven-surefire-maven-plugin = %{epoch}:%{version}-%{release}
|
2007-03-13 23:19:51 +00:00
|
|
|
|
2010-08-30 13:00:52 +00:00
|
|
|
%description plugin
|
2009-08-18 18:43:59 +00:00
|
|
|
Maven surefire plugin for running tests via the surefire framework.
|
|
|
|
|
2010-08-30 13:00:52 +00:00
|
|
|
%package report-plugin
|
2009-08-18 18:43:59 +00:00
|
|
|
Summary: Surefire reports plugin for maven
|
2010-08-30 13:00:52 +00:00
|
|
|
Group: Development/Libraries
|
2011-06-27 14:23:38 +00:00
|
|
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
2009-08-18 18:43:59 +00:00
|
|
|
Obsoletes: maven2-plugin-surefire-report <= 0:2.0.4
|
2011-05-24 12:41:11 +00:00
|
|
|
Provides: maven2-plugin-surefire-report = %{epoch}:%{version}-%{release}
|
2010-08-30 13:00:52 +00:00
|
|
|
Obsoletes: maven-surefire-report-maven-plugin < 0:2.6
|
2011-05-24 12:41:11 +00:00
|
|
|
Provides: maven-surefire-report-maven-plugin = %{epoch}:%{version}-%{release}
|
2009-08-18 18:43:59 +00:00
|
|
|
|
2010-08-30 13:00:52 +00:00
|
|
|
%description report-plugin
|
2009-08-18 18:43:59 +00:00
|
|
|
Plugin for generating reports from surefire test runs.
|
|
|
|
|
|
|
|
%package provider-junit
|
|
|
|
Summary: JUnit3 provider for Maven Surefire
|
2010-08-30 13:00:52 +00:00
|
|
|
Group: Development/Libraries
|
2010-12-08 11:10:24 +00:00
|
|
|
Requires: junit
|
2011-06-27 14:23:38 +00:00
|
|
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
2009-08-18 18:43:59 +00:00
|
|
|
Obsoletes: maven2-plugin-surefire-report <= 0:2.0.4O
|
|
|
|
#Obsoletes: maven-surefire-junit = 2.3.1
|
2011-05-24 12:41:11 +00:00
|
|
|
Provides: maven2-plugin-surefire-report = %{epoch}:%{version}-%{release}
|
2009-08-18 18:43:59 +00:00
|
|
|
#Provides: maven-surefire-junit = 2.3.1
|
|
|
|
|
|
|
|
%description provider-junit
|
|
|
|
JUnit3 provider for Maven Surefire.
|
|
|
|
|
|
|
|
%package provider-junit4
|
|
|
|
Summary: JUnit4 provider for Maven Surefire
|
2010-08-30 13:00:52 +00:00
|
|
|
Group: Development/Libraries
|
2011-06-27 14:23:38 +00:00
|
|
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: %{name}-provider-junit = %{epoch}:%{version}-%{release}
|
2010-12-08 11:10:24 +00:00
|
|
|
Requires: junit4
|
2009-08-18 18:43:59 +00:00
|
|
|
|
|
|
|
%description provider-junit4
|
|
|
|
JUnit4 provider for Maven Surefire.
|
|
|
|
|
2010-08-30 13:00:52 +00:00
|
|
|
%package provider-testng
|
|
|
|
Summary: TestNG provider for Maven Surefire
|
|
|
|
Group: Development/Libraries
|
2011-06-27 14:23:38 +00:00
|
|
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
2010-12-08 11:10:24 +00:00
|
|
|
Requires: testng
|
2010-08-30 13:00:52 +00:00
|
|
|
|
|
|
|
%description provider-testng
|
|
|
|
TestNG provider for Maven Surefire.
|
|
|
|
|
|
|
|
%package -n maven-failsafe-plugin
|
|
|
|
Summary: Maven plugin for running integration tests
|
|
|
|
Group: Development/Libraries
|
2011-06-27 14:23:38 +00:00
|
|
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
2010-08-30 13:00:52 +00:00
|
|
|
|
|
|
|
%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.
|
2007-03-13 23:19:51 +00:00
|
|
|
|
|
|
|
%package javadoc
|
|
|
|
Summary: Javadoc for %{name}
|
2010-08-30 13:00:52 +00:00
|
|
|
Group: Documentation
|
2011-05-24 09:40:51 +00:00
|
|
|
Requires: jpackage-utils
|
2007-03-13 23:19:51 +00:00
|
|
|
|
|
|
|
%description javadoc
|
|
|
|
Javadoc for %{name}.
|
|
|
|
|
2009-08-18 18:43:59 +00:00
|
|
|
%prep
|
2010-12-29 21:55:55 +00:00
|
|
|
%setup -q -n surefire-%{version}
|
2009-08-18 18:43:59 +00:00
|
|
|
|
2011-10-05 12:51:55 +00:00
|
|
|
%patch0 -p1 -b .sav
|
2007-03-13 23:19:51 +00:00
|
|
|
|
2012-03-01 14:28:44 +00:00
|
|
|
%if %{bootstrap}
|
|
|
|
%patch1 -p1 -b .sav
|
|
|
|
%endif
|
|
|
|
|
2012-07-27 08:17:30 +00:00
|
|
|
sed -i 's:${shadedVersion}:%{version}:' surefire-integration-tests/pom.xml
|
|
|
|
|
|
|
|
|
2007-03-13 23:19:51 +00:00
|
|
|
%build
|
2010-08-30 13:00:52 +00:00
|
|
|
# tests turned off because they need jmock
|
2011-03-07 14:25:55 +00:00
|
|
|
mvn-rpmbuild -e \
|
2009-08-18 18:43:59 +00:00
|
|
|
-Dmaven.test.skip=true \
|
2010-08-30 13:00:52 +00:00
|
|
|
install javadoc:aggregate
|
|
|
|
|
2007-03-13 23:19:51 +00:00
|
|
|
%install
|
|
|
|
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}/maven-surefire
|
2010-08-30 13:00:52 +00:00
|
|
|
install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir}
|
2007-03-13 23:19:51 +00:00
|
|
|
|
2012-03-01 14:28:44 +00:00
|
|
|
|
2010-12-29 21:55:55 +00:00
|
|
|
install -pm 644 maven-surefire-plugin/target/maven-surefire-plugin-*.jar $RPM_BUILD_ROOT%{_javadir}/maven-surefire/maven-plugin.jar
|
2010-08-30 13:00:52 +00:00
|
|
|
install -pm 644 maven-surefire-plugin/pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP.maven-surefire-maven-plugin.pom
|
2011-11-24 08:59:42 +00:00
|
|
|
%add_maven_depmap JPP.maven-surefire-maven-plugin.pom maven-surefire/maven-plugin.jar -f maven-plugin
|
2010-08-30 13:00:52 +00:00
|
|
|
|
2012-03-01 14:28:44 +00:00
|
|
|
|
|
|
|
%if %{bootstrap}
|
|
|
|
install -pm 644 maven-surefire-common/target/maven-surefire-common-*.jar $RPM_BUILD_ROOT%{_javadir}/maven-surefire/common.jar
|
|
|
|
%else
|
|
|
|
install -pm 644 maven-surefire-common/target/original-maven-surefire-common-*.jar $RPM_BUILD_ROOT%{_javadir}/maven-surefire/common.jar
|
|
|
|
%endif
|
2010-08-30 13:00:52 +00:00
|
|
|
install -pm 644 maven-surefire-common/pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP.maven-surefire-common.pom
|
2011-10-02 09:28:43 +00:00
|
|
|
%add_maven_depmap JPP.maven-surefire-common.pom maven-surefire/common.jar
|
2007-03-13 23:19:51 +00:00
|
|
|
|
2012-03-01 14:28:44 +00:00
|
|
|
|
2010-12-29 21:55:55 +00:00
|
|
|
install -pm 644 maven-surefire-report-plugin/target/maven-surefire-report-plugin-*.jar $RPM_BUILD_ROOT%{_javadir}/maven-surefire/report-maven-plugin.jar
|
2010-08-30 13:00:52 +00:00
|
|
|
install -pm 644 maven-surefire-report-plugin/pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP.maven-surefire-report-maven-plugin.pom
|
2011-11-24 08:59:42 +00:00
|
|
|
%add_maven_depmap JPP.maven-surefire-report-maven-plugin.pom maven-surefire/report-maven-plugin.jar -f report-plugin
|
2007-03-13 23:19:51 +00:00
|
|
|
|
2012-03-01 14:28:44 +00:00
|
|
|
|
|
|
|
%if %{bootstrap}
|
|
|
|
install -pm 644 surefire-api/target/surefire-api-*.jar $RPM_BUILD_ROOT%{_javadir}/maven-surefire/api.jar
|
|
|
|
%else
|
|
|
|
install -pm 644 surefire-api/target/original-surefire-api-*.jar $RPM_BUILD_ROOT%{_javadir}/maven-surefire/api.jar
|
|
|
|
%endif
|
2010-08-30 13:00:52 +00:00
|
|
|
install -pm 644 surefire-api/pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP.maven-surefire-api.pom
|
2011-10-02 09:28:43 +00:00
|
|
|
%add_maven_depmap JPP.maven-surefire-api.pom maven-surefire/api.jar
|
2007-03-13 23:19:51 +00:00
|
|
|
|
2012-03-01 14:28:44 +00:00
|
|
|
|
|
|
|
%if %{bootstrap}
|
2010-12-29 21:55:55 +00:00
|
|
|
install -pm 644 surefire-booter/target/surefire-booter-*.jar $RPM_BUILD_ROOT%{_javadir}/maven-surefire/booter.jar
|
2012-03-01 14:28:44 +00:00
|
|
|
%else
|
|
|
|
install -pm 644 surefire-booter/target/original-surefire-booter-*.jar $RPM_BUILD_ROOT%{_javadir}/maven-surefire/booter.jar
|
|
|
|
%endif
|
2010-08-30 13:00:52 +00:00
|
|
|
install -pm 644 surefire-booter/pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP.maven-surefire-booter.pom
|
2011-10-02 09:28:43 +00:00
|
|
|
%add_maven_depmap JPP.maven-surefire-booter.pom maven-surefire/booter.jar
|
2007-03-13 23:19:51 +00:00
|
|
|
|
2011-03-07 14:25:55 +00:00
|
|
|
install -pm 644 surefire-providers/common-junit3/target/common-junit3-*.jar $RPM_BUILD_ROOT%{_javadir}/maven-surefire/common-junit.jar
|
|
|
|
install -pm 644 surefire-providers/common-junit3/pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP.maven-surefire-common-junit.pom
|
2011-11-24 08:59:42 +00:00
|
|
|
%add_maven_depmap JPP.maven-surefire-common-junit.pom maven-surefire/common-junit.jar -f junit
|
2011-03-07 14:25:55 +00:00
|
|
|
|
2012-03-01 14:28:44 +00:00
|
|
|
|
|
|
|
%if %{bootstrap}
|
|
|
|
install -pm 644 surefire-providers/surefire-junit3/target/surefire-junit3-*.jar $RPM_BUILD_ROOT%{_javadir}/maven-surefire/junit.jar
|
|
|
|
%else
|
|
|
|
install -pm 644 surefire-providers/surefire-junit3/target/original-surefire-junit3-*.jar $RPM_BUILD_ROOT%{_javadir}/maven-surefire/junit.jar
|
|
|
|
%endif
|
2011-03-07 14:25:55 +00:00
|
|
|
install -pm 644 surefire-providers/surefire-junit3/pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP.maven-surefire-junit.pom
|
2011-11-24 08:59:42 +00:00
|
|
|
%add_maven_depmap JPP.maven-surefire-junit.pom maven-surefire/junit.jar -a "org.apache.maven.surefire:surefire-junit" -f junit
|
2011-03-07 14:25:55 +00:00
|
|
|
|
2012-03-01 14:28:44 +00:00
|
|
|
|
2011-03-07 14:25:55 +00:00
|
|
|
install -pm 644 surefire-providers/common-junit4/target/common-junit4-*.jar $RPM_BUILD_ROOT%{_javadir}/maven-surefire/common-junit4.jar
|
|
|
|
install -pm 644 surefire-providers/common-junit4/pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP.maven-surefire-common-junit4.pom
|
2011-11-24 08:59:42 +00:00
|
|
|
%add_maven_depmap JPP.maven-surefire-common-junit4.pom maven-surefire/common-junit4.jar -f junit4
|
2009-08-18 18:43:59 +00:00
|
|
|
|
2012-03-01 14:28:44 +00:00
|
|
|
|
|
|
|
%if %{bootstrap}
|
|
|
|
install -pm 644 surefire-providers/surefire-junit4/target/surefire-junit4-*.jar $RPM_BUILD_ROOT%{_javadir}/maven-surefire/junit4.jar
|
|
|
|
%else
|
|
|
|
install -pm 644 surefire-providers/surefire-junit4/target/original-surefire-junit4-*.jar $RPM_BUILD_ROOT%{_javadir}/maven-surefire/junit4.jar
|
|
|
|
%endif
|
2010-08-30 13:00:52 +00:00
|
|
|
install -pm 644 surefire-providers/surefire-junit4/pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP.maven-surefire-junit4.pom
|
2011-11-24 08:59:42 +00:00
|
|
|
%add_maven_depmap JPP.maven-surefire-junit4.pom maven-surefire/junit4.jar -f junit4
|
2010-08-30 13:00:52 +00:00
|
|
|
|
2012-03-01 14:28:44 +00:00
|
|
|
|
|
|
|
%if %{bootstrap}
|
|
|
|
install -pm 644 surefire-providers/surefire-junit47/target/surefire-junit47-*.jar $RPM_BUILD_ROOT%{_javadir}/maven-surefire/junit47.jar
|
|
|
|
%else
|
|
|
|
install -pm 644 surefire-providers/surefire-junit47/target/original-surefire-junit47-*.jar $RPM_BUILD_ROOT%{_javadir}/maven-surefire/junit47.jar
|
|
|
|
%endif
|
2010-12-29 21:55:55 +00:00
|
|
|
install -pm 644 surefire-providers/surefire-junit47/pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP.maven-surefire-junit47.pom
|
2011-11-24 08:59:42 +00:00
|
|
|
%add_maven_depmap JPP.maven-surefire-junit47.pom maven-surefire/junit47.jar -f junit4
|
2010-12-29 21:55:55 +00:00
|
|
|
|
2012-03-01 14:28:44 +00:00
|
|
|
|
|
|
|
%if %{bootstrap}
|
|
|
|
install -pm 644 surefire-providers/common-junit48/target/common-junit48-*.jar $RPM_BUILD_ROOT%{_javadir}/maven-surefire/common-junit48.jar
|
|
|
|
%else
|
|
|
|
install -pm 644 surefire-providers/common-junit48/target/original-common-junit48-*.jar $RPM_BUILD_ROOT%{_javadir}/maven-surefire/common-junit48.jar
|
|
|
|
%endif
|
|
|
|
install -pm 644 surefire-providers/common-junit48/pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP.maven-surefire-common-junit48.pom
|
|
|
|
%add_maven_depmap JPP.maven-surefire-common-junit48.pom maven-surefire/common-junit48.jar -f junit4
|
|
|
|
|
|
|
|
|
2010-12-29 21:55:55 +00:00
|
|
|
install -pm 644 surefire-providers/surefire-testng/target/surefire-testng-*.jar $RPM_BUILD_ROOT%{_javadir}/maven-surefire/testng.jar
|
2010-08-30 13:00:52 +00:00
|
|
|
install -pm 644 surefire-providers/surefire-testng/pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP.maven-surefire-testng.pom
|
2011-11-24 08:59:42 +00:00
|
|
|
%add_maven_depmap JPP.maven-surefire-testng.pom maven-surefire/testng.jar -f testng
|
2009-08-18 18:43:59 +00:00
|
|
|
|
2012-03-01 14:28:44 +00:00
|
|
|
|
|
|
|
%if %{bootstrap}
|
|
|
|
install -pm 644 surefire-providers/surefire-testng-utils/target/surefire-testng-utils-*.jar $RPM_BUILD_ROOT%{_javadir}/maven-surefire/testng-utils.jar
|
|
|
|
%else
|
|
|
|
install -pm 644 surefire-providers/surefire-testng-utils/target/original-surefire-testng-utils-*.jar $RPM_BUILD_ROOT%{_javadir}/maven-surefire/testng-utils.jar
|
|
|
|
%endif
|
2011-05-13 11:06:18 +00:00
|
|
|
install -pm 644 surefire-providers/surefire-testng-utils/pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP.maven-surefire-testng-utils.pom
|
2011-11-24 08:59:42 +00:00
|
|
|
%add_maven_depmap JPP.maven-surefire-testng-utils.pom maven-surefire/testng-utils.jar -f testng
|
2011-05-13 11:06:18 +00:00
|
|
|
|
2012-03-01 14:28:44 +00:00
|
|
|
|
2010-08-30 13:00:52 +00:00
|
|
|
install -pm 644 surefire-providers/pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP.maven-surefire-providers.pom
|
2011-10-02 09:28:43 +00:00
|
|
|
%add_maven_depmap JPP.maven-surefire-providers.pom
|
2010-08-30 13:00:52 +00:00
|
|
|
|
2012-03-01 14:28:44 +00:00
|
|
|
|
2010-12-29 21:55:55 +00:00
|
|
|
install -pm 644 maven-failsafe-plugin/target/maven-failsafe-plugin*.jar $RPM_BUILD_ROOT%{_javadir}/maven-failsafe-plugin.jar
|
2010-08-30 13:00:52 +00:00
|
|
|
install -pm 644 maven-failsafe-plugin/pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-maven-failsafe-plugin.pom
|
2011-11-24 08:59:42 +00:00
|
|
|
%add_maven_depmap JPP-maven-failsafe-plugin.pom maven-failsafe-plugin.jar -f failsafe-plugin
|
2010-08-30 13:00:52 +00:00
|
|
|
|
2012-03-01 14:28:44 +00:00
|
|
|
|
2010-11-01 16:25:30 +00:00
|
|
|
install -pm 644 pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP.maven-surefire-main.pom
|
2011-10-02 09:28:43 +00:00
|
|
|
%add_maven_depmap JPP.maven-surefire-main.pom
|
2010-11-01 16:25:30 +00:00
|
|
|
|
2012-03-01 14:28:44 +00:00
|
|
|
|
|
|
|
install -pm 644 surefire-grouper/target/surefire-grouper-*.jar $RPM_BUILD_ROOT%{_javadir}/maven-surefire/grouper.jar
|
|
|
|
install -pm 644 surefire-grouper/pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP.maven-surefire-grouper.pom
|
|
|
|
%add_maven_depmap JPP.maven-surefire-grouper.pom maven-surefire/grouper.jar
|
|
|
|
|
|
|
|
|
2007-03-13 23:19:51 +00:00
|
|
|
# javadoc
|
2011-03-07 14:25:55 +00:00
|
|
|
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
|
|
|
cp -pr target/site/apidocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
2007-03-13 23:19:51 +00:00
|
|
|
|
2009-08-18 18:43:59 +00:00
|
|
|
# Create compatibility links
|
|
|
|
ln -s %{_javadir}/maven-surefire/api.jar \
|
|
|
|
$RPM_BUILD_ROOT%{_javadir}/maven-surefire/surefire.jar
|
2007-03-13 23:19:51 +00:00
|
|
|
|
2009-08-18 18:43:59 +00:00
|
|
|
install -dm 755 $RPM_BUILD_ROOT%{_datadir}/maven2/plugins
|
2010-08-30 13:00:52 +00:00
|
|
|
ln -s %{_javadir}/maven-surefire/maven-plugin.jar \
|
2009-08-18 18:43:59 +00:00
|
|
|
$RPM_BUILD_ROOT%{_datadir}/maven2/plugins/surefire-plugin.jar
|
2007-03-13 23:19:51 +00:00
|
|
|
|
2010-08-30 13:00:52 +00:00
|
|
|
ln -s %{_javadir}/maven-surefire/report-maven-plugin.jar \
|
2009-08-18 18:43:59 +00:00
|
|
|
$RPM_BUILD_ROOT%{_datadir}/maven2/plugins/surefire-report-plugin.jar
|
2007-03-13 23:19:51 +00:00
|
|
|
|
2011-03-07 14:25:55 +00:00
|
|
|
|
2007-03-13 23:19:51 +00:00
|
|
|
%files
|
2012-08-03 10:02:15 +00:00
|
|
|
%doc LICENSE NOTICE
|
2007-03-13 23:19:51 +00:00
|
|
|
%dir %{_javadir}/maven-surefire
|
2011-03-07 14:25:55 +00:00
|
|
|
%{_javadir}/maven-surefire/api.jar
|
|
|
|
%{_javadir}/maven-surefire/booter.jar
|
2009-08-18 18:43:59 +00:00
|
|
|
%{_javadir}/maven-surefire/surefire.jar
|
2011-03-07 14:25:55 +00:00
|
|
|
%{_javadir}/maven-surefire/common.jar
|
2012-03-01 14:28:44 +00:00
|
|
|
%{_javadir}/maven-surefire/grouper.jar
|
2011-11-24 08:59:42 +00:00
|
|
|
%{_mavenpomdir}/JPP.%{name}-api.pom
|
|
|
|
%{_mavenpomdir}/JPP.%{name}-booter.pom
|
|
|
|
%{_mavenpomdir}/JPP.%{name}-common.pom
|
|
|
|
%{_mavenpomdir}/JPP.%{name}-main.pom
|
|
|
|
%{_mavenpomdir}/JPP.%{name}-providers.pom
|
2012-03-01 14:28:44 +00:00
|
|
|
%{_mavenpomdir}/JPP.%{name}-grouper.pom
|
2011-11-24 08:59:42 +00:00
|
|
|
%{_mavendepmapfragdir}/%{name}
|
2007-03-13 23:19:51 +00:00
|
|
|
|
2010-08-30 13:00:52 +00:00
|
|
|
%files plugin
|
2011-03-07 14:25:55 +00:00
|
|
|
%{_javadir}/maven-surefire/maven-plugin.jar
|
2011-11-24 08:59:42 +00:00
|
|
|
%{_mavenpomdir}/JPP.%{name}-maven-plugin.pom
|
|
|
|
%{_mavendepmapfragdir}/%{name}-maven-plugin
|
2009-08-18 18:43:59 +00:00
|
|
|
%dir %{_datadir}/maven2/plugins
|
|
|
|
%{_datadir}/maven2/plugins/surefire-plugin.jar
|
2007-03-13 23:19:51 +00:00
|
|
|
|
2010-08-30 13:00:52 +00:00
|
|
|
%files report-plugin
|
2011-03-07 14:25:55 +00:00
|
|
|
%{_javadir}/maven-surefire/report-maven-plugin.jar
|
2011-11-24 08:59:42 +00:00
|
|
|
%{_mavenpomdir}/JPP.%{name}-report-maven-plugin.pom
|
|
|
|
%{_mavendepmapfragdir}/%{name}-report-plugin
|
2009-08-18 18:43:59 +00:00
|
|
|
%dir %{_datadir}/maven2/plugins
|
|
|
|
%{_datadir}/maven2/plugins/surefire-report-plugin.jar
|
2007-03-13 23:19:51 +00:00
|
|
|
|
2009-08-18 18:43:59 +00:00
|
|
|
%files provider-junit
|
2011-11-24 08:59:42 +00:00
|
|
|
%{_mavendepmapfragdir}/%{name}-junit
|
|
|
|
%{_mavenpomdir}/JPP.%{name}-junit.pom
|
|
|
|
%{_mavenpomdir}/JPP.%{name}-common-junit.pom
|
2011-03-07 14:25:55 +00:00
|
|
|
%{_javadir}/maven-surefire/junit.jar
|
|
|
|
%{_javadir}/maven-surefire/common-junit.jar
|
2007-03-13 23:19:51 +00:00
|
|
|
|
2009-08-18 18:43:59 +00:00
|
|
|
%files provider-junit4
|
2011-11-24 08:59:42 +00:00
|
|
|
%{_mavendepmapfragdir}/%{name}-junit4
|
|
|
|
%{_mavenpomdir}/JPP.%{name}-junit4.pom
|
|
|
|
%{_mavenpomdir}/JPP.%{name}-junit47.pom
|
|
|
|
%{_mavenpomdir}/JPP.%{name}-common-junit4.pom
|
2012-03-01 14:28:44 +00:00
|
|
|
%{_mavenpomdir}/JPP.%{name}-common-junit48.pom
|
2011-03-07 14:25:55 +00:00
|
|
|
%{_javadir}/maven-surefire/junit4.jar
|
|
|
|
%{_javadir}/maven-surefire/junit47.jar
|
|
|
|
%{_javadir}/maven-surefire/common-junit4.jar
|
2012-03-01 14:28:44 +00:00
|
|
|
%{_javadir}/maven-surefire/common-junit48.jar
|
2010-08-30 13:00:52 +00:00
|
|
|
|
|
|
|
%files provider-testng
|
2011-11-24 08:59:42 +00:00
|
|
|
%{_mavendepmapfragdir}/%{name}-testng
|
|
|
|
%{_mavenpomdir}/JPP.%{name}-testng.pom
|
|
|
|
%{_mavenpomdir}/JPP.%{name}-testng-utils.pom
|
2011-03-07 14:25:55 +00:00
|
|
|
%{_javadir}/maven-surefire/testng.jar
|
2011-05-13 11:06:18 +00:00
|
|
|
%{_javadir}/maven-surefire/testng-utils.jar
|
2010-08-30 13:00:52 +00:00
|
|
|
|
|
|
|
%files -n maven-failsafe-plugin
|
2011-11-24 08:59:42 +00:00
|
|
|
%{_mavendepmapfragdir}/%{name}-failsafe-plugin
|
|
|
|
%{_mavenpomdir}/JPP-maven-failsafe-plugin.pom
|
2011-03-07 14:25:55 +00:00
|
|
|
%{_javadir}/maven-failsafe-plugin.jar
|
2007-03-13 23:19:51 +00:00
|
|
|
|
2009-08-18 18:43:59 +00:00
|
|
|
%files javadoc
|
2012-08-03 10:02:15 +00:00
|
|
|
%doc LICENSE NOTICE
|
2009-08-18 18:43:59 +00:00
|
|
|
%doc %{_javadocdir}/*
|
2007-03-13 23:19:51 +00:00
|
|
|
|
|
|
|
%changelog
|
2012-09-25 15:09:25 +00:00
|
|
|
* Tue Sep 25 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.12.3-1
|
|
|
|
- Update to upstream version 2.12.3
|
|
|
|
|
2012-08-13 08:56:37 +00:00
|
|
|
* Mon Aug 13 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.12.2-1
|
|
|
|
- Update to upstream version 2.12.2
|
|
|
|
|
2012-08-03 10:02:15 +00:00
|
|
|
* Fri Aug 3 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.12.1-1
|
|
|
|
- Update to upstream version 2.12.1
|
|
|
|
- Install LICENSE and NOTICE files
|
|
|
|
- Remove RPM bug workaround
|
|
|
|
|
2012-07-27 08:17:30 +00:00
|
|
|
* Fri Jul 27 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:2.12-5
|
|
|
|
- Fix build problem and rebuild with target 1.5
|
|
|
|
|
2012-07-19 23:43:44 +00:00
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:2.12-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-03-06 18:39:32 +00:00
|
|
|
* Tue Mar 06 2012 Jaromir Capik <jcapik@redhat.com> - 0:2.12-3
|
|
|
|
- Removing bootstrap condition for Patch1 inclusion (always needed in SRPM)
|
|
|
|
|
2012-03-01 15:24:57 +00:00
|
|
|
* Thu Mar 01 2012 Jaromir Capik <jcapik@redhat.com> - 0:2.12-2
|
|
|
|
- Update to 2.12
|
|
|
|
|
2012-03-01 14:28:44 +00:00
|
|
|
* Thu Mar 01 2012 Jaromir Capik <jcapik@redhat.com> - 0:2.12-1
|
|
|
|
- Bootstrap for 2.12
|
|
|
|
|
2012-01-13 09:32:06 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:2.10-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-11-24 08:59:42 +00:00
|
|
|
* Thu Nov 24 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:2.10-4
|
|
|
|
- Move poms and depmaps to respective sub-packages
|
|
|
|
- Add requires on junit provider to maven-plugin
|
|
|
|
|
2011-10-05 12:51:55 +00:00
|
|
|
* Wed Oct 5 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:2.10-3
|
|
|
|
- Fix junit4 depmap provider macro
|
|
|
|
- Remove unused patches
|
|
|
|
|
2011-10-02 13:05:19 +00:00
|
|
|
* Sun Oct 2 2011 Alexander Kurtakov <akurtako@redhat.com> 0:2.10-2
|
|
|
|
- BR maven-enforcer-plugin.
|
|
|
|
|
2011-10-02 09:28:43 +00:00
|
|
|
* Sun Oct 2 2011 Alexander Kurtakov <akurtako@redhat.com> 0:2.10-1
|
|
|
|
- Update to latest upstream - 2.10.
|
|
|
|
- Use new maven macro.
|
|
|
|
|
2011-06-27 14:23:38 +00:00
|
|
|
* Mon Jun 27 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:2.9-1
|
|
|
|
- Update to latest upstream (2.9)
|
|
|
|
- Fix up Requires for juni4 provider
|
|
|
|
|
2011-05-24 12:41:11 +00:00
|
|
|
* Tue May 24 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:2.8.1-4
|
|
|
|
- Fix up providers artifact and report plugin groupid
|
|
|
|
|
2011-05-24 09:40:51 +00:00
|
|
|
* Tue May 24 2011 Alexander Kurtakov <akurtako@redhat.com> 0:2.8.1-3
|
|
|
|
- Fix maven-surefire-plugin group in the depmap.
|
|
|
|
|
2011-05-13 11:06:18 +00:00
|
|
|
* Fri May 13 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:2.8.1-2
|
|
|
|
- Install testng-utils jar and pom
|
|
|
|
|
2011-04-18 13:17:44 +00:00
|
|
|
* Mon Apr 18 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:2.8.1-1
|
|
|
|
- Update to latest upstream version (2.8.1)
|
|
|
|
|
2011-03-29 13:49:19 +00:00
|
|
|
* Tue Mar 29 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:2.8-1
|
|
|
|
- Update to latest upstream version (2.8)
|
|
|
|
|
2011-03-07 14:25:55 +00:00
|
|
|
* Mon Mar 7 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 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
|
|
|
|
|
2011-02-08 16:07:09 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:2.7.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2011-01-03 15:17:43 +00:00
|
|
|
* Mon Jan 3 2011 Alexander Kurtakov <akurtako@redhat.com> 0:2.7.1-2
|
|
|
|
- Fix junit3 depmap.
|
|
|
|
|
2010-12-29 21:55:55 +00:00
|
|
|
* Wed Dec 29 2010 Alexander Kurtakov <akurtako@redhat.com> 0:2.7.1-1
|
|
|
|
- Update to 2.7.1.
|
|
|
|
|
2010-12-08 11:10:24 +00:00
|
|
|
* Wed Dec 8 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:2.6-3
|
|
|
|
- Add proper Requires on junit/junit4/testng to providers
|
|
|
|
|
2010-11-01 16:25:30 +00:00
|
|
|
* Fri Oct 29 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:2.6-2
|
|
|
|
- Add main pom.xml
|
|
|
|
|
2010-08-30 13:00:52 +00:00
|
|
|
* Mon Aug 30 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 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
|
|
|
|
|
2009-08-31 23:40:10 +00:00
|
|
|
* Mon Aug 31 2009 Andrew Overholt <overholt@redhat.com> 0:2.3-7.7
|
|
|
|
- Bump release to rebuild
|
|
|
|
|
2009-08-31 18:40:30 +00:00
|
|
|
* Mon Aug 31 2009 Alexander Kurtakov <akurtako@redhat.com> 0:2.3-7.6
|
|
|
|
- Really remove maven2-plugin-surefire BR.
|
|
|
|
|
2009-08-31 18:26:24 +00:00
|
|
|
* Mon Aug 31 2009 Alexander Kurtakov <akurtako@redhat.com> 0:2.3-7.5
|
|
|
|
- Revert previous change.
|
|
|
|
|
2009-08-31 16:28:33 +00:00
|
|
|
* Mon Aug 31 2009 Alexander Kurtakov <akurtako@redhat.com> 0:2.3-7.4
|
|
|
|
- Disable not needed BRs.
|
|
|
|
|
2009-08-31 13:15:07 +00:00
|
|
|
* Mon Aug 31 2009 Alexander Kurtakov <akurtako@redhat.com> 0:2.3-7.3
|
|
|
|
- Install JPP.maven2.plugins-surefire-plugin.pom now that we have maven 2.0.8.
|
|
|
|
|
2009-08-19 04:58:55 +00:00
|
|
|
* Wed Aug 19 2009 Alexander Kurtakov <akurtako@redhat.com> 0:2.3-7.2
|
|
|
|
- Don't install JPP.maven2.plugins-surefire-plugin.pom to fix conflict with maven2 2.0.4.
|
|
|
|
|
2009-08-18 18:43:59 +00:00
|
|
|
* Tue Aug 18 2009 Alexander Kurtakov <akurtako@redhat.com> 0:2.3-7.1
|
|
|
|
- Update to 2.3 - sync with jpackage.
|
|
|
|
|
2009-07-25 11:51:38 +00:00
|
|
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.5.3-4.8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-25 23:50:49 +00:00
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.5.3-3.8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-08-13 15:07:32 +00:00
|
|
|
* Wed Aug 13 2008 Deepak Bhole <dbhole@redhat.com> 1.5.3-2.8
|
|
|
|
- Build for ppc64
|
|
|
|
|
2008-07-09 20:54:21 +00:00
|
|
|
* Wed Jul 9 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.5.3-2.7
|
|
|
|
- drop repotag
|
|
|
|
|
2008-05-29 14:36:09 +00:00
|
|
|
* Thu May 29 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.5.3-2jpp.6
|
|
|
|
- fix license tag
|
|
|
|
|
2008-02-28 18:55:27 +00:00
|
|
|
* Thu Feb 28 2008 Deepak Bhole <dbhole@redhat.com> 1.5.3-2jpp.5
|
|
|
|
- Rebuild
|
2008-02-19 00:49:01 +00:00
|
|
|
|
2007-09-21 20:36:01 +00:00
|
|
|
* Fri Sep 21 2007 Deepak Bhole <dbhole@redhat.com> 1.5.3-2jpp.4
|
|
|
|
- Build with maven
|
|
|
|
- ExcludeArch ppc64
|
|
|
|
|
2007-08-31 21:46:55 +00:00
|
|
|
* Fri Aug 31 2007 Deepak Bhole <dbhole@redhat.com> 0:1.5.3-2jpp.3
|
|
|
|
- Build without maven (for initial ppc build)
|
|
|
|
|
2007-03-20 06:07:04 +00:00
|
|
|
* Tue Mar 20 2007 Deepak Bhole <dbhole@redhat.com> 0:1.5.3-2jpp.2
|
|
|
|
- Build with maven
|
|
|
|
|
2007-03-13 23:19:51 +00:00
|
|
|
* Mon Feb 26 2007 Tania Bento <tbento@redhat.com> 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 <dbhole@redhat.com> 1.5.3-2jpp
|
|
|
|
- Update for maven2 9jpp
|
|
|
|
|
|
|
|
* Mon Jun 19 2006 Deepak Bhole <dbhole@redhat.com> - 0:1.5.3-1jpp
|
|
|
|
- Initial build
|