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"
|
|
||||||
fork="true">
|
|
||||||
<!-- jvmarg value="-verbose"/ -->
|
|
||||||
<classpath>
|
|
||||||
<path refid="build.classpath"/>
|
<path refid="build.classpath"/>
|
||||||
<pathelement location="${build.outputDir}"/>
|
</pathconvert>
|
||||||
</classpath>
|
<exec executable="plexus-metadata-generator" failonerror="true">
|
||||||
<arg value="-X"/>
|
<env key="CLASSPATH" value="${build.outputDir}:${classpath.string}"/>
|
||||||
<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,12 +74,6 @@ find -name Maven30\*.java -delete
|
|||||||
%build
|
%build
|
||||||
mkdir -p lib
|
mkdir -p lib
|
||||||
build-jar-repository -s lib \
|
build-jar-repository -s lib \
|
||||||
atinject \
|
|
||||||
commons-cli \
|
|
||||||
commons-codec \
|
|
||||||
guava/guava \
|
|
||||||
guice/google-guice-no_aop \
|
|
||||||
jdom2/jdom2 \
|
|
||||||
maven-common-artifact-filters/maven-common-artifact-filters \
|
maven-common-artifact-filters/maven-common-artifact-filters \
|
||||||
maven/maven-artifact \
|
maven/maven-artifact \
|
||||||
maven/maven-core \
|
maven/maven-core \
|
||||||
@ -98,19 +81,12 @@ build-jar-repository -s lib \
|
|||||||
maven-resolver/maven-resolver-api \
|
maven-resolver/maven-resolver-api \
|
||||||
maven-resolver/maven-resolver-impl \
|
maven-resolver/maven-resolver-impl \
|
||||||
maven-resolver/maven-resolver-util \
|
maven-resolver/maven-resolver-util \
|
||||||
objectweb-asm/asm \
|
|
||||||
org.eclipse.sisu.inject \
|
|
||||||
org.eclipse.sisu.plexus \
|
org.eclipse.sisu.plexus \
|
||||||
plexus-classworlds \
|
plexus-classworlds \
|
||||||
plexus/cli \
|
|
||||||
plexus-containers/plexus-component-annotations \
|
plexus-containers/plexus-component-annotations \
|
||||||
plexus-metadata-generator \
|
|
||||||
plexus/utils \
|
plexus/utils \
|
||||||
plexus/xml \
|
plexus/xml \
|
||||||
qdox \
|
slf4j/api
|
||||||
slf4j/api \
|
|
||||||
slf4j/simple \
|
|
||||||
xbean/xbean-reflect
|
|
||||||
|
|
||||||
%{ant} \
|
%{ant} \
|
||||||
package javadoc
|
package javadoc
|
||||||
|
Loading…
Reference in New Issue
Block a user