Blame SPECS/maven-plugin-testing.spec

57f329
%{?scl:%scl_package maven-plugin-testing}
57f329
%{!?scl:%global pkg_name %{name}}
57f329
57f329
Name:           %{?scl_prefix}maven-plugin-testing
57f329
Version:        3.3.0
57f329
Release:        9.2%{?dist}
57f329
Summary:        Maven Plugin Testing
57f329
License:        ASL 2.0
57f329
URL:            http://maven.apache.org/plugin-testing/
57f329
BuildArch:      noarch
57f329
57f329
Source0:        http://repo1.maven.org/maven2/org/apache/maven/plugin-testing/%{pkg_name}/%{version}/%{pkg_name}-%{version}-source-release.zip
57f329
57f329
Patch0:         0001-Port-to-plexus-utils-3.0.21.patch
57f329
Patch1:         0002-Port-to-current-maven-artifact.patch
57f329
57f329
BuildRequires:  %{?scl_prefix}maven-local
57f329
BuildRequires:  %{?scl_prefix}mvn(commons-io:commons-io)
57f329
BuildRequires:  %{?scl_prefix}mvn(junit:junit)
57f329
BuildRequires:  %{?scl_prefix}mvn(org.apache.maven:maven-aether-provider)
57f329
BuildRequires:  %{?scl_prefix}mvn(org.apache.maven:maven-compat)
57f329
BuildRequires:  %{?scl_prefix}mvn(org.apache.maven:maven-core)
57f329
BuildRequires:  %{?scl_prefix}mvn(org.apache.maven:maven-model)
57f329
BuildRequires:  %{?scl_prefix}mvn(org.apache.maven:maven-parent:pom:)
57f329
BuildRequires:  %{?scl_prefix}mvn(org.apache.maven:maven-plugin-api)
57f329
BuildRequires:  %{?scl_prefix}mvn(org.apache.maven.plugins:maven-source-plugin)
57f329
BuildRequires:  %{?scl_prefix}mvn(org.apache.maven.shared:maven-invoker)
57f329
BuildRequires:  %{?scl_prefix}mvn(org.apache.maven.wagon:wagon-file)
57f329
BuildRequires:  %{?scl_prefix}mvn(org.codehaus.plexus:plexus-archiver)
57f329
BuildRequires:  %{?scl_prefix}mvn(org.codehaus.plexus:plexus-component-metadata)
57f329
BuildRequires:  %{?scl_prefix}mvn(org.codehaus.plexus:plexus-utils)
57f329
BuildRequires:  %{?scl_prefix}mvn(org.easymock:easymock)
57f329
57f329
%description
57f329
The Maven Plugin Testing contains the necessary modules
57f329
to be able to test Maven Plugins.
57f329
57f329
%package javadoc
57f329
Summary:        Javadoc for %{pkg_name}
57f329
57f329
%description javadoc
57f329
API documentation for %{pkg_name}.
57f329
57f329
%package harness
57f329
Summary: Maven Plugin Testing Mechanism
57f329
57f329
%description harness
57f329
The Maven Plugin Testing Harness provides mechanisms to manage tests on Mojo.
57f329
57f329
%package tools
57f329
Summary: Maven Plugin Testing Tools
57f329
57f329
%description tools
57f329
A set of useful tools to help the Maven Plugin testing.
57f329
57f329
%package -n %{?scl_prefix}maven-test-tools
57f329
Summary: Maven Testing Tool
57f329
57f329
%description -n %{?scl_prefix}maven-test-tools
57f329
Framework to test Maven Plugins with Easymock objects.
57f329
57f329
%prep
57f329
%setup -n %{pkg_name}-%{version} -q
57f329
57f329
%patch0 -p1
57f329
%patch1 -p1
57f329
57f329
%pom_remove_plugin :maven-enforcer-plugin
57f329
%pom_remove_plugin :maven-site-plugin
57f329
57f329
sed -i -e "s/MockControl/IMocksControl/g" maven-test-tools/src/main/java/org/apache/maven/shared/tools/easymock/MockManager.java
57f329
57f329
# needs network for some reason
57f329
rm maven-plugin-testing-tools/src/test/java/org/apache/maven/shared/test/plugin/ProjectToolTest.java
57f329
57f329
%mvn_alias : org.apache.maven.shared:
57f329
57f329
%build
57f329
%mvn_build -s
57f329
57f329
%install
57f329
%mvn_install
57f329
57f329
%files -f .mfiles-%{pkg_name}
57f329
%doc LICENSE NOTICE
57f329
57f329
%files harness -f .mfiles-%{pkg_name}-harness
57f329
57f329
%files tools -f .mfiles-%{pkg_name}-tools
57f329
57f329
%files -n %{?scl_prefix}maven-test-tools -f .mfiles-maven-test-tools
57f329
57f329
%files javadoc -f .mfiles-javadoc
57f329
%doc LICENSE NOTICE
57f329
57f329
%changelog
57f329
* Thu Jun 22 2017 Michael Simacek <msimacek@redhat.com> - 3.3.0-9.2
57f329
- Mass rebuild 2017-06-22
57f329
57f329
* Wed Jun 21 2017 Java Maintainers <java-maint@redhat.com> - 3.3.0-9.1
57f329
- Automated package import and SCL-ization
57f329
57f329
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.0-9
57f329
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
57f329
57f329
* Thu Feb 02 2017 Michael Simacek <msimacek@redhat.com> - 3.3.0-8
57f329
- Remove site-plugin from build
57f329
57f329
* Thu Jun 02 2016 Michael Simacek <msimacek@redhat.com> - 3.3.0-7
57f329
- Remove network using test
57f329
57f329
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.0-6
57f329
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
57f329
57f329
* Tue Nov 24 2015 Michael Simacek <msimacek@redhat.com> - 3.3.0-5
57f329
- Port to current maven-artifact
57f329
57f329
* Fri Oct 16 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3.0-4
57f329
- Enable tests
57f329
57f329
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.0-3
57f329
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
57f329
57f329
* Fri Mar 27 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3.0-2
57f329
- Port to plexus-utils 3.0.21
57f329
- Remove legacy maven-shared provides
57f329
- Regenerate build-requires
57f329
57f329
* Thu Feb  5 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3.0-1
57f329
- Update to upstream version 3.3.0
57f329
57f329
* Thu Feb  5 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2.0-2
57f329
- Add missing BR on maven-site-plugin
57f329
- Port to Maven 3.2.5
57f329
57f329
* Mon Jul 21 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2.0-1
57f329
- Update to upstream version 3.2.0
57f329
57f329
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.0-4
57f329
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
57f329
57f329
* Mon May 26 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.1.0-3
57f329
- Remove BuildRequires on maven-surefire-provider-junit4
57f329
57f329
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 3.1.0-2
57f329
- Use Requires: java-headless rebuild (#1067528)
57f329
57f329
* Mon Feb 24 2014 Michal Srb <msrb@redhat.com> - 3.1.0-1
57f329
- Update to upstream version 3.1.0
57f329
57f329
* Wed Feb 19 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.0.0-2
57f329
- Fix unowned directory
57f329
57f329
* Tue Jan 07 2014 Michal Srb <msrb@redhat.com> - 3.0.0-1
57f329
- Update to upstream version 3.0.0
57f329
57f329
* Tue Aug 06 2013 Michal Srb <msrb@redhat.com> - 2.1-9
57f329
- Port to Maven 3.1.0 (Resolves: #988253, #991860)
57f329
57f329
* Thu Jul 25 2013 Alexander Kurtakov <akurtako@redhat.com> 2.1-8
57f329
- Build against easymock3.
57f329
57f329
* Mon Apr 22 2013 Michal Srb <msrb@redhat.com> - 2.1-7
57f329
- Another rebuild (Fix artifactId=None issue)
57f329
57f329
* Wed Apr 10 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.1-6
57f329
- Rebuild
57f329
57f329
* Mon Mar 11 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.1-5
57f329
- Install missing license files
57f329
- Build with xmvn
57f329
- Resolves: rhbz#920258
57f329
57f329
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1-4
57f329
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
57f329
57f329
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 2.1-3
57f329
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
57f329
- Replace maven BuildRequires with maven-local
57f329
57f329
* Wed Jan  9 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.1-2
57f329
- Fix easymock requires
57f329
57f329
* Mon Jan 07 2013 Tomas Radej <tradej@redhat.com> - 2.1-1
57f329
- Updated to latest upstream version
57f329
- Cleanup - removed patches, old files etc.
57f329
- Added requires to subpackages
57f329
57f329
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0-4.alpha1
57f329
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
57f329
57f329
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0-3.alpha1
57f329
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
57f329
57f329
* Thu Nov 10 2011 Jaromir Capik <jcapik@redhat.com> 2.0-2.alpha1
57f329
- Structuring mess cleanup (depmap fragments split, removing jar duplicities)
57f329
57f329
* Wed Nov 09 2011 Jaromir Capik <jcapik@redhat.com> 2.0-1.alpha1
57f329
- Update to 2.0-alpha1
57f329
- Spec file changes according to the latest guidelines
57f329
57f329
* Thu Feb 10 2011 Alexander Kurtakov <akurtako@redhat.com> 1.2-9
57f329
- Fix building.
57f329
- Adapt to current guidelines.
57f329
57f329
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-8
57f329
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
57f329
57f329
* Mon Sep 20 2010 Yong Yang <yyang@redhat.com> 1.1-7
57f329
- Build with plexus-containers 1.5.4
57f329
57f329
* Mon May 31 2010 Alexander Kurtakov <akurtako@redhat.com> 1.2-6
57f329
- Proper obsolete for maven-shared-test-tools.
57f329
57f329
* Mon May 31 2010 Alexander Kurtakov <akurtako@redhat.com> 1.2-5
57f329
- One more item to the depmap.
57f329
57f329
* Mon May 31 2010 Alexander Kurtakov <akurtako@redhat.com> 1.2-4
57f329
- Add depmap to fix build.
57f329
57f329
* Sat May 29 2010 Alexander Kurtakov <akurtako@redhat.com> 1.2-3
57f329
- Obsolete maven-shared-test-tools.
57f329
57f329
* Thu May 27 2010 Yong Yang <yyang@redhat.com> 1:1.2-2.8
57f329
- Fix parent pom install
57f329
57f329
* Thu May 27 2010 Yong Yang <yyang@redhat.com> 1:1.2-2.7
57f329
- Fix installed pom.xml source path
57f329
57f329
* Thu May 27 2010 Yong Yang <yyang@redhat.com> 1:1.2-2.6
57f329
- Add more maven depmap for maven-test-tools and maven-plugin-testing-tools for backward compatibility 
57f329
57f329
* Thu May 27 2010 Yong Yang <yyang@redhat.com> 1:1.2-2.5
57f329
- Fix maven-plugin-testing-tools pom name
57f329
57f329
* Thu May 27 2010 Yong Yang <yyang@redhat.com> 1:1.2-2.4
57f329
- Change JPP.%{pkg_name}.%{pkg_name}-harness.pom to JPP.%{pkg_name}-%{pkg_name}-harness.pom
57f329
57f329
* Thu May 27 2010 Yong Yang <yyang@redhat.com> 1:1.2-2.3
57f329
- Remove epoch in Requires of maven-test-tools
57f329
57f329
* Wed May 12 2010 Alexander Kurtakov <akurtako@redhat.com> 1:1.2-2
57f329
- Fix line lengths and use macroses consistently.
57f329
- Add comment for the tests skip.
57f329
- Add missing requires and set permissions.
57f329
57f329
* Wed May 12 2010 Alexander Kurtakov <akurtako@redhat.com> 1:1.2-1
57f329
- Initial package.