58 lines
1.9 KiB
RPMSpec
58 lines
1.9 KiB
RPMSpec
Name: maven-artifact-transfer
|
|
Version: 0.9.0
|
|
Release: 7
|
|
Epoch: 1
|
|
Summary: Apache Maven Artifact Transfer
|
|
License: ASL 2.0
|
|
URL: http://maven.apache.org/shared/maven-artifact-transfer
|
|
BuildArch: noarch
|
|
|
|
Source0: https://archive.apache.org/dist/maven/shared/%{name}-%{version}-source-release.zip
|
|
|
|
Patch0000: 0001-Compatibility-with-Maven-3.0.3-and-later.patch
|
|
BuildRequires: maven-local mvn(commons-codec:commons-codec) mvn(junit:junit) mvn(org.apache.maven:maven-artifact)
|
|
BuildRequires: mvn(org.apache.maven:maven-core) mvn(org.apache.maven.shared:maven-common-artifact-filters)
|
|
BuildRequires: mvn(org.apache.maven.shared:maven-shared-components:pom:) mvn(org.codehaus.plexus:plexus-component-annotations)
|
|
BuildRequires: mvn(org.codehaus.plexus:plexus-component-metadata) mvn(org.codehaus.plexus:plexus-utils) mvn(org.eclipse.aether:aether-api)
|
|
BuildRequires: mvn(org.eclipse.aether:aether-impl) mvn(org.eclipse.aether:aether-util) mvn(org.slf4j:slf4j-api)
|
|
|
|
|
|
%description
|
|
An API to either install or deploy artifacts with Maven 3.
|
|
|
|
%package help
|
|
Summary: API documentation for maven-artifact-transfer
|
|
Provides: maven-artifact-transfer-javadoc = %{epoch}:%{version}-%{release}
|
|
Obsoletes: maven-artifact-transfer-javadoc < %{epoch}:%{version}-%{release}
|
|
|
|
%description help
|
|
This package provides An API to either install or deploy artifacts with Maven 3.
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%pom_remove_plugin :maven-shade-plugin
|
|
%pom_remove_plugin :apache-rat-plugin
|
|
%pom_remove_plugin :maven-enforcer-plugin
|
|
%pom_remove_plugin :animal-sniffer-maven-plugin
|
|
|
|
%pom_remove_dep org.sonatype.aether:
|
|
find -name Maven30\*.java -delete
|
|
|
|
%build
|
|
export MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=128m"
|
|
%mvn_build
|
|
|
|
%install
|
|
%mvn_install
|
|
|
|
%files -f .mfiles
|
|
%license LICENSE NOTICE
|
|
|
|
%files help -f .mfiles-javadoc
|
|
|
|
%changelog
|
|
* Fri Dec 06 2019 lihao <lihao129@huawei.com> - 1:0.9.0-7
|
|
- Package Init
|
|
|