15317e
Name:           maven-artifact-resolver
15317e
Version:        1.0
15317e
Release:        20%{?dist}
15317e
# Epoch is added because the original package's version in maven-shared is 1.1-SNAPSHOT
15317e
Epoch:          1
15317e
Summary:        Maven Artifact Resolution API
15317e
License:        ASL 2.0
15317e
URL:            http://maven.apache.org/shared/%{name}
15317e
BuildArch:      noarch
15317e
15317e
Source0:        http://central.maven.org/maven2/org/apache/maven/shared/%{name}/%{version}/%{name}-%{version}-source-release.zip
15317e
15317e
# Replaced plexus-maven-plugin with plexus-component-metadata
15317e
Patch0:         %{name}-plexus.patch
15317e
15317e
BuildRequires:  maven-local
15317e
BuildRequires:  mvn(junit:junit)
15317e
BuildRequires:  mvn(org.apache.maven:maven-artifact)
15317e
BuildRequires:  mvn(org.apache.maven:maven-artifact-manager)
15317e
BuildRequires:  mvn(org.apache.maven:maven-compat)
15317e
BuildRequires:  mvn(org.apache.maven:maven-core)
15317e
BuildRequires:  mvn(org.apache.maven:maven-project)
15317e
BuildRequires:  mvn(org.apache.maven.shared:maven-shared-components:pom:)
15317e
BuildRequires:  mvn(org.codehaus.plexus:plexus-component-metadata)
15317e
BuildRequires:  mvn(org.easymock:easymock)
15317e
15317e
%description
15317e
Provides a component for plugins to easily resolve project dependencies.
15317e
15317e
15317e
%package javadoc
15317e
Summary:        Javadoc for %{name}
15317e
15317e
%description javadoc
15317e
API documentation for %{name}.
15317e
15317e
15317e
%prep
15317e
%setup -q
15317e
%patch0 -p1
15317e
15317e
%pom_xpath_inject pom:project/pom:dependencies "
15317e
<dependency>
15317e
  <groupId>org.apache.maven</groupId>
15317e
  <artifactId>maven-compat</artifactId>
15317e
  <version>1.0</version>
15317e
</dependency>" pom.xml
15317e
15317e
%pom_xpath_set "pom:plugin[pom:artifactId='maven-compiler-plugin']/pom:configuration/*" 1.6
15317e
15317e
# Incompatible method invocation
15317e
rm src/test/java/org/apache/maven/shared/artifact/resolver/DefaultProjectDependenciesResolverIT.java
15317e
15317e
%build
15317e
%mvn_build
15317e
15317e
%install
15317e
%mvn_install
15317e
15317e
%files -f .mfiles
15317e
%doc DEPENDENCIES LICENSE NOTICE
15317e
15317e
%files javadoc -f .mfiles-javadoc
15317e
%doc LICENSE NOTICE
15317e
15317e
15317e
%changelog
15317e
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:1.0-20
15317e
- Mass rebuild for javapackages-tools 201902
15317e
15317e
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:1.0-19
15317e
- Mass rebuild for javapackages-tools 201901
15317e
15317e
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.0-18
15317e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
15317e
15317e
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.0-17
15317e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
15317e
15317e
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.0-16
15317e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
15317e
15317e
* Wed Jun 15 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:1.0-15
15317e
- Add missing build-requires
15317e
- Remove old obsoletes/provides
15317e
15317e
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.0-14
15317e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
15317e
15317e
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.0-13
15317e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
15317e
15317e
* Mon Aug  4 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:1.0-12
15317e
- Fix build-requires on parent POM
15317e
15317e
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.0-11
15317e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
15317e
15317e
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1:1.0-10
15317e
- Use Requires: java-headless rebuild (#1067528)
15317e
15317e
* Mon Aug 05 2013 Michal Srb <msrb@redhat.com> - 1:1.0-9
15317e
- Adapt to current guidelines
15317e
15317e
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.0-8
15317e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
15317e
15317e
* Tue Feb 19 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1:1.0-7
15317e
- Add maven-shared to BR/R
15317e
- Add few other missing BRs
15317e
15317e
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.0-6
15317e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
15317e
15317e
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1:1.0-5
15317e
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
15317e
- Replace maven BuildRequires with maven-local
15317e
15317e
* Fri Sep 14 2012 Tomas Radej <tradej@redhat.com> - 1:1.0-4
15317e
- Installing folders separately with -m 755
15317e
- Installing NOTICE in javadoc subpackage
15317e
- Fixed changelog
15317e
15317e
* Wed Sep 12 2012 Tomas Radej <tradej@redhat.com> - 1:1.0-3
15317e
- Really fixed Provides/Obsoletes by introducing epoch
15317e
15317e
* Thu Sep 06 2012 Tomas Radej <tradej@redhat.com> - 1.0-2
15317e
- Fixed Provides/Obsoletes
15317e
15317e
* Tue Jul 31 2012 Tomas Radej <tradej@redhat.com> - 1.0-1
15317e
- Initial version