Skip to content

Use maven-plugin-plugin in version managed in parent - #97

Merged
stefanseifert merged 1 commit into
mojohaus:masterfrom
pzygielo:bump-m-p-p
Jul 14, 2020
Merged

stefanseifert merged 1 commit into
mojohaus:masterfrom
pzygielo:bump-m-p-p

Conversation

@pzygielo

@pzygielo pzygielo commented Jul 8, 2020 •

Copy link
Copy Markdown
Contributor

Currently used version generates invalid javadoc for
target/generated-sources/plugin/org/codehaus/mojo/buildhelper/HelpMojo.java:

   346	    /**
   347	     * Splits the specified text into lines of convenient display length.
   348	     *
   349	     * @param text       The text to split into lines, must not be <code>null</code>.
   350	     * @param indent     The base indentation level of each line, must not be negative.
   351	     * @param indentSize The size of each indentation, must not be negative.
   352	     * @param lineLength The length of the line, must not be negative.
   353	     * @return The sequence of display lines, never <code>null</code>.
   354	     * @throws NegativeArraySizeException if <code>indent < 0</code>
   355	     */
   356	    private static List<String> toLines( String text, int indent, int indentSize, int lineLength )

where line 354 contains < instead of entity.

3.5.1 m-p-p has it fixed (MPLUGIN-324) and comes from current parent.

@pzygielo

pzygielo commented Jul 8, 2020

Copy link
Copy Markdown
Contributor Author

May I ask for review, please?

@stefanseifert
stefanseifert self-requested a review July 14, 2020 13:20
@stefanseifert

Copy link
Copy Markdown
Collaborator

makes sense!
in the next version of the mojo-parent version 3.6.0 of maven-plugin-plugin is defined by default:
https://github.com/mojohaus/mojo-parent/blob/95a819cc9b17dd9028b312b0c0a59967c788935c/pom.xml#L357

a release of this mojo-parent is planned soon, i think it would be best to update to this next version once released and remove the plugin version in the pom of this plugin.

@stefanseifert stefanseifert left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as alternative we could just remove the plugin version immediately, because the mojo-parent 50 that is currently references already contains maven-plugin-plugin 3.5.1 - we forgot to remove the local plugin version when updating to parent 50.

@pzygielo
pzygielo marked this pull request as draft July 14, 2020 13:30
@pzygielo pzygielo changed the title Bump maven-plugin-plugin Use maven-plugin-plugin in version managed in parent Jul 14, 2020
@pzygielo
pzygielo marked this pull request as ready for review July 14, 2020 13:43
@pzygielo
pzygielo requested a review from stefanseifert July 14, 2020 13:43
Currently used version generates invalid javadoc for
`target/generated-sources/plugin/org/codehaus/mojo/buildhelper/HelpMojo.java`:

```java
   346	    /**
   347	     * Splits the specified text into lines of convenient display length.
   348	     *
   349	     * @PARAM text       The text to split into lines, must not be <code>null</code>.
   350	     * @PARAM indent     The base indentation level of each line, must not be negative.
   351	     * @PARAM indentSize The size of each indentation, must not be negative.
   352	     * @PARAM lineLength The length of the line, must not be negative.
   353	     * @return The sequence of display lines, never <code>null</code>.
   354	     * @throws NegativeArraySizeException if <code>indent < 0</code>
   355	     */
   356	    private static List<String> toLines( String text, int indent, int indentSize, int lineLength )
```
where line 354 contains `<` instead of entity.

3.5.1 m-p-p has it fixed (MPLUGIN-324) and comes from current parent.
@pzygielo
pzygielo marked this pull request as draft July 14, 2020 13:45
@pzygielo

Copy link
Copy Markdown
Contributor Author

Hmm... it seems I didn't push corrected version.

@pzygielo
pzygielo marked this pull request as ready for review July 14, 2020 13:54

@stefanseifert stefanseifert left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@stefanseifert stefanseifert added this to the 3.3.0 milestone Jul 14, 2020
@stefanseifert
stefanseifert merged commit 9e355c3 into mojohaus:master Jul 14, 2020
@pzygielo
pzygielo deleted the bump-m-p-p branch July 14, 2020 14:13
@stefanseifert stefanseifert added the dependencies Pull requests that update a dependency file label Jan 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants