forked from pool/maven-parent
This commit is contained in:
parent
88adc4b07e
commit
414d076798
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c7f0c570c1acb5c94d2d52e5184493385eab8e9829b4f276dbdc35eda1a4cc54
|
||||
size 21384
|
BIN
maven-parent-40-source-release.zip
(Stored with Git LFS)
Normal file
BIN
maven-parent-40-source-release.zip
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package maven-parent
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,13 +17,13 @@
|
||||
|
||||
|
||||
Name: maven-parent
|
||||
Version: 27
|
||||
Version: 40
|
||||
Release: 0
|
||||
Summary: Apache Maven parent POM
|
||||
License: Apache-2.0
|
||||
Group: Development/Libraries/Java
|
||||
URL: http://maven.apache.org
|
||||
Source0: http://repo1.maven.org/maven2/org/apache/maven/%{name}/%{version}/%{name}-%{version}-source-release.zip
|
||||
URL: https://maven.apache.org
|
||||
Source0: https://repo1.maven.org/maven2/org/apache/maven/%{name}/%{version}/%{name}-%{version}-source-release.zip
|
||||
BuildRequires: apache-parent
|
||||
BuildRequires: javapackages-local
|
||||
BuildRequires: unzip
|
||||
@ -38,14 +38,21 @@ Apache Maven parent POM file used by other Maven projects.
|
||||
%pom_remove_plugin :maven-enforcer-plugin
|
||||
%pom_remove_plugin :maven-checkstyle-plugin
|
||||
%pom_remove_plugin :apache-rat-plugin
|
||||
%pom_remove_plugin :spotless-maven-plugin
|
||||
%pom_remove_plugin -r :maven-scm-publish-plugin
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
install -dm 0755 %{buildroot}%{_mavenpomdir}/%{name}
|
||||
install -pm 0644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}/%{name}.pom
|
||||
%{mvn_install_pom} pom.xml %{buildroot}%{_mavenpomdir}/%{name}/%{name}.pom
|
||||
%add_maven_depmap %{name}/%{name}.pom
|
||||
|
||||
for i in doxia-tools maven-extensions maven-plugins maven-shared-components maven-skins; do
|
||||
%{mvn_install_pom} ${i}/pom.xml %{buildroot}%{_mavenpomdir}/%{name}/${i}.pom
|
||||
%add_maven_depmap %{name}/${i}.pom
|
||||
done
|
||||
|
||||
%files -f .mfiles
|
||||
%license LICENSE
|
||||
%doc NOTICE
|
||||
|
Loading…
x
Reference in New Issue
Block a user