pon., 2 paź 2023 o 14:13 sebb <seb...@gmail.com> napisał(a):

> Extract from Apache Commons Build Plugin build:
>
> [INFO] --- maven-plugin-plugin:3.8.2:descriptor (default-descriptor) @
> commons-build-plugin ---
> [INFO] Using 'iso-8859-1' encoding to read mojo source files.
> [INFO] java-annotations mojo extractor found 0 mojo descriptor.
> [INFO] java-javadoc mojo extractor found 0 mojo descriptor.
> [WARNING] Scripting support for mojos is deprecated and is planned to
> be removed in Maven 4.
> [WARNING] Found 10 scripted mojos.
> [INFO] ant mojo extractor found 10 mojo descriptors.
> [WARNING]
> [WARNING] Deprecated extractor ant extracted 10 descriptors. Upgrade
> your Mojo definitions.
> [WARNING]
> [INFO] bsh mojo extractor found 0 mojo descriptor.
> line 1 column 1 - Warning: missing <!DOCTYPE> declaration
> line 1 column 1 - Warning: plain text isn't allowed in <head> elements
> line 1 column 47 - Warning: inserting missing 'title' element
> line 1 column 1 - Warning: missing <!DOCTYPE> declaration
> line 1 column 1 - Warning: plain text isn't allowed in <head> elements
> line 1 column 47 - Warning: inserting missing 'title' element
> line 1 column 1 - Warning: missing <!DOCTYPE> declaration
> ... repeated many times ...
>

This is produced by Tidy parser used in maven-plugin-tools-generators [1].
It is used to clean up code from JavaDocs ... but in Ant Mojo can be used
in the wrong way.
So it looks like a bug in maven-plugin-tools

By the way do you think to use standard goals to generate content, like you
have a goal: commons-build:mail-page [2] which create: [3] and in project
you also also have a standard report: [4]
We can start discussion how to improve standard goals to meet your
requirements.


>
> How can I find out which files need to be fixed?
> I tried using -X, but that does not provide any obvious clues.
>
> Sebb
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>
[1]
https://github.com/apache/maven-plugin-tools/blob/maven-plugin-tools-3.9.0/maven-plugin-tools-generators/src/main/java/org/apache/maven/tools/plugin/generator/GeneratorUtils.java#L255
[2] https://commons.apache.org/proper/commons-build-plugin/mail-page.html
[3] https://commons.apache.org/proper/commons-lang/mail-lists.html
[4] https://commons.apache.org/proper/commons-lang/mailing-lists.html

-- 
Sławomir Jaranowski

Reply via email to