Skip to content

Commit e7d94e3

Browse files
authored
chore: Allow docletPath to be specified as a user property (#496)
1 parent c805926 commit e7d94e3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pom.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -695,6 +695,7 @@
695695
<properties>
696696
<!-- default config values -->
697697
<docletName>java-docfx-doclet-1.5.0</docletName>
698+
<docletPath>${env.KOKORO_GFILE_DIR}/${docletName}.jar</docletPath>
698699
<outputpath>${project.build.directory}/docfx-yml</outputpath>
699700
<projectname>${project.artifactId}</projectname>
700701
<excludeclasses></excludeclasses>
@@ -710,9 +711,7 @@
710711
<version>3.4.0</version>
711712
<configuration>
712713
<doclet>com.microsoft.doclet.DocFxDoclet</doclet>
713-
<useStandardDocletOptions>false</useStandardDocletOptions>
714-
<!-- custom config with -Dproperty=value -->
715-
<docletPath>${env.KOKORO_GFILE_DIR}/${docletName}.jar</docletPath>
714+
<useStandardDocletOptions>false</useStandardDocletOptions>
716715
<additionalOptions>
717716
-outputpath ${outputpath}
718717
-projectname ${projectname}

0 commit comments

Comments
 (0)