OBS-URL: https://build.opensuse.org/package/show/Java:packages/maven-resources-plugin?expand=0&rev=14
This commit is contained in:
parent
4a7a1f6af1
commit
2fcdb20770
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
<property name="spec.version" value="3.1"/>
|
<property name="spec.version" value="3.1"/>
|
||||||
|
|
||||||
<property name="compiler.source" value="1.6"/>
|
<property name="compiler.source" value="1.8"/>
|
||||||
<property name="compiler.target" value="${compiler.source}"/>
|
<property name="compiler.target" value="${compiler.source}"/>
|
||||||
|
|
||||||
<property name="build.finalName" value="${project.artifactId}-${project.version}"/>
|
<property name="build.finalName" value="${project.artifactId}-${project.version}"/>
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 22 13:44:41 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Build with java source and target levels 8
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Nov 24 17:47:59 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
Sun Nov 24 17:47:59 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package maven-resources-plugin
|
# spec file
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LLC
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -28,12 +28,13 @@ Release: 0
|
|||||||
Summary: Maven Resources Plugin
|
Summary: Maven Resources Plugin
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Libraries/Java
|
Group: Development/Libraries/Java
|
||||||
URL: http://maven.apache.org/plugins/maven-resources-plugin
|
URL: https://maven.apache.org/plugins/maven-resources-plugin
|
||||||
Source0: http://repo2.maven.org/maven2/org/apache/maven/plugins/%{base_name}/%{version}/%{base_name}-%{version}-source-release.zip
|
Source0: https://repo1.maven.org/maven2/org/apache/maven/plugins/%{base_name}/%{version}/%{base_name}-%{version}-source-release.zip
|
||||||
Source1: %{base_name}-build.xml
|
Source1: %{base_name}-build.xml
|
||||||
Patch0: %{base_name}-bootstrap-resources.patch
|
Patch0: %{base_name}-bootstrap-resources.patch
|
||||||
BuildRequires: apache-commons-io
|
BuildRequires: apache-commons-io
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: java-devel >= 1.8
|
||||||
BuildRequires: javapackages-local
|
BuildRequires: javapackages-local
|
||||||
BuildRequires: maven-filtering
|
BuildRequires: maven-filtering
|
||||||
BuildRequires: maven-lib
|
BuildRequires: maven-lib
|
||||||
@ -92,23 +93,23 @@ cp %{SOURCE1} build.xml
|
|||||||
%if %{with bootstrap}
|
%if %{with bootstrap}
|
||||||
mkdir -p lib
|
mkdir -p lib
|
||||||
build-jar-repository -s lib \
|
build-jar-repository -s lib \
|
||||||
commons-io \
|
commons-io \
|
||||||
maven-filtering/maven-filtering \
|
maven-filtering/maven-filtering \
|
||||||
maven/maven-core \
|
maven/maven-core \
|
||||||
maven/maven-model \
|
maven/maven-model \
|
||||||
maven/maven-plugin-api \
|
maven/maven-plugin-api \
|
||||||
maven-plugin-tools/maven-plugin-annotations \
|
maven-plugin-tools/maven-plugin-annotations \
|
||||||
org.eclipse.sisu.plexus \
|
org.eclipse.sisu.plexus \
|
||||||
plexus/interpolation \
|
plexus/interpolation \
|
||||||
plexus/utils
|
plexus/utils
|
||||||
%{ant} -Dtest.skip=true jar
|
%{ant} -Dtest.skip=true jar
|
||||||
%else
|
%else
|
||||||
xmvn --batch-mode --offline \
|
xmvn --batch-mode --offline \
|
||||||
-Dmaven.test.skip=true \
|
-Dmaven.test.skip=true \
|
||||||
%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0}
|
%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0}
|
||||||
-Dmaven.compiler.release=7 \
|
-Dmaven.compiler.release=8 \
|
||||||
%endif
|
%endif
|
||||||
package org.apache.maven.plugins:maven-javadoc-plugin:aggregate
|
package org.apache.maven.plugins:maven-javadoc-plugin:aggregate
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%{mvn_artifact} pom.xml target/%{base_name}-%{version}.jar
|
%{mvn_artifact} pom.xml target/%{base_name}-%{version}.jar
|
||||||
|
Loading…
Reference in New Issue
Block a user