ConSol / java9-modules-maven-junit-example

This simple project shows how Maven can be used to build Java 9 modules.
https://labs.consol.de/development/2017/02/13/getting-started-with-java9-modules.html
65 stars 38 forks source link

Javadoc generation fails #7

Open wirepatch opened 5 years ago

wirepatch commented 5 years ago

Using current Maven 3.6.1 / Openjdk 11.0.3 / Ubuntu 18.04 results in:

>cd devday-service
>mvn javadoc:javadoc
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.1.0:javadoc (default-cli) on project devday-service: An error has occurred in Javadoc report generation: 
[ERROR] Exit code: 1 - error: module not found: de.consol.devday.service

Same when using Oracle Java 12 instead.

jklingen commented 5 years ago

Thanks for reporting this. This repo was intended as a basic JPMS example while JDK9 grew up from preview to final stage. It has not been tested with our updated for later JDKs. I guess that there are a lot of more recent examples out there by now.

Sorry for the inconvenience, I hope you have not spent too much time on this. I am no longer part of this organization, but I'll ask them to either add a note to the readme or discard the repo.