[jira] [Commented] (MPLUGIN-324) javadoc generated by helpmojo goal of maven-plugin-plugin produces build failures

2017-09-14 Thread Christoph Lembeck (JIRA)

[ 
https://issues.apache.org/jira/browse/MPLUGIN-324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16167419#comment-16167419
 ] 

Christoph Lembeck commented on MPLUGIN-324:
---

When will the version 3.5.1 be releases to maven-central?

> javadoc generated by helpmojo goal of maven-plugin-plugin produces build 
> failures
> -
>
> Key: MPLUGIN-324
> URL: https://issues.apache.org/jira/browse/MPLUGIN-324
> Project: Maven Plugin Tools
>  Issue Type: Bug
>  Components: Plugin Plugin
>Affects Versions: 3.5
> Environment: Apache Maven 3.5.0 
> (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-03T21:39:06+02:00)
> OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"
> Java version: 1.8.0_131, vendor: Oracle Corporation
>Reporter: Christoph Lembeck
>Assignee: Robert Scholte
> Fix For: 3.5.1
>
> Attachments: MPLUGIN-324-maven-plugin-tools.patch
>
>
> In our project we use the {{helpmojo}} goal of the {{maven-plugin-plugin}} to 
> generate a HelpMojo class.
> Unfortunately the maven-javadoc-plugin fails to process that generated file 
> because the generated javadoc comments contain the illegal symbol '{{<}}'.
> Here is the error message:
> {code}
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-javadoc-plugin:3.0.0-M1:jar (attach-javadocs) 
> on project codegen-maven-plugin: MavenReportException: Error while generating 
> Javadoc:
> [ERROR] Exit code: 1 - 
> D:\eclipse\codegen\codegen-maven-plugin\target\generated-sources\plugin\de\chrlembeck\codegen\HelpMojo.java:354:
>  error: malformed HTML
> [ERROR]  * @throws NegativeArraySizeException if indent < 0
> [ERROR]   ^
> {code}
> And this is the generated output, that fails:
> {code}
> /**
>  * Splits the specified text into lines of convenient display length.
>  *
>  * @param text   The text to split into lines, must not be 
> null.
>  * @param indent The base indentation level of each line, must not be 
> negative.
>  * @param indentSize The size of each indentation, must not be negative.
>  * @param lineLength The length of the line, must not be negative.
>  * @return The sequence of display lines, never null.
>  * @throws NegativeArraySizeException if indent < 0
>  */
> private static List toLines( String text, int indent, int 
> indentSize, int lineLength )
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (MPLUGIN-324) javadoc generated by helpmojo goal of maven-plugin-plugin produces build failures

2017-08-30 Thread Christoph Lembeck (JIRA)

 [ 
https://issues.apache.org/jira/browse/MPLUGIN-324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Christoph Lembeck updated MPLUGIN-324:
--
Attachment: MPLUGIN-324-maven-plugin-tools.patch

> javadoc generated by helpmojo goal of maven-plugin-plugin produces build 
> failures
> -
>
> Key: MPLUGIN-324
> URL: https://issues.apache.org/jira/browse/MPLUGIN-324
> Project: Maven Plugin Tools
>  Issue Type: Bug
>  Components: Plugin Plugin
>Affects Versions: 3.5
> Environment: Apache Maven 3.5.0 
> (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-03T21:39:06+02:00)
> OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"
> Java version: 1.8.0_131, vendor: Oracle Corporation
>Reporter: Christoph Lembeck
> Attachments: MPLUGIN-324-maven-plugin-tools.patch
>
>
> In our project we use the {{helpmojo}} goal of the {{maven-plugin-plugin}} to 
> generate a HelpMojo class.
> Unfortunately the maven-javadoc-plugin fails to process that generated file 
> because the generated javadoc comments contain the illegal symbol '{{<}}'.
> Here is the error message:
> {code}
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-javadoc-plugin:3.0.0-M1:jar (attach-javadocs) 
> on project codegen-maven-plugin: MavenReportException: Error while generating 
> Javadoc:
> [ERROR] Exit code: 1 - 
> D:\eclipse\codegen\codegen-maven-plugin\target\generated-sources\plugin\de\chrlembeck\codegen\HelpMojo.java:354:
>  error: malformed HTML
> [ERROR]  * @throws NegativeArraySizeException if indent < 0
> [ERROR]   ^
> {code}
> And this is the generated output, that fails:
> {code}
> /**
>  * Splits the specified text into lines of convenient display length.
>  *
>  * @param text   The text to split into lines, must not be 
> null.
>  * @param indent The base indentation level of each line, must not be 
> negative.
>  * @param indentSize The size of each indentation, must not be negative.
>  * @param lineLength The length of the line, must not be negative.
>  * @return The sequence of display lines, never null.
>  * @throws NegativeArraySizeException if indent < 0
>  */
> private static List toLines( String text, int indent, int 
> indentSize, int lineLength )
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (MPLUGIN-324) javadoc generated by helpmojo goal of maven-plugin-plugin produces build failures

2017-08-30 Thread Christoph Lembeck (JIRA)

 [ 
https://issues.apache.org/jira/browse/MPLUGIN-324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Christoph Lembeck updated MPLUGIN-324:
--
Attachment: (was: MNG-MPLUGIN-324-maven-plugin-tools.patch)

> javadoc generated by helpmojo goal of maven-plugin-plugin produces build 
> failures
> -
>
> Key: MPLUGIN-324
> URL: https://issues.apache.org/jira/browse/MPLUGIN-324
> Project: Maven Plugin Tools
>  Issue Type: Bug
>  Components: Plugin Plugin
>Affects Versions: 3.5
> Environment: Apache Maven 3.5.0 
> (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-03T21:39:06+02:00)
> OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"
> Java version: 1.8.0_131, vendor: Oracle Corporation
>Reporter: Christoph Lembeck
> Attachments: MPLUGIN-324-maven-plugin-tools.patch
>
>
> In our project we use the {{helpmojo}} goal of the {{maven-plugin-plugin}} to 
> generate a HelpMojo class.
> Unfortunately the maven-javadoc-plugin fails to process that generated file 
> because the generated javadoc comments contain the illegal symbol '{{<}}'.
> Here is the error message:
> {code}
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-javadoc-plugin:3.0.0-M1:jar (attach-javadocs) 
> on project codegen-maven-plugin: MavenReportException: Error while generating 
> Javadoc:
> [ERROR] Exit code: 1 - 
> D:\eclipse\codegen\codegen-maven-plugin\target\generated-sources\plugin\de\chrlembeck\codegen\HelpMojo.java:354:
>  error: malformed HTML
> [ERROR]  * @throws NegativeArraySizeException if indent < 0
> [ERROR]   ^
> {code}
> And this is the generated output, that fails:
> {code}
> /**
>  * Splits the specified text into lines of convenient display length.
>  *
>  * @param text   The text to split into lines, must not be 
> null.
>  * @param indent The base indentation level of each line, must not be 
> negative.
>  * @param indentSize The size of each indentation, must not be negative.
>  * @param lineLength The length of the line, must not be negative.
>  * @return The sequence of display lines, never null.
>  * @throws NegativeArraySizeException if indent < 0
>  */
> private static List toLines( String text, int indent, int 
> indentSize, int lineLength )
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Comment Edited] (MPLUGIN-324) javadoc generated by helpmojo goal of maven-plugin-plugin produces build failures

2017-08-30 Thread Christoph Lembeck (JIRA)

[ 
https://issues.apache.org/jira/browse/MPLUGIN-324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16147364#comment-16147364
 ] 

Christoph Lembeck edited comment on MPLUGIN-324 at 8/30/17 2:55 PM:


Created patch for this issue. It replaces line 401 of 
{{/plugin-tools/maven-plugin-tools-generators/src/main/resources/help-class-source.vm}}

old line:
{{* @throws NegativeArraySizeException if indent < 0}}
new line:
{{* @throws NegativeArraySizeException if indent < 0}}


was (Author: chrlembeck):
Created patch for thie issue. It replaces line 401 of 
{{/plugin-tools/maven-plugin-tools-generators/src/main/resources/help-class-source.vm}}

old line:
{{* @throws NegativeArraySizeException if indent < 0}}
new line:
{{* @throws NegativeArraySizeException if indent < 0}}

> javadoc generated by helpmojo goal of maven-plugin-plugin produces build 
> failures
> -
>
> Key: MPLUGIN-324
> URL: https://issues.apache.org/jira/browse/MPLUGIN-324
> Project: Maven Plugin Tools
>  Issue Type: Bug
>  Components: Plugin Plugin
>Affects Versions: 3.5
> Environment: Apache Maven 3.5.0 
> (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-03T21:39:06+02:00)
> OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"
> Java version: 1.8.0_131, vendor: Oracle Corporation
>Reporter: Christoph Lembeck
> Attachments: MNG-MPLUGIN-324-maven-plugin-tools.patch
>
>
> In our project we use the {{helpmojo}} goal of the {{maven-plugin-plugin}} to 
> generate a HelpMojo class.
> Unfortunately the maven-javadoc-plugin fails to process that generated file 
> because the generated javadoc comments contain the illegal symbol '{{<}}'.
> Here is the error message:
> {code}
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-javadoc-plugin:3.0.0-M1:jar (attach-javadocs) 
> on project codegen-maven-plugin: MavenReportException: Error while generating 
> Javadoc:
> [ERROR] Exit code: 1 - 
> D:\eclipse\codegen\codegen-maven-plugin\target\generated-sources\plugin\de\chrlembeck\codegen\HelpMojo.java:354:
>  error: malformed HTML
> [ERROR]  * @throws NegativeArraySizeException if indent < 0
> [ERROR]   ^
> {code}
> And this is the generated output, that fails:
> {code}
> /**
>  * Splits the specified text into lines of convenient display length.
>  *
>  * @param text   The text to split into lines, must not be 
> null.
>  * @param indent The base indentation level of each line, must not be 
> negative.
>  * @param indentSize The size of each indentation, must not be negative.
>  * @param lineLength The length of the line, must not be negative.
>  * @return The sequence of display lines, never null.
>  * @throws NegativeArraySizeException if indent < 0
>  */
> private static List toLines( String text, int indent, int 
> indentSize, int lineLength )
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (MPLUGIN-324) javadoc generated by helpmojo goal of maven-plugin-plugin produces build failures

2017-08-30 Thread Christoph Lembeck (JIRA)

 [ 
https://issues.apache.org/jira/browse/MPLUGIN-324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Christoph Lembeck updated MPLUGIN-324:
--
Attachment: MNG-MPLUGIN-324-maven-plugin-tools.patch

Created patch for thie issue. It replaces line 401 of 
{{/plugin-tools/maven-plugin-tools-generators/src/main/resources/help-class-source.vm}}

old line:
{{* @throws NegativeArraySizeException if indent < 0}}
new line:
{{* @throws NegativeArraySizeException if indent < 0}}

> javadoc generated by helpmojo goal of maven-plugin-plugin produces build 
> failures
> -
>
> Key: MPLUGIN-324
> URL: https://issues.apache.org/jira/browse/MPLUGIN-324
> Project: Maven Plugin Tools
>  Issue Type: Bug
>  Components: Plugin Plugin
>Affects Versions: 3.5
> Environment: Apache Maven 3.5.0 
> (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-03T21:39:06+02:00)
> OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"
> Java version: 1.8.0_131, vendor: Oracle Corporation
>Reporter: Christoph Lembeck
> Attachments: MNG-MPLUGIN-324-maven-plugin-tools.patch
>
>
> In our project we use the {{helpmojo}} goal of the {{maven-plugin-plugin}} to 
> generate a HelpMojo class.
> Unfortunately the maven-javadoc-plugin fails to process that generated file 
> because the generated javadoc comments contain the illegal symbol '{{<}}'.
> Here is the error message:
> {code}
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-javadoc-plugin:3.0.0-M1:jar (attach-javadocs) 
> on project codegen-maven-plugin: MavenReportException: Error while generating 
> Javadoc:
> [ERROR] Exit code: 1 - 
> D:\eclipse\codegen\codegen-maven-plugin\target\generated-sources\plugin\de\chrlembeck\codegen\HelpMojo.java:354:
>  error: malformed HTML
> [ERROR]  * @throws NegativeArraySizeException if indent < 0
> [ERROR]   ^
> {code}
> And this is the generated output, that fails:
> {code}
> /**
>  * Splits the specified text into lines of convenient display length.
>  *
>  * @param text   The text to split into lines, must not be 
> null.
>  * @param indent The base indentation level of each line, must not be 
> negative.
>  * @param indentSize The size of each indentation, must not be negative.
>  * @param lineLength The length of the line, must not be negative.
>  * @return The sequence of display lines, never null.
>  * @throws NegativeArraySizeException if indent < 0
>  */
> private static List toLines( String text, int indent, int 
> indentSize, int lineLength )
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (MPLUGIN-324) javadoc generated by helpmojo goal of maven-plugin-plugin produces build failures

2017-08-30 Thread Christoph Lembeck (JIRA)

[ 
https://issues.apache.org/jira/browse/MPLUGIN-324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16147333#comment-16147333
 ] 

Christoph Lembeck commented on MPLUGIN-324:
---

I found the place, where the fix has to be done:
Please look at line 401 of the file at 
[https://svn.apache.org/repos/asf/maven/plugin-tools/trunk/maven-plugin-tools-generators/src/main/resources/help-class-source.vm]
and replace the line 
{{* @throws NegativeArraySizeException if indent < 0}} 
with 
{{* @throws NegativeArraySizeException if indent < 0}}

> javadoc generated by helpmojo goal of maven-plugin-plugin produces build 
> failures
> -
>
> Key: MPLUGIN-324
> URL: https://issues.apache.org/jira/browse/MPLUGIN-324
> Project: Maven Plugin Tools
>  Issue Type: Bug
>  Components: Plugin Plugin
>Affects Versions: 3.5
> Environment: Apache Maven 3.5.0 
> (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-03T21:39:06+02:00)
> OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"
> Java version: 1.8.0_131, vendor: Oracle Corporation
>Reporter: Christoph Lembeck
>
> In our project we use the {{helpmojo}} goal of the {{maven-plugin-plugin}} to 
> generate a HelpMojo class.
> Unfortunately the maven-javadoc-plugin fails to process that generated file 
> because the generated javadoc comments contain the illegal symbol '{{<}}'.
> Here is the error message:
> {code}
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-javadoc-plugin:3.0.0-M1:jar (attach-javadocs) 
> on project codegen-maven-plugin: MavenReportException: Error while generating 
> Javadoc:
> [ERROR] Exit code: 1 - 
> D:\eclipse\codegen\codegen-maven-plugin\target\generated-sources\plugin\de\chrlembeck\codegen\HelpMojo.java:354:
>  error: malformed HTML
> [ERROR]  * @throws NegativeArraySizeException if indent < 0
> [ERROR]   ^
> {code}
> And this is the generated output, that fails:
> {code}
> /**
>  * Splits the specified text into lines of convenient display length.
>  *
>  * @param text   The text to split into lines, must not be 
> null.
>  * @param indent The base indentation level of each line, must not be 
> negative.
>  * @param indentSize The size of each indentation, must not be negative.
>  * @param lineLength The length of the line, must not be negative.
>  * @return The sequence of display lines, never null.
>  * @throws NegativeArraySizeException if indent < 0
>  */
> private static List toLines( String text, int indent, int 
> indentSize, int lineLength )
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Comment Edited] (MPLUGIN-324) javadoc generated by helpmojo goal of maven-plugin-plugin produces build failures

2017-08-23 Thread Christoph Lembeck (JIRA)

[ 
https://issues.apache.org/jira/browse/MPLUGIN-324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16138105#comment-16138105
 ] 

Christoph Lembeck edited comment on MPLUGIN-324 at 8/23/17 9:03 AM:


The javadoc-plugin only fails, if yo configure it to show the private members 
too:
{code}

org.apache.maven.plugins
maven-javadoc-plugin

private



attach-javadocs

jar




{code}


was (Author: chrlembeck):
The javadoc-plugin only fails, if yo configure it to show the private members 
too:
{code}

org.apache.maven.plugins
maven-javadoc-plugin

private



attach-javadocs

jar




{code}

> javadoc generated by helpmojo goal of maven-plugin-plugin produces build 
> failures
> -
>
> Key: MPLUGIN-324
> URL: https://issues.apache.org/jira/browse/MPLUGIN-324
> Project: Maven Plugin Tools
>  Issue Type: Bug
>  Components: Plugin Plugin
>Affects Versions: 3.5
> Environment: Apache Maven 3.5.0 
> (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-03T21:39:06+02:00)
> OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"
> Java version: 1.8.0_131, vendor: Oracle Corporation
>Reporter: Christoph Lembeck
>
> In our project we use the {{helpmojo}} goal of the {{maven-plugin-plugin}} to 
> generate a HelpMojo class.
> Unfortunately the maven-javadoc-plugin fails to process that generated file 
> because the generated javadoc comments contain the illegal symbol '{{<}}'.
> Here is the error message:
> {code}
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-javadoc-plugin:3.0.0-M1:jar (attach-javadocs) 
> on project codegen-maven-plugin: MavenReportException: Error while generating 
> Javadoc:
> [ERROR] Exit code: 1 - 
> D:\eclipse\codegen\codegen-maven-plugin\target\generated-sources\plugin\de\chrlembeck\codegen\HelpMojo.java:354:
>  error: malformed HTML
> [ERROR]  * @throws NegativeArraySizeException if indent < 0
> [ERROR]   ^
> {code}
> And this is the generated output, that fails:
> {code}
> /**
>  * Splits the specified text into lines of convenient display length.
>  *
>  * @param text   The text to split into lines, must not be 
> null.
>  * @param indent The base indentation level of each line, must not be 
> negative.
>  * @param indentSize The size of each indentation, must not be negative.
>  * @param lineLength The length of the line, must not be negative.
>  * @return The sequence of display lines, never null.
>  * @throws NegativeArraySizeException if indent < 0
>  */
> private static List toLines( String text, int indent, int 
> indentSize, int lineLength )
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (MPLUGIN-324) javadoc generated by helpmojo goal of maven-plugin-plugin produces build failures

2017-08-23 Thread Christoph Lembeck (JIRA)

[ 
https://issues.apache.org/jira/browse/MPLUGIN-324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16138105#comment-16138105
 ] 

Christoph Lembeck commented on MPLUGIN-324:
---

The javadoc-plugin only fails, if yo configure it to show the private members 
too:
{code}

org.apache.maven.plugins
maven-javadoc-plugin

private



attach-javadocs

jar




{code}

> javadoc generated by helpmojo goal of maven-plugin-plugin produces build 
> failures
> -
>
> Key: MPLUGIN-324
> URL: https://issues.apache.org/jira/browse/MPLUGIN-324
> Project: Maven Plugin Tools
>  Issue Type: Bug
>  Components: Plugin Plugin
>Affects Versions: 3.5
> Environment: Apache Maven 3.5.0 
> (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-03T21:39:06+02:00)
> OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"
> Java version: 1.8.0_131, vendor: Oracle Corporation
>Reporter: Christoph Lembeck
>
> In our project we use the {{helpmojo}} goal of the {{maven-plugin-plugin}} to 
> generate a HelpMojo class.
> Unfortunately the maven-javadoc-plugin fails to process that generated file 
> because the generated javadoc comments contain the illegal symbol '{{<}}'.
> Here is the error message:
> {code}
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-javadoc-plugin:3.0.0-M1:jar (attach-javadocs) 
> on project codegen-maven-plugin: MavenReportException: Error while generating 
> Javadoc:
> [ERROR] Exit code: 1 - 
> D:\eclipse\codegen\codegen-maven-plugin\target\generated-sources\plugin\de\chrlembeck\codegen\HelpMojo.java:354:
>  error: malformed HTML
> [ERROR]  * @throws NegativeArraySizeException if indent < 0
> [ERROR]   ^
> {code}
> And this is the generated output, that fails:
> {code}
> /**
>  * Splits the specified text into lines of convenient display length.
>  *
>  * @param text   The text to split into lines, must not be 
> null.
>  * @param indent The base indentation level of each line, must not be 
> negative.
>  * @param indentSize The size of each indentation, must not be negative.
>  * @param lineLength The length of the line, must not be negative.
>  * @return The sequence of display lines, never null.
>  * @throws NegativeArraySizeException if indent < 0
>  */
> private static List toLines( String text, int indent, int 
> indentSize, int lineLength )
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (MPLUGIN-324) javadoc generated by helpmojo goal of maven-plugin-plugin produces build failures

2017-08-23 Thread Christoph Lembeck (JIRA)
Christoph Lembeck created MPLUGIN-324:
-

 Summary: javadoc generated by helpmojo goal of maven-plugin-plugin 
produces build failures
 Key: MPLUGIN-324
 URL: https://issues.apache.org/jira/browse/MPLUGIN-324
 Project: Maven Plugin Tools
  Issue Type: Bug
  Components: Plugin Plugin
Affects Versions: 3.5
 Environment: Apache Maven 3.5.0 
(ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-03T21:39:06+02:00)
OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"
Java version: 1.8.0_131, vendor: Oracle Corporation
Reporter: Christoph Lembeck


In out project we use the {{helpmojo}} goal of the {{maven-plugin-plugin}} to 
generate a HelpMojo class.
Unfortunately the maven-javadoc-plugin fails to process that generated file 
because the generated javadoc comments contain the illegal symbol '{{<}}'.

Here is the error message:
{code}
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-javadoc-plugin:3.0.0-M1:jar (attach-javadocs) on 
project codegen-maven-plugin: MavenReportException: Error while generating 
Javadoc:
[ERROR] Exit code: 1 - 
D:\eclipse\codegen\codegen-maven-plugin\target\generated-sources\plugin\de\chrlembeck\codegen\HelpMojo.java:354:
 error: malformed HTML
[ERROR]  * @throws NegativeArraySizeException if indent < 0
[ERROR]   ^
{code}

And this is the generated output, that fails:
{code}
/**
 * Splits the specified text into lines of convenient display length.
 *
 * @param text   The text to split into lines, must not be 
null.
 * @param indent The base indentation level of each line, must not be 
negative.
 * @param indentSize The size of each indentation, must not be negative.
 * @param lineLength The length of the line, must not be negative.
 * @return The sequence of display lines, never null.
 * @throws NegativeArraySizeException if indent < 0
 */
private static List toLines( String text, int indent, int 
indentSize, int lineLength )
{code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (MPLUGIN-324) javadoc generated by helpmojo goal of maven-plugin-plugin produces build failures

2017-08-23 Thread Christoph Lembeck (JIRA)

 [ 
https://issues.apache.org/jira/browse/MPLUGIN-324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Christoph Lembeck updated MPLUGIN-324:
--
Description: 
In our project we use the {{helpmojo}} goal of the {{maven-plugin-plugin}} to 
generate a HelpMojo class.
Unfortunately the maven-javadoc-plugin fails to process that generated file 
because the generated javadoc comments contain the illegal symbol '{{<}}'.

Here is the error message:
{code}
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-javadoc-plugin:3.0.0-M1:jar (attach-javadocs) on 
project codegen-maven-plugin: MavenReportException: Error while generating 
Javadoc:
[ERROR] Exit code: 1 - 
D:\eclipse\codegen\codegen-maven-plugin\target\generated-sources\plugin\de\chrlembeck\codegen\HelpMojo.java:354:
 error: malformed HTML
[ERROR]  * @throws NegativeArraySizeException if indent < 0
[ERROR]   ^
{code}

And this is the generated output, that fails:
{code}
/**
 * Splits the specified text into lines of convenient display length.
 *
 * @param text   The text to split into lines, must not be 
null.
 * @param indent The base indentation level of each line, must not be 
negative.
 * @param indentSize The size of each indentation, must not be negative.
 * @param lineLength The length of the line, must not be negative.
 * @return The sequence of display lines, never null.
 * @throws NegativeArraySizeException if indent < 0
 */
private static List toLines( String text, int indent, int 
indentSize, int lineLength )
{code}

  was:
In out project we use the {{helpmojo}} goal of the {{maven-plugin-plugin}} to 
generate a HelpMojo class.
Unfortunately the maven-javadoc-plugin fails to process that generated file 
because the generated javadoc comments contain the illegal symbol '{{<}}'.

Here is the error message:
{code}
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-javadoc-plugin:3.0.0-M1:jar (attach-javadocs) on 
project codegen-maven-plugin: MavenReportException: Error while generating 
Javadoc:
[ERROR] Exit code: 1 - 
D:\eclipse\codegen\codegen-maven-plugin\target\generated-sources\plugin\de\chrlembeck\codegen\HelpMojo.java:354:
 error: malformed HTML
[ERROR]  * @throws NegativeArraySizeException if indent < 0
[ERROR]   ^
{code}

And this is the generated output, that fails:
{code}
/**
 * Splits the specified text into lines of convenient display length.
 *
 * @param text   The text to split into lines, must not be 
null.
 * @param indent The base indentation level of each line, must not be 
negative.
 * @param indentSize The size of each indentation, must not be negative.
 * @param lineLength The length of the line, must not be negative.
 * @return The sequence of display lines, never null.
 * @throws NegativeArraySizeException if indent < 0
 */
private static List toLines( String text, int indent, int 
indentSize, int lineLength )
{code}


> javadoc generated by helpmojo goal of maven-plugin-plugin produces build 
> failures
> -
>
> Key: MPLUGIN-324
> URL: https://issues.apache.org/jira/browse/MPLUGIN-324
> Project: Maven Plugin Tools
>  Issue Type: Bug
>  Components: Plugin Plugin
>Affects Versions: 3.5
> Environment: Apache Maven 3.5.0 
> (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-03T21:39:06+02:00)
> OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"
> Java version: 1.8.0_131, vendor: Oracle Corporation
>Reporter: Christoph Lembeck
>
> In our project we use the {{helpmojo}} goal of the {{maven-plugin-plugin}} to 
> generate a HelpMojo class.
> Unfortunately the maven-javadoc-plugin fails to process that generated file 
> because the generated javadoc comments contain the illegal symbol '{{<}}'.
> Here is the error message:
> {code}
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-javadoc-plugin:3.0.0-M1:jar (attach-javadocs) 
> on project codegen-maven-plugin: MavenReportException: Error while generating 
> Javadoc:
> [ERROR] Exit code: 1 - 
> D:\eclipse\codegen\codegen-maven-plugin\target\generated-sources\plugin\de\chrlembeck\codegen\HelpMojo.java:354:
>  error: malformed HTML
> [ERROR]  * @throws NegativeArraySizeException if indent < 0
> [ERROR]   ^
> {code}
> And this is the generated output, that fails:
> {code}
> /**
>  * Splits the specified text into lines of convenient display length.
>  *
>  * @param text   The text to split into lines, must not be 
> null.
>  * @param indent The base indentation level of each line, must not be 
> neg