Skip to content

Commit 936d419

Browse files
ludochgae-java-bot
authored andcommitted
Internal change
PiperOrigin-RevId: 432282680 Change-Id: If2480997371d1755666bbd0e20a448d1869b1890
1 parent a5c7bec commit 936d419

1 file changed

Lines changed: 55 additions & 0 deletions

File tree

api/pom.xml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,4 +209,59 @@
209209
</plugin>
210210
</plugins>
211211
</build>
212+
<profiles>
213+
<profile>
214+
<id>docFX</id>
215+
<activation>
216+
<property>
217+
<!-- Activate with -P docFX -->
218+
<name>docFX</name>
219+
</property>
220+
</activation>
221+
<properties>
222+
<!-- default config values -->
223+
<docletName>java-docfx-doclet-1.5.0</docletName>
224+
<outputpath>${project.build.directory}/docfx-yml</outputpath>
225+
<projectname>${project.artifactId}</projectname>
226+
<excludeclasses></excludeclasses>
227+
<excludePackages>com\.google\.storage\.onestore:com\.google\.api\.client\.findbugs:com\.google\.apphosting\.utils</excludePackages>
228+
<source>8</source>
229+
<sourceFileExclude></sourceFileExclude>
230+
<!-- Filed https://github.com/googleapis/java-docfx-doclet/issues/105 -->
231+
<docletPath>${user.home}/Downloads/java-docfx-doclet-1.5.0.jar:${user.home}/Downloads/java-docfx-doclet-1.5.0-jar-with-dependencies.jar</docletPath>
232+
</properties>
233+
<build>
234+
<plugins>
235+
<plugin>
236+
<groupId>org.apache.maven.plugins</groupId>
237+
<artifactId>maven-javadoc-plugin</artifactId>
238+
<version>3.3.1</version>
239+
<configuration>
240+
<doclet>com.microsoft.doclet.DocFxDoclet</doclet>
241+
<useStandardDocletOptions>false</useStandardDocletOptions>
242+
<!-- custom config with -Dproperty=value -->
243+
<!-- for ex:
244+
mvn javadoc:aggregate -B -q -P docFX -DdocletPath=/Users/ludo/Downloads/java-docfx-doclet-1.5.0.jar:/Users/ludo/Downloads/java-docfx-doclet-1.5.0-jar-with-dependencies.jar
245+
-->
246+
<!--docletPath>${env.KOKORO_GFILE_DIR}/${docletName}.jar</docletPath-->
247+
<docletPath>${docletPath}</docletPath>
248+
<additionalOptions>
249+
-outputpath ${outputpath}
250+
-projectname ${projectname}
251+
-excludeclasses ${excludeclasses}:
252+
-excludepackages ${excludePackages}:
253+
</additionalOptions>
254+
<doclint>none</doclint>
255+
<show>protected</show>
256+
<nohelp>true</nohelp>
257+
<source>${source}</source>
258+
<sourceFileExcludes>
259+
<exclude>${sourceFileExclude}</exclude>
260+
</sourceFileExcludes>
261+
</configuration>
262+
</plugin>
263+
</plugins>
264+
</build>
265+
</profile>
266+
</profiles>
212267
</project>

0 commit comments

Comments
 (0)