2017-04-13 14:25:40 +00:00
|
|
|
Name: maven-resolver
|
2021-01-15 14:45:26 +00:00
|
|
|
Version: 1.6.1
|
2020-06-26 14:32:19 +00:00
|
|
|
Release: 1%{?dist}
|
2017-04-13 14:25:40 +00:00
|
|
|
License: ASL 2.0
|
|
|
|
Summary: Apache Maven Artifact Resolver library
|
2020-06-26 14:35:01 +00:00
|
|
|
URL: https://maven.apache.org/resolver/
|
|
|
|
Source0: https://archive.apache.org/dist/maven/resolver/%{name}-%{version}-source-release.zip
|
2017-04-13 14:25:40 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
2020-01-25 13:40:08 +00:00
|
|
|
BuildRequires: maven-local-openjdk8
|
2017-04-13 14:25:40 +00:00
|
|
|
BuildRequires: mvn(javax.inject:javax.inject)
|
|
|
|
BuildRequires: mvn(junit:junit)
|
2021-01-20 16:12:15 +00:00
|
|
|
BuildRequires: %{?module_prefix}mvn(org.apache.commons:commons-lang3)
|
2017-05-15 13:42:03 +00:00
|
|
|
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
2019-06-29 11:20:08 +00:00
|
|
|
BuildRequires: %{?module_prefix}mvn(org.apache.maven.wagon:wagon-provider-api)
|
2019-06-29 11:04:42 +00:00
|
|
|
BuildRequires: mvn(org.apache.maven:maven-parent:pom:)
|
2021-01-20 16:12:15 +00:00
|
|
|
BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin)
|
2017-04-13 14:25:40 +00:00
|
|
|
BuildRequires: mvn(org.codehaus.plexus:plexus-classworlds)
|
|
|
|
BuildRequires: mvn(org.codehaus.plexus:plexus-utils)
|
|
|
|
BuildRequires: mvn(org.eclipse.sisu:org.eclipse.sisu.inject)
|
|
|
|
BuildRequires: mvn(org.eclipse.sisu:org.eclipse.sisu.plexus)
|
|
|
|
BuildRequires: mvn(org.eclipse.sisu:sisu-maven-plugin)
|
2017-10-25 11:50:40 +00:00
|
|
|
BuildRequires: mvn(org.hamcrest:hamcrest-core)
|
2018-10-23 14:00:33 +00:00
|
|
|
BuildRequires: mvn(org.mockito:mockito-core)
|
2019-06-29 11:20:08 +00:00
|
|
|
BuildRequires: %{?module_prefix}mvn(org.slf4j:slf4j-api)
|
2018-10-23 14:00:33 +00:00
|
|
|
BuildRequires: mvn(org.slf4j:slf4j-simple)
|
2017-04-13 14:25:40 +00:00
|
|
|
BuildRequires: mvn(org.sonatype.sisu:sisu-guice::no_aop:)
|
|
|
|
|
|
|
|
%description
|
|
|
|
Apache Maven Artifact Resolver is a library for working with artifact
|
|
|
|
repositories and dependency resolution. Maven Artifact Resolver deals with the
|
|
|
|
specification of local repository, remote repository, developer workspaces,
|
|
|
|
artifact transports and artifact resolution.
|
|
|
|
|
2019-06-29 11:14:07 +00:00
|
|
|
%{?module_package}
|
2019-06-29 11:13:12 +00:00
|
|
|
%{?javadoc_package}
|
2017-04-13 14:25:40 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
2021-01-15 14:45:26 +00:00
|
|
|
%pom_remove_plugin -r :bnd-maven-plugin
|
|
|
|
|
2018-03-15 13:24:44 +00:00
|
|
|
%pom_disable_module maven-resolver-demos
|
2021-01-15 14:45:26 +00:00
|
|
|
%pom_disable_module maven-resolver-synccontext-global
|
|
|
|
%pom_disable_module maven-resolver-synccontext-redisson
|
2019-06-29 11:04:42 +00:00
|
|
|
%pom_disable_module maven-resolver-transport-classpath
|
|
|
|
%pom_disable_module maven-resolver-transport-file
|
|
|
|
%pom_disable_module maven-resolver-transport-http
|
|
|
|
%mvn_package :maven-resolver-test-util __noinstall
|
2018-03-15 13:24:44 +00:00
|
|
|
|
2017-05-15 13:42:03 +00:00
|
|
|
# generate OSGi manifests
|
|
|
|
for pom in $(find -mindepth 2 -name pom.xml) ; do
|
2017-05-23 11:26:36 +00:00
|
|
|
%pom_add_plugin "org.apache.felix:maven-bundle-plugin" $pom \
|
2017-05-15 13:42:03 +00:00
|
|
|
"<configuration>
|
|
|
|
<instructions>
|
|
|
|
<Bundle-SymbolicName>\${project.groupId}$(sed 's:./maven-resolver::;s:/pom.xml::;s:-:.:g' <<< $pom)</Bundle-SymbolicName>
|
2017-08-25 12:38:29 +00:00
|
|
|
<Export-Package>!org.eclipse.aether.internal*,org.eclipse.aether*</Export-Package>
|
2017-05-23 11:26:36 +00:00
|
|
|
<_nouses>true</_nouses>
|
2017-05-15 13:42:03 +00:00
|
|
|
</instructions>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>create-manifest</id>
|
|
|
|
<phase>process-classes</phase>
|
|
|
|
<goals><goal>manifest</goal></goals>
|
|
|
|
</execution>
|
|
|
|
</executions>"
|
|
|
|
done
|
|
|
|
%pom_add_plugin "org.apache.maven.plugins:maven-jar-plugin" pom.xml \
|
|
|
|
"<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifestFile>\${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
|
|
|
|
</archive>
|
|
|
|
</configuration>"
|
|
|
|
|
2017-05-24 08:41:11 +00:00
|
|
|
%mvn_alias 'org.apache.maven.resolver:maven-resolver{*}' 'org.eclipse.aether:aether@1'
|
|
|
|
%mvn_file ':maven-resolver{*}' %{name}/maven-resolver@1 aether/aether@1
|
2017-04-13 14:25:40 +00:00
|
|
|
|
|
|
|
%build
|
2019-06-29 11:08:01 +00:00
|
|
|
%mvn_build
|
2017-04-13 14:25:40 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%mvn_install
|
|
|
|
|
2019-06-29 11:14:07 +00:00
|
|
|
%files -n %{?module_prefix}%{name} -f .mfiles
|
2017-04-13 14:25:40 +00:00
|
|
|
%license LICENSE NOTICE
|
|
|
|
|
|
|
|
%changelog
|
2021-01-15 14:45:26 +00:00
|
|
|
* Fri Jan 15 2021 Marian Koncek <mkoncek@redhat.com> - 1.6.1-1
|
|
|
|
- Update to upstream version 1.6.1
|
|
|
|
|
2020-06-26 14:32:19 +00:00
|
|
|
* Fri Jun 26 2020 Marian Koncek <mkoncek@redhat.com> - 1.4.2-1
|
|
|
|
- Update to upstream version 1.4.2
|
|
|
|
|
2020-01-25 13:40:08 +00:00
|
|
|
* Sat Jan 25 2020 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4.1-3
|
|
|
|
- Build with OpenJDK 8
|
|
|
|
|
2019-11-05 16:29:28 +00:00
|
|
|
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4.1-2
|
|
|
|
- Mass rebuild for javapackages-tools 201902
|
|
|
|
|
2019-09-11 13:33:06 +00:00
|
|
|
* Wed Sep 11 2019 Marian Koncek <mkoncek@redhat.com> - 1.4.1-1
|
|
|
|
- Update to upstream version 1.4.1
|
|
|
|
|
2019-06-29 11:04:42 +00:00
|
|
|
* Sat Jun 29 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:1.3.3-3
|
|
|
|
- Disable unneeded transporters
|
|
|
|
|
2019-05-24 15:01:13 +00:00
|
|
|
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:1.3.3-2
|
|
|
|
- Mass rebuild for javapackages-tools 201901
|
|
|
|
|
2019-05-14 06:45:50 +00:00
|
|
|
* Tue May 14 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:1.3.3-1
|
|
|
|
- Update to upstream version 1.3.3
|
|
|
|
|
2018-10-23 14:00:33 +00:00
|
|
|
* Tue Oct 23 2018 Marian Koncek <mkoncek@redhat.com> - 1:1.3.1-1
|
|
|
|
- Update to upstream version 1.3.1
|
|
|
|
|
2018-07-13 09:59:18 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.1.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-04-18 08:15:34 +00:00
|
|
|
* Wed Apr 18 2018 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:1.1.1-2
|
|
|
|
- Remove aether provides
|
|
|
|
|
2018-03-15 13:24:44 +00:00
|
|
|
* Mon Feb 26 2018 Michael Simacek <msimacek@redhat.com> - 1:1.1.1-1
|
|
|
|
- Update to upstream version 1.1.1
|
|
|
|
|
2018-02-08 01:21:44 +00:00
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.1.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-11-27 17:39:24 +00:00
|
|
|
* Mon Nov 27 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:1.1.0-2
|
|
|
|
- Obsolete aether-ant-tasks
|
|
|
|
- Resolves: rhbz#1516043
|
|
|
|
|
2017-10-25 11:50:40 +00:00
|
|
|
* Wed Oct 25 2017 Michael Simacek <msimacek@redhat.com> - 1:1.1.0-1
|
|
|
|
- Update to upstream version 1.1.0
|
|
|
|
|
2017-08-25 12:38:29 +00:00
|
|
|
* Thu Aug 24 2017 Mat Booth <mat.booth@redhat.com> - 1:1.0.3-7
|
|
|
|
- Fix OSGi metadata to also export "impl" packages; "internal" packages remain
|
|
|
|
unexported
|
|
|
|
|
2017-07-26 21:06:36 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.0.3-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-05-24 08:41:11 +00:00
|
|
|
* Wed May 24 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:1.0.3-5
|
|
|
|
- Add aether alias for main POM file
|
|
|
|
|
2017-05-23 11:26:36 +00:00
|
|
|
* Tue May 23 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:1.0.3-4
|
|
|
|
- Fix duplicate Bundle-SymbolicName in OSGi manifests
|
|
|
|
|
2017-05-15 13:42:03 +00:00
|
|
|
* Mon May 15 2017 Mat Booth <mat.booth@redhat.com> - 1:1.0.3-3
|
|
|
|
- Restore OSGi metadata that was lost in the switch from "aether" to
|
|
|
|
"maven-resolver"
|
|
|
|
|
2017-04-13 14:25:40 +00:00
|
|
|
* Wed Apr 12 2017 Michael Simacek <msimacek@redhat.com> - 1:1.0.3-2
|
|
|
|
- Split into subpackages
|
|
|
|
- Obsolete and provide aether
|
|
|
|
|
|
|
|
* Tue Apr 11 2017 Michael Simacek <msimacek@redhat.com> - 1.0.3-1
|
|
|
|
- Initial packaging
|