Hello community,

here is the log from the commit of package maven-plugin-tools for 
openSUSE:Factory checked in at 2019-12-03 12:40:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/maven-plugin-tools (Old)
 and      /work/SRC/openSUSE:Factory/.maven-plugin-tools.new.4691 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "maven-plugin-tools"

Tue Dec  3 12:40:06 2019 rev:3 rq:751524 version:3.6.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/maven-plugin-tools/maven-plugin-plugin-bootstrap.changes
 2019-04-05 12:04:27.914608754 +0200
+++ 
/work/SRC/openSUSE:Factory/.maven-plugin-tools.new.4691/maven-plugin-plugin-bootstrap.changes
       2019-12-03 12:40:07.598170274 +0100
@@ -1,0 +2,13 @@
+Mon Nov 25 10:25:11 UTC 2019 - Fridrich Strba <fst...@suse.com>
+
+- Upgrade to upstream 3.6.0
+  * allow building with java > 1.8 too against objectweb-asm 7.2
+- Removed patch:
+  * fix-getPluginsAsMap.patch
+    + fix is present in the updated sources
+- Modified patch:
+  * maven-plugin-plugin-bootstrap-resouces.patch
+    + regenerate from the non-bootstrap build to correspond to
+      what is generate by the maven-plugin-plugin
+
+-------------------------------------------------------------------
--- /work/SRC/openSUSE:Factory/maven-plugin-tools/maven-plugin-plugin.changes   
2019-11-26 17:00:12.760090968 +0100
+++ 
/work/SRC/openSUSE:Factory/.maven-plugin-tools.new.4691/maven-plugin-plugin.changes
 2019-12-03 12:40:07.638170263 +0100
@@ -1,0 +2,9 @@
+Mon Nov 25 10:29:02 UTC 2019 - Fridrich Strba <fst...@suse.com>
+
+- Upgrade to upstream 3.6.0
+  * allow building with java > 1.8 too against objectweb-asm 7.2
+- Removed patch:
+  * fix-getPluginsAsMap.patch
+    + fix is present in the updated sources
+
+-------------------------------------------------------------------
--- /work/SRC/openSUSE:Factory/maven-plugin-tools/maven-plugin-tools.changes    
2019-04-05 12:04:28.738609048 +0200
+++ 
/work/SRC/openSUSE:Factory/.maven-plugin-tools.new.4691/maven-plugin-tools.changes
  2019-12-03 12:40:07.738170235 +0100
@@ -1,0 +2,13 @@
+Mon Nov 25 10:18:49 UTC 2019 - Fridrich Strba <fst...@suse.com>
+
+- Upgrade to upstream 3.6.0
+  * allow building with java > 1.8 too against objectweb-asm 7.2
+  * maven-plugin-tools-javadoc component does not exist any more
+  * Renamed the package of documentation to
+    maven-plugin-tools-javadoc since there is no name clash any
+    more and it allows smooth upgrade
+- Removed patch:
+  * fix-getPluginsAsMap.patch
+    + fix is present in the updated sources
+
+-------------------------------------------------------------------

Old:
----
  fix-getPluginsAsMap.patch
  maven-plugin-tools-3.5.1-source-release.zip

New:
----
  maven-plugin-tools-3.6.0-source-release.zip

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ maven-plugin-plugin-bootstrap.spec ++++++
--- /var/tmp/diff_new_pack.SC2gTx/_old  2019-12-03 12:40:08.626169989 +0100
+++ /var/tmp/diff_new_pack.SC2gTx/_new  2019-12-03 12:40:08.626169989 +0100
@@ -19,7 +19,7 @@
 %global base_name maven-plugin-tools
 %global artifactId maven-plugin-plugin
 Name:           %{artifactId}-bootstrap
-Version:        3.5.1
+Version:        3.6.0
 Release:        0
 Summary:        Maven Plugin Plugin
 License:        Apache-2.0
@@ -30,7 +30,6 @@
 Patch0:         0001-Avoid-duplicate-MOJO-parameters.patch
 Patch1:         0002-Deal-with-nulls-from-getComment.patch
 Patch2:         0003-Port-to-plexus-utils-3.0.24.patch
-Patch10:        fix-getPluginsAsMap.patch
 # The maven-plugin-plugin is used to generate those descriptors, which
 # creates a circular dependency of maven-plugin-plugin on itself.
 # We generated those ones outside the rpm build for a bootstrap package.
@@ -58,7 +57,6 @@
 BuildRequires:  
mvn(org.apache.maven.plugin-tools:maven-plugin-tools-annotations)
 BuildRequires:  mvn(org.apache.maven.plugin-tools:maven-plugin-tools-java)
 BuildRequires:  mvn(org.apache.maven:maven-parent:pom:)
-BuildConflicts: java-devel >= 9
 BuildArch:      noarch
 
 %description
@@ -72,57 +70,21 @@
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
-%patch10 -p1
 %patch20 -p1
 
 %pom_remove_plugin -r :maven-enforcer-plugin
 
-# For com.sun:tools use scope "compile" instead of "system"
-%pom_remove_dep com.sun:tools maven-plugin-tools-javadoc
-%pom_add_dep com.sun:tools maven-plugin-tools-javadoc
-
 %pom_xpath_inject "pom:project/pom:properties" "
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>"
 
-# Remove test dependencies because tests are skipped anyways.
-%pom_xpath_remove "pom:dependency[pom:scope='test']"
-
-# Use Maven 3.1.1 APIs
-%pom_remove_dep :maven-project maven-plugin-plugin
-%pom_remove_dep :maven-plugin-descriptor maven-plugin-plugin
-%pom_remove_dep :maven-artifact-manager maven-plugin-plugin
-
 # Why on the earth is this dependency there ???
 %pom_remove_dep :maven-surefire-common maven-plugin-plugin
 
-%pom_change_dep :maven-project :maven-core maven-plugin-tools-annotations
-%pom_change_dep :maven-plugin-descriptor :maven-compat 
maven-plugin-tools-annotations
-%pom_change_dep :easymock :easymock::test maven-plugin-tools-annotations
-
-%pom_remove_dep :maven-plugin-descriptor maven-script/maven-plugin-tools-ant
-%pom_change_dep :maven-project :maven-core maven-script/maven-plugin-tools-ant
-
-%pom_remove_dep :maven-plugin-descriptor maven-plugin-tools-api
-%pom_change_dep :maven-project :maven-core maven-plugin-tools-api
-
-%pom_remove_dep :maven-plugin-descriptor 
maven-script/maven-plugin-tools-beanshell
-
-%pom_remove_dep :maven-project maven-plugin-tools-generators
-%pom_remove_dep :maven-plugin-descriptor maven-plugin-tools-generators
-
-%pom_change_dep :maven-project :maven-core maven-plugin-tools-java
-%pom_remove_dep :maven-plugin-descriptor maven-plugin-tools-java
-
-%pom_change_dep :maven-plugin-descriptor :maven-plugin-api 
maven-script/maven-plugin-tools-model
-
-%pom_remove_dep :maven-project maven-script/maven-script-ant
-%pom_remove_dep :maven-plugin-descriptor maven-script/maven-script-ant
-%pom_change_dep :easymock :easymock::test maven-script/maven-script-ant
+# Remove test dependencies because tests are skipped anyways.
+%pom_xpath_remove "pom:dependency[pom:scope='test']"
 
-%pom_remove_dep :maven-project
-%pom_remove_dep :maven-plugin-descriptor
-%pom_add_dep org.apache.maven:maven-compat
+%pom_change_dep org.easymock:easymock:: :::test maven-plugin-tools-annotations
 
 # For some reason, this dependency is not generated by javapackages-local
 # and for some reasons if we give it a scope 'runtime' it works

++++++ maven-plugin-plugin.spec ++++++
--- /var/tmp/diff_new_pack.SC2gTx/_old  2019-12-03 12:40:08.642169984 +0100
+++ /var/tmp/diff_new_pack.SC2gTx/_new  2019-12-03 12:40:08.646169983 +0100
@@ -18,7 +18,7 @@
 
 %global base_name maven-plugin-tools
 Name:           maven-plugin-plugin
-Version:        3.5.1
+Version:        3.6.0
 Release:        0
 Summary:        Maven Plugin Plugin
 License:        Apache-2.0
@@ -28,7 +28,6 @@
 Patch0:         0001-Avoid-duplicate-MOJO-parameters.patch
 Patch1:         0002-Deal-with-nulls-from-getComment.patch
 Patch2:         0003-Port-to-plexus-utils-3.0.24.patch
-Patch10:        fix-getPluginsAsMap.patch
 BuildRequires:  fdupes
 BuildRequires:  maven-local
 BuildRequires:  unzip
@@ -79,14 +78,9 @@
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
-%patch10 -p1
 
 %pom_remove_plugin -r :maven-enforcer-plugin
 
-# For com.sun:tools use scope "compile" instead of "system"
-%pom_remove_dep com.sun:tools maven-plugin-tools-javadoc
-%pom_add_dep com.sun:tools maven-plugin-tools-javadoc
-
 %pom_xpath_inject "pom:project/pom:properties" "
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>"
@@ -94,48 +88,17 @@
 # Remove test dependencies because tests are skipped anyways.
 %pom_xpath_remove "pom:dependency[pom:scope='test']"
 
-# Use Maven 3.1.1 APIs
-%pom_remove_dep :maven-project maven-plugin-plugin
-%pom_remove_dep :maven-plugin-descriptor maven-plugin-plugin
-%pom_remove_dep :maven-plugin-registry maven-plugin-plugin
-%pom_remove_dep :maven-artifact-manager maven-plugin-plugin
-
 # Why on the earth is this dependency there ???
 %pom_remove_dep :maven-surefire-common maven-plugin-plugin
 
-%pom_change_dep :maven-project :maven-core maven-plugin-tools-annotations
-%pom_change_dep :maven-plugin-descriptor :maven-compat 
maven-plugin-tools-annotations
-
-%pom_remove_dep :maven-plugin-descriptor maven-script/maven-plugin-tools-ant
-%pom_change_dep :maven-project :maven-core maven-script/maven-plugin-tools-ant
-
-%pom_remove_dep :maven-plugin-descriptor maven-plugin-tools-api
-%pom_change_dep :maven-project :maven-core maven-plugin-tools-api
-
-%pom_remove_dep :maven-plugin-descriptor 
maven-script/maven-plugin-tools-beanshell
-
-%pom_remove_dep :maven-project maven-plugin-tools-generators
-%pom_remove_dep :maven-plugin-descriptor maven-plugin-tools-generators
-
-%pom_change_dep :maven-project :maven-core maven-plugin-tools-java
-%pom_remove_dep :maven-plugin-descriptor maven-plugin-tools-java
-
-%pom_change_dep :maven-plugin-descriptor :maven-plugin-api 
maven-script/maven-plugin-tools-model
-
-%pom_remove_dep :maven-project maven-script/maven-script-ant
-%pom_remove_dep :maven-plugin-descriptor maven-script/maven-script-ant
-
-%pom_remove_dep :maven-project
-%pom_remove_dep :maven-plugin-descriptor
-%pom_add_dep org.apache.maven:maven-compat
-%pom_add_dep org.apache.maven:maven-plugin-registry
+%pom_change_dep org.easymock:easymock:: :::test maven-plugin-tools-annotations
 
 %build
 pushd %{name}
 %{mvn_file} :%{name} %{base_name}/%{name}
 %{mvn_build} -f \
 %if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0}
-       -- -Dmaven.compiler.release=6
+       -- -Dmaven.compiler.release=7
 %endif
 
 popd

++++++ maven-plugin-tools.spec ++++++
--- /var/tmp/diff_new_pack.SC2gTx/_old  2019-12-03 12:40:08.662169979 +0100
+++ /var/tmp/diff_new_pack.SC2gTx/_new  2019-12-03 12:40:08.666169978 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           maven-plugin-tools
-Version:        3.5.1
+Version:        3.6.0
 Release:        0
 Summary:        Maven Plugin Tools
 License:        Apache-2.0
@@ -28,7 +28,6 @@
 Patch0:         0001-Avoid-duplicate-MOJO-parameters.patch
 Patch1:         0002-Deal-with-nulls-from-getComment.patch
 Patch2:         0003-Port-to-plexus-utils-3.0.24.patch
-Patch10:        fix-getPluginsAsMap.patch
 BuildRequires:  ant
 BuildRequires:  apache-commons-cli
 BuildRequires:  atinject
@@ -63,7 +62,6 @@
 BuildRequires:  xmvn-install
 BuildRequires:  xmvn-resolve
 BuildRequires:  mvn(org.apache.maven:maven-parent:pom:)
-BuildConflicts: java-devel >= 9
 BuildArch:      noarch
 
 %description
@@ -120,20 +118,6 @@
 
 %description java
 Descriptor extractor for plugins written in Java.
-
-# Note that this package contains code, not documentation.
-# See comments about "javadocs" subpackage below.
-%package javadoc
-Summary:        Maven Plugin Tools Javadoc
-Group:          Development/Libraries/Java
-
-%description javadoc
-The Maven Plugin Tools Javadoc provides several Javadoc taglets to be used when
-generating Javadoc.
-
-Java API documentation for %{name} is contained in
-%{name}-javadocs package. This package does not contain it.
-
 %package model
 Summary:        Maven Plugin Metadata Model
 Group:          Development/Libraries/Java
@@ -158,12 +142,13 @@
 This package provides %{summary}, which write Maven plugins with
 Beanshell scripts.
 
-# The subpackage name "javadocs" instead of "javadoc" is intentional.
-%package javadocs
+%package javadoc
 Summary:        Javadoc for %{name}
 Group:          Development/Libraries/Java
+Provides:       %{name}-javadocs = %{version}-%{release}
+Obsoletes:      %{name}-javadocs < %{version}-%{release}
 
-%description javadocs
+%description javadoc
 API documentation for %{name}.
 
 %prep
@@ -171,14 +156,9 @@
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
-%patch10 -p1
 
 %pom_remove_plugin -r :maven-enforcer-plugin
 
-# For com.sun:tools use scope "compile" instead of "system"
-%pom_remove_dep com.sun:tools maven-plugin-tools-javadoc
-%pom_add_dep com.sun:tools maven-plugin-tools-javadoc
-
 %pom_xpath_inject "pom:project/pom:properties" "
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>"
@@ -186,39 +166,7 @@
 # Remove test dependencies because tests are skipped anyways.
 %pom_xpath_remove "pom:dependency[pom:scope='test']"
 
-# Use Maven 3.1.1 APIs
-%pom_remove_dep :maven-project maven-plugin-plugin
-%pom_remove_dep :maven-plugin-descriptor maven-plugin-plugin
-%pom_remove_dep :maven-plugin-registry maven-plugin-plugin
-%pom_remove_dep :maven-artifact-manager maven-plugin-plugin
-
-%pom_change_dep :maven-project :maven-core maven-plugin-tools-annotations
-%pom_change_dep :maven-plugin-descriptor :maven-compat 
maven-plugin-tools-annotations
-%pom_change_dep :easymock :easymock::test maven-plugin-tools-annotations
-
-%pom_remove_dep :maven-plugin-descriptor maven-script/maven-plugin-tools-ant
-%pom_change_dep :maven-project :maven-core maven-script/maven-plugin-tools-ant
-
-%pom_remove_dep :maven-plugin-descriptor maven-plugin-tools-api
-%pom_change_dep :maven-project :maven-core maven-plugin-tools-api
-
-%pom_remove_dep :maven-plugin-descriptor 
maven-script/maven-plugin-tools-beanshell
-
-%pom_remove_dep :maven-project maven-plugin-tools-generators
-%pom_remove_dep :maven-plugin-descriptor maven-plugin-tools-generators
-
-%pom_change_dep :maven-project :maven-core maven-plugin-tools-java
-%pom_remove_dep :maven-plugin-descriptor maven-plugin-tools-java
-
-%pom_change_dep :maven-plugin-descriptor :maven-plugin-api 
maven-script/maven-plugin-tools-model
-
-%pom_remove_dep :maven-project maven-script/maven-script-ant
-%pom_remove_dep :maven-plugin-descriptor maven-script/maven-script-ant
-%pom_change_dep :easymock :easymock::test maven-script/maven-script-ant
-
-%pom_remove_dep :maven-project
-%pom_remove_dep :maven-plugin-descriptor
-%pom_add_dep org.apache.maven:maven-compat
+%pom_change_dep org.easymock:easymock:: :::test maven-plugin-tools-annotations
 
 %{mvn_package} :maven-plugin-tools __noinstall
 %{mvn_package} :maven-script __noinstall
@@ -275,8 +223,7 @@
        maven-plugin-tools-annotations \
        maven-plugin-tools-api \
        maven-plugin-tools-generators \
-       maven-plugin-tools-java \
-       maven-plugin-tools-javadoc; do
+       maven-plugin-tools-java; do
   %{mvn_artifact} ${i}/pom.xml ${i}/target/${i}-%{version}.jar
   if [ -d ${i}/target/site/apidocs ]; then
     cp -r ${i}/target/site/apidocs target/site/apidocs/${i}
@@ -314,8 +261,6 @@
 
 %files java -f .mfiles-maven-plugin-tools-java
 
-%files javadoc -f .mfiles-maven-plugin-tools-javadoc
-
 %files model -f .mfiles-maven-plugin-tools-model
 %license LICENSE NOTICE
 
@@ -325,7 +270,7 @@
 %files -n maven-script-beanshell -f .mfiles-maven-script-beanshell
 %license LICENSE NOTICE
 
-%files javadocs -f .mfiles-javadoc
+%files javadoc -f .mfiles-javadoc
 %license LICENSE NOTICE
 
 %changelog

++++++ maven-plugin-plugin-bootstrap-resouces.patch ++++++
++++ 846 lines (skipped)
++++ between 
/work/SRC/openSUSE:Factory/maven-plugin-tools/maven-plugin-plugin-bootstrap-resouces.patch
++++ and 
/work/SRC/openSUSE:Factory/.maven-plugin-tools.new.4691/maven-plugin-plugin-bootstrap-resouces.patch

++++++ maven-plugin-tools-build.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/build.xml new/build.xml
--- old/build.xml       2019-03-31 19:59:08.467461301 +0200
+++ new/build.xml       2019-11-25 09:33:36.107657213 +0100
@@ -12,7 +12,6 @@
     <ant antfile="build.xml" dir="maven-plugin-tools-generators" 
target="clean"/>
     <ant antfile="build.xml" dir="maven-plugin-tools-java" target="clean"/>
     <ant antfile="build.xml" dir="maven-plugin-tools-annotations" 
target="clean"/>
-    <ant antfile="build.xml" dir="maven-plugin-tools-javadoc" target="clean"/>
     <ant antfile="build.xml" dir="maven-script" target="clean"/>
     <!-- <ant antfile="build.xml" dir="maven-plugin-plugin" target="clean"/> 
-->
   </target>
@@ -27,7 +26,6 @@
     <ant antfile="build.xml" dir="maven-plugin-tools-generators" 
target="compile"/>
     <ant antfile="build.xml" dir="maven-plugin-tools-java" target="compile"/>
     <ant antfile="build.xml" dir="maven-plugin-tools-annotations" 
target="compile"/>
-    <ant antfile="build.xml" dir="maven-plugin-tools-javadoc" 
target="compile"/>
     <ant antfile="build.xml" dir="maven-script" target="compile"/>
     <!-- <ant antfile="build.xml" dir="maven-plugin-plugin" target="compile"/> 
-->
   </target>
@@ -42,7 +40,6 @@
     <ant antfile="build.xml" dir="maven-plugin-tools-generators" 
target="compile-tests"/>
     <ant antfile="build.xml" dir="maven-plugin-tools-java" 
target="compile-tests"/>
     <ant antfile="build.xml" dir="maven-plugin-tools-annotations" 
target="compile-tests"/>
-    <ant antfile="build.xml" dir="maven-plugin-tools-javadoc" 
target="compile-tests"/>
     <ant antfile="build.xml" dir="maven-script" target="compile-tests"/>
     <!-- <ant antfile="build.xml" dir="maven-plugin-plugin" 
target="compile-tests"/> -->
   </target>
@@ -57,7 +54,6 @@
     <ant antfile="build.xml" dir="maven-plugin-tools-generators" 
target="test"/>
     <ant antfile="build.xml" dir="maven-plugin-tools-java" target="test"/>
     <ant antfile="build.xml" dir="maven-plugin-tools-annotations" 
target="test"/>
-    <ant antfile="build.xml" dir="maven-plugin-tools-javadoc" target="test"/>
     <ant antfile="build.xml" dir="maven-script" target="test"/>
     <!-- <ant antfile="build.xml" dir="maven-plugin-plugin" target="test"/> -->
   </target>
@@ -72,7 +68,6 @@
     <ant antfile="build.xml" dir="maven-plugin-tools-generators" 
target="javadoc"/>
     <ant antfile="build.xml" dir="maven-plugin-tools-java" target="javadoc"/>
     <ant antfile="build.xml" dir="maven-plugin-tools-annotations" 
target="javadoc"/>
-    <ant antfile="build.xml" dir="maven-plugin-tools-javadoc" 
target="javadoc"/>
     <ant antfile="build.xml" dir="maven-script" target="javadoc"/>
     <!-- <ant antfile="build.xml" dir="maven-plugin-plugin" target="javadoc"/> 
-->
   </target>
@@ -87,7 +82,6 @@
     <ant antfile="build.xml" dir="maven-plugin-tools-generators" 
target="package"/>
     <ant antfile="build.xml" dir="maven-plugin-tools-java" target="package"/>
     <ant antfile="build.xml" dir="maven-plugin-tools-annotations" 
target="package"/>
-    <ant antfile="build.xml" dir="maven-plugin-tools-javadoc" 
target="package"/>
     <ant antfile="build.xml" dir="maven-script" target="package"/>
     <!-- <ant antfile="build.xml" dir="maven-plugin-plugin" target="package"/> 
-->
   </target>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/common.xml new/common.xml
--- old/common.xml      2019-03-31 19:59:08.467461301 +0200
+++ new/common.xml      2019-11-25 09:32:10.599189493 +0100
@@ -3,14 +3,14 @@
 <project name="common" basedir=".">
 
   <property file="build.properties"/>
-  <property name="project.version" value="3.5.1"/>
+  <property name="project.version" value="3.6.0"/>
   <property name="project.groupId" value="org.apache.maven.plugin-tools"/>
 
   <property name="project.organization.name" value="The Apache Software 
Foundation"/>
 
-  <property name="spec.version" value="3.5"/>
+  <property name="spec.version" value="3.6"/>
 
-  <property name="compiler.source" value="1.6"/>
+  <property name="compiler.source" value="1.7"/>
   <property name="compiler.target" value="${compiler.source}"/>
 
 </project>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/maven-plugin-tools-javadoc/build.xml 
new/maven-plugin-tools-javadoc/build.xml
--- old/maven-plugin-tools-javadoc/build.xml    2019-03-31 19:59:08.031460060 
+0200
+++ new/maven-plugin-tools-javadoc/build.xml    1970-01-01 01:00:00.000000000 
+0100
@@ -1,183 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<project name="maven-plugin-tools-javadoc" default="package" basedir=".">
-
-  <!-- ====================================================================== 
-->
-  <!-- Build environment properties                                           
-->
-  <!-- ====================================================================== 
-->
-
-  <include file="../common.xml"/>
-  <property file="build.properties"/>
-
-  <property name="project.artifactId" value="maven-plugin-tools-javadoc"/>
-  <property name="project.name" value="Maven Plugin Tools Javadoc Taglets"/>
-
-  <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">
-    <pathelement location="../maven-plugin-tools-java/target/classes"/>
-    <fileset dir="../lib">
-      <include name="**/*.jar"/>
-    </fileset>
-  </path>
-  <path id="build.test.classpath">
-    <pathelement location="../maven-plugin-tools-java/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>
-
-  <!-- ====================================================================== 
-->
-  <!-- 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="https://maven.apache.org/plugin-tools/${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>


Reply via email to