Skip to content

Commit

Permalink
chore: Allow docletPath to be specified as a user property (#496)
Browse files Browse the repository at this point in the history
  • Loading branch information
meltsufin committed Jul 27, 2022
1 parent c805926 commit e7d94e3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pom.xml
Expand Up @@ -695,6 +695,7 @@
<properties>
<!-- default config values -->
<docletName>java-docfx-doclet-1.5.0</docletName>
<docletPath>${env.KOKORO_GFILE_DIR}/${docletName}.jar</docletPath>
<outputpath>${project.build.directory}/docfx-yml</outputpath>
<projectname>${project.artifactId}</projectname>
<excludeclasses></excludeclasses>
Expand All @@ -710,9 +711,7 @@
<version>3.4.0</version>
<configuration>
<doclet>com.microsoft.doclet.DocFxDoclet</doclet>
<useStandardDocletOptions>false</useStandardDocletOptions>
<!-- custom config with -Dproperty=value -->
<docletPath>${env.KOKORO_GFILE_DIR}/${docletName}.jar</docletPath>
<useStandardDocletOptions>false</useStandardDocletOptions>
<additionalOptions>
-outputpath ${outputpath}
-projectname ${projectname}
Expand Down

0 comments on commit e7d94e3

Please sign in to comment.