Skip to content

Commit

Permalink
test: update docFX profile to enable overriding doclet path (#1904)
Browse files Browse the repository at this point in the history
  • Loading branch information
alicejli authored Sep 11, 2023
1 parent e6cc5f6 commit b976a98
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,9 @@
<profiles>
<profile>
<id>docFX</id>
<properties>
<docletPath>${env.KOKORO_GFILE_DIR}/java-docfx-doclet-1.9.0.jar</docletPath>
</properties>
<build>
<plugins>
<plugin>
Expand All @@ -316,7 +319,8 @@
<!-- This is the new way of publishing the doc to cloud.google.com -->
<doclet>com.microsoft.doclet.DocFxDoclet</doclet>
<useStandardDocletOptions>false</useStandardDocletOptions>
<docletPath>${env.KOKORO_GFILE_DIR}/java-docfx-doclet-1.9.0.jar</docletPath>
<!-- Enable overriding of default doclet path for testing -->
<docletPath>${docletPath}</docletPath>
<additionalOptions>
-outputpath ${project.build.directory}/docfx-yml
-projectname ${artifactId}
Expand Down

0 comments on commit b976a98

Please sign in to comment.