diff --git a/.github/workflows/javadocs.yml b/.github/workflows/javadocs.yml index 9baa2b582a0..4349d499140 100644 --- a/.github/workflows/javadocs.yml +++ b/.github/workflows/javadocs.yml @@ -50,4 +50,4 @@ jobs: java-version: '11' distribution: 'temurin' - name: Check Java Docs - run: ./mvnw ${MAVEN_ARGS} clean install javadoc:jar -DskipTests -Pjavadoc-test + run: make javadoc diff --git a/Makefile b/Makefile index 11155edc23a..ae55e5d9a5a 100644 --- a/Makefile +++ b/Makefile @@ -61,6 +61,10 @@ sonar: clean # $(MAVEN_ARGS) ---> -T 1C won't work with sonar analysis (yet) mvn -Psonar install sonar:sonar +.PHONY: javadoc +javadoc: clean + mvn $(MAVEN_ARGS) install javadoc:jar -DskipTests -Pjavadoc-test + .PHONY: format-license format-license: mvn $(MAVEN_ARGS) -N license:format @@ -69,6 +73,9 @@ format-license: format-java: mvn $(MAVEN_ARGS) spotless:apply -Pitests +.PHONY: format +format: format-license format-java + .PHONY: quickly: clean mvn $(MAVEN_ARGS) install -DskipTests -Djacoco.skip=true