hermannpencole / nifi-swagger-client

Client swagger for nifi with security
Apache License 2.0
38 stars 20 forks source link

Unable to compile javadoc on version 1.1.0.3 #3

Open bbossola-tesco opened 7 years ago

bbossola-tesco commented 7 years ago

The maven build fails due to the presence of unallowed chars in the javadoc:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.10.4:jar (attach-javadocs) on project nifi-swagger-client: MavenReportException: Error while generating Javadoc:
[ERROR] Exit code: 1 - ***\projects\floss\nifi-swagger-client\src\main\java\com\github\hermannpencole\nifi\swagger\client\model\LabelDTO.java:170: error: bad use of '>'
[ERROR]    * The styles for this label (font-size => 12px, background-color => #eee, etc).
[ERROR]                                            ^
[ERROR] ***\projects\floss\nifi-swagger-client\src\main\java\com\github\hermannpencole\nifi\swagger\client\model\LabelDTO.java:170: error: bad use of '>'
[ERROR]    * The styles for this label (font-size => 12px, background-color => #eee, etc).
[ERROR]                                                                      ^
[ERROR] ***\projects\floss\nifi-swagger-client\src\main\java\com\github\hermannpencole\nifi\swagger\client\model\ProcessorDTO.java:228: error: bad use of '>'
[ERROR]    * Styles for the processor (background-color => #eee).
[ERROR]                                                  ^
[ERROR]
[ERROR] Command line was: "C:\Program Files\Java\jdk1.8.0_131\jre\..\bin\javadoc.exe" -J-Dhttp.proxySet=true -J-Dhttp.proxyHost=uk-webproxy.edmz.tesco.org -J-Dhttp.proxyPort=80 "-J-Dhttp.nonProxyHosts=\"*.somewhere.com\"" @options @packages
[ERROR]
[ERROR] Refer to the generated Javadoc files in '***\projects\floss\nifi-swagger-client\target\apidocs' dir.
[ERROR]
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

***\projects\floss\nifi-swagger-client (HEAD detached at 7e59f4f)

I had the same problem when I need to compile the previous version, the obvious and simple fix is to remove the offending character.