Sync from SUSE:SLFO:Main maven-artifact-transfer revision 6326e9d02e3a50cfe75e8ed8e5bccc56
This commit is contained in:
parent
fd4992c538
commit
1007ea16e9
@ -17,7 +17,8 @@
|
|||||||
|
|
||||||
<property name="spec.version" value="0.13"/>
|
<property name="spec.version" value="0.13"/>
|
||||||
|
|
||||||
<property name="compiler.source" value="1.8"/>
|
<property name="compiler.release" value="8"/>
|
||||||
|
<property name="compiler.source" value="1.${compiler.release}"/>
|
||||||
<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}"/>
|
||||||
@ -61,6 +62,7 @@
|
|||||||
encoding="UTF-8"
|
encoding="UTF-8"
|
||||||
optimize="false"
|
optimize="false"
|
||||||
deprecation="true"
|
deprecation="true"
|
||||||
|
release="${compiler.release}"
|
||||||
target="${compiler.target}"
|
target="${compiler.target}"
|
||||||
verbose="false"
|
verbose="false"
|
||||||
fork="false"
|
fork="false"
|
||||||
@ -80,15 +82,11 @@
|
|||||||
depends="compile"
|
depends="compile"
|
||||||
description="Generate Plexus component.xml">
|
description="Generate Plexus component.xml">
|
||||||
<mkdir dir="${build.outputDir}/META-INF/plexus"/>
|
<mkdir dir="${build.outputDir}/META-INF/plexus"/>
|
||||||
<java classname="org.codehaus.plexus.metadata.PlexusMetadataGeneratorCli"
|
<pathconvert property="classpath.string" pathsep=":">
|
||||||
failonerror="true"
|
<path refid="build.classpath"/>
|
||||||
fork="true">
|
</pathconvert>
|
||||||
<!-- jvmarg value="-verbose"/ -->
|
<exec executable="plexus-metadata-generator" failonerror="true">
|
||||||
<classpath>
|
<env key="CLASSPATH" value="${build.outputDir}:${classpath.string}"/>
|
||||||
<path refid="build.classpath"/>
|
|
||||||
<pathelement location="${build.outputDir}"/>
|
|
||||||
</classpath>
|
|
||||||
<arg value="-X"/>
|
|
||||||
<arg value="-s"/>
|
<arg value="-s"/>
|
||||||
<arg value="${build.srcDir}"/>
|
<arg value="${build.srcDir}"/>
|
||||||
<arg value="-c"/>
|
<arg value="-c"/>
|
||||||
@ -97,7 +95,7 @@
|
|||||||
<arg value="${build.outputDir}/META-INF/plexus"/>
|
<arg value="${build.outputDir}/META-INF/plexus"/>
|
||||||
<arg value="-o"/>
|
<arg value="-o"/>
|
||||||
<arg value="${build.outputDir}/META-INF/plexus/components.xml"/>
|
<arg value="${build.outputDir}/META-INF/plexus/components.xml"/>
|
||||||
</java>
|
</exec>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<!-- ====================================================================== -->
|
<!-- ====================================================================== -->
|
||||||
@ -115,6 +113,7 @@
|
|||||||
encoding="UTF-8"
|
encoding="UTF-8"
|
||||||
optimize="false"
|
optimize="false"
|
||||||
deprecation="true"
|
deprecation="true"
|
||||||
|
release="${compiler.release}"
|
||||||
target="${compiler.target}"
|
target="${compiler.target}"
|
||||||
verbose="false"
|
verbose="false"
|
||||||
fork="false"
|
fork="false"
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 10 16:29:15 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Use plexus-metadata-generator executable directly to simplify
|
||||||
|
build classpath
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 2 17:20:27 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
Tue Apr 2 17:20:27 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
@ -29,32 +29,21 @@ Patch0: 0001-Compatibility-with-Maven-3.0.3-and-later.patch
|
|||||||
Patch1: 0002-Remove-support-for-maven-3.0.X.patch
|
Patch1: 0002-Remove-support-for-maven-3.0.X.patch
|
||||||
Patch2: 0003-Port-to-maven-3.8.1.patch
|
Patch2: 0003-Port-to-maven-3.8.1.patch
|
||||||
BuildRequires: ant
|
BuildRequires: ant
|
||||||
BuildRequires: apache-commons-cli
|
|
||||||
BuildRequires: apache-commons-codec
|
|
||||||
BuildRequires: atinject
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: google-guice
|
|
||||||
BuildRequires: guava
|
|
||||||
BuildRequires: javapackages-local >= 6
|
BuildRequires: javapackages-local >= 6
|
||||||
BuildRequires: jdom2
|
|
||||||
BuildRequires: maven-common-artifact-filters
|
BuildRequires: maven-common-artifact-filters
|
||||||
BuildRequires: maven-lib
|
BuildRequires: maven-lib
|
||||||
BuildRequires: maven-resolver-api
|
BuildRequires: maven-resolver-api
|
||||||
BuildRequires: maven-resolver-impl
|
BuildRequires: maven-resolver-impl
|
||||||
BuildRequires: maven-resolver-util
|
BuildRequires: maven-resolver-util
|
||||||
BuildRequires: objectweb-asm
|
|
||||||
BuildRequires: plexus-classworlds
|
BuildRequires: plexus-classworlds
|
||||||
BuildRequires: plexus-cli
|
|
||||||
BuildRequires: plexus-containers-component-annotations
|
BuildRequires: plexus-containers-component-annotations
|
||||||
BuildRequires: plexus-metadata-generator
|
BuildRequires: plexus-metadata-generator
|
||||||
BuildRequires: plexus-utils
|
BuildRequires: plexus-utils
|
||||||
BuildRequires: plexus-xml
|
BuildRequires: plexus-xml
|
||||||
BuildRequires: qdox
|
|
||||||
BuildRequires: sisu-inject
|
|
||||||
BuildRequires: sisu-plexus
|
BuildRequires: sisu-plexus
|
||||||
BuildRequires: slf4j
|
BuildRequires: slf4j
|
||||||
BuildRequires: unzip
|
BuildRequires: unzip
|
||||||
BuildRequires: xbean
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -85,35 +74,22 @@ find -name Maven30\*.java -delete
|
|||||||
%build
|
%build
|
||||||
mkdir -p lib
|
mkdir -p lib
|
||||||
build-jar-repository -s lib \
|
build-jar-repository -s lib \
|
||||||
atinject \
|
maven-common-artifact-filters/maven-common-artifact-filters \
|
||||||
commons-cli \
|
maven/maven-artifact \
|
||||||
commons-codec \
|
maven/maven-core \
|
||||||
guava/guava \
|
maven/maven-model \
|
||||||
guice/google-guice-no_aop \
|
maven-resolver/maven-resolver-api \
|
||||||
jdom2/jdom2 \
|
maven-resolver/maven-resolver-impl \
|
||||||
maven-common-artifact-filters/maven-common-artifact-filters \
|
maven-resolver/maven-resolver-util \
|
||||||
maven/maven-artifact \
|
org.eclipse.sisu.plexus \
|
||||||
maven/maven-core \
|
plexus-classworlds \
|
||||||
maven/maven-model \
|
plexus-containers/plexus-component-annotations \
|
||||||
maven-resolver/maven-resolver-api \
|
plexus/utils \
|
||||||
maven-resolver/maven-resolver-impl \
|
plexus/xml \
|
||||||
maven-resolver/maven-resolver-util \
|
slf4j/api
|
||||||
objectweb-asm/asm \
|
|
||||||
org.eclipse.sisu.inject \
|
|
||||||
org.eclipse.sisu.plexus \
|
|
||||||
plexus-classworlds \
|
|
||||||
plexus/cli \
|
|
||||||
plexus-containers/plexus-component-annotations \
|
|
||||||
plexus-metadata-generator \
|
|
||||||
plexus/utils \
|
|
||||||
plexus/xml \
|
|
||||||
qdox \
|
|
||||||
slf4j/api \
|
|
||||||
slf4j/simple \
|
|
||||||
xbean/xbean-reflect
|
|
||||||
|
|
||||||
%{ant} \
|
%{ant} \
|
||||||
package javadoc
|
package javadoc
|
||||||
|
|
||||||
%install
|
%install
|
||||||
# jar
|
# jar
|
||||||
|
Loading…
Reference in New Issue
Block a user