forked from pool/maven-resolver
Accepting request 961507 from Java:packages
1.7.3 OBS-URL: https://build.opensuse.org/request/show/961507 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/maven-resolver?expand=0&rev=8
This commit is contained in:
commit
ceaf146c8f
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:352359ccb5dc86706433e19b21aabbb5c07a557312b31243fee0e222ec987405
|
|
||||||
size 1368933
|
|
3
maven-resolver-1.7.3-source-release.zip
Normal file
3
maven-resolver-1.7.3-source-release.zip
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:79a42b05fd326845435f007cfd7cd2bd82c4a7cb1723f7f7cdfbdbd29c91da2d
|
||||||
|
size 1463642
|
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:bc50d72bb912d00aed4b5c25bb57ef3aadc8061d0c96abd4594133a2202f1f9c
|
oid sha256:fae67c97853fef2ad08a92e9f8fa496e5b0eee8c4ac636476610c99ecc8afad3
|
||||||
size 5536
|
size 5736
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 11 12:10:26 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Upgrade to upstream version 1.7.3
|
||||||
|
* Change of API and incompatible with maven-resolver < 1.7
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jan 13 17:38:54 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
Thu Jan 13 17:38:54 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
@ -19,18 +19,19 @@
|
|||||||
%define _buildshell /bin/bash
|
%define _buildshell /bin/bash
|
||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
Name: maven-resolver
|
Name: maven-resolver
|
||||||
Version: 1.6.3
|
Version: 1.7.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Apache Maven Artifact Resolver library
|
Summary: Apache Maven Artifact Resolver library
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Libraries/Java
|
Group: Development/Libraries/Java
|
||||||
URL: http://maven.apache.org/resolver/
|
URL: https://maven.apache.org/resolver/
|
||||||
Source0: http://archive.apache.org/dist/maven/resolver/%{name}-%{version}-source-release.zip
|
Source0: http://archive.apache.org/dist/maven/resolver/%{name}-%{version}-source-release.zip
|
||||||
Source1: %{name}-build.tar.xz
|
Source1: %{name}-build.tar.xz
|
||||||
BuildRequires: ant
|
BuildRequires: ant
|
||||||
BuildRequires: apache-commons-lang3
|
BuildRequires: apache-commons-lang3
|
||||||
BuildRequires: atinject
|
BuildRequires: atinject
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: glassfish-annotation-api
|
||||||
BuildRequires: google-guice
|
BuildRequires: google-guice
|
||||||
BuildRequires: httpcomponents-client
|
BuildRequires: httpcomponents-client
|
||||||
BuildRequires: httpcomponents-core
|
BuildRequires: httpcomponents-core
|
||||||
@ -84,6 +85,13 @@ Group: Development/Libraries/Java
|
|||||||
%description util
|
%description util
|
||||||
A collection of utility classes to ease usage of the repository system.
|
A collection of utility classes to ease usage of the repository system.
|
||||||
|
|
||||||
|
%package named-locks
|
||||||
|
Summary: Maven Artifact Resolver Named Locks
|
||||||
|
Group: Development/Libraries/Java
|
||||||
|
|
||||||
|
%description named-locks
|
||||||
|
A synchronization utility implementation using Named locks
|
||||||
|
|
||||||
%package impl
|
%package impl
|
||||||
Summary: Maven Artifact Resolver Implementation
|
Summary: Maven Artifact Resolver Implementation
|
||||||
Group: Development/Libraries/Java
|
Group: Development/Libraries/Java
|
||||||
@ -143,14 +151,17 @@ This package provides %{summary}.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -a1
|
%setup -q -a1
|
||||||
|
|
||||||
# pointless plugin
|
# requires internet connection
|
||||||
%pom_remove_plugin :maven-enforcer-plugin
|
rm maven-resolver-transport-http/src/test/java/org/eclipse/aether/transport/http/HttpTransporterTest.java
|
||||||
|
|
||||||
# tests require jetty 7
|
%pom_remove_plugin -r :bnd-maven-plugin
|
||||||
%pom_remove_dep :::test maven-resolver-transport-http
|
%pom_remove_plugin -r org.codehaus.mojo:animal-sniffer-maven-plugin
|
||||||
rm -r maven-resolver-transport-http/src/test
|
%pom_remove_plugin -r org.apache.maven.plugins:maven-enforcer-plugin
|
||||||
|
|
||||||
%pom_disable_module maven-resolver-demos
|
%pom_disable_module maven-resolver-demos
|
||||||
|
%pom_disable_module maven-resolver-named-locks-hazelcast
|
||||||
|
%pom_disable_module maven-resolver-named-locks-redisson
|
||||||
|
%pom_disable_module maven-resolver-transport-classpath
|
||||||
|
|
||||||
# generate OSGi manifests
|
# generate OSGi manifests
|
||||||
for pom in $(find -mindepth 2 -name pom.xml) ; do
|
for pom in $(find -mindepth 2 -name pom.xml) ; do
|
||||||
@ -216,10 +227,10 @@ build-jar-repository -s lib \
|
|||||||
%endif
|
%endif
|
||||||
package javadoc
|
package javadoc
|
||||||
|
|
||||||
%mvn_artifact pom.xml
|
%{mvn_artifact} pom.xml
|
||||||
|
|
||||||
mkdir -p target/site/apidocs
|
mkdir -p target/site/apidocs
|
||||||
for i in api spi test-util util impl connector-basic transport-classpath transport-file transport-http transport-wagon; do
|
for i in api spi test-util util named-locks impl connector-basic transport-classpath transport-file transport-http transport-wagon; do
|
||||||
cp -r %{name}-${i}/target/site/apidocs target/site/apidocs/%{name}-${i}
|
cp -r %{name}-${i}/target/site/apidocs target/site/apidocs/%{name}-${i}
|
||||||
%{mvn_artifact} %{name}-${i}/pom.xml %{name}-${i}/target/%{name}-${i}-%{version}.jar
|
%{mvn_artifact} %{name}-${i}/pom.xml %{name}-${i}/target/%{name}-${i}-%{version}.jar
|
||||||
done
|
done
|
||||||
@ -238,6 +249,8 @@ done
|
|||||||
|
|
||||||
%files util -f .mfiles-util
|
%files util -f .mfiles-util
|
||||||
|
|
||||||
|
%files named-locks -f .mfiles-named-locks
|
||||||
|
|
||||||
%files impl -f .mfiles-impl
|
%files impl -f .mfiles-impl
|
||||||
|
|
||||||
%files test-util -f .mfiles-test-util
|
%files test-util -f .mfiles-test-util
|
||||||
|
Loading…
x
Reference in New Issue
Block a user