FasterXML / java-classmate

Library for introspecting generic type information of types, member/static methods, fields. Especially useful for POJO/Bean introspection.
http://fasterxml.com
Apache License 2.0
258 stars 42 forks source link

mvn clean verify fails at javadoc stage #52

Closed ljnelson closed 3 years ago

ljnelson commented 4 years ago

Sorry! 😄

If I run mvn clean verify from a clean clone (master branch), it does this at the end:

[INFO] --- maven-javadoc-plugin:3.0.0-M1:jar (attach-javadocs) @ classmate ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  17.848 s
[INFO] Finished at: 2020-02-24T15:51:30-08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.0.0-M1:jar (attach-javadocs) on project classmate: Execution attach-javadocs of goal org.apache.maven.plugins:maven-javadoc-plugin:3.0.0-M1:jar failed.: NullPointerException -> [Help 1]

Version info:

LANELSON$ mvn --version
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /usr/local/maven
Java version: 11.0.5, vendor: AdoptOpenJDK, runtime: /Library/Java/JavaVirtualMachines/jdk-11.0.5+10/Contents/Home
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.13.6", arch: "x86_64", family: "mac"
cowtowncoder commented 3 years ago

I update parent pom reference to oss-parent 41 (latest published), and things seem to work for me, so closing. Javadoc plugin version now 3.2.0, which may have solved the issue.