|
695 | 695 | <name>docFX</name>
|
696 | 696 | </property>
|
697 | 697 | </activation>
|
698 |
| - <reporting> |
| 698 | + <properties> |
| 699 | + <!-- default config values --> |
| 700 | + <docletName>java-docfx-doclet-1.3.0</docletName> |
| 701 | + <outputpath>${project.build.directory}/docfx-yml</outputpath> |
| 702 | + <projectname>${project.artifactId}</projectname> |
| 703 | + <excludeclasses></excludeclasses> |
| 704 | + <excludePackages>com\.google\.api\.client\.findbugs:com\.google\.api\.client\.test:com\.google\.api\.services</excludePackages> |
| 705 | + <source>8</source> |
| 706 | + <sourceFileExclude></sourceFileExclude> |
| 707 | + </properties> |
| 708 | + <build> |
699 | 709 | <plugins>
|
700 | 710 | <plugin>
|
701 | 711 | <groupId>org.apache.maven.plugins</groupId>
|
702 | 712 | <artifactId>maven-javadoc-plugin</artifactId>
|
703 | 713 | <version>3.3.1</version>
|
704 |
| - <reportSets> |
705 |
| - <reportSet> |
706 |
| - <id>docFX</id> |
707 |
| - <reports> |
708 |
| - <report>javadoc</report> |
709 |
| - <report>aggregate</report> |
710 |
| - <report>aggregate-jar</report> |
711 |
| - </reports> |
712 |
| - </reportSet> |
713 |
| - </reportSets> |
714 | 714 | <configuration>
|
715 | 715 | <doclet>com.microsoft.doclet.DocFxDoclet</doclet>
|
716 | 716 | <useStandardDocletOptions>false</useStandardDocletOptions>
|
717 |
| - <docletPath>${env.KOKORO_GFILE_DIR}/java-docfx-doclet-1.3.0.jar</docletPath> |
| 717 | + <!-- custom config with -Dproperty=value --> |
| 718 | + <docletPath>${env.KOKORO_GFILE_DIR}/${docletName}.jar</docletPath> |
718 | 719 | <additionalOptions>
|
719 |
| - -outputpath ${project.build.directory}/docfx-yml |
720 |
| - -projectname ${artifactId} |
721 |
| - -excludepackages com\.google\.api\.client\.findbugs:com\.google\.api\.client\.test:com\.google\.api\.services |
| 720 | + -outputpath ${outputpath} |
| 721 | + -projectname ${projectname} |
| 722 | + -excludeclasses ${excludeclasses}: |
| 723 | + -excludepackages ${excludePackages}: |
722 | 724 | </additionalOptions>
|
| 725 | + <doclint>none</doclint> |
| 726 | + <show>protected</show> |
| 727 | + <nohelp>true</nohelp> |
| 728 | + <source>${source}</source> |
| 729 | + <sourceFileExcludes> |
| 730 | + <exclude>${sourceFileExclude}</exclude> |
| 731 | + </sourceFileExcludes> |
723 | 732 | </configuration>
|
724 |
| - </plugin> |
| 733 | + </plugin> |
725 | 734 | </plugins>
|
726 |
| - </reporting> |
727 |
| - </profile> |
| 735 | + </build> |
| 736 | + </profile> |
728 | 737 | </profiles>
|
729 | 738 | </project>
|
0 commit comments