Update Java compiler target settings
Related: RHEL-74277
This commit is contained in:
parent
8a44789148
commit
5a45bfebaf
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: maven-bundle-plugin
|
Name: maven-bundle-plugin
|
||||||
Version: 5.1.9
|
Version: 5.1.9
|
||||||
Release: 7%{?dist}
|
Release: 8%{?dist}
|
||||||
Summary: Maven Bundle Plugin
|
Summary: Maven Bundle Plugin
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: https://felix.apache.org
|
URL: https://felix.apache.org
|
||||||
@ -31,10 +31,6 @@ BuildRequires: mvn(org.slf4j:slf4j-api)
|
|||||||
BuildRequires: mvn(org.sonatype.plexus:plexus-build-api)
|
BuildRequires: mvn(org.sonatype.plexus:plexus-build-api)
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# TODO remove Provides / Obsoletes on maven-plugin-bundle in Fedora 41
|
|
||||||
Provides: maven-plugin-bundle = %{version}-%{release}
|
|
||||||
Obsoletes: maven-plugin-bundle < 5.1.1-9
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Provides a maven plugin that supports creating an OSGi bundle
|
Provides a maven plugin that supports creating an OSGi bundle
|
||||||
from the contents of the compilation classpath along with its
|
from the contents of the compilation classpath along with its
|
||||||
@ -51,7 +47,7 @@ Obsoletes: maven-plugin-bundle-javadoc < 5.1.1-9
|
|||||||
API documentation for %{name}.
|
API documentation for %{name}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
|
|
||||||
find -name '*.jar' -delete
|
find -name '*.jar' -delete
|
||||||
|
|
||||||
@ -74,7 +70,7 @@ rm -f src/main/java/org/apache/felix/bundleplugin/baseline/BaselineReport.java
|
|||||||
%build
|
%build
|
||||||
# Tests depend on bundled JARs
|
# Tests depend on bundled JARs
|
||||||
# source and target set explicitly for xmvn-javadoc-plugin
|
# source and target set explicitly for xmvn-javadoc-plugin
|
||||||
%mvn_build -f -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8
|
%mvn_build -f -- -Dmaven.compiler.target=8
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%mvn_install
|
%mvn_install
|
||||||
@ -86,6 +82,9 @@ rm -f src/main/java/org/apache/felix/bundleplugin/baseline/BaselineReport.java
|
|||||||
%license LICENSE NOTICE
|
%license LICENSE NOTICE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jan 16 2025 Mikolaj Izdebski <mizdebsk@redhat.com> - 5.1.9-8
|
||||||
|
- Update Java compiler target settings
|
||||||
|
|
||||||
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 5.1.9-7
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 5.1.9-7
|
||||||
- Bump release for October 2024 mass rebuild:
|
- Bump release for October 2024 mass rebuild:
|
||||||
Resolves: RHEL-64018
|
Resolves: RHEL-64018
|
||||||
|
Loading…
Reference in New Issue
Block a user