Sync from SUSE:SLFO:Main maven-plugin-tools revision 3c9635c837f2b1123f058242bd7dc8b8

This commit is contained in:
Adrian Schröter 2024-05-31 14:51:00 +02:00
parent cf5293c746
commit ddf39a1f01
10 changed files with 397 additions and 165 deletions

View File

@ -1,7 +1,10 @@
--- maven-plugin-plugin/src/main/filtered-resources/META-INF/maven/org.apache.maven.plugins/maven-plugin-plugin/plugin-help.xml 1970-01-01 01:00:00.000000000 +0100
+++ maven-plugin-plugin/src/main/filtered-resources/META-INF/maven/org.apache.maven.plugins/maven-plugin-plugin/plugin-help.xml 2023-09-22 17:01:23.758467077 +0200
@@ -0,0 +1,345 @@
+++ maven-plugin-plugin/src/main/filtered-resources/META-INF/maven/org.apache.maven.plugins/maven-plugin-plugin/plugin-help.xml 2024-05-15 12:12:45.836896057 +0200
@@ -0,0 +1,348 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- Generated by maven-plugin-tools 3.13 (for help mojo with limited elements)-->
+
+<plugin>
+ <name>${project.name}</name>
+ <description>${project.description}</description>
@ -112,7 +115,7 @@
+ <required>false</required>
+ <editable>true</editable>
+ <description>Creates links to existing external javadoc-generated documentation.
+Notes: all given links should have a fetchable /package-list or /element-list file. For instance: &lt;externalJavadocBaseUrls&gt; &lt;externalJavadocBaseUrl&gt;https://docs.oracle.com/javase/8/docs/api/&lt;/externalJavadocBaseUrl&gt; &lt;externalJavadocBaseUrls&gt; is valid because https://docs.oracle.com/javase/8/docs/api/package-list exists. See link option of the javadoc tool &lt;https://docs.oracle.com/en/java/javase/17/docs/specs/man/javadoc.html#standard-doclet-options&gt;. Using this parameter requires connectivity to the given URLs during the goal execution.</description>
+Notes: all given links should have a fetchable /package-list or /element-list file. For instance: &lt;externalJavadocBaseUrls&gt; &lt;externalJavadocBaseUrl&gt;https://docs.oracle.com/javase/8/docs/api/&lt;/externalJavadocBaseUrl&gt; &lt;/externalJavadocBaseUrls&gt; is valid because https://docs.oracle.com/javase/8/docs/api/package-list exists. See link option of the javadoc tool &lt;https://docs.oracle.com/en/java/javase/17/docs/specs/man/javadoc.html#standard-doclet-options&gt;. Using this parameter requires connectivity to the given URLs during the goal execution.</description>
+ </parameter>
+ <parameter>
+ <name>extractors</name>
@ -175,7 +178,7 @@
+ <required>false</required>
+ <editable>true</editable>
+ <description>The required Java version to set in the plugin descriptor. This is evaluated by Maven 4 and ignored by earlier Maven versions. Can be either one of the following formats:
+* A version range which specifies the supported Java versions. It can either use the usual mathematical syntax like &quot;[2.0.10,2.1.0),[3.0,)&quot; or use a single version like &quot;2.2.1&quot;. The latter is a short form for &quot;[2.2.1,)&quot;, i.e. denotes the minimum version required.
+* A version range which specifies the supported Java versions. It can either use the usual mathematical syntax like &quot;[1.7,9),[11,)&quot; or use a single version like &quot;1.8&quot;. The latter is a short form for &quot;[1.8,)&quot;, i.e. denotes the minimum version required.
+* &quot;auto&quot; to determine the minimum Java version from the binary class version being generated during compilation (determined by the extractor). </description>
+ </parameter>
+ <parameter>
@ -347,9 +350,12 @@
+ </mojos>
+</plugin>
--- maven-plugin-plugin/src/main/filtered-resources/META-INF/maven/plugin.xml 1970-01-01 01:00:00.000000000 +0100
+++ maven-plugin-plugin/src/main/filtered-resources/META-INF/maven/plugin.xml 2023-09-22 17:02:25.238892040 +0200
@@ -0,0 +1,618 @@
+++ maven-plugin-plugin/src/main/filtered-resources/META-INF/maven/plugin.xml 2024-05-15 12:12:16.933350354 +0200
@@ -0,0 +1,610 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- Generated by maven-plugin-tools 3.13-->
+
+<plugin>
+ <name>${project.name}</name>
+ <description>${project.description}</description>
@ -359,6 +365,8 @@
+ <goalPrefix>plugin</goalPrefix>
+ <isolatedRealm>false</isolatedRealm>
+ <inheritedByDefault>true</inheritedByDefault>
+ <requiredJavaVersion>1.8</requiredJavaVersion>
+ <requiredMavenVersion>3.6.3</requiredMavenVersion>
+ <mojos>
+ <mojo>
+ <goal>addPluginArtifactMetadata</goal>
@ -388,13 +396,6 @@
+ <description>The prefix for the plugin goal.</description>
+ </parameter>
+ <parameter>
+ <name>project</name>
+ <type>org.apache.maven.project.MavenProject</type>
+ <required>false</required>
+ <editable>false</editable>
+ <description>The project artifact, which should have the latest metadata added to it.</description>
+ </parameter>
+ <parameter>
+ <name>skip</name>
+ <type>boolean</type>
+ <since>2.8</since>
@ -404,9 +405,18 @@
+ </parameter>
+ </parameters>
+ <configuration>
+ <project implementation="org.apache.maven.project.MavenProject" default-value="${project}"/>
+ <skip implementation="boolean" default-value="false">${maven.plugin.skip}</skip>
+ </configuration>
+ <requirements>
+ <requirement>
+ <role>org.apache.maven.project.MavenProject</role>
+ <field-name>project</field-name>
+ </requirement>
+ <requirement>
+ <role>org.apache.maven.rtinfo.RuntimeInformation</role>
+ <field-name>runtimeInformation</field-name>
+ </requirement>
+ </requirements>
+ </mojo>
+ <mojo>
+ <goal>descriptor</goal>
@ -470,7 +480,7 @@
+ <required>false</required>
+ <editable>true</editable>
+ <description>Creates links to existing external javadoc-generated documentation.
+Notes: all given links should have a fetchable /package-list or /element-list file. For instance: &lt;externalJavadocBaseUrls&gt; &lt;externalJavadocBaseUrl&gt;https://docs.oracle.com/javase/8/docs/api/&lt;/externalJavadocBaseUrl&gt; &lt;externalJavadocBaseUrls&gt; is valid because https://docs.oracle.com/javase/8/docs/api/package-list exists. See link option of the javadoc tool &lt;https://docs.oracle.com/en/java/javase/17/docs/specs/man/javadoc.html#standard-doclet-options&gt;. Using this parameter requires connectivity to the given URLs during the goal execution.</description>
+Notes: all given links should have a fetchable /package-list or /element-list file. For instance: &lt;externalJavadocBaseUrls&gt; &lt;externalJavadocBaseUrl&gt;https://docs.oracle.com/javase/8/docs/api/&lt;/externalJavadocBaseUrl&gt; &lt;/externalJavadocBaseUrls&gt; is valid because https://docs.oracle.com/javase/8/docs/api/package-list exists. See link option of the javadoc tool &lt;https://docs.oracle.com/en/java/javase/17/docs/specs/man/javadoc.html#standard-doclet-options&gt;. Using this parameter requires connectivity to the given URLs during the goal execution.</description>
+ </parameter>
+ <parameter>
+ <name>extractors</name>
@ -534,27 +544,13 @@
+ <description>Maven plugin packaging types. Default is single &quot;maven-plugin&quot;.</description>
+ </parameter>
+ <parameter>
+ <name>project</name>
+ <type>org.apache.maven.project.MavenProject</type>
+ <required>false</required>
+ <editable>false</editable>
+ <description>The project currently being built.</description>
+ </parameter>
+ <parameter>
+ <name>repoSession</name>
+ <type>org.eclipse.aether.RepositorySystemSession</type>
+ <required>true</required>
+ <editable>false</editable>
+ <description></description>
+ </parameter>
+ <parameter>
+ <name>requiredJavaVersion</name>
+ <type>java.lang.String</type>
+ <since>3.8.0</since>
+ <required>false</required>
+ <editable>true</editable>
+ <description>The required Java version to set in the plugin descriptor. This is evaluated by Maven 4 and ignored by earlier Maven versions. Can be either one of the following formats:
+* A version range which specifies the supported Java versions. It can either use the usual mathematical syntax like &quot;[2.0.10,2.1.0),[3.0,)&quot; or use a single version like &quot;2.2.1&quot;. The latter is a short form for &quot;[2.2.1,)&quot;, i.e. denotes the minimum version required.
+* A version range which specifies the supported Java versions. It can either use the usual mathematical syntax like &quot;[1.7,9),[11,)&quot; or use a single version like &quot;1.8&quot;. The latter is a short form for &quot;[1.8,)&quot;, i.e. denotes the minimum version required.
+* &quot;auto&quot; to determine the minimum Java version from the binary class version being generated during compilation (determined by the extractor). </description>
+ </parameter>
+ <parameter>
@ -568,14 +564,6 @@
+* &quot;auto&quot; to determine the minimum Maven version from the POM&apos;s Maven prerequisite, or if not set the referenced Maven Plugin API version. This value takes precedence over the POM&apos;s Maven prerequisite &lt;https://maven.apache.org/pom.html#Prerequisites&gt; in Maven 4.</description>
+ </parameter>
+ <parameter>
+ <name>settings</name>
+ <type>org.apache.maven.settings.Settings</type>
+ <since>3.7.0</since>
+ <required>true</required>
+ <editable>false</editable>
+ <description>The Maven Settings, for evaluating proxy settings used to access #javadocLinks</description>
+ </parameter>
+ <parameter>
+ <name>skip</name>
+ <type>boolean</type>
+ <since>2.8</since>
@ -607,11 +595,8 @@
+ <internalJavadocBaseUrl implementation="java.net.URI">${internalJavadocBaseUrl}</internalJavadocBaseUrl>
+ <internalJavadocVersion implementation="java.lang.String" default-value="${java.version}">${internalJavadocVersion}</internalJavadocVersion>
+ <outputDirectory implementation="java.io.File" default-value="${project.build.outputDirectory}/META-INF/maven"/>
+ <project implementation="org.apache.maven.project.MavenProject" default-value="${project}"/>
+ <repoSession implementation="org.eclipse.aether.RepositorySystemSession" default-value="${repositorySystemSession}"/>
+ <requiredJavaVersion implementation="java.lang.String" default-value="auto"/>
+ <requiredMavenVersion implementation="java.lang.String" default-value="auto"/>
+ <settings implementation="org.apache.maven.settings.Settings" default-value="${settings}"/>
+ <skip implementation="boolean" default-value="false">${maven.plugin.skip}</skip>
+ <skipDescriptor implementation="boolean" default-value="false"/>
+ <skipErrorNoDescriptorsFound implementation="boolean" default-value="false">${maven.plugin.skipErrorNoDescriptorsFound}</skipErrorNoDescriptorsFound>
@ -622,9 +607,17 @@
+ <field-name>buildContext</field-name>
+ </requirement>
+ <requirement>
+ <role>org.apache.maven.execution.MavenSession</role>
+ <field-name>mavenSession</field-name>
+ </requirement>
+ <requirement>
+ <role>org.apache.maven.tools.plugin.scanner.MojoScanner</role>
+ <field-name>mojoScanner</field-name>
+ </requirement>
+ <requirement>
+ <role>org.apache.maven.project.MavenProject</role>
+ <field-name>project</field-name>
+ </requirement>
+ </requirements>
+ </mojo>
+ <mojo>
@ -732,13 +725,6 @@
+ <description>Maven plugin packaging types. Default is single &quot;maven-plugin&quot;.</description>
+ </parameter>
+ <parameter>
+ <name>project</name>
+ <type>org.apache.maven.project.MavenProject</type>
+ <required>false</required>
+ <editable>false</editable>
+ <description>The project currently being built.</description>
+ </parameter>
+ <parameter>
+ <name>skip</name>
+ <type>boolean</type>
+ <since>2.8</since>
@ -749,11 +735,14 @@
+ </parameters>
+ <configuration>
+ <outputDirectory implementation="java.io.File" default-value="${project.build.directory}/generated-sources/plugin"/>
+ <project implementation="org.apache.maven.project.MavenProject" default-value="${project}"/>
+ <skip implementation="boolean" default-value="false">${maven.plugin.skip}</skip>
+ </configuration>
+ <requirements>
+ <requirement>
+ <role>org.apache.maven.project.MavenProject</role>
+ <field-name>project</field-name>
+ </requirement>
+ <requirement>
+ <role>org.codehaus.plexus.velocity.VelocityComponent</role>
+ <field-name>velocity</field-name>
+ </requirement>
@ -768,16 +757,28 @@
+ <version>1.7.36</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-lang3</artifactId>
+ <type>jar</type>
+ <version>3.12.0</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.inject</groupId>
+ <artifactId>javax.inject</artifactId>
+ <type>jar</type>
+ <version>1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.plexus</groupId>
+ <artifactId>plexus-xml</artifactId>
+ <type>jar</type>
+ <version>3.0.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven.plugin-tools</groupId>
+ <artifactId>maven-plugin-tools-api</artifactId>
+ <type>jar</type>
+ <version>3.9.0</version>
+ <version>3.13.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven.wagon</groupId>
@ -789,7 +790,7 @@
+ <groupId>org.codehaus.plexus</groupId>
+ <artifactId>plexus-java</artifactId>
+ <type>jar</type>
+ <version>1.1.2</version>
+ <version>1.2.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.httpcomponents</groupId>
@ -801,49 +802,13 @@
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ <type>jar</type>
+ <version>any</version>
+ <version>1.2</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-codec</groupId>
+ <artifactId>commons-codec</artifactId>
+ <type>jar</type>
+ <version>any</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.httpcomponents</groupId>
+ <artifactId>httpcore</artifactId>
+ <type>jar</type>
+ <version>4.4.16</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven.plugin-tools</groupId>
+ <artifactId>maven-plugin-tools-generators</artifactId>
+ <type>jar</type>
+ <version>3.9.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.ow2.asm</groupId>
+ <artifactId>asm</artifactId>
+ <type>jar</type>
+ <version>9.5</version>
+ </dependency>
+ <dependency>
+ <groupId>org.ow2.asm</groupId>
+ <artifactId>asm-commons</artifactId>
+ <type>jar</type>
+ <version>9.5</version>
+ </dependency>
+ <dependency>
+ <groupId>org.ow2.asm</groupId>
+ <artifactId>asm-tree</artifactId>
+ <type>jar</type>
+ <version>9.5</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jsoup</groupId>
+ <artifactId>jsoup</artifactId>
+ <type>jar</type>
+ <version>1.16.1</version>
+ <version>1.11</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven.reporting</groupId>
@ -861,7 +826,43 @@
+ <groupId>org.apache.maven.doxia</groupId>
+ <artifactId>doxia-logging-api</artifactId>
+ <type>jar</type>
+ <version>1.9.1</version>
+ <version>1.12.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.httpcomponents</groupId>
+ <artifactId>httpcore</artifactId>
+ <type>jar</type>
+ <version>4.4.16</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven.plugin-tools</groupId>
+ <artifactId>maven-plugin-tools-generators</artifactId>
+ <type>jar</type>
+ <version>3.13.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.ow2.asm</groupId>
+ <artifactId>asm</artifactId>
+ <type>jar</type>
+ <version>9.7</version>
+ </dependency>
+ <dependency>
+ <groupId>org.ow2.asm</groupId>
+ <artifactId>asm-commons</artifactId>
+ <type>jar</type>
+ <version>9.7</version>
+ </dependency>
+ <dependency>
+ <groupId>org.ow2.asm</groupId>
+ <artifactId>asm-tree</artifactId>
+ <type>jar</type>
+ <version>9.7</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jsoup</groupId>
+ <artifactId>jsoup</artifactId>
+ <type>jar</type>
+ <version>1.17.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.velocity</groupId>
@ -870,46 +871,40 @@
+ <version>1.7</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-lang</groupId>
+ <artifactId>commons-lang</artifactId>
+ <type>jar</type>
+ <version>2.4</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven.plugin-tools</groupId>
+ <artifactId>maven-plugin-tools-java</artifactId>
+ <type>jar</type>
+ <version>3.9.0</version>
+ <version>3.13.0</version>
+ </dependency>
+ <dependency>
+ <groupId>com.thoughtworks.qdox</groupId>
+ <artifactId>qdox</artifactId>
+ <type>jar</type>
+ <version>2.0.3</version>
+ <version>2.1.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven.plugin-tools</groupId>
+ <artifactId>maven-plugin-tools-annotations</artifactId>
+ <type>jar</type>
+ <version>3.9.0</version>
+ <version>3.13.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.ow2.asm</groupId>
+ <artifactId>asm-util</artifactId>
+ <type>jar</type>
+ <version>9.5</version>
+ <version>9.7</version>
+ </dependency>
+ <dependency>
+ <groupId>org.ow2.asm</groupId>
+ <artifactId>asm-analysis</artifactId>
+ <type>jar</type>
+ <version>9.5</version>
+ <version>9.7</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.plexus</groupId>
+ <artifactId>plexus-archiver</artifactId>
+ <type>jar</type>
+ <version>4.7.1</version>
+ <version>4.9.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.plexus</groupId>
@ -939,13 +934,13 @@
+ <groupId>org.apache.maven.plugin-tools</groupId>
+ <artifactId>maven-plugin-annotations</artifactId>
+ <type>jar</type>
+ <version>3.9.0</version>
+ <version>3.13.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.plexus</groupId>
+ <artifactId>plexus-utils</artifactId>
+ <type>jar</type>
+ <version>3.5.1</version>
+ <version>4.0.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.plexus</groupId>
@ -967,8 +962,8 @@
+ </dependency>
+ </dependencies>
+</plugin>
--- maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/HelpMojo.java 1970-01-01 01:00:00.000000000 +0100
+++ maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/HelpMojo.java 2023-09-22 16:49:32.513552812 +0200
--- maven-plugin-plugin/src/main/java/org/apache/maven/plugins/maven_plugin_plugin/HelpMojo.java 1970-01-01 01:00:00.000000000 +0100
+++ maven-plugin-plugin/src/main/java/org/apache/maven/plugins/maven_plugin_plugin/HelpMojo.java 2024-05-15 12:11:33.063028019 +0200
@@ -0,0 +1,448 @@
+package org.apache.maven.plugins.maven_plugin_plugin;
+

View File

@ -1,3 +1,92 @@
-------------------------------------------------------------------
Wed May 15 11:37:24 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Upgrade to upstream version 3.13.0
- Changes of version 3.13.0
* Bug
+ MPLUGIN-517: GoalRenderer renderParameterDetails() renders in
wrong order
+ MPLUGIN-521: Nested types not properly extracted cause
exception while generating Javadoc URLs
* Improvement
+ MPLUGIN-520: Get rid of maven-compat classes use
* Dependency upgrade
+ MPLUGIN-516: Upgrade asmVersion from 9.6 to 9.7
+ MPLUGIN-519: Update to Parent POM 42, prerequisite 3.6.3
- Changes of version 3.12.0
* Improvement
+ MPLUGIN-510: update plugin system requirements history
structure
+ MPLUGIN-511: create and share tooling to detect plugin
prerequisites history
+ MPLUGIN-514: switch dependency schema from png + imagemap to
svg, and update
- Changes of version 3.11.0
* Bug
+ MPLUGIN-496: Translation for keys report.plugin.goal.yes,no
are missing
+ MPLUGIN-499: Deprecate descriptions are missing in description
table
* Improvement
+ MPLUGIN-450: Make goal prefix mandatory by default
+ MPLUGIN-474: Improve descriptor docs for requiredJavaVersion
+ MPLUGIN-492: Documentation for plugins in general: Goals
comprises more than that
+ MPLUGIN-495: WARNINGs based on usage of @Component for
MavenSession/MavenProject instead of @Parameter
* Task
+ MPLUGIN-493: Consistently evaluate skip parameter in
MavenReport#canGenerateReport()
+ MPLUGIN-498: Move section rendering to separate methods
* Dependency upgrade
+ MPLUGIN-494: Upgrade to Parent 41
+ MPLUGIN-497: Upgrade components
- Changes of version 3.10.2
* Bug
+ MPLUGIN-484: Downgrade plexus-xml to 3.0.0
* Dependency upgrade
+ MPLUGIN-485: Upgrade Parent to 40
+ MPLUGIN-487: Bump org.codehaus.plexus:plexus-java from 1.1.2
to 1.2.0
+ MPLUGIN-488: Bump asmVersion from 9.5 to 9.6
+ MPLUGIN-489: Bump antVersion from 1.10.13 to 1.10.14
+ MPLUGIN-490: Bump org.jsoup:jsoup from 1.16.1 to 1.16.2
+ MPLUGIN-491: Bump org.codehaus.plexus:plexus-testing from
1.1.0 to 1.2.0
- Changes of version 3.10.1
* Bug
+ MPLUGIN-482: JavadocSite.createLink() does not consider
implicit module path prefix
* Improvement
+ MPLUGIN-442: Rewrite plugin goal documentation generation to
use supplied sink instead of direct Xdoc
+ MPLUGIN-475: Upgrade to plexus-utils / plexus-xml 4.0.0
+ MPLUGIN-477: Don't add a stray period
* Dependency upgrade
+ MPLUGIN-478: Upgrade org.junit:junit-bom from 5.9.3 to 5.10.0
+ MPLUGIN-479: Bump org.codehaus.plexus:plexus-archiver from
4.7.1 to 4.8.0
- Modified patch:
* maven-plugin-plugin-bootstrap-resouces.patch
+ regenerate with itself
-------------------------------------------------------------------
Wed May 1 12:36:18 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Build against the plexus-build-api0 package containing sonatype
plexus build api
-------------------------------------------------------------------
Tue Apr 2 17:29:22 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Add dependency on plexus-xml where relevant
* this will be needed for smooth upgrade to plexus-utils 4.0.0
-------------------------------------------------------------------
Tue Feb 20 14:39:44 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Use %patch -P N instead of deprecated %patchN.
-------------------------------------------------------------------
Fri Sep 22 15:32:33 UTC 2023 - Fridrich Strba <fstrba@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file
# spec file for package maven-plugin-plugin-bootstrap
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,7 +19,7 @@
%global base_name maven-plugin-tools
%global artifactId maven-plugin-plugin
Name: %{artifactId}-bootstrap
Version: 3.9.0
Version: 3.13.0
Release: 0
Summary: Maven Plugin Plugin
License: Apache-2.0
@ -33,23 +33,19 @@ Patch0: 0002-Remove-dependency-on-jtidy.patch
# We generated those ones outside the rpm build for a bootstrap package.
Patch20: maven-plugin-plugin-bootstrap-resouces.patch
BuildRequires: ant
BuildRequires: javapackages-local
BuildRequires: javapackages-local >= 6
BuildRequires: maven-lib
BuildRequires: maven-plugin-annotations
BuildRequires: maven-plugin-tools-annotations
BuildRequires: maven-plugin-tools-api
BuildRequires: maven-plugin-tools-generators
BuildRequires: maven-resolver-api
BuildRequires: plexus-build-api
BuildRequires: maven-resolver-util
BuildRequires: plexus-build-api0
BuildRequires: plexus-utils
BuildRequires: plexus-velocity
BuildRequires: sisu-inject
BuildRequires: sisu-plexus
BuildRequires: unzip
BuildRequires: xmvn-install
BuildRequires: xmvn-resolve
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:)
BuildArch: noarch
%description
@ -60,8 +56,8 @@ artifact metadata and a generic help goal.
%prep
%setup -q -n %{base_name}-%{version} -a1
%patch0 -p1
%patch20
%patch -P 0 -p1
%patch -P 20
%pom_remove_plugin -r :maven-enforcer-plugin
@ -69,45 +65,44 @@ artifact metadata and a generic help goal.
<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']"
%pom_remove_dep org.junit:junit-bom
%pom_remove_dep :maven-plugin-tools-ant maven-plugin-plugin
%pom_remove_dep :maven-plugin-tools-beanshell maven-plugin-plugin
%{mvn_package} :maven-plugin-tools __noinstall
%build
mkdir -p lib
build-jar-repository -s lib \
maven/maven-artifact \
maven/maven-core \
maven/maven-model \
maven/maven-plugin-api \
maven/maven-repository-metadata \
maven/maven-settings \
maven-plugin-tools/maven-plugin-annotations \
maven-plugin-tools/maven-plugin-tools-api \
maven-plugin-tools/maven-plugin-tools-generators \
maven/maven-artifact \
maven/maven-core \
maven/maven-model \
maven/maven-plugin-api \
maven/maven-repository-metadata \
maven/maven-settings \
maven-plugin-tools/maven-plugin-annotations \
maven-plugin-tools/maven-plugin-tools-api \
maven-plugin-tools/maven-plugin-tools-generators \
maven-resolver/maven-resolver-api \
org.eclipse.sisu.inject \
org.eclipse.sisu.plexus \
plexus/plexus-build-api \
plexus/utils \
plexus-velocity/plexus-velocity
maven-resolver/maven-resolver-util \
org.eclipse.sisu.plexus \
plexus/plexus-build-api0 \
plexus/utils \
plexus-velocity/plexus-velocity
%{mvn_file} :%{artifactId} %{base_name}/%{artifactId}
pushd %{artifactId}
%{ant} \
-Dtest.skip=true \
jar
-Dtest.skip=true \
jar
popd
%{mvn_artifact} pom.xml
%{mvn_artifact} %{artifactId}/pom.xml %{artifactId}/target/%{artifactId}-%{version}.jar
%install
%mvn_install
# jar
install -dm 0755 %{buildroot}%{_javadir}/%{base_name}
install -pm 0644 %{artifactId}/target/%{artifactId}-%{version}.jar %{buildroot}%{_javadir}/%{base_name}/%{artifactId}.jar
# pom
install -dm 0755 %{buildroot}%{_mavenpomdir}/%{base_name}
%mvn_install_pom %{artifactId}/pom.xml %{buildroot}%{_mavenpomdir}/%{base_name}/%{artifactId}.pom
%add_maven_depmap %{base_name}/%{artifactId}.pom %{base_name}/%{artifactId}.jar
%files -f .mfiles
%license LICENSE NOTICE

View File

@ -1,3 +1,83 @@
-------------------------------------------------------------------
Wed May 15 11:37:24 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Upgrade to upstream version 3.13.0
- Changes of version 3.13.0
* Bug
+ MPLUGIN-517: GoalRenderer renderParameterDetails() renders in
wrong order
+ MPLUGIN-521: Nested types not properly extracted cause
exception while generating Javadoc URLs
* Improvement
+ MPLUGIN-520: Get rid of maven-compat classes use
* Dependency upgrade
+ MPLUGIN-516: Upgrade asmVersion from 9.6 to 9.7
+ MPLUGIN-519: Update to Parent POM 42, prerequisite 3.6.3
- Changes of version 3.12.0
* Improvement
+ MPLUGIN-510: update plugin system requirements history
structure
+ MPLUGIN-511: create and share tooling to detect plugin
prerequisites history
+ MPLUGIN-514: switch dependency schema from png + imagemap to
svg, and update
- Changes of version 3.11.0
* Bug
+ MPLUGIN-496: Translation for keys report.plugin.goal.yes,no
are missing
+ MPLUGIN-499: Deprecate descriptions are missing in description
table
* Improvement
+ MPLUGIN-450: Make goal prefix mandatory by default
+ MPLUGIN-474: Improve descriptor docs for requiredJavaVersion
+ MPLUGIN-492: Documentation for plugins in general: Goals
comprises more than that
+ MPLUGIN-495: WARNINGs based on usage of @Component for
MavenSession/MavenProject instead of @Parameter
* Task
+ MPLUGIN-493: Consistently evaluate skip parameter in
MavenReport#canGenerateReport()
+ MPLUGIN-498: Move section rendering to separate methods
* Dependency upgrade
+ MPLUGIN-494: Upgrade to Parent 41
+ MPLUGIN-497: Upgrade components
- Changes of version 3.10.2
* Bug
+ MPLUGIN-484: Downgrade plexus-xml to 3.0.0
* Dependency upgrade
+ MPLUGIN-485: Upgrade Parent to 40
+ MPLUGIN-487: Bump org.codehaus.plexus:plexus-java from 1.1.2
to 1.2.0
+ MPLUGIN-488: Bump asmVersion from 9.5 to 9.6
+ MPLUGIN-489: Bump antVersion from 1.10.13 to 1.10.14
+ MPLUGIN-490: Bump org.jsoup:jsoup from 1.16.1 to 1.16.2
+ MPLUGIN-491: Bump org.codehaus.plexus:plexus-testing from
1.1.0 to 1.2.0
- Changes of version 3.10.1
* Bug
+ MPLUGIN-482: JavadocSite.createLink() does not consider
implicit module path prefix
* Improvement
+ MPLUGIN-442: Rewrite plugin goal documentation generation to
use supplied sink instead of direct Xdoc
+ MPLUGIN-475: Upgrade to plexus-utils / plexus-xml 4.0.0
+ MPLUGIN-477: Don't add a stray period
* Dependency upgrade
+ MPLUGIN-478: Upgrade org.junit:junit-bom from 5.9.3 to 5.10.0
+ MPLUGIN-479: Bump org.codehaus.plexus:plexus-archiver from
4.7.1 to 4.8.0
-------------------------------------------------------------------
Tue Apr 2 17:29:28 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Add dependency on plexus-xml where relevant
* this will be needed for smooth upgrade to plexus-utils 4.0.0
-------------------------------------------------------------------
Tue Feb 20 14:39:45 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Use %patch -P N instead of deprecated %patchN.
-------------------------------------------------------------------
Fri Sep 22 15:32:33 UTC 2023 - Fridrich Strba <fstrba@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package maven-plugin-plugin
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,7 +18,7 @@
%global base_name maven-plugin-tools
Name: maven-plugin-plugin
Version: 3.9.0
Version: 3.13.0
Release: 0
Summary: Maven Plugin Plugin
License: Apache-2.0
@ -31,9 +31,7 @@ BuildRequires: maven-local
BuildRequires: unzip
BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-annotations)
BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-tools-annotations)
BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-tools-ant)
BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-tools-api)
BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-tools-beanshell)
BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-tools-generators)
BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-tools-java)
BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin)
@ -70,17 +68,15 @@ API documentation for %{name}.
%prep
%setup -q -n %{base_name}-%{version}
%patch0 -p1
%patch -P 0 -p1
%pom_remove_plugin -r :maven-enforcer-plugin
%pom_remove_plugin :sisu-maven-plugin
%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']"
%pom_remove_dep org.junit:junit-bom
%pom_remove_dep :maven-plugin-tools-ant maven-plugin-plugin
%pom_remove_dep :maven-plugin-tools-beanshell maven-plugin-plugin

BIN
maven-plugin-tools-3.13.0-source-release.zip (Stored with Git LFS) Normal file

Binary file not shown.

Binary file not shown.

BIN
maven-plugin-tools-build.tar.xz (Stored with Git LFS)

Binary file not shown.

View File

@ -1,3 +1,83 @@
-------------------------------------------------------------------
Wed May 15 11:37:24 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Upgrade to upstream version 3.13.0
- Changes of version 3.13.0
* Bug
+ MPLUGIN-517: GoalRenderer renderParameterDetails() renders in
wrong order
+ MPLUGIN-521: Nested types not properly extracted cause
exception while generating Javadoc URLs
* Improvement
+ MPLUGIN-520: Get rid of maven-compat classes use
* Dependency upgrade
+ MPLUGIN-516: Upgrade asmVersion from 9.6 to 9.7
+ MPLUGIN-519: Update to Parent POM 42, prerequisite 3.6.3
- Changes of version 3.12.0
* Improvement
+ MPLUGIN-510: update plugin system requirements history
structure
+ MPLUGIN-511: create and share tooling to detect plugin
prerequisites history
+ MPLUGIN-514: switch dependency schema from png + imagemap to
svg, and update
- Changes of version 3.11.0
* Bug
+ MPLUGIN-496: Translation for keys report.plugin.goal.yes,no
are missing
+ MPLUGIN-499: Deprecate descriptions are missing in description
table
* Improvement
+ MPLUGIN-450: Make goal prefix mandatory by default
+ MPLUGIN-474: Improve descriptor docs for requiredJavaVersion
+ MPLUGIN-492: Documentation for plugins in general: Goals
comprises more than that
+ MPLUGIN-495: WARNINGs based on usage of @Component for
MavenSession/MavenProject instead of @Parameter
* Task
+ MPLUGIN-493: Consistently evaluate skip parameter in
MavenReport#canGenerateReport()
+ MPLUGIN-498: Move section rendering to separate methods
* Dependency upgrade
+ MPLUGIN-494: Upgrade to Parent 41
+ MPLUGIN-497: Upgrade components
- Changes of version 3.10.2
* Bug
+ MPLUGIN-484: Downgrade plexus-xml to 3.0.0
* Dependency upgrade
+ MPLUGIN-485: Upgrade Parent to 40
+ MPLUGIN-487: Bump org.codehaus.plexus:plexus-java from 1.1.2
to 1.2.0
+ MPLUGIN-488: Bump asmVersion from 9.5 to 9.6
+ MPLUGIN-489: Bump antVersion from 1.10.13 to 1.10.14
+ MPLUGIN-490: Bump org.jsoup:jsoup from 1.16.1 to 1.16.2
+ MPLUGIN-491: Bump org.codehaus.plexus:plexus-testing from
1.1.0 to 1.2.0
- Changes of version 3.10.1
* Bug
+ MPLUGIN-482: JavadocSite.createLink() does not consider
implicit module path prefix
* Improvement
+ MPLUGIN-442: Rewrite plugin goal documentation generation to
use supplied sink instead of direct Xdoc
+ MPLUGIN-475: Upgrade to plexus-utils / plexus-xml 4.0.0
+ MPLUGIN-477: Don't add a stray period
* Dependency upgrade
+ MPLUGIN-478: Upgrade org.junit:junit-bom from 5.9.3 to 5.10.0
+ MPLUGIN-479: Bump org.codehaus.plexus:plexus-archiver from
4.7.1 to 4.8.0
-------------------------------------------------------------------
Tue Apr 2 17:29:34 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Add dependency on plexus-xml where relevant
* this will be needed for smooth upgrade to plexus-utils 4.0.0
-------------------------------------------------------------------
Tue Feb 20 14:39:46 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Use %patch -P N instead of deprecated %patchN.
-------------------------------------------------------------------
Fri Sep 22 15:32:33 UTC 2023 - Fridrich Strba <fstrba@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package maven-plugin-tools
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# 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-tools
Version: 3.9.0
Version: 3.13.0
Release: 0
Summary: Maven Plugin Tools
License: Apache-2.0
@ -40,15 +40,15 @@ BuildRequires: maven-reporting-api
BuildRequires: maven-resolver-api
BuildRequires: maven-wagon-provider-api
BuildRequires: modello >= 2.0.0
BuildRequires: objectweb-asm
BuildRequires: objectweb-asm >= 9.7
BuildRequires: plexus-ant-factory
BuildRequires: plexus-archiver
BuildRequires: plexus-bsh-factory
BuildRequires: plexus-classworlds
BuildRequires: plexus-containers-component-annotations
BuildRequires: plexus-languages
BuildRequires: plexus-utils
BuildRequires: plexus-velocity
BuildRequires: plexus-xml
BuildRequires: qdox
BuildRequires: sisu-inject
BuildRequires: sisu-plexus
@ -147,7 +147,7 @@ API documentation for %{name}.
%prep
%setup -q -a1
%patch0 -p1
%patch -P 0 -p1
%pom_remove_plugin -r :maven-enforcer-plugin
@ -155,9 +155,6 @@ API documentation for %{name}.
<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']"
%pom_remove_dep net.sf.jtidy:jtidy maven-plugin-tools-generators
%build
@ -186,9 +183,9 @@ build-jar-repository -s lib \
plexus/archiver \
plexus/bsh-factory \
plexus-classworlds \
plexus-containers/plexus-component-annotations \
plexus-languages/plexus-java \
plexus/utils \
plexus/xml \
plexus-velocity/plexus-velocity \
qdox \
slf4j/api \