This commit is contained in:
commit
5c3ca6ee45
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
106
0002-Remove-dependency-on-jtidy.patch
Normal file
106
0002-Remove-dependency-on-jtidy.patch
Normal file
@ -0,0 +1,106 @@
|
|||||||
|
From 6953b37ee5a7c0566d2e11e7141768f8a4c03fa2 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Mikolaj Izdebski <mizdebsk@redhat.com>
|
||||||
|
Date: Mon, 27 Apr 2020 12:56:04 +0200
|
||||||
|
Subject: [PATCH 2/3] Remove dependency on jtidy
|
||||||
|
|
||||||
|
Forwarded: not-needed
|
||||||
|
|
||||||
|
---
|
||||||
|
.../plugin/generator/GeneratorUtils.java | 49 +------------------
|
||||||
|
.../PluginDescriptorFilesGenerator.java | 7 +--
|
||||||
|
2 files changed, 2 insertions(+), 54 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/maven-plugin-tools-generators/src/main/java/org/apache/maven/tools/plugin/generator/GeneratorUtils.java b/maven-plugin-tools-generators/src/main/java/org/apache/maven/tools/plugin/generator/GeneratorUtils.java
|
||||||
|
index 99aa7965..f05fb876 100644
|
||||||
|
--- a/maven-plugin-tools-generators/src/main/java/org/apache/maven/tools/plugin/generator/GeneratorUtils.java
|
||||||
|
+++ b/maven-plugin-tools-generators/src/main/java/org/apache/maven/tools/plugin/generator/GeneratorUtils.java
|
||||||
|
@@ -51,7 +51,6 @@ import org.apache.maven.reporting.MavenReport;
|
||||||
|
import org.codehaus.plexus.component.repository.ComponentDependency;
|
||||||
|
import org.codehaus.plexus.util.StringUtils;
|
||||||
|
import org.codehaus.plexus.util.xml.XMLWriter;
|
||||||
|
-import org.w3c.tidy.Tidy;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Convenience methods to play with Maven plugins.
|
||||||
|
@@ -225,52 +224,6 @@ public final class GeneratorUtils {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
- * Fixes some javadoc comment to become a valid XHTML snippet.
|
||||||
|
- *
|
||||||
|
- * @param description Javadoc description with HTML tags, may be <code>null</code>.
|
||||||
|
- * @return The description with valid XHTML tags, never <code>null</code>.
|
||||||
|
- * @deprecated Redundant for java extractor
|
||||||
|
- */
|
||||||
|
- @Deprecated
|
||||||
|
- public static String makeHtmlValid(String description) {
|
||||||
|
-
|
||||||
|
- if (description == null || description.isEmpty()) {
|
||||||
|
- return "";
|
||||||
|
- }
|
||||||
|
-
|
||||||
|
- String commentCleaned = decodeJavadocTags(description);
|
||||||
|
-
|
||||||
|
- // Using jTidy to clean comment
|
||||||
|
- Tidy tidy = new Tidy();
|
||||||
|
- tidy.setDocType("loose");
|
||||||
|
- tidy.setXHTML(true);
|
||||||
|
- tidy.setXmlOut(true);
|
||||||
|
- tidy.setInputEncoding("UTF-8");
|
||||||
|
- tidy.setOutputEncoding("UTF-8");
|
||||||
|
- tidy.setMakeClean(true);
|
||||||
|
- tidy.setNumEntities(true);
|
||||||
|
- tidy.setQuoteNbsp(false);
|
||||||
|
- tidy.setQuiet(true);
|
||||||
|
- tidy.setShowWarnings(true);
|
||||||
|
-
|
||||||
|
- ByteArrayOutputStream out = new ByteArrayOutputStream(commentCleaned.length() + 256);
|
||||||
|
- tidy.parse(new ByteArrayInputStream(commentCleaned.getBytes(StandardCharsets.UTF_8)), out);
|
||||||
|
- commentCleaned = new String(out.toByteArray(), StandardCharsets.UTF_8);
|
||||||
|
-
|
||||||
|
- if (commentCleaned == null || commentCleaned.isEmpty()) {
|
||||||
|
- return "";
|
||||||
|
- }
|
||||||
|
-
|
||||||
|
- // strip the header/body stuff
|
||||||
|
- String ls = System.getProperty("line.separator");
|
||||||
|
- int startPos = commentCleaned.indexOf("<body>" + ls) + 6 + ls.length();
|
||||||
|
- int endPos = commentCleaned.indexOf(ls + "</body>");
|
||||||
|
- commentCleaned = commentCleaned.substring(startPos, endPos);
|
||||||
|
-
|
||||||
|
- return commentCleaned;
|
||||||
|
- }
|
||||||
|
-
|
||||||
|
- /**
|
||||||
|
* Converts a HTML fragment as extracted from a javadoc comment to a plain text string. This method tries to retain
|
||||||
|
* as much of the text formatting as possible by means of the following transformations:
|
||||||
|
* <ul>
|
||||||
|
@@ -301,7 +254,7 @@ public final class GeneratorUtils {
|
||||||
|
HTMLEditorKit.ParserCallback htmlCallback = new MojoParserCallback(sb);
|
||||||
|
|
||||||
|
try {
|
||||||
|
- parser.parse(new StringReader(makeHtmlValid(html)), htmlCallback, true);
|
||||||
|
+ parser.parse(new StringReader(html), htmlCallback, true);
|
||||||
|
} catch (IOException e) {
|
||||||
|
throw new RuntimeException(e);
|
||||||
|
}
|
||||||
|
diff --git a/maven-plugin-tools-generators/src/main/java/org/apache/maven/tools/plugin/generator/PluginDescriptorFilesGenerator.java b/maven-plugin-tools-generators/src/main/java/org/apache/maven/tools/plugin/generator/PluginDescriptorFilesGenerator.java
|
||||||
|
index cf5c5c48..9f435f0e 100644
|
||||||
|
--- a/maven-plugin-tools-generators/src/main/java/org/apache/maven/tools/plugin/generator/PluginDescriptorFilesGenerator.java
|
||||||
|
+++ b/maven-plugin-tools-generators/src/main/java/org/apache/maven/tools/plugin/generator/PluginDescriptorFilesGenerator.java
|
||||||
|
@@ -201,12 +201,7 @@ public class PluginDescriptorFilesGenerator implements Generator {
|
||||||
|
*/
|
||||||
|
private static String getTextValue(DescriptorType type, boolean containsXhtmlValue, String text) {
|
||||||
|
final String xhtmlText;
|
||||||
|
- if (!containsXhtmlValue) // text comes from legacy extractor
|
||||||
|
- {
|
||||||
|
- xhtmlText = GeneratorUtils.makeHtmlValid(text);
|
||||||
|
- } else {
|
||||||
|
xhtmlText = text;
|
||||||
|
- }
|
||||||
|
if (type != DescriptorType.XHTML) {
|
||||||
|
return new HtmlToPlainTextConverter().convert(text);
|
||||||
|
} else {
|
||||||
|
--
|
||||||
|
2.41.0
|
||||||
|
|
4
_multibuild
Normal file
4
_multibuild
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<multibuild>
|
||||||
|
<package>maven-plugin-plugin-bootstrap</package>
|
||||||
|
<package>maven-plugin-plugin</package>
|
||||||
|
</multibuild>
|
1427
maven-plugin-plugin-bootstrap-resouces.patch
Normal file
1427
maven-plugin-plugin-bootstrap-resouces.patch
Normal file
File diff suppressed because it is too large
Load Diff
313
maven-plugin-plugin-bootstrap.changes
Normal file
313
maven-plugin-plugin-bootstrap.changes
Normal file
@ -0,0 +1,313 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
||||||
|
|
||||||
|
- Upgrade to upstream version 3.9.0
|
||||||
|
- Changes of version 3.9.0
|
||||||
|
* Bug
|
||||||
|
+ MPLUGIN-470: *-mojo.xml (in PluginXdocGenerator) is
|
||||||
|
overwritten when multiple locales are defined
|
||||||
|
+ MPLUGIN-471: Generated table by PluginXdocGenerator does not
|
||||||
|
contain default attributes
|
||||||
|
* Improvement
|
||||||
|
+ MPLUGIN-469: Omit empty line in generated help goal output if
|
||||||
|
plugin description is empty
|
||||||
|
+ MPLUGIN-472: Use Plexus I18N rather than fiddling with
|
||||||
|
* Task
|
||||||
|
+ MPLUGIN-467: Remove reporting from maven-plugin-plugin: create
|
||||||
|
maven-plugin-report-plugin
|
||||||
|
* Dependency upgrade
|
||||||
|
+ MPLUGIN-468: Upgrade plugins and components (in ITs)
|
||||||
|
- Changes of version 3.8.2
|
||||||
|
* Improvement
|
||||||
|
+ MPLUGIN-457: Use Resolver API, get rid of localRepository
|
||||||
|
* Dependency upgrade
|
||||||
|
+ MPLUGIN-458: Bump httpcore from 4.4.15 to 4.4.16
|
||||||
|
+ MPLUGIN-459: Bump httpclient from 4.5.13 to 4.5.14
|
||||||
|
+ MPLUGIN-460: Bump antVersion from 1.10.12 to 1.10.13
|
||||||
|
+ MPLUGIN-461: Bump slf4jVersion from 1.7.5 to 1.7.36
|
||||||
|
+ MPLUGIN-462: Bump plexus-java from 1.1.1 to 1.1.2
|
||||||
|
+ MPLUGIN-463: Bump plexus-archiver from 4.6.1 to 4.6.3
|
||||||
|
+ MPLUGIN-464: Bump jsoup from 1.15.3 to 1.15.4
|
||||||
|
+ MPLUGIN-465: Bump asmVersion from 9.4 to 9.5
|
||||||
|
+ MPLUGIN-466: Bump assertj-core from 3.23.1 to 3.24.2
|
||||||
|
- Changes of version 3.8.1
|
||||||
|
* Bug
|
||||||
|
+ MPLUGIN-443: Javadoc reference containing a link label with
|
||||||
|
spaces are not detected
|
||||||
|
+ MPLUGIN-444: JavadocLinkGenerator.createLink: Support nested
|
||||||
|
binary class names
|
||||||
|
+ MPLUGIN-446: ERROR during build of m-plugin-report-p and
|
||||||
|
m-plugin-p: Dependencies in wrong scope
|
||||||
|
+ MPLUGIN-448: "Executes as an aggregator plugin" documentation:
|
||||||
|
s/plugin/goal/
|
||||||
|
+ MPLUGIN-452: Maven scope warning should be logged at WARN
|
||||||
|
level
|
||||||
|
+ MPLUGIN-453: Fix Temporary File Information Disclosure
|
||||||
|
Vulnerability
|
||||||
|
* New Feature
|
||||||
|
+ MPLUGIN-441: Support mojos using the new maven v4 api
|
||||||
|
* Improvement
|
||||||
|
+ MPLUGIN-425: Plugin descriptor should contain the
|
||||||
|
requiredJavaVersion/requiredMavenVersion
|
||||||
|
+ MPLUGIN-439: Execute annotation only supports standard
|
||||||
|
lifecycle phases due to use of enum
|
||||||
|
+ MPLUGIN-440: Clarify deprecation of all extractors but the
|
||||||
|
maven-plugin-tools-annotations
|
||||||
|
* Dependency upgrade
|
||||||
|
+ MPLUGIN-447: Update to Maven Parent POM 39
|
||||||
|
+ MPLUGIN-454: Bump junit-bom from 5.9.1 to 5.9.2
|
||||||
|
+ MPLUGIN-455: Bump plexus-archiver from 4.5.0 to 4.6.1
|
||||||
|
- Changes of version 3.7.1
|
||||||
|
* Bug
|
||||||
|
+ MPLUGIN-452: Maven scope warning should be logged at WARN
|
||||||
|
level
|
||||||
|
- Changes of version 3.7.0
|
||||||
|
* Bug
|
||||||
|
+ MPLUGIN-298: The plugin descriptor generated by
|
||||||
|
plugin:descriptor does not consider @ see javadoc taglets
|
||||||
|
+ MPLUGIN-394: Report-Mojo doesn't respect input encoding
|
||||||
|
+ MPLUGIN-403: Generating site reports for plugin results in
|
||||||
|
NoSuchMethodError
|
||||||
|
+ MPLUGIN-404: JDK Requirements in plugin-info.html: Consider
|
||||||
|
property "maven.compiler.release"
|
||||||
|
+ MPLUGIN-420: Parameters documentation inheriting @ since from
|
||||||
|
Mojo can be confusing
|
||||||
|
+ MPLUGIN-428: Don't emit warning for missing javadoc URL of
|
||||||
|
primitives
|
||||||
|
+ MPLUGIN-429: Don't emit warning for missing javadoc URI if no
|
||||||
|
javadoc sources are configured
|
||||||
|
+ MPLUGIN-438: Parameter description should be taken from
|
||||||
|
annotated item
|
||||||
|
* New Feature
|
||||||
|
+ MPLUGIN-9: Add link to javadoc in configuration description
|
||||||
|
page for user defined types of Mojos.
|
||||||
|
+ MPLUGIN-396: Allow only @ Deprecated annotation without @
|
||||||
|
deprecated javadoc tag
|
||||||
|
+ MPLUGIN-400: add system requirements history section
|
||||||
|
+ MPLUGIN-402: report: allow to generate usage section in
|
||||||
|
plugin-info.html with true
|
||||||
|
+ MPLUGIN-419: Allow @ Parameter on setters methods
|
||||||
|
+ MPLUGIN-423: Extract plugin report into its own plugin
|
||||||
|
+ MPLUGIN-427: report: Expose generics information of Collection
|
||||||
|
and Map types
|
||||||
|
* Improvement
|
||||||
|
+ MPLUGIN-297: plugin-info.html should contain a better Usage
|
||||||
|
section
|
||||||
|
+ MPLUGIN-390: Do not overwrite generate files with no content
|
||||||
|
change
|
||||||
|
+ MPLUGIN-393: Upgrade to JUnit 5 and @ Inject annotations
|
||||||
|
+ MPLUGIN-398: Support for java 20 - ASM 9.4
|
||||||
|
+ MPLUGIN-405: Don't print empty Memory, Disk Space in System
|
||||||
|
Requirements
|
||||||
|
+ MPLUGIN-408: simplification in helpmojo build
|
||||||
|
+ MPLUGIN-411: Get rid of plexus-compiler-manager from tests
|
||||||
|
+ MPLUGIN-412: Use Maven core artifacts in provided scope
|
||||||
|
+ MPLUGIN-417: report and descriptor goal need to evaluate
|
||||||
|
Javadoc comments differently
|
||||||
|
+ MPLUGIN-433: Allow to reference aggregator javadoc from plugin
|
||||||
|
report
|
||||||
|
* Task
|
||||||
|
+ MPLUGIN-378: Detect legacy/javadoc Mojo definitions, warn to
|
||||||
|
use Java 5 annotations
|
||||||
|
+ MPLUGIN-389: Update level to Java 8
|
||||||
|
+ MPLUGIN-391: Deprecate scripting support for mojos
|
||||||
|
+ MPLUGIN-406: Deprecate requirements parameter in report Mojo
|
||||||
|
+ MPLUGIN-407: Remove duplicate code from PluginReport
|
||||||
|
+ MPLUGIN-409: Prepare for Doxia (Sitetools) 2.0.0
|
||||||
|
+ MPLUGIN-430: Fix documentation for maven-plugin-report-plugin
|
||||||
|
+ MPLUGIN-431: Remove deprecated items from new
|
||||||
|
maven-plugin-report-plugin
|
||||||
|
+ MPLUGIN-432: Improve site build
|
||||||
|
+ MPLUGIN-434: Improve dependency management
|
||||||
|
+ MPLUGIN-437: Plugin generator generation fails when the parent
|
||||||
|
class comes from a different project
|
||||||
|
* Dependency upgrade
|
||||||
|
+ MPLUGIN-395: Upgrade Maven Reporting API/Impl to 3.1.0
|
||||||
|
+ MPLUGIN-397: Upgrade Parent to 36
|
||||||
|
+ MPLUGIN-399: Upgrade project dependencies after JDK 1.8
|
||||||
|
+ MPLUGIN-413: Bump maven-parent from 36 to 37
|
||||||
|
+ MPLUGIN-415: Upgrade Maven Reporting API to 3.1.1/Maven
|
||||||
|
Reporting Impl to 3.2.0
|
||||||
|
+ MPLUGIN-422: Upgrade plexus-utils to 3.5.0
|
||||||
|
- Changes of version 3.6.4
|
||||||
|
* What's Changed
|
||||||
|
+ MPLUGIN-384: restore compatibility with Maven 3 ecosystem
|
||||||
|
+ MPLUGIN-387: Upgrade dependencies
|
||||||
|
- Changes of version 3.6.3
|
||||||
|
* What's Changed
|
||||||
|
+ MPLUGIN-383: add prerequisites to plugin pom
|
||||||
|
+ MPLUGIN-382: exclude dependency in provided scope from plugin
|
||||||
|
descriptor
|
||||||
|
+ Get rid of String.format use
|
||||||
|
+ Fix this logging as well
|
||||||
|
+ (doc) Simplify documentation
|
||||||
|
+ MPLUGIN-386: Exclude maven-archiver and maven-jxr from warning
|
||||||
|
- Changes of version 3.6.2
|
||||||
|
* What's Changed
|
||||||
|
+ MPLUGIN-374: deprecate unused requiresReports flag
|
||||||
|
+ MPLUGIN-370: Check that Maven dependencies are provided scope
|
||||||
|
+ Update ITs
|
||||||
|
+ use shared gh action
|
||||||
|
+ MPLUGIN-375: deprecate unsupported Mojo descriptor items
|
||||||
|
+ Weed out ITs
|
||||||
|
+ MPLUGIN-377: Upgrade to maven 3.x and avoid using deprecated
|
||||||
|
API
|
||||||
|
+ MPLUGIN-376: Drop legacy dependencies
|
||||||
|
+ use shared gh action - v1
|
||||||
|
+ fix wording in javadoc
|
||||||
|
- Changes of version 3.6.1
|
||||||
|
* What's Changed
|
||||||
|
+ Add missing @OverRide and make methods static
|
||||||
|
+ MPLUGIN-355: Upgrade to JUnit 4.12
|
||||||
|
+ upgrade parent POM and other dependencies
|
||||||
|
+ deps: update plugins
|
||||||
|
+ MPLUGIN-359: upgrade Doxia Sitetools to 1.9.2 to remove
|
||||||
|
dependency on Struts
|
||||||
|
+ MNGSITE-393: remove Maven 2 info
|
||||||
|
+ remove unneeded dependency
|
||||||
|
+ tighten the dependency tree
|
||||||
|
+ ignore .checkstyle
|
||||||
|
+ strict dependencies for maven-plugin-tools-annotations
|
||||||
|
+ (doc) added "help" goal; goal number corrected
|
||||||
|
+ MPLUGIN-368: Improve @execute(goal...) docs
|
||||||
|
+ MPLUGIN-367: Improve @execute(lifecycle...) docs
|
||||||
|
- Modified patches:
|
||||||
|
* maven-plugin-plugin-bootstrap-resouces.patch
|
||||||
|
* regenerate in cycle
|
||||||
|
* 0004-Remove-dependency-on-jtidy.patch
|
||||||
|
-> 0002-Remove-dependency-on-jtidy.patch
|
||||||
|
* regenerate to changed context
|
||||||
|
- Removed patches:
|
||||||
|
* 0001-Avoid-duplicate-MOJO-parameters.patch
|
||||||
|
* 0002-Deal-with-nulls-from-getComment.patch
|
||||||
|
* 0003-Port-to-plexus-utils-3.0.24.patch
|
||||||
|
+ not needed with this version
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Sep 3 11:06:31 UTC 2023 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Download sources from https://repo1.maven.org
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 24 21:05:56 UTC 2023 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Added patch:
|
||||||
|
* 0004-Remove-dependency-on-jtidy.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 13 09:17:09 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Fix build with modello 2.0.0
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 25 10:25:11 UTC 2019 - Fridrich Strba <fstrba@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
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 29 17:04:37 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Initial packaging of a bootstrap version of maven-plugin-plugin
|
||||||
|
version 3.5.1
|
||||||
|
- Added patch:
|
||||||
|
* maven-plugin-plugin-bootstrap-resouces.patch
|
||||||
|
+ Add to the build pre-generated resources that need, in a
|
||||||
|
circular way, maven and maven-plugin-plugin for their
|
||||||
|
generation.
|
110
maven-plugin-plugin-bootstrap.spec
Normal file
110
maven-plugin-plugin-bootstrap.spec
Normal file
@ -0,0 +1,110 @@
|
|||||||
|
#
|
||||||
|
# spec file for package maven-plugin-plugin-bootstrap
|
||||||
|
#
|
||||||
|
# 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
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%global base_name maven-plugin-tools
|
||||||
|
%global artifactId maven-plugin-plugin
|
||||||
|
Name: %{artifactId}-bootstrap
|
||||||
|
Version: 3.15.0
|
||||||
|
Release: 0
|
||||||
|
Summary: Maven Plugin Plugin
|
||||||
|
License: Apache-2.0
|
||||||
|
Group: Development/Libraries/Java
|
||||||
|
URL: https://maven.apache.org/plugin-tools/
|
||||||
|
Source0: https://repo1.maven.org/maven2/org/apache/maven/plugin-tools/%{base_name}/%{version}/%{base_name}-%{version}-source-release.zip
|
||||||
|
Source1: %{base_name}-build.tar.xz
|
||||||
|
Patch0: 0002-Remove-dependency-on-jtidy.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.
|
||||||
|
Patch20: maven-plugin-plugin-bootstrap-resouces.patch
|
||||||
|
BuildRequires: ant
|
||||||
|
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: maven-resolver-util
|
||||||
|
BuildRequires: plexus-build-api0
|
||||||
|
BuildRequires: plexus-utils
|
||||||
|
BuildRequires: plexus-velocity
|
||||||
|
BuildRequires: sisu-plexus
|
||||||
|
BuildRequires: unzip
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description
|
||||||
|
The Plugin Plugin is used to create a Maven plugin descriptor for any Mojo's
|
||||||
|
found in the source tree, to include in the JAR. It is also used to generate
|
||||||
|
Xdoc files for the Mojos as well as for updating the plugin registry, the
|
||||||
|
artifact metadata and a generic help goal.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{base_name}-%{version} -a1
|
||||||
|
%patch -P 0 -p1
|
||||||
|
%patch -P 20
|
||||||
|
|
||||||
|
%pom_remove_plugin -r :maven-enforcer-plugin
|
||||||
|
|
||||||
|
%pom_xpath_inject "pom:project/pom:properties" "
|
||||||
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>"
|
||||||
|
|
||||||
|
%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
|
||||||
|
|
||||||
|
%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-resolver/maven-resolver-api \
|
||||||
|
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
|
||||||
|
popd
|
||||||
|
|
||||||
|
%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
|
||||||
|
|
||||||
|
%changelog
|
296
maven-plugin-plugin.changes
Normal file
296
maven-plugin-plugin.changes
Normal file
@ -0,0 +1,296 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
||||||
|
|
||||||
|
- Upgrade to upstream version 3.9.0
|
||||||
|
- Changes of version 3.9.0
|
||||||
|
* Bug
|
||||||
|
+ MPLUGIN-470: *-mojo.xml (in PluginXdocGenerator) is
|
||||||
|
overwritten when multiple locales are defined
|
||||||
|
+ MPLUGIN-471: Generated table by PluginXdocGenerator does not
|
||||||
|
contain default attributes
|
||||||
|
* Improvement
|
||||||
|
+ MPLUGIN-469: Omit empty line in generated help goal output if
|
||||||
|
plugin description is empty
|
||||||
|
+ MPLUGIN-472: Use Plexus I18N rather than fiddling with
|
||||||
|
* Task
|
||||||
|
+ MPLUGIN-467: Remove reporting from maven-plugin-plugin: create
|
||||||
|
maven-plugin-report-plugin
|
||||||
|
* Dependency upgrade
|
||||||
|
+ MPLUGIN-468: Upgrade plugins and components (in ITs)
|
||||||
|
- Changes of version 3.8.2
|
||||||
|
* Improvement
|
||||||
|
+ MPLUGIN-457: Use Resolver API, get rid of localRepository
|
||||||
|
* Dependency upgrade
|
||||||
|
+ MPLUGIN-458: Bump httpcore from 4.4.15 to 4.4.16
|
||||||
|
+ MPLUGIN-459: Bump httpclient from 4.5.13 to 4.5.14
|
||||||
|
+ MPLUGIN-460: Bump antVersion from 1.10.12 to 1.10.13
|
||||||
|
+ MPLUGIN-461: Bump slf4jVersion from 1.7.5 to 1.7.36
|
||||||
|
+ MPLUGIN-462: Bump plexus-java from 1.1.1 to 1.1.2
|
||||||
|
+ MPLUGIN-463: Bump plexus-archiver from 4.6.1 to 4.6.3
|
||||||
|
+ MPLUGIN-464: Bump jsoup from 1.15.3 to 1.15.4
|
||||||
|
+ MPLUGIN-465: Bump asmVersion from 9.4 to 9.5
|
||||||
|
+ MPLUGIN-466: Bump assertj-core from 3.23.1 to 3.24.2
|
||||||
|
- Changes of version 3.8.1
|
||||||
|
* Bug
|
||||||
|
+ MPLUGIN-443: Javadoc reference containing a link label with
|
||||||
|
spaces are not detected
|
||||||
|
+ MPLUGIN-444: JavadocLinkGenerator.createLink: Support nested
|
||||||
|
binary class names
|
||||||
|
+ MPLUGIN-446: ERROR during build of m-plugin-report-p and
|
||||||
|
m-plugin-p: Dependencies in wrong scope
|
||||||
|
+ MPLUGIN-448: "Executes as an aggregator plugin" documentation:
|
||||||
|
s/plugin/goal/
|
||||||
|
+ MPLUGIN-452: Maven scope warning should be logged at WARN
|
||||||
|
level
|
||||||
|
+ MPLUGIN-453: Fix Temporary File Information Disclosure
|
||||||
|
Vulnerability
|
||||||
|
* New Feature
|
||||||
|
+ MPLUGIN-441: Support mojos using the new maven v4 api
|
||||||
|
* Improvement
|
||||||
|
+ MPLUGIN-425: Plugin descriptor should contain the
|
||||||
|
requiredJavaVersion/requiredMavenVersion
|
||||||
|
+ MPLUGIN-439: Execute annotation only supports standard
|
||||||
|
lifecycle phases due to use of enum
|
||||||
|
+ MPLUGIN-440: Clarify deprecation of all extractors but the
|
||||||
|
maven-plugin-tools-annotations
|
||||||
|
* Dependency upgrade
|
||||||
|
+ MPLUGIN-447: Update to Maven Parent POM 39
|
||||||
|
+ MPLUGIN-454: Bump junit-bom from 5.9.1 to 5.9.2
|
||||||
|
+ MPLUGIN-455: Bump plexus-archiver from 4.5.0 to 4.6.1
|
||||||
|
- Changes of version 3.7.1
|
||||||
|
* Bug
|
||||||
|
+ MPLUGIN-452: Maven scope warning should be logged at WARN
|
||||||
|
level
|
||||||
|
- Changes of version 3.7.0
|
||||||
|
* Bug
|
||||||
|
+ MPLUGIN-298: The plugin descriptor generated by
|
||||||
|
plugin:descriptor does not consider @ see javadoc taglets
|
||||||
|
+ MPLUGIN-394: Report-Mojo doesn't respect input encoding
|
||||||
|
+ MPLUGIN-403: Generating site reports for plugin results in
|
||||||
|
NoSuchMethodError
|
||||||
|
+ MPLUGIN-404: JDK Requirements in plugin-info.html: Consider
|
||||||
|
property "maven.compiler.release"
|
||||||
|
+ MPLUGIN-420: Parameters documentation inheriting @ since from
|
||||||
|
Mojo can be confusing
|
||||||
|
+ MPLUGIN-428: Don't emit warning for missing javadoc URL of
|
||||||
|
primitives
|
||||||
|
+ MPLUGIN-429: Don't emit warning for missing javadoc URI if no
|
||||||
|
javadoc sources are configured
|
||||||
|
+ MPLUGIN-438: Parameter description should be taken from
|
||||||
|
annotated item
|
||||||
|
* New Feature
|
||||||
|
+ MPLUGIN-9: Add link to javadoc in configuration description
|
||||||
|
page for user defined types of Mojos.
|
||||||
|
+ MPLUGIN-396: Allow only @ Deprecated annotation without @
|
||||||
|
deprecated javadoc tag
|
||||||
|
+ MPLUGIN-400: add system requirements history section
|
||||||
|
+ MPLUGIN-402: report: allow to generate usage section in
|
||||||
|
plugin-info.html with true
|
||||||
|
+ MPLUGIN-419: Allow @ Parameter on setters methods
|
||||||
|
+ MPLUGIN-423: Extract plugin report into its own plugin
|
||||||
|
+ MPLUGIN-427: report: Expose generics information of Collection
|
||||||
|
and Map types
|
||||||
|
* Improvement
|
||||||
|
+ MPLUGIN-297: plugin-info.html should contain a better Usage
|
||||||
|
section
|
||||||
|
+ MPLUGIN-390: Do not overwrite generate files with no content
|
||||||
|
change
|
||||||
|
+ MPLUGIN-393: Upgrade to JUnit 5 and @ Inject annotations
|
||||||
|
+ MPLUGIN-398: Support for java 20 - ASM 9.4
|
||||||
|
+ MPLUGIN-405: Don't print empty Memory, Disk Space in System
|
||||||
|
Requirements
|
||||||
|
+ MPLUGIN-408: simplification in helpmojo build
|
||||||
|
+ MPLUGIN-411: Get rid of plexus-compiler-manager from tests
|
||||||
|
+ MPLUGIN-412: Use Maven core artifacts in provided scope
|
||||||
|
+ MPLUGIN-417: report and descriptor goal need to evaluate
|
||||||
|
Javadoc comments differently
|
||||||
|
+ MPLUGIN-433: Allow to reference aggregator javadoc from plugin
|
||||||
|
report
|
||||||
|
* Task
|
||||||
|
+ MPLUGIN-378: Detect legacy/javadoc Mojo definitions, warn to
|
||||||
|
use Java 5 annotations
|
||||||
|
+ MPLUGIN-389: Update level to Java 8
|
||||||
|
+ MPLUGIN-391: Deprecate scripting support for mojos
|
||||||
|
+ MPLUGIN-406: Deprecate requirements parameter in report Mojo
|
||||||
|
+ MPLUGIN-407: Remove duplicate code from PluginReport
|
||||||
|
+ MPLUGIN-409: Prepare for Doxia (Sitetools) 2.0.0
|
||||||
|
+ MPLUGIN-430: Fix documentation for maven-plugin-report-plugin
|
||||||
|
+ MPLUGIN-431: Remove deprecated items from new
|
||||||
|
maven-plugin-report-plugin
|
||||||
|
+ MPLUGIN-432: Improve site build
|
||||||
|
+ MPLUGIN-434: Improve dependency management
|
||||||
|
+ MPLUGIN-437: Plugin generator generation fails when the parent
|
||||||
|
class comes from a different project
|
||||||
|
* Dependency upgrade
|
||||||
|
+ MPLUGIN-395: Upgrade Maven Reporting API/Impl to 3.1.0
|
||||||
|
+ MPLUGIN-397: Upgrade Parent to 36
|
||||||
|
+ MPLUGIN-399: Upgrade project dependencies after JDK 1.8
|
||||||
|
+ MPLUGIN-413: Bump maven-parent from 36 to 37
|
||||||
|
+ MPLUGIN-415: Upgrade Maven Reporting API to 3.1.1/Maven
|
||||||
|
Reporting Impl to 3.2.0
|
||||||
|
+ MPLUGIN-422: Upgrade plexus-utils to 3.5.0
|
||||||
|
- Changes of version 3.6.4
|
||||||
|
* What's Changed
|
||||||
|
+ MPLUGIN-384: restore compatibility with Maven 3 ecosystem
|
||||||
|
+ MPLUGIN-387: Upgrade dependencies
|
||||||
|
- Changes of version 3.6.3
|
||||||
|
* What's Changed
|
||||||
|
+ MPLUGIN-383: add prerequisites to plugin pom
|
||||||
|
+ MPLUGIN-382: exclude dependency in provided scope from plugin
|
||||||
|
descriptor
|
||||||
|
+ Get rid of String.format use
|
||||||
|
+ Fix this logging as well
|
||||||
|
+ (doc) Simplify documentation
|
||||||
|
+ MPLUGIN-386: Exclude maven-archiver and maven-jxr from warning
|
||||||
|
- Changes of version 3.6.2
|
||||||
|
* What's Changed
|
||||||
|
+ MPLUGIN-374: deprecate unused requiresReports flag
|
||||||
|
+ MPLUGIN-370: Check that Maven dependencies are provided scope
|
||||||
|
+ Update ITs
|
||||||
|
+ use shared gh action
|
||||||
|
+ MPLUGIN-375: deprecate unsupported Mojo descriptor items
|
||||||
|
+ Weed out ITs
|
||||||
|
+ MPLUGIN-377: Upgrade to maven 3.x and avoid using deprecated
|
||||||
|
API
|
||||||
|
+ MPLUGIN-376: Drop legacy dependencies
|
||||||
|
+ use shared gh action - v1
|
||||||
|
+ fix wording in javadoc
|
||||||
|
- Changes of version 3.6.1
|
||||||
|
* What's Changed
|
||||||
|
+ Add missing @OverRide and make methods static
|
||||||
|
+ MPLUGIN-355: Upgrade to JUnit 4.12
|
||||||
|
+ upgrade parent POM and other dependencies
|
||||||
|
+ deps: update plugins
|
||||||
|
+ MPLUGIN-359: upgrade Doxia Sitetools to 1.9.2 to remove
|
||||||
|
dependency on Struts
|
||||||
|
+ MNGSITE-393: remove Maven 2 info
|
||||||
|
+ remove unneeded dependency
|
||||||
|
+ tighten the dependency tree
|
||||||
|
+ ignore .checkstyle
|
||||||
|
+ strict dependencies for maven-plugin-tools-annotations
|
||||||
|
+ (doc) added "help" goal; goal number corrected
|
||||||
|
+ MPLUGIN-368: Improve @execute(goal...) docs
|
||||||
|
+ MPLUGIN-367: Improve @execute(lifecycle...) docs
|
||||||
|
- Modified patches:
|
||||||
|
* maven-plugin-plugin-bootstrap-resouces.patch
|
||||||
|
* regenerate in cycle
|
||||||
|
* 0004-Remove-dependency-on-jtidy.patch
|
||||||
|
-> 0002-Remove-dependency-on-jtidy.patch
|
||||||
|
* regenerate to changed context
|
||||||
|
- Removed patches:
|
||||||
|
* 0001-Avoid-duplicate-MOJO-parameters.patch
|
||||||
|
* 0002-Deal-with-nulls-from-getComment.patch
|
||||||
|
* 0003-Port-to-plexus-utils-3.0.24.patch
|
||||||
|
+ not needed with this version
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Sep 3 11:06:31 UTC 2023 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Download sources from https://repo1.maven.org
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 24 21:05:56 UTC 2023 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Added patch:
|
||||||
|
* 0004-Remove-dependency-on-jtidy.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 25 10:29:02 UTC 2019 - Fridrich Strba <fstrba@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
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Nov 24 17:30:49 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Specify maven.compiler.release to fix build with jdk9+ and newer
|
||||||
|
maven-javadoc-plugin
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 3 09:16:17 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Initial packaging of the non-bootstrap version of
|
||||||
|
maven-plugin-plugin 3.5.1
|
107
maven-plugin-plugin.spec
Normal file
107
maven-plugin-plugin.spec
Normal file
@ -0,0 +1,107 @@
|
|||||||
|
#
|
||||||
|
# spec file for package maven-plugin-plugin
|
||||||
|
#
|
||||||
|
# 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
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%global base_name maven-plugin-tools
|
||||||
|
Name: maven-plugin-plugin
|
||||||
|
Version: 3.15.0
|
||||||
|
Release: 0
|
||||||
|
Summary: Maven Plugin Plugin
|
||||||
|
License: Apache-2.0
|
||||||
|
Group: Development/Libraries/Java
|
||||||
|
URL: https://maven.apache.org/plugin-tools/
|
||||||
|
Source0: https://repo1.maven.org/maven2/org/apache/maven/plugin-tools/%{base_name}/%{version}/%{base_name}-%{version}-source-release.zip
|
||||||
|
Patch0: 0002-Remove-dependency-on-jtidy.patch
|
||||||
|
BuildRequires: fdupes
|
||||||
|
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-api)
|
||||||
|
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)
|
||||||
|
BuildRequires: mvn(org.apache.maven:maven-artifact)
|
||||||
|
BuildRequires: mvn(org.apache.maven:maven-core)
|
||||||
|
BuildRequires: mvn(org.apache.maven:maven-model)
|
||||||
|
BuildRequires: mvn(org.apache.maven:maven-parent:pom:)
|
||||||
|
BuildRequires: mvn(org.apache.maven:maven-plugin-api)
|
||||||
|
BuildRequires: mvn(org.apache.maven:maven-repository-metadata)
|
||||||
|
BuildRequires: mvn(org.codehaus.plexus:plexus-utils)
|
||||||
|
BuildRequires: mvn(org.codehaus.plexus:plexus-velocity)
|
||||||
|
BuildRequires: mvn(org.eclipse.sisu:org.eclipse.sisu.plexus)
|
||||||
|
BuildRequires: mvn(org.sonatype.plexus:plexus-build-api)
|
||||||
|
Obsoletes: %{name}-bootstrap
|
||||||
|
#!BuildRequires: maven-compiler-plugin-bootstrap
|
||||||
|
#!BuildRequires: maven-jar-plugin-bootstrap
|
||||||
|
#!BuildRequires: maven-plugin-plugin-bootstrap
|
||||||
|
#!BuildRequires: maven-resources-plugin-bootstrap
|
||||||
|
#!BuildRequires: maven-surefire-plugin-bootstrap
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description
|
||||||
|
The Plugin Plugin is used to create a Maven plugin descriptor for any Mojo's
|
||||||
|
found in the source tree, to include in the JAR. It is also used to generate
|
||||||
|
Xdoc files for the Mojos as well as for updating the plugin registry, the
|
||||||
|
artifact metadata and a generic help goal.
|
||||||
|
|
||||||
|
%package javadoc
|
||||||
|
Summary: Javadoc for %{name}
|
||||||
|
Group: Development/Libraries/Java
|
||||||
|
|
||||||
|
%description javadoc
|
||||||
|
API documentation for %{name}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{base_name}-%{version}
|
||||||
|
%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>"
|
||||||
|
|
||||||
|
%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
|
||||||
|
|
||||||
|
%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=8 \
|
||||||
|
%endif
|
||||||
|
-Dsource=8
|
||||||
|
|
||||||
|
popd
|
||||||
|
|
||||||
|
%install
|
||||||
|
pushd %{name}
|
||||||
|
%mvn_install
|
||||||
|
%fdupes -s %{buildroot}%{_javadocdir}
|
||||||
|
popd
|
||||||
|
|
||||||
|
%files -f %{name}/.mfiles
|
||||||
|
%license LICENSE NOTICE
|
||||||
|
|
||||||
|
%files javadoc -f %{name}/.mfiles-javadoc
|
||||||
|
%license LICENSE NOTICE
|
||||||
|
|
||||||
|
%changelog
|
BIN
maven-plugin-tools-3.13.0-source-release.zip
(Stored with Git LFS)
Normal file
BIN
maven-plugin-tools-3.13.0-source-release.zip
(Stored with Git LFS)
Normal file
Binary file not shown.
3
maven-plugin-tools-3.15.0-source-release.zip
Normal file
3
maven-plugin-tools-3.15.0-source-release.zip
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:637953ec684b534556d67b5c21969865e3485b2d92ff26356d2fe253736382c5
|
||||||
|
size 2012813
|
3
maven-plugin-tools-build.tar.xz
Normal file
3
maven-plugin-tools-build.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:54c6375b875f520359b046c261da8056dcaf894ca092c96ee835dd0e373c4622
|
||||||
|
size 4820
|
324
maven-plugin-tools.changes
Normal file
324
maven-plugin-tools.changes
Normal file
@ -0,0 +1,324 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
||||||
|
|
||||||
|
- Upgrade to upstream version 3.9.0
|
||||||
|
- Changes of version 3.9.0
|
||||||
|
* Bug
|
||||||
|
+ MPLUGIN-470: *-mojo.xml (in PluginXdocGenerator) is
|
||||||
|
overwritten when multiple locales are defined
|
||||||
|
+ MPLUGIN-471: Generated table by PluginXdocGenerator does not
|
||||||
|
contain default attributes
|
||||||
|
* Improvement
|
||||||
|
+ MPLUGIN-469: Omit empty line in generated help goal output if
|
||||||
|
plugin description is empty
|
||||||
|
+ MPLUGIN-472: Use Plexus I18N rather than fiddling with
|
||||||
|
* Task
|
||||||
|
+ MPLUGIN-467: Remove reporting from maven-plugin-plugin: create
|
||||||
|
maven-plugin-report-plugin
|
||||||
|
* Dependency upgrade
|
||||||
|
+ MPLUGIN-468: Upgrade plugins and components (in ITs)
|
||||||
|
- Changes of version 3.8.2
|
||||||
|
* Improvement
|
||||||
|
+ MPLUGIN-457: Use Resolver API, get rid of localRepository
|
||||||
|
* Dependency upgrade
|
||||||
|
+ MPLUGIN-458: Bump httpcore from 4.4.15 to 4.4.16
|
||||||
|
+ MPLUGIN-459: Bump httpclient from 4.5.13 to 4.5.14
|
||||||
|
+ MPLUGIN-460: Bump antVersion from 1.10.12 to 1.10.13
|
||||||
|
+ MPLUGIN-461: Bump slf4jVersion from 1.7.5 to 1.7.36
|
||||||
|
+ MPLUGIN-462: Bump plexus-java from 1.1.1 to 1.1.2
|
||||||
|
+ MPLUGIN-463: Bump plexus-archiver from 4.6.1 to 4.6.3
|
||||||
|
+ MPLUGIN-464: Bump jsoup from 1.15.3 to 1.15.4
|
||||||
|
+ MPLUGIN-465: Bump asmVersion from 9.4 to 9.5
|
||||||
|
+ MPLUGIN-466: Bump assertj-core from 3.23.1 to 3.24.2
|
||||||
|
- Changes of version 3.8.1
|
||||||
|
* Bug
|
||||||
|
+ MPLUGIN-443: Javadoc reference containing a link label with
|
||||||
|
spaces are not detected
|
||||||
|
+ MPLUGIN-444: JavadocLinkGenerator.createLink: Support nested
|
||||||
|
binary class names
|
||||||
|
+ MPLUGIN-446: ERROR during build of m-plugin-report-p and
|
||||||
|
m-plugin-p: Dependencies in wrong scope
|
||||||
|
+ MPLUGIN-448: "Executes as an aggregator plugin" documentation:
|
||||||
|
s/plugin/goal/
|
||||||
|
+ MPLUGIN-452: Maven scope warning should be logged at WARN
|
||||||
|
level
|
||||||
|
+ MPLUGIN-453: Fix Temporary File Information Disclosure
|
||||||
|
Vulnerability
|
||||||
|
* New Feature
|
||||||
|
+ MPLUGIN-441: Support mojos using the new maven v4 api
|
||||||
|
* Improvement
|
||||||
|
+ MPLUGIN-425: Plugin descriptor should contain the
|
||||||
|
requiredJavaVersion/requiredMavenVersion
|
||||||
|
+ MPLUGIN-439: Execute annotation only supports standard
|
||||||
|
lifecycle phases due to use of enum
|
||||||
|
+ MPLUGIN-440: Clarify deprecation of all extractors but the
|
||||||
|
maven-plugin-tools-annotations
|
||||||
|
* Dependency upgrade
|
||||||
|
+ MPLUGIN-447: Update to Maven Parent POM 39
|
||||||
|
+ MPLUGIN-454: Bump junit-bom from 5.9.1 to 5.9.2
|
||||||
|
+ MPLUGIN-455: Bump plexus-archiver from 4.5.0 to 4.6.1
|
||||||
|
- Changes of version 3.7.1
|
||||||
|
* Bug
|
||||||
|
+ MPLUGIN-452: Maven scope warning should be logged at WARN
|
||||||
|
level
|
||||||
|
- Changes of version 3.7.0
|
||||||
|
* Bug
|
||||||
|
+ MPLUGIN-298: The plugin descriptor generated by
|
||||||
|
plugin:descriptor does not consider @ see javadoc taglets
|
||||||
|
+ MPLUGIN-394: Report-Mojo doesn't respect input encoding
|
||||||
|
+ MPLUGIN-403: Generating site reports for plugin results in
|
||||||
|
NoSuchMethodError
|
||||||
|
+ MPLUGIN-404: JDK Requirements in plugin-info.html: Consider
|
||||||
|
property "maven.compiler.release"
|
||||||
|
+ MPLUGIN-420: Parameters documentation inheriting @ since from
|
||||||
|
Mojo can be confusing
|
||||||
|
+ MPLUGIN-428: Don't emit warning for missing javadoc URL of
|
||||||
|
primitives
|
||||||
|
+ MPLUGIN-429: Don't emit warning for missing javadoc URI if no
|
||||||
|
javadoc sources are configured
|
||||||
|
+ MPLUGIN-438: Parameter description should be taken from
|
||||||
|
annotated item
|
||||||
|
* New Feature
|
||||||
|
+ MPLUGIN-9: Add link to javadoc in configuration description
|
||||||
|
page for user defined types of Mojos.
|
||||||
|
+ MPLUGIN-396: Allow only @ Deprecated annotation without @
|
||||||
|
deprecated javadoc tag
|
||||||
|
+ MPLUGIN-400: add system requirements history section
|
||||||
|
+ MPLUGIN-402: report: allow to generate usage section in
|
||||||
|
plugin-info.html with true
|
||||||
|
+ MPLUGIN-419: Allow @ Parameter on setters methods
|
||||||
|
+ MPLUGIN-423: Extract plugin report into its own plugin
|
||||||
|
+ MPLUGIN-427: report: Expose generics information of Collection
|
||||||
|
and Map types
|
||||||
|
* Improvement
|
||||||
|
+ MPLUGIN-297: plugin-info.html should contain a better Usage
|
||||||
|
section
|
||||||
|
+ MPLUGIN-390: Do not overwrite generate files with no content
|
||||||
|
change
|
||||||
|
+ MPLUGIN-393: Upgrade to JUnit 5 and @ Inject annotations
|
||||||
|
+ MPLUGIN-398: Support for java 20 - ASM 9.4
|
||||||
|
+ MPLUGIN-405: Don't print empty Memory, Disk Space in System
|
||||||
|
Requirements
|
||||||
|
+ MPLUGIN-408: simplification in helpmojo build
|
||||||
|
+ MPLUGIN-411: Get rid of plexus-compiler-manager from tests
|
||||||
|
+ MPLUGIN-412: Use Maven core artifacts in provided scope
|
||||||
|
+ MPLUGIN-417: report and descriptor goal need to evaluate
|
||||||
|
Javadoc comments differently
|
||||||
|
+ MPLUGIN-433: Allow to reference aggregator javadoc from plugin
|
||||||
|
report
|
||||||
|
* Task
|
||||||
|
+ MPLUGIN-378: Detect legacy/javadoc Mojo definitions, warn to
|
||||||
|
use Java 5 annotations
|
||||||
|
+ MPLUGIN-389: Update level to Java 8
|
||||||
|
+ MPLUGIN-391: Deprecate scripting support for mojos
|
||||||
|
+ MPLUGIN-406: Deprecate requirements parameter in report Mojo
|
||||||
|
+ MPLUGIN-407: Remove duplicate code from PluginReport
|
||||||
|
+ MPLUGIN-409: Prepare for Doxia (Sitetools) 2.0.0
|
||||||
|
+ MPLUGIN-430: Fix documentation for maven-plugin-report-plugin
|
||||||
|
+ MPLUGIN-431: Remove deprecated items from new
|
||||||
|
maven-plugin-report-plugin
|
||||||
|
+ MPLUGIN-432: Improve site build
|
||||||
|
+ MPLUGIN-434: Improve dependency management
|
||||||
|
+ MPLUGIN-437: Plugin generator generation fails when the parent
|
||||||
|
class comes from a different project
|
||||||
|
* Dependency upgrade
|
||||||
|
+ MPLUGIN-395: Upgrade Maven Reporting API/Impl to 3.1.0
|
||||||
|
+ MPLUGIN-397: Upgrade Parent to 36
|
||||||
|
+ MPLUGIN-399: Upgrade project dependencies after JDK 1.8
|
||||||
|
+ MPLUGIN-413: Bump maven-parent from 36 to 37
|
||||||
|
+ MPLUGIN-415: Upgrade Maven Reporting API to 3.1.1/Maven
|
||||||
|
Reporting Impl to 3.2.0
|
||||||
|
+ MPLUGIN-422: Upgrade plexus-utils to 3.5.0
|
||||||
|
- Changes of version 3.6.4
|
||||||
|
* What's Changed
|
||||||
|
+ MPLUGIN-384: restore compatibility with Maven 3 ecosystem
|
||||||
|
+ MPLUGIN-387: Upgrade dependencies
|
||||||
|
- Changes of version 3.6.3
|
||||||
|
* What's Changed
|
||||||
|
+ MPLUGIN-383: add prerequisites to plugin pom
|
||||||
|
+ MPLUGIN-382: exclude dependency in provided scope from plugin
|
||||||
|
descriptor
|
||||||
|
+ Get rid of String.format use
|
||||||
|
+ Fix this logging as well
|
||||||
|
+ (doc) Simplify documentation
|
||||||
|
+ MPLUGIN-386: Exclude maven-archiver and maven-jxr from warning
|
||||||
|
- Changes of version 3.6.2
|
||||||
|
* What's Changed
|
||||||
|
+ MPLUGIN-374: deprecate unused requiresReports flag
|
||||||
|
+ MPLUGIN-370: Check that Maven dependencies are provided scope
|
||||||
|
+ Update ITs
|
||||||
|
+ use shared gh action
|
||||||
|
+ MPLUGIN-375: deprecate unsupported Mojo descriptor items
|
||||||
|
+ Weed out ITs
|
||||||
|
+ MPLUGIN-377: Upgrade to maven 3.x and avoid using deprecated
|
||||||
|
API
|
||||||
|
+ MPLUGIN-376: Drop legacy dependencies
|
||||||
|
+ use shared gh action - v1
|
||||||
|
+ fix wording in javadoc
|
||||||
|
- Changes of version 3.6.1
|
||||||
|
* What's Changed
|
||||||
|
+ Add missing @OverRide and make methods static
|
||||||
|
+ MPLUGIN-355: Upgrade to JUnit 4.12
|
||||||
|
+ upgrade parent POM and other dependencies
|
||||||
|
+ deps: update plugins
|
||||||
|
+ MPLUGIN-359: upgrade Doxia Sitetools to 1.9.2 to remove
|
||||||
|
dependency on Struts
|
||||||
|
+ MNGSITE-393: remove Maven 2 info
|
||||||
|
+ remove unneeded dependency
|
||||||
|
+ tighten the dependency tree
|
||||||
|
+ ignore .checkstyle
|
||||||
|
+ strict dependencies for maven-plugin-tools-annotations
|
||||||
|
+ (doc) added "help" goal; goal number corrected
|
||||||
|
+ MPLUGIN-368: Improve @execute(goal...) docs
|
||||||
|
+ MPLUGIN-367: Improve @execute(lifecycle...) docs
|
||||||
|
- Modified patches:
|
||||||
|
* maven-plugin-plugin-bootstrap-resouces.patch
|
||||||
|
* regenerate in cycle
|
||||||
|
* 0004-Remove-dependency-on-jtidy.patch
|
||||||
|
-> 0002-Remove-dependency-on-jtidy.patch
|
||||||
|
* regenerate to changed context
|
||||||
|
- Removed patches:
|
||||||
|
* 0001-Avoid-duplicate-MOJO-parameters.patch
|
||||||
|
* 0002-Deal-with-nulls-from-getComment.patch
|
||||||
|
* 0003-Port-to-plexus-utils-3.0.24.patch
|
||||||
|
+ not needed with this version
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Sep 3 11:06:31 UTC 2023 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Download sources from https://repo1.maven.org
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Sep 3 05:52:11 UTC 2023 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Fix build with javapackages-local 6.2.0
|
||||||
|
* com.sun:tools is not resolved from system any more
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 24 21:05:56 UTC 2023 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Added patch:
|
||||||
|
* 0004-Remove-dependency-on-jtidy.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 5 08:28:11 UTC 2023 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Add _multibuild to define 2nd spec file as additional flavor.
|
||||||
|
Eliminates the need for source package links in OBS.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 13 09:16:46 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Fix build with modello 2.0.0
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 7 11:01:23 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Do not force building with java-1_8_0-openjdk, since the package
|
||||||
|
builds just fine with higher versions.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 11 15:18:26 UTC 2021 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Do not build against the legacy guava20 package any more
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 25 10:18:49 UTC 2019 - Fridrich Strba <fstrba@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
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 29 13:22:25 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Initial packaging of maven-plugin-tools 3.5.1
|
||||||
|
- Generate and customize ant build files
|
||||||
|
- Do not build maven-plugin-plugin in this spec, since it has
|
||||||
|
circular dependency on itself
|
259
maven-plugin-tools.spec
Normal file
259
maven-plugin-tools.spec
Normal file
@ -0,0 +1,259 @@
|
|||||||
|
#
|
||||||
|
# spec file for package maven-plugin-tools
|
||||||
|
#
|
||||||
|
# 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
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: maven-plugin-tools
|
||||||
|
Version: 3.15.0
|
||||||
|
Release: 0
|
||||||
|
Summary: Maven Plugin Tools
|
||||||
|
License: Apache-2.0
|
||||||
|
Group: Development/Libraries/Java
|
||||||
|
URL: https://maven.apache.org/plugin-tools/
|
||||||
|
Source0: https://repo1.maven.org/maven2/org/apache/maven/plugin-tools/%{name}/%{version}/%{name}-%{version}-source-release.zip
|
||||||
|
Source1: %{name}-build.tar.xz
|
||||||
|
Patch0: 0002-Remove-dependency-on-jtidy.patch
|
||||||
|
BuildRequires: ant
|
||||||
|
BuildRequires: atinject
|
||||||
|
BuildRequires: bsh2
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: httpcomponents-client
|
||||||
|
BuildRequires: httpcomponents-core
|
||||||
|
BuildRequires: java-devel >= 1.8
|
||||||
|
BuildRequires: javapackages-local >= 6
|
||||||
|
BuildRequires: jsoup
|
||||||
|
BuildRequires: maven-lib
|
||||||
|
BuildRequires: maven-reporting-api
|
||||||
|
BuildRequires: maven-resolver-api
|
||||||
|
BuildRequires: maven-wagon-provider-api
|
||||||
|
BuildRequires: modello >= 2.0.0
|
||||||
|
BuildRequires: objectweb-asm >= 9.7
|
||||||
|
BuildRequires: plexus-ant-factory
|
||||||
|
BuildRequires: plexus-archiver
|
||||||
|
BuildRequires: plexus-bsh-factory
|
||||||
|
BuildRequires: plexus-classworlds
|
||||||
|
BuildRequires: plexus-languages
|
||||||
|
BuildRequires: plexus-utils
|
||||||
|
BuildRequires: plexus-velocity
|
||||||
|
BuildRequires: plexus-xml
|
||||||
|
BuildRequires: qdox
|
||||||
|
BuildRequires: sisu-inject
|
||||||
|
BuildRequires: sisu-plexus
|
||||||
|
BuildRequires: slf4j
|
||||||
|
BuildRequires: unzip
|
||||||
|
BuildRequires: velocity
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description
|
||||||
|
The Maven Plugin Tools contains the necessary tools to be able to produce Maven
|
||||||
|
Plugins in a variety of languages.
|
||||||
|
|
||||||
|
%package -n maven-plugin-annotations
|
||||||
|
Summary: Maven Plugin Java 5 Annotations
|
||||||
|
Group: Development/Libraries/Java
|
||||||
|
|
||||||
|
%description -n maven-plugin-annotations
|
||||||
|
This package contains Java 5 annotations to use in Mojos.
|
||||||
|
|
||||||
|
%package annotations
|
||||||
|
Summary: Maven Plugin Tool for Annotations
|
||||||
|
Group: Development/Libraries/Java
|
||||||
|
|
||||||
|
%description annotations
|
||||||
|
This package provides Java 5 annotation tools for use with Apache Maven.
|
||||||
|
|
||||||
|
%package ant
|
||||||
|
Summary: Maven Plugin Tool for Ant
|
||||||
|
Group: Development/Libraries/Java
|
||||||
|
|
||||||
|
%description ant
|
||||||
|
Descriptor extractor for plugins written in Ant.
|
||||||
|
|
||||||
|
%package api
|
||||||
|
Summary: Maven Plugin Tools APIs
|
||||||
|
Group: Development/Libraries/Java
|
||||||
|
|
||||||
|
%description api
|
||||||
|
The Maven Plugin Tools API provides an API to extract information from
|
||||||
|
and generate documentation for Maven Plugins.
|
||||||
|
|
||||||
|
%package beanshell
|
||||||
|
Summary: Maven Plugin Tool for Beanshell
|
||||||
|
Group: Development/Libraries/Java
|
||||||
|
|
||||||
|
%description beanshell
|
||||||
|
Descriptor extractor for plugins written in Beanshell.
|
||||||
|
|
||||||
|
%package generators
|
||||||
|
Summary: Maven Plugin Tools Generators
|
||||||
|
Group: Development/Libraries/Java
|
||||||
|
|
||||||
|
%description generators
|
||||||
|
The Maven Plugin Tools Generators provides content generation
|
||||||
|
(documentation, help) from plugin descriptor.
|
||||||
|
|
||||||
|
%package java
|
||||||
|
Summary: Maven Plugin Tool for Java
|
||||||
|
Group: Development/Libraries/Java
|
||||||
|
|
||||||
|
%description java
|
||||||
|
Descriptor extractor for plugins written in Java.
|
||||||
|
|
||||||
|
%package model
|
||||||
|
Summary: Maven Plugin Metadata Model
|
||||||
|
Group: Development/Libraries/Java
|
||||||
|
|
||||||
|
%description model
|
||||||
|
The Maven Plugin Metadata Model provides an API to play with the Metadata
|
||||||
|
model.
|
||||||
|
|
||||||
|
%package -n maven-script-ant
|
||||||
|
Summary: Maven Ant Mojo Support
|
||||||
|
Group: Development/Libraries/Java
|
||||||
|
|
||||||
|
%description -n maven-script-ant
|
||||||
|
This package provides %{summary}, which write Maven plugins with
|
||||||
|
Ant scripts.
|
||||||
|
|
||||||
|
%package -n maven-script-beanshell
|
||||||
|
Summary: Maven Beanshell Mojo Support
|
||||||
|
Group: Development/Libraries/Java
|
||||||
|
|
||||||
|
%description -n maven-script-beanshell
|
||||||
|
This package provides %{summary}, which write Maven plugins with
|
||||||
|
Beanshell scripts.
|
||||||
|
|
||||||
|
%package javadoc
|
||||||
|
Summary: Javadoc for %{name}
|
||||||
|
Group: Development/Libraries/Java
|
||||||
|
Provides: %{name}-javadocs = %{version}-%{release}
|
||||||
|
Obsoletes: %{name}-javadocs < %{version}-%{release}
|
||||||
|
|
||||||
|
%description javadoc
|
||||||
|
API documentation for %{name}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -a1
|
||||||
|
%patch -P 0 -p1
|
||||||
|
|
||||||
|
%pom_remove_plugin -r :maven-enforcer-plugin
|
||||||
|
|
||||||
|
%pom_xpath_inject "pom:project/pom:properties" "
|
||||||
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>"
|
||||||
|
|
||||||
|
%pom_remove_dep net.sf.jtidy:jtidy maven-plugin-tools-generators
|
||||||
|
|
||||||
|
%build
|
||||||
|
mkdir -p lib
|
||||||
|
build-jar-repository -s lib \
|
||||||
|
ant \
|
||||||
|
atinject \
|
||||||
|
bsh2/bsh \
|
||||||
|
httpcomponents/httpclient \
|
||||||
|
httpcomponents/httpcore \
|
||||||
|
jsoup/jsoup \
|
||||||
|
maven/maven-artifact \
|
||||||
|
maven/maven-core \
|
||||||
|
maven/maven-model \
|
||||||
|
maven/maven-plugin-api \
|
||||||
|
maven/maven-settings \
|
||||||
|
maven-reporting-api/maven-reporting-api \
|
||||||
|
maven-resolver/maven-resolver-api \
|
||||||
|
maven-wagon/provider-api \
|
||||||
|
objectweb-asm/asm \
|
||||||
|
objectweb-asm/asm-commons \
|
||||||
|
objectweb-asm/asm-util \
|
||||||
|
org.eclipse.sisu.inject \
|
||||||
|
org.eclipse.sisu.plexus \
|
||||||
|
plexus/ant-factory \
|
||||||
|
plexus/archiver \
|
||||||
|
plexus/bsh-factory \
|
||||||
|
plexus-classworlds \
|
||||||
|
plexus-languages/plexus-java \
|
||||||
|
plexus/utils \
|
||||||
|
plexus/xml \
|
||||||
|
plexus-velocity/plexus-velocity \
|
||||||
|
qdox \
|
||||||
|
slf4j/api \
|
||||||
|
velocity
|
||||||
|
|
||||||
|
%{ant} \
|
||||||
|
-Dtest.skip=true \
|
||||||
|
package javadoc
|
||||||
|
|
||||||
|
%install
|
||||||
|
install -dm 0755 %{buildroot}%{_javadir}/%{name}
|
||||||
|
install -dm 0755 %{buildroot}%{_mavenpomdir}/%{name}
|
||||||
|
install -dm 0755 %{buildroot}%{_javadocdir}/%{name}
|
||||||
|
for i in \
|
||||||
|
maven-plugin-annotations \
|
||||||
|
maven-plugin-tools-annotations \
|
||||||
|
maven-plugin-tools-api \
|
||||||
|
maven-plugin-tools-generators \
|
||||||
|
maven-plugin-tools-java; do
|
||||||
|
install -pm 0644 ${i}/target/${i}-%{version}.jar %{buildroot}%{_javadir}/%{name}/${i}.jar
|
||||||
|
%{mvn_install_pom} ${i}/pom.xml %{buildroot}%{_mavenpomdir}/%{name}/${i}.pom
|
||||||
|
%add_maven_depmap %{name}/${i}.pom %{name}/${i}.jar -f ${i}
|
||||||
|
if [ -d ${i}/target/site/apidocs ]; then
|
||||||
|
cp -r ${i}/target/site/apidocs %{buildroot}%{_javadocdir}/%{name}/${i}
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
for i in \
|
||||||
|
maven-plugin-tools-ant \
|
||||||
|
maven-plugin-tools-beanshell \
|
||||||
|
maven-plugin-tools-model \
|
||||||
|
maven-script-ant \
|
||||||
|
maven-script-beanshell; do
|
||||||
|
install -pm 0644 maven-script/${i}/target/${i}-%{version}.jar %{buildroot}%{_javadir}/%{name}/${i}.jar
|
||||||
|
%{mvn_install_pom} maven-script/${i}/pom.xml %{buildroot}%{_mavenpomdir}/%{name}/${i}.pom
|
||||||
|
%add_maven_depmap %{name}/${i}.pom %{name}/${i}.jar -f ${i}
|
||||||
|
if [ -d maven-script/${i}/target/site/apidocs ]; then
|
||||||
|
cp -r maven-script/${i}/target/site/apidocs %{buildroot}%{_javadocdir}/%{name}/${i}
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
%fdupes -s %{buildroot}%{_javadocdir}
|
||||||
|
|
||||||
|
%files -n maven-plugin-annotations -f .mfiles-maven-plugin-annotations
|
||||||
|
|
||||||
|
%files annotations -f .mfiles-maven-plugin-tools-annotations
|
||||||
|
%license LICENSE NOTICE
|
||||||
|
|
||||||
|
%files ant -f .mfiles-maven-plugin-tools-ant
|
||||||
|
|
||||||
|
%files api -f .mfiles-maven-plugin-tools-api
|
||||||
|
%license LICENSE NOTICE
|
||||||
|
|
||||||
|
%files beanshell -f .mfiles-maven-plugin-tools-beanshell
|
||||||
|
|
||||||
|
%files generators -f .mfiles-maven-plugin-tools-generators
|
||||||
|
|
||||||
|
%files java -f .mfiles-maven-plugin-tools-java
|
||||||
|
|
||||||
|
%files model -f .mfiles-maven-plugin-tools-model
|
||||||
|
%license LICENSE NOTICE
|
||||||
|
|
||||||
|
%files -n maven-script-ant -f .mfiles-maven-script-ant
|
||||||
|
%license LICENSE NOTICE
|
||||||
|
|
||||||
|
%files -n maven-script-beanshell -f .mfiles-maven-script-beanshell
|
||||||
|
%license LICENSE NOTICE
|
||||||
|
|
||||||
|
%files javadoc
|
||||||
|
%{_javadocdir}/%{name}
|
||||||
|
%license LICENSE NOTICE
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user