forked from pool/maven-jmod-plugin
Compare commits
1 Commits
Author | SHA256 | Date | |
---|---|---|---|
0b8ad4d274 |
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package maven-jmod-plugin
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -36,6 +36,7 @@ BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-annotations)
|
||||
BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin)
|
||||
BuildRequires: mvn(org.apache.maven.plugins:maven-plugins:pom:)
|
||||
BuildRequires: mvn(org.apache.maven.shared:maven-shared-utils)
|
||||
BuildRequires: mvn(org.apache.maven:maven-compat)
|
||||
BuildRequires: mvn(org.apache.maven:maven-core)
|
||||
BuildRequires: mvn(org.apache.maven:maven-plugin-api)
|
||||
BuildRequires: mvn(org.codehaus.plexus:plexus-java)
|
||||
@@ -55,6 +56,9 @@ API documentation for %{name}.
|
||||
%setup -q -n %{name}-%{basever}-%{opt}-%{optver}
|
||||
%patch -P 0 -p1
|
||||
|
||||
%pom_add_dep org.apache.maven:maven-compat:\${mavenVersion}
|
||||
%pom_xpath_remove pom:project/pom:parent/pom:relativePath
|
||||
|
||||
%build
|
||||
%{mvn_build} -f \
|
||||
%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0}
|
||||
|
Reference in New Issue
Block a user