Skip to content

Commit 8c24855

Browse files
authored
chore: add cloud-rad doc generation (#1381)
1 parent 5b2f80e commit 8c24855

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

pom.xml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -691,5 +691,44 @@
691691
</plugins>
692692
</build>
693693
</profile>
694+
695+
<profile>
696+
<id>docFX</id>
697+
<activation>
698+
<property>
699+
<!-- Activate with -P docFX -->
700+
<name>docFX</name>
701+
</property>
702+
</activation>
703+
<reporting>
704+
<plugins>
705+
<plugin>
706+
<groupId>org.apache.maven.plugins</groupId>
707+
<artifactId>maven-javadoc-plugin</artifactId>
708+
<version>3.2.0</version>
709+
<reportSets>
710+
<reportSet>
711+
<id>docFX</id>
712+
<reports>
713+
<report>javadoc</report>
714+
<report>aggregate</report>
715+
<report>aggregate-jar</report>
716+
</reports>
717+
</reportSet>
718+
</reportSets>
719+
<configuration>
720+
<doclet>com.microsoft.doclet.DocFxDoclet</doclet>
721+
<useStandardDocletOptions>false</useStandardDocletOptions>
722+
<docletPath>${env.KOKORO_GFILE_DIR}/java-docfx-doclet-1.0.jar</docletPath>
723+
<additionalOptions>
724+
-outputpath ${project.build.directory}/docfx-yml
725+
-projectname ${artifactId}
726+
-excludepackages com\.google\.api\.client\.findbugs:com\.google\.api\.client\.test:com\.google\.api\.services
727+
</additionalOptions>
728+
</configuration>
729+
</plugin>
730+
</plugins>
731+
</reporting>
732+
</profile>
694733
</profiles>
695734
</project>

0 commit comments

Comments
 (0)