Blame SPECS/maven-artifact-resolver.spec

969358
Name:           maven-artifact-resolver
969358
Version:        1.0
969358
Release:        10%{?dist}
969358
# Epoch is added because the original package's version in maven-shared is 1.1-SNAPSHOT
969358
Epoch:          1
969358
Summary:        Maven Artifact Resolution API
969358
License:        ASL 2.0
969358
URL:            http://maven.apache.org/shared/%{name}
969358
Source0:        http://central.maven.org/maven2/org/apache/maven/shared/%{name}/%{version}/%{name}-%{version}-source-release.zip
969358
969358
BuildArch:      noarch
969358
969358
BuildRequires:  java-devel >= 1:1.6.0
969358
BuildRequires:  jpackage-utils
969358
BuildRequires:  maven-local
969358
BuildRequires:  maven-surefire-provider-junit4
969358
BuildRequires:  plexus-containers-component-metadata
969358
BuildRequires:  maven-artifact-manager
969358
BuildRequires:  maven-project
969358
BuildRequires:  maven-shared
969358
969358
969358
%description
969358
Provides a component for plugins to easily resolve project dependencies.
969358
969358
969358
%package javadoc
969358
Summary:        Javadoc for %{name}
969358
969358
%description javadoc
969358
API documentation for %{name}.
969358
969358
%prep
969358
%setup -q
969358
# use plexus-component-metadata instead of old plugin
969358
%pom_remove_plugin :plexus-maven-plugin
969358
%pom_add_plugin org.codehaus.plexus:plexus-component-metadata pom.xml "
969358
         <executions>
969358
           <execution>
969358
             <id>create-component-descriptor</id>
969358
             <phase>generate-resources</phase>
969358
             <goals>
969358
              <goal>generate-metadata</goal>
969358
             </goals>
969358
           </execution>
969358
         </executions>
969358
"
969358
969358
%pom_add_dep org.apache.maven:maven-compat:1.0
969358
969358
# Incompatible method invocation
969358
rm src/test/java/org/apache/maven/shared/artifact/resolver/DefaultProjectDependenciesResolverIT.java
969358
969358
%build
969358
%mvn_build
969358
969358
%install
969358
%mvn_install
969358
969358
%files -f .mfiles
969358
%doc DEPENDENCIES LICENSE NOTICE
969358
%dir %{_javadir}/%{name}
969358
969358
%files javadoc -f .mfiles-javadoc
969358
%doc LICENSE NOTICE
969358
969358
%changelog
969358
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1:1.0-10
969358
- Mass rebuild 2013-12-27
969358
969358
* Fri Aug 16 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1:1.0-9
969358
- Migrate away from mvn-rpmbuild (#997444)
969358
969358
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:1.0-8
969358
- Rebuild to regenerate API documentation
969358
- Resolves: CVE-2013-1571
969358
969358
* Tue Feb 19 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1:1.0-7
969358
- Add maven-shared to BR/R
969358
- Add few other missing BRs
969358
969358
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.0-6
969358
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
969358
969358
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1:1.0-5
969358
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
969358
- Replace maven BuildRequires with maven-local
969358
969358
* Fri Sep 14 2012 Tomas Radej <tradej@redhat.com> - 1:1.0-4
969358
- Installing folders separately with -m 755
969358
- Installing NOTICE in javadoc subpackage
969358
- Fixed changelog
969358
969358
* Wed Sep 12 2012 Tomas Radej <tradej@redhat.com> - 1:1.0-3
969358
- Really fixed Provides/Obsoletes by introducing epoch
969358
969358
* Thu Sep 06 2012 Tomas Radej <tradej@redhat.com> - 1.0-2
969358
- Fixed Provides/Obsoletes
969358
969358
* Tue Jul 31 2012 Tomas Radej <tradej@redhat.com> - 1.0-1
969358
- Initial version