chore: cleanup cloud RAD generation
Same as
<name>docFX</name>
</property>
</activation>
- <reporting>
+ <properties>
+ <!-- default config values -->
+ <docletName>java-docfx-doclet-1.3.0</docletName>
+ <outputpath>${project.build.directory}/docfx-yml</outputpath>
+ <projectname>${project.artifactId}</projectname>
+ <excludeclasses></excludeclasses>
+ <excludePackages>com\.google\.api\.client\.findbugs:com\.google\.api\.client\.test:com\.google\.api\.services</excludePackages>
+ <source>8</source>
+ <sourceFileExclude></sourceFileExclude>
+ </properties>
+ <build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.3.1</version>
- <reportSets>
- <reportSet>
- <id>docFX</id>
- <reports>
- <report>javadoc</report>
- <report>aggregate</report>
- <report>aggregate-jar</report>
- </reports>
- </reportSet>
- </reportSets>
<configuration>
<doclet>com.microsoft.doclet.DocFxDoclet</doclet>
<useStandardDocletOptions>false</useStandardDocletOptions>
- <docletPath>${env.KOKORO_GFILE_DIR}/java-docfx-doclet-1.3.0.jar</docletPath>
+ <!-- custom config with -Dproperty=value -->
+ <docletPath>${env.KOKORO_GFILE_DIR}/${docletName}.jar</docletPath>
<additionalOptions>
- -outputpath ${project.build.directory}/docfx-yml
- -projectname ${artifactId}
- -excludepackages com\.google\.api\.client\.findbugs:com\.google\.api\.client\.test:com\.google\.api\.services
+ -outputpath ${outputpath}
+ -projectname ${projectname}
+ -excludeclasses ${excludeclasses}:
+ -excludepackages ${excludePackages}:
</additionalOptions>
+ <doclint>none</doclint>
+ <show>protected</show>
+ <nohelp>true</nohelp>
+ <source>${source}</source>
+ <sourceFileExcludes>
+ <exclude>${sourceFileExclude}</exclude>
+ </sourceFileExcludes>
</configuration>
</plugin>
</plugins>
- </reporting>
+ </build>
</profile>
</profiles>
</project>
