Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package maven-plugin-testing for
openSUSE:Factory checked in at 2025-11-04 18:42:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/maven-plugin-testing (Old)
and /work/SRC/openSUSE:Factory/.maven-plugin-testing.new.1980 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "maven-plugin-testing"
Tue Nov 4 18:42:03 2025 rev:9 rq:1315451 version:3.4.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/maven-plugin-testing/maven-plugin-testing.changes
2024-06-11 18:28:18.362706860 +0200
+++
/work/SRC/openSUSE:Factory/.maven-plugin-testing.new.1980/maven-plugin-testing.changes
2025-11-04 18:42:55.898878433 +0100
@@ -1,0 +2,45 @@
+Tue Nov 4 09:30:53 UTC 2025 - Fridrich Strba <[email protected]>
+
+- Update to version 3.4.0
+ * New features and improvements
+ + Use default pom.xml when Basedir is set
+ + Add MavenProject, MojoExecution to session scope
+ + Support classpath in Basedir
+ + Add MavenSession to session scope
+ + Add default mock for MavenProject
+ + Use plexus-testing 2.0.0 and improvements
+ + Add support for Provides annotation
+ + Improve JUnit5 extension, make similar to Maven 4
+ implementation
+ + Add release-drafter and automation GitHub Action
+ + MPLUGINTESTING-91: Maven 3 compatible and improvements
+ + MPLUGINTESTING-90: Get rid of maven-compat
+ + MPLUGINTESTING-84: Support Junit 5 + Maven 3
+ + MPLUGINTESTING-78: Switch to maven 4 and the new api
+ + MPLUGINTESTING-74: Using generics to return the matched type
+ for lookup and getVariableValue methods
+ + MPLUGINTESTING-71: Require Java 8
+ * Documentation updates
+ + Add migration notes for 3.4.0
+ + Update documentation
+ + Convert current documentation to markdown
+ * Maintenance
+ + Update site descriptor to 2.0.0, simple update faq
+ + Add more tests for MojoParameter and Basedir
+ + Cleanups dependencies
+ + Remove unused ResolverExpressionEvaluatorStub in JUnit5
+ implementation
+ + Use getters and setters for testBasedir instead of reflection
+ + MPLUGINTESTING-92: Refresh download page
+ + MNG-6829: Replace any StringUtils#isEmpty(String) and
+ #isNotEmpty(String)
+ + MPLUGINTESTING-70: Move maven-compat to test scope
+ + Get rid of warnings, cleanup
+ + MPLUGINTESTING-67: fix mailing list links
+- Removed patches:
+ * 0001-Port-to-plexus-utils-3.0.21.patch
+ * 0002-Port-to-current-maven-artifact.patch
+ * maven-plugin-testing-blocked.patch
+ + not needed any more with this version
+
+-------------------------------------------------------------------
Old:
----
0001-Port-to-plexus-utils-3.0.21.patch
0002-Port-to-current-maven-artifact.patch
maven-plugin-testing-3.3.0-source-release.zip
maven-plugin-testing-blocked.patch
New:
----
_scmsync.obsinfo
build.specials.obscpio
maven-plugin-testing-3.4.0-source-release.zip
----------(Old B)----------
Old:- Removed patches:
* 0001-Port-to-plexus-utils-3.0.21.patch
* 0002-Port-to-current-maven-artifact.patch
Old: * 0001-Port-to-plexus-utils-3.0.21.patch
* 0002-Port-to-current-maven-artifact.patch
* maven-plugin-testing-blocked.patch
Old: * 0002-Port-to-current-maven-artifact.patch
* maven-plugin-testing-blocked.patch
+ not needed any more with this version
----------(Old E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ maven-plugin-testing.spec ++++++
--- /var/tmp/diff_new_pack.14Qtbl/_old 2025-11-04 18:42:57.962965327 +0100
+++ /var/tmp/diff_new_pack.14Qtbl/_new 2025-11-04 18:42:57.974965833 +0100
@@ -1,7 +1,7 @@
#
# spec file for package maven-plugin-testing
#
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: maven-plugin-testing
-Version: 3.3.0
+Version: 3.4.0
Release: 0
Summary: Maven Plugin Testing
License: Apache-2.0
@@ -25,27 +25,25 @@
URL: https://maven.apache.org/plugin-testing/
Source0:
https://repo1.maven.org/maven2/org/apache/maven/plugin-testing/%{name}/%{version}/%{name}-%{version}-source-release.zip
Source1: %{name}-build.tar.xz
-Patch0: 0001-Port-to-plexus-utils-3.0.21.patch
-Patch1: 0002-Port-to-current-maven-artifact.patch
-Patch2: %{name}-blocked.patch
BuildRequires: ant
-BuildRequires: apache-commons-io
-BuildRequires: easymock
+BuildRequires: apiguardian
+BuildRequires: atinject
BuildRequires: fdupes
BuildRequires: google-guice
BuildRequires: javapackages-local
BuildRequires: junit
-BuildRequires: maven-invoker
+BuildRequires: junit5-minimal
BuildRequires: maven-lib
BuildRequires: maven-resolver-api
BuildRequires: maven-wagon-provider-api
+BuildRequires: mockito
BuildRequires: plexus-archiver
BuildRequires: plexus-classworlds
-BuildRequires: plexus-containers-component-annotations
-BuildRequires: plexus-metadata-generator
+BuildRequires: plexus-testing >= 2.0.0
BuildRequires: plexus-utils
BuildRequires: plexus-xml
BuildRequires: sisu-plexus
+BuildRequires: slf4j
BuildRequires: unzip
BuildRequires: xmvn-install
BuildRequires: xmvn-resolve
@@ -66,42 +64,16 @@
%package harness
Summary: Maven Plugin Testing Mechanism
Group: Development/Libraries/Java
+Obsoletes: %{name}-tools < %{version}
+Obsoletes: maven-test-tools < %{version}
%description harness
The Maven Plugin Testing Harness provides mechanisms to manage tests on Mojo.
-%package tools
-Summary: Maven Plugin Testing Tools
-Group: Development/Libraries/Java
-
-%description tools
-A set of useful tools to help the Maven Plugin testing.
-
-%package -n maven-test-tools
-Summary: Maven Testing Tool
-Group: Development/Libraries/Java
-
-%description -n maven-test-tools
-Framework to test Maven Plugins with Easymock objects.
-
%prep
%setup -q -a1
-%patch -P 0 -p1
-%patch -P 1 -p1
-%patch -P 2 -p1
-
-%pom_remove_plugin :maven-enforcer-plugin
-%pom_remove_plugin :maven-site-plugin
-
-for i in maven-plugin-testing-harness maven-plugin-testing-tools; do
- %pom_add_dep org.codehaus.plexus:plexus-xml:3.0.0 ${i}
-done
-
-sed -i -e "s/MockControl/IMocksControl/g"
maven-test-tools/src/main/java/org/apache/maven/shared/tools/easymock/MockManager.java
-
-# needs network for some reason
-rm
maven-plugin-testing-tools/src/test/java/org/apache/maven/shared/test/plugin/ProjectToolTest.java
+%pom_add_dep org.codehaus.plexus:plexus-xml:3.0.0 maven-plugin-testing-harness
%{mvn_alias} : org.apache.maven.shared:
@@ -110,41 +82,37 @@
%build
mkdir -p lib
build-jar-repository -s lib \
- commons-io \
- easymock \
+ apiguardian/apiguardian-api \
+ atinject \
google-guice \
junit \
- maven-invoker/maven-invoker \
+ junit5/junit-jupiter-api \
+ junit5/junit-platform-commons \
maven/maven-artifact \
- maven/maven-compat \
maven/maven-core \
maven/maven-model-builder \
maven/maven-model \
maven/maven-plugin-api \
maven/maven-resolver-provider \
- maven/maven-settings \
maven-resolver/maven-resolver-api \
- maven-shared-utils/maven-shared-utils \
maven-wagon/provider-api \
+ mockito/mockito-core \
org.eclipse.sisu.plexus \
plexus/archiver \
plexus-classworlds \
- plexus-containers/plexus-component-annotations \
+ plexus/testing \
plexus/utils \
- plexus/xml
+ plexus/xml \
+ slf4j/api
%{ant} \
-Dtest.skip=true \
package javadoc
%{mvn_artifact} pom.xml
-mkdir -p target/site/apidocs
-for i in maven-plugin-testing-harness maven-plugin-testing-tools
maven-test-tools; do
- cp -r ${i}/target/site/apidocs target/site/apidocs/${i}
- %{mvn_artifact} ${i}/pom.xml ${i}/target/${i}-%{version}.jar
-done
+%{mvn_artifact} maven-plugin-testing-harness/pom.xml
maven-plugin-testing-harness/target/maven-plugin-testing-harness-%{version}.jar
%install
-%mvn_install
+%mvn_install -J maven-plugin-testing-harness/target/site/apidocs
%fdupes -s %{buildroot}%{_javadocdir}
%files -f .mfiles-%{name}
@@ -153,10 +121,6 @@
%files harness -f .mfiles-%{name}-harness
-%files tools -f .mfiles-%{name}-tools
-
-%files -n maven-test-tools -f .mfiles-maven-test-tools
-
%files javadoc -f .mfiles-javadoc
%license LICENSE
%doc NOTICE
++++++ _scmsync.obsinfo ++++++
mtime: 1762249041
commit: 99a6fbf4b91a3c24e4eb7352152e6251d98d680b8402120b3fcdee72b6bfe30f
url: https://src.opensuse.org/java-packages/maven-plugin-testing.git
revision: 99a6fbf4b91a3c24e4eb7352152e6251d98d680b8402120b3fcdee72b6bfe30f
projectscmsync: https://src.opensuse.org/java-packages/_ObsPrj
++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore 1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore 2025-11-04 10:37:46.000000000 +0100
@@ -0,0 +1 @@
+.osc
++++++ maven-plugin-testing-3.3.0-source-release.zip ->
maven-plugin-testing-3.4.0-source-release.zip ++++++
++++ 15397 lines of diff (skipped)
++++++ maven-plugin-testing-build.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/build.xml new/build.xml
--- old/build.xml 2019-03-26 09:41:35.817318605 +0100
+++ new/build.xml 2025-11-04 10:26:32.825554546 +0100
@@ -8,8 +8,6 @@
<target name="clean" description="Clean the output directory">
<ant antfile="build.xml" dir="maven-plugin-testing-harness"
target="clean"/>
- <ant antfile="build.xml" dir="maven-test-tools" target="clean"/>
- <ant antfile="build.xml" dir="maven-plugin-testing-tools" target="clean"/>
</target>
<!-- ======================================================================
-->
@@ -18,28 +16,6 @@
<target name="compile" description="Compile the code">
<ant antfile="build.xml" dir="maven-plugin-testing-harness"
target="compile"/>
- <ant antfile="build.xml" dir="maven-test-tools" target="compile"/>
- <ant antfile="build.xml" dir="maven-plugin-testing-tools"
target="compile"/>
- </target>
-
- <!-- ======================================================================
-->
- <!-- Test-compilation target
-->
- <!-- ======================================================================
-->
-
- <target name="compile-tests" description="Compile the test code">
- <ant antfile="build.xml" dir="maven-plugin-testing-harness"
target="compile-tests"/>
- <ant antfile="build.xml" dir="maven-test-tools" target="compile-tests"/>
- <ant antfile="build.xml" dir="maven-plugin-testing-tools"
target="compile-tests"/>
- </target>
-
- <!-- ======================================================================
-->
- <!-- Run all tests
-->
- <!-- ======================================================================
-->
-
- <target name="test" description="Run the test cases">
- <ant antfile="build.xml" dir="maven-plugin-testing-harness" target="test"/>
- <ant antfile="build.xml" dir="maven-test-tools" target="test"/>
- <ant antfile="build.xml" dir="maven-plugin-testing-tools" target="test"/>
</target>
<!-- ======================================================================
-->
@@ -48,8 +24,6 @@
<target name="javadoc" description="Generates the Javadoc of the
application">
<ant antfile="build.xml" dir="maven-plugin-testing-harness"
target="javadoc"/>
- <ant antfile="build.xml" dir="maven-test-tools" target="javadoc"/>
- <ant antfile="build.xml" dir="maven-plugin-testing-tools"
target="javadoc"/>
</target>
<!-- ======================================================================
-->
@@ -58,8 +32,6 @@
<target name="package" description="Package the application">
<ant antfile="build.xml" dir="maven-plugin-testing-harness"
target="package"/>
- <ant antfile="build.xml" dir="maven-test-tools" target="package"/>
- <ant antfile="build.xml" dir="maven-plugin-testing-tools"
target="package"/>
</target>
</project>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/common.xml new/common.xml
--- old/common.xml 2022-03-21 05:30:46.582662506 +0100
+++ new/common.xml 2025-11-04 09:18:11.272787908 +0100
@@ -3,13 +3,13 @@
<project name="common" basedir=".">
<property file="build.properties"/>
- <property name="project.version" value="3.3.0"/>
+ <property name="project.version" value="3.4.0"/>
<property name="project.groupId" value="org.apache.maven.plugin-testing"/>
<property name="project.url"
value="http://maven.apache.org/plugin-testing/"/>
<property name="project.organization.name" value="The Apache Software
Foundation"/>
- <property name="spec.version" value="3.3"/>
+ <property name="spec.version" value="3.4"/>
<property name="compiler.source" value="1.8"/>
<property name="compiler.target" value="${compiler.source}"/>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/maven-plugin-testing-harness/build.xml
new/maven-plugin-testing-harness/build.xml
--- old/maven-plugin-testing-harness/build.xml 2019-03-26 10:18:29.256219869
+0100
+++ new/maven-plugin-testing-harness/build.xml 2025-11-04 10:27:20.490081807
+0100
@@ -16,11 +16,7 @@
<property name="build.dir" value="target"/>
<property name="build.outputDir" value="${build.dir}/classes"/>
<property name="build.srcDir" value="src/main/java"/>
- <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"/>
<!-- ======================================================================
-->
@@ -32,11 +28,6 @@
<include name="**/*.jar"/>
</fileset>
</path>
- <path id="build.test.classpath">
- <fileset dir="../lib">
- <include name="**/*.jar"/>
- </fileset>
- </path>
<!-- ======================================================================
-->
<!-- Cleaning up target
-->
@@ -67,104 +58,6 @@
</src>
<classpath refid="build.classpath"/>
</javac>
- <copy todir="${build.outputDir}">
- <fileset dir="${build.resourceDir}"/>
- </copy>
- </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}"
- nowarn="false"
- debug="true"
- encoding="UTF-8"
- optimize="false"
- deprecation="true"
- target="${compiler.target}"
- verbose="false"
- fork="false"
- source="${compiler.source}">
- <src>
- <pathelement location="${build.testDir}"/>
- </src>
- <classpath>
- <path refid="build.test.classpath"/>
- <pathelement location="${build.outputDir}"/>
- </classpath>
- </javac>
- <copy todir="${build.testOutputDir}">
- <fileset dir="${build.testResourceDir}"/>
- </copy>
- </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>
- <path refid="build.test.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"/>
- </fileset>
- </batchtest>
- <batchtest todir="${test.reports}" if="test">
- <fileset dir="${build.testDir}">
- <include name="**/${test}.java"/>
- <exclude name="**/*Abstract*Test.java"/>
- </fileset>
- </batchtest>
- </junit>
- </target>
-
- <target name="test-junit-present">
- <available classname="junit.framework.Test" property="junit.present"
classpathref="build.test.classpath"/>
- </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>
<!-- ======================================================================
-->
@@ -200,7 +93,7 @@
<!-- 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"
compress="true"
index="false"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/maven-plugin-testing-tools/build.xml
new/maven-plugin-testing-tools/build.xml
--- old/maven-plugin-testing-tools/build.xml 2024-06-10 20:03:35.955126191
+0200
+++ new/maven-plugin-testing-tools/build.xml 1970-01-01 01:00:00.000000000
+0100
@@ -1,254 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<project name="maven-plugin-testing-tools" default="package" basedir=".">
-
- <!-- ======================================================================
-->
- <!-- Build environment properties
-->
- <!-- ======================================================================
-->
-
- <include file="../common.xml"/>
- <property file="build.properties"/>
-
- <property name="project.artifactId" value="maven-plugin-testing-tools"/>
- <property name="project.name" value="Maven Plugin Testing Tools"/>
-
- <property name="build.finalName"
value="${project.artifactId}-${project.version}"/>
- <property name="build.dir" value="target"/>
- <property name="build.outputDir" value="${build.dir}/classes"/>
- <property name="build.srcDir" value="src/main/java"/>
- <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"/>
-
- <!-- ======================================================================
-->
- <!-- Defining classpaths
-->
- <!-- ======================================================================
-->
-
- <path id="build.classpath">
- <fileset dir="../lib">
- <include name="**/*.jar"/>
- </fileset>
- </path>
- <path id="build.test.classpath">
- <pathelement location="../maven-test-tools/target/classes"/>
- <fileset dir="../lib">
- <include name="**/*.jar"/>
- </fileset>
- </path>
-
- <!-- ======================================================================
-->
- <!-- Cleaning up target
-->
- <!-- ======================================================================
-->
-
- <target name="clean" description="Clean the output directory">
- <delete dir="${build.dir}"/>
- </target>
-
- <!-- ======================================================================
-->
- <!-- Compilation target
-->
- <!-- ======================================================================
-->
-
- <target name="compile" description="Compile the code">
- <mkdir dir="${build.outputDir}"/>
- <javac destdir="${build.outputDir}"
- nowarn="false"
- debug="true"
- encoding="UTF-8"
- optimize="false"
- deprecation="true"
- target="${compiler.target}"
- verbose="false"
- fork="false"
- source="${compiler.source}">
- <src>
- <pathelement location="${build.srcDir}"/>
- </src>
- <classpath refid="build.classpath"/>
- </javac>
- </target>
-
- <!-- ======================================================================
-->
- <!-- Target to generate Plexus component.xml
-->
- <!-- ======================================================================
-->
-
- <target name="plexus"
- depends="compile"
- description="Generate Plexus component.xml">
- <mkdir dir="${build.outputDir}/META-INF/plexus"/>
- <pathconvert property="classpath.string" pathsep=":">
- <path refid="build.classpath"/>
- </pathconvert>
- <exec executable="plexus-metadata-generator" failonerror="true">
- <env key="CLASSPATH" value="${build.outputDir}:${classpath.string}"/>
- <arg value="-s"/>
- <arg value="${build.srcDir}"/>
- <arg value="-c"/>
- <arg value="${build.outputDir}"/>
- <arg value="-m"/>
- <arg value="${build.outputDir}/META-INF/plexus"/>
- <arg value="-o"/>
- <arg value="${build.outputDir}/META-INF/plexus/components.xml"/>
- </exec>
- </target>
-
- <!-- ======================================================================
-->
- <!-- Test-compilation target
-->
- <!-- ======================================================================
-->
-
- <target name="compile-tests"
- depends="plexus"
- description="Compile the test code"
- unless="test.skip">
- <mkdir dir="${build.testOutputDir}"/>
- <javac destdir="${build.testOutputDir}"
- nowarn="false"
- debug="true"
- encoding="UTF-8"
- optimize="false"
- deprecation="true"
- target="${compiler.target}"
- verbose="false"
- fork="false"
- source="${compiler.source}">
- <src>
- <pathelement location="${build.testDir}"/>
- </src>
- <classpath>
- <path refid="build.test.classpath"/>
- <pathelement location="${build.outputDir}"/>
- </classpath>
- </javac>
- <copy todir="${build.testOutputDir}">
- <fileset dir="${build.testResourceDir}"/>
- </copy>
- </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>
- <path refid="build.test.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"/>
- </fileset>
- </batchtest>
- <batchtest todir="${test.reports}" if="test">
- <fileset dir="${build.testDir}">
- <include name="**/${test}.java"/>
- <exclude name="**/*Abstract*Test.java"/>
- </fileset>
- </batchtest>
- </junit>
- </target>
-
- <target name="test-junit-present">
- <available classname="junit.framework.Test" property="junit.present"
classpathref="build.test.classpath"/>
- </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
-->
- <!-- ======================================================================
-->
-
- <target name="javadoc" description="Generates the Javadoc of the
application">
- <javadoc sourcepath="${build.srcDir}"
- packagenames="*"
- destdir="${reporting.outputDirectory}/apidocs"
- access="protected"
- source="${compiler.source}"
- verbose="false"
- version="true"
- use="true"
- author="true"
- splitindex="false"
- nodeprecated="false"
- nodeprecatedlist="false"
- notree="false"
- noindex="false"
- nohelp="false"
- nonavbar="false"
- serialwarn="false"
- encoding="UTF-8"
- linksource="false"
- breakiterator="false">
- <classpath refid="build.classpath"/>
- </javadoc>
- </target>
-
- <!-- ======================================================================
-->
- <!-- Package target
-->
- <!-- ======================================================================
-->
-
- <target name="package" depends="plexus,test" description="Package the
application">
- <jar jarfile="${build.dir}/${build.finalName}.jar"
- compress="true"
- index="false"
- basedir="${build.outputDir}"
- excludes="**/package.html">
- <manifest>
- <attribute name="Implementation-Title" value="${project.name}"/>
- <attribute name="Implementation-URL"
value="${project.url}${project.artifactId}/"/>
- <attribute name="Implementation-Vendor"
value="${project.organization.name}"/>
- <attribute name="Implementation-Vendor-Id" value="${project.groupId}"/>
- <attribute name="Implementation-Version" value="${project.version}"/>
- <attribute name="JavaPackages-ArtifactId"
value="${project.artifactId}"/>
- <attribute name="JavaPackages-GroupId" value="${project.groupId}"/>
- <attribute name="JavaPackages-Version" value="${project.version}"/>
- <attribute name="Manifest-Version" value="1.0"/>
- <attribute name="Specification-Title" value="${project.name}"/>
- <attribute name="Specification-Vendor"
value="${project.organization.name}"/>
- <attribute name="Specification-Version" value="${spec.version}"/>
- </manifest>
- </jar>
- </target>
-
- <!-- ======================================================================
-->
- <!-- A dummy target for the package named after the type it creates
-->
- <!-- ======================================================================
-->
-
- <target name="jar" depends="package" description="Builds the jar for the
application"/>
-
-</project>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/maven-test-tools/build.xml
new/maven-test-tools/build.xml
--- old/maven-test-tools/build.xml 2019-03-26 10:18:16.760157271 +0100
+++ new/maven-test-tools/build.xml 1970-01-01 01:00:00.000000000 +0100
@@ -1,181 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<project name="maven-test-tools" default="package" basedir=".">
-
- <!-- ======================================================================
-->
- <!-- Build environment properties
-->
- <!-- ======================================================================
-->
-
- <include file="../common.xml"/>
- <property file="build.properties"/>
-
- <property name="project.artifactId" value="maven-test-tools"/>
- <property name="project.name" value="Maven Testing Tools"/>
-
- <property name="build.finalName"
value="${project.artifactId}-${project.version}"/>
- <property name="build.dir" value="target"/>
- <property name="build.outputDir" value="${build.dir}/classes"/>
- <property name="build.srcDir" value="src/main/java"/>
- <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"/>
-
- <!-- ======================================================================
-->
- <!-- Defining classpaths
-->
- <!-- ======================================================================
-->
-
- <path id="build.classpath">
- <fileset dir="../lib">
- <include name="**/*.jar"/>
- </fileset>
- </path>
- <path id="build.test.classpath">
- <fileset dir="../lib">
- <include name="**/*.jar"/>
- </fileset>
- </path>
-
- <!-- ======================================================================
-->
- <!-- Cleaning up target
-->
- <!-- ======================================================================
-->
-
- <target name="clean" description="Clean the output directory">
- <delete dir="${build.dir}"/>
- </target>
-
- <!-- ======================================================================
-->
- <!-- Compilation target
-->
- <!-- ======================================================================
-->
-
- <target name="compile" description="Compile the code">
- <mkdir dir="${build.outputDir}"/>
- <javac destdir="${build.outputDir}"
- nowarn="false"
- debug="true"
- encoding="UTF-8"
- optimize="false"
- deprecation="true"
- target="${compiler.target}"
- verbose="false"
- fork="false"
- source="${compiler.source}">
- <src>
- <pathelement location="${build.srcDir}"/>
- </src>
- <classpath refid="build.classpath"/>
- </javac>
- </target>
-
- <!-- ======================================================================
-->
- <!-- Test-compilation target
-->
- <!-- ======================================================================
-->
-
- <target name="compile-tests"
- depends="compile"
- description="Compile the test code"
- unless="test.skip">
- <mkdir dir="${build.testOutputDir}"/>
- </target>
-
- <!-- ======================================================================
-->
- <!-- Run all tests
-->
- <!-- ======================================================================
-->
-
- <target name="test"
- depends="compile-tests, junit-missing"
- unless="junit.skipped"
- description="Run the test cases"/>
-
- <target name="test-junit-present">
- <available classname="junit.framework.Test" property="junit.present"
classpathref="build.test.classpath"/>
- </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
-->
- <!-- ======================================================================
-->
-
- <target name="javadoc" description="Generates the Javadoc of the
application">
- <javadoc sourcepath="${build.srcDir}"
- packagenames="*"
- destdir="${reporting.outputDirectory}/apidocs"
- access="protected"
- source="${compiler.source}"
- verbose="false"
- version="true"
- use="true"
- author="true"
- splitindex="false"
- nodeprecated="false"
- nodeprecatedlist="false"
- notree="false"
- noindex="false"
- nohelp="false"
- nonavbar="false"
- serialwarn="false"
- encoding="UTF-8"
- linksource="false"
- breakiterator="false">
- <classpath refid="build.classpath"/>
- </javadoc>
- </target>
-
- <!-- ======================================================================
-->
- <!-- Package target
-->
- <!-- ======================================================================
-->
-
- <target name="package" depends="compile,test" description="Package the
application">
- <jar jarfile="${build.dir}/${build.finalName}.jar"
- compress="true"
- index="false"
- basedir="${build.outputDir}"
- excludes="**/package.html">
- <manifest>
- <attribute name="Implementation-Title" value="${project.name}"/>
- <attribute name="Implementation-URL"
value="${project.url}${project.artifactId}/"/>
- <attribute name="Implementation-Vendor"
value="${project.organization.name}"/>
- <attribute name="Implementation-Vendor-Id" value="${project.groupId}"/>
- <attribute name="Implementation-Version" value="${project.version}"/>
- <attribute name="JavaPackages-ArtifactId"
value="${project.artifactId}"/>
- <attribute name="JavaPackages-GroupId" value="${project.groupId}"/>
- <attribute name="JavaPackages-Version" value="${project.version}"/>
- <attribute name="Specification-Title" value="${project.name}"/>
- <attribute name="Specification-Vendor"
value="${project.organization.name}"/>
- <attribute name="Specification-Version" value="${spec.version}"/>
- </manifest>
- </jar>
- </target>
-
- <!-- ======================================================================
-->
- <!-- A dummy target for the package named after the type it creates
-->
- <!-- ======================================================================
-->
-
- <target name="jar" depends="package" description="Builds the jar for the
application"/>
-
-</project>