From db303b0555fa47ae8afce5f6fa741e19b511724f Mon Sep 17 00:00:00 2001 From: Emily Ball Date: Fri, 29 Oct 2021 14:57:51 -0700 Subject: [PATCH] chore: cleanup cloud RAD generation - moving from to - faster since we don't need the reports, but will now need to use command `mvn javadoc:aggregate -P docFX` instead of `mvn site -P docFX` to generate yaml - setting up config as properties - will default to values in section or can pass custom config via command with `-Dproperty=value` - removing and sections which aren't doing anything while using custom doclet --- pom.xml | 62 ++++++++++++++++++++++++--------------------------------- 1 file changed, 26 insertions(+), 36 deletions(-) diff --git a/pom.xml b/pom.xml index f77b1057..98fca3b7 100644 --- a/pom.xml +++ b/pom.xml @@ -673,62 +673,52 @@ + docFX - + docFX - + + + java-docfx-doclet-1.3.0 + ${project.build.directory}/docfx-yml + ${project.artifactId} + + + 8 + + + org.apache.maven.plugins maven-javadoc-plugin 3.3.1 - - - docFX - - javadoc - aggregate - aggregate-jar - - - com.microsoft.doclet.DocFxDoclet false - ${env.KOKORO_GFILE_DIR}/java-docfx-doclet-1.3.0.jar - -outputpath ${project.build.directory}/docfx-yml -projectname ${project.artifactId} + + ${env.KOKORO_GFILE_DIR}/${docletName}.jar + + -outputpath ${outputpath} + -projectname ${projectname} + -excludeclasses ${excludeclasses}: + -excludepackages ${excludePackages}: + none protected true - - - Test helpers packages - com.google.cloud.testing - - - SPI packages - com.google.cloud.spi* - - - - https://googleapis.dev/java/api-common/latest/ - https://googleapis.dev/java/gax/latest/ - https://googleapis.dev/java/google-auth-library/latest/ - https://developers.google.com/protocol-buffers/docs/reference/java/ - https://googleapis.github.io/common-protos-java/apidocs/ - https://googleapis.github.io/api-common-java/apidocs/ - https://grpc.io/grpc-java/javadoc/ - https://docs.oracle.com/javase/8/docs/api/ - + ${source} + + ${sourceFileExclude} + - - +