Accepting request 1206230 from Java:packages
2.8.0 OBS-URL: https://build.opensuse.org/request/show/1206230 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/plexus-classworlds?expand=0&rev=5
This commit is contained in:
commit
12a7b64c6e
BIN
plexus-classworlds-2.6.0.tar.gz
(Stored with Git LFS)
BIN
plexus-classworlds-2.6.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
plexus-classworlds-2.8.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
plexus-classworlds-2.8.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -10,12 +10,13 @@
|
|||||||
|
|
||||||
<property name="project.groupId" value="org.codehaus.plexus"/>
|
<property name="project.groupId" value="org.codehaus.plexus"/>
|
||||||
<property name="project.artifactId" value="plexus-classworlds"/>
|
<property name="project.artifactId" value="plexus-classworlds"/>
|
||||||
<property name="project.version" value="2.6.0"/>
|
<property name="project.version" value="2.8.0"/>
|
||||||
<property name="project.name" value="Plexus Classworlds"/>
|
<property name="project.name" value="Plexus Classworlds"/>
|
||||||
<property name="project.description" value="A class loader framework"/>
|
<property name="project.description" value="A class loader framework"/>
|
||||||
<property name="project.organization.name" value="Codehaus Plexus"/>
|
<property name="project.organization.name" value="Codehaus Plexus"/>
|
||||||
|
|
||||||
<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}"/>
|
||||||
@ -23,10 +24,7 @@
|
|||||||
<property name="build.outputDir" value="${build.dir}/classes"/>
|
<property name="build.outputDir" value="${build.dir}/classes"/>
|
||||||
<property name="build.srcDir" value="src/main/java"/>
|
<property name="build.srcDir" value="src/main/java"/>
|
||||||
<property name="build.resourceDir" value="src/main/resources"/>
|
<property name="build.resourceDir" value="src/main/resources"/>
|
||||||
<property name="build.testOutputDir" value="${build.dir}/test-classes"/>
|
|
||||||
<property name="build.testDir" value="src/test/java"/>
|
|
||||||
<property name="build.testResourceDir" value="src/test/resources"/>
|
|
||||||
<property name="test.reports" value="${build.dir}/test-reports"/>
|
|
||||||
<property name="reporting.outputDirectory" value="${build.dir}/site"/>
|
<property name="reporting.outputDirectory" value="${build.dir}/site"/>
|
||||||
|
|
||||||
<!-- ====================================================================== -->
|
<!-- ====================================================================== -->
|
||||||
@ -49,6 +47,7 @@
|
|||||||
debug="true"
|
debug="true"
|
||||||
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"
|
||||||
@ -59,100 +58,6 @@
|
|||||||
</javac>
|
</javac>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<!-- ====================================================================== -->
|
|
||||||
<!-- Test-compilation target -->
|
|
||||||
<!-- ====================================================================== -->
|
|
||||||
|
|
||||||
<target name="compile-tests"
|
|
||||||
depends="compile"
|
|
||||||
description="Compile the test code"
|
|
||||||
unless="test.skip">
|
|
||||||
<mkdir dir="${build.testOutputDir}"/>
|
|
||||||
<javac destdir="${build.testOutputDir}"
|
|
||||||
excludes="org/codehaus/plexus/classworlds/event/*"
|
|
||||||
nowarn="false"
|
|
||||||
debug="true"
|
|
||||||
optimize="false"
|
|
||||||
deprecation="true"
|
|
||||||
target="${compiler.target}"
|
|
||||||
verbose="false"
|
|
||||||
fork="false"
|
|
||||||
source="${compiler.source}">
|
|
||||||
<src>
|
|
||||||
<pathelement location="${build.testDir}"/>
|
|
||||||
</src>
|
|
||||||
<classpath>
|
|
||||||
<pathelement location="${build.outputDir}"/>
|
|
||||||
</classpath>
|
|
||||||
</javac>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<!-- ====================================================================== -->
|
|
||||||
<!-- Run all tests -->
|
|
||||||
<!-- ====================================================================== -->
|
|
||||||
|
|
||||||
<target name="test"
|
|
||||||
depends="compile-tests, junit-missing"
|
|
||||||
unless="junit.skipped"
|
|
||||||
description="Run the test cases">
|
|
||||||
<mkdir dir="${test.reports}"/>
|
|
||||||
<junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir=".">
|
|
||||||
<sysproperty key="basedir" value="."/>
|
|
||||||
<formatter type="xml"/>
|
|
||||||
<formatter type="plain" usefile="false"/>
|
|
||||||
<classpath>
|
|
||||||
<pathelement location="${build.outputDir}"/>
|
|
||||||
<pathelement location="${build.testOutputDir}"/>
|
|
||||||
</classpath>
|
|
||||||
<batchtest todir="${test.reports}" unless="test">
|
|
||||||
<fileset dir="${build.testDir}">
|
|
||||||
<include name="**/Test*.java"/>
|
|
||||||
<include name="**/*Test.java"/>
|
|
||||||
<include name="**/*TestCase.java"/>
|
|
||||||
<exclude name="**/*Abstract*Test*.java"/>
|
|
||||||
<exclude name="**/Constructor.java"/>
|
|
||||||
<exclude name="**/TestUtil.java"/>
|
|
||||||
</fileset>
|
|
||||||
</batchtest>
|
|
||||||
<batchtest todir="${test.reports}" if="test">
|
|
||||||
<fileset dir="${build.testDir}">
|
|
||||||
<include name="**/${test}.java"/>
|
|
||||||
<exclude name="**/*Abstract*Test*.java"/>
|
|
||||||
<exclude name="**/Constructor.java"/>
|
|
||||||
<exclude name="**/TestUtil.java"/>
|
|
||||||
</fileset>
|
|
||||||
</batchtest>
|
|
||||||
</junit>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<target name="test-junit-present">
|
|
||||||
<available classname="junit.framework.Test" property="junit.present"/>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<target name="test-junit-status"
|
|
||||||
depends="test-junit-present">
|
|
||||||
<condition property="junit.missing">
|
|
||||||
<and>
|
|
||||||
<isfalse value="${junit.present}"/>
|
|
||||||
<isfalse value="${test.skip}"/>
|
|
||||||
</and>
|
|
||||||
</condition>
|
|
||||||
<condition property="junit.skipped">
|
|
||||||
<or>
|
|
||||||
<isfalse value="${junit.present}"/>
|
|
||||||
<istrue value="${test.skip}"/>
|
|
||||||
</or>
|
|
||||||
</condition>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<target name="junit-missing"
|
|
||||||
depends="test-junit-status"
|
|
||||||
if="junit.missing">
|
|
||||||
<echo>=================================== WARNING ===================================</echo>
|
|
||||||
<echo> JUnit is not present in the test classpath or your $ANT_HOME/lib directory. Tests not executed.</echo>
|
|
||||||
<echo>===============================================================================</echo>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<!-- ====================================================================== -->
|
<!-- ====================================================================== -->
|
||||||
<!-- Javadoc target -->
|
<!-- Javadoc target -->
|
||||||
<!-- ====================================================================== -->
|
<!-- ====================================================================== -->
|
||||||
@ -185,7 +90,7 @@
|
|||||||
<!-- Package target -->
|
<!-- Package target -->
|
||||||
<!-- ====================================================================== -->
|
<!-- ====================================================================== -->
|
||||||
|
|
||||||
<target name="package" depends="compile,test" description="Package the application">
|
<target name="package" depends="compile" description="Package the application">
|
||||||
<jar jarfile="${build.dir}/${build.finalName}.jar"
|
<jar jarfile="${build.dir}/${build.finalName}.jar"
|
||||||
compress="true"
|
compress="true"
|
||||||
index="false"
|
index="false"
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 8 06:33:15 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Upgrade to version 2.8.0
|
||||||
|
* Changes:
|
||||||
|
+ Adding support for PPC64LE
|
||||||
|
+ Allows to register a filtered class realm
|
||||||
|
+ Implement Closeable for ClassWorld
|
||||||
|
+ pom.xml and site.xml cleanup
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Feb 21 22:18:39 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
Wed Feb 21 22:18:39 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
@ -17,9 +17,8 @@
|
|||||||
|
|
||||||
|
|
||||||
%global short_name classworlds
|
%global short_name classworlds
|
||||||
%bcond_with tests
|
|
||||||
Name: plexus-%{short_name}
|
Name: plexus-%{short_name}
|
||||||
Version: 2.6.0
|
Version: 2.8.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Plexus Classworlds Classloader Framework
|
Summary: Plexus Classworlds Classloader Framework
|
||||||
License: Apache-2.0 AND Plexus
|
License: Apache-2.0 AND Plexus
|
||||||
@ -33,11 +32,6 @@ BuildRequires: javapackages-local >= 6
|
|||||||
Obsoletes: %{short_name} < %{version}-%{release}
|
Obsoletes: %{short_name} < %{version}-%{release}
|
||||||
Provides: %{short_name} = %{version}-%{release}
|
Provides: %{short_name} = %{version}-%{release}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if %{with tests}
|
|
||||||
BuildRequires: ant-junit
|
|
||||||
BuildRequires: commons-logging
|
|
||||||
BuildRequires: xml-apis
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Classworlds is a framework for container developers
|
Classworlds is a framework for container developers
|
||||||
@ -59,20 +53,9 @@ API documentation for %{name}.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{name}-%{version}
|
%setup -q -n %{name}-%{name}-%{version}
|
||||||
cp %{SOURCE1} build.xml
|
cp %{SOURCE1} build.xml
|
||||||
%if %{with tests}
|
|
||||||
mkdir -p target/test-lib
|
|
||||||
rm -f target/test-lib/{ant-1.9.0,commons-logging-1.0.3,xml-apis-1.3.02}.jar
|
|
||||||
ln -s $(build-classpath ant/ant) target/test-lib/ant-1.9.0.jar
|
|
||||||
ln -s $(build-classpath commons-logging) target/test-lib/commons-logging-1.0.3.jar
|
|
||||||
ln -s $(build-classpath xml-apis) target/test-lib/xml-apis-1.3.02.jar
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{ant} \
|
ant jar javadoc
|
||||||
%if %{without tests}
|
|
||||||
-Dtest.skip=true \
|
|
||||||
%endif
|
|
||||||
jar javadoc
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
# jar
|
# jar
|
||||||
@ -90,12 +73,12 @@ cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}/
|
|||||||
%fdupes -s %{buildroot}%{_javadocdir}
|
%fdupes -s %{buildroot}%{_javadocdir}
|
||||||
|
|
||||||
%files -f .mfiles
|
%files -f .mfiles
|
||||||
%license LICENSE.txt LICENSE-2.0.txt
|
%license LICENSE.txt LICENSE-Codehaus.txt
|
||||||
%{_javadir}/plexus
|
%{_javadir}/plexus
|
||||||
%{_javadir}/%{short_name}.jar
|
%{_javadir}/%{short_name}.jar
|
||||||
|
|
||||||
%files javadoc
|
%files javadoc
|
||||||
%license LICENSE.txt LICENSE-2.0.txt
|
%license LICENSE.txt LICENSE-Codehaus.txt
|
||||||
%{_javadocdir}/%{name}
|
%{_javadocdir}/%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user