|
40 | 40 | <id>fhir-javadocs</id> |
41 | 41 | <build> |
42 | 42 | <plugins> |
43 | | - <!-- limit the javadoc plugin to jenkins only --> |
| 43 | + <plugin> |
| 44 | + <groupId>org.apache.maven.plugins</groupId> |
| 45 | + <artifactId>maven-site-plugin</artifactId> |
| 46 | + <version>3.8.2</version> |
| 47 | + </plugin> |
| 48 | + <plugin> |
| 49 | + <groupId>org.apache.maven.plugins</groupId> |
| 50 | + <artifactId>maven-project-info-reports-plugin</artifactId> |
| 51 | + <version>2.9</version> |
| 52 | + </plugin> |
44 | 53 | <plugin> |
45 | 54 | <groupId>org.apache.maven.plugins</groupId> |
46 | 55 | <artifactId>maven-javadoc-plugin</artifactId> |
47 | 56 | <version>3.1.1</version> |
48 | 57 | <configuration> |
49 | | - <verbose>false</verbose> |
| 58 | + <!-- no matter the JDK running the javadoc, it's important this be at |
| 59 | + the minimum level we support, which is 8. --> |
| 60 | + <source>8</source> |
| 61 | + <verbose>true</verbose> |
50 | 62 | <doclint>none</doclint> |
51 | 63 | <additionalparam>-Xdoclint:none</additionalparam> |
52 | | - <minmemory>128m</minmemory> |
| 64 | + <minmemory>512m</minmemory> |
53 | 65 | <maxmemory>1g</maxmemory> |
54 | | - <archive> |
55 | | - <manifestEntries> |
56 | | - <Automatic-Module-Name>com.ibm.fhir</Automatic-Module-Name> |
57 | | - </manifestEntries> |
58 | | - </archive> |
59 | | - <destDir>target/apidocs/${project.artifactId}</destDir> |
60 | 66 | <additionalOptions> |
| 67 | + <!-- makes the frames visible, disabled and going away eventually --> |
61 | 68 | <additionalOption>--frames</additionalOption> |
| 69 | + <!-- Fixes the undefined redirect in search --> |
| 70 | + <additionalOption>--no-module-directories</additionalOption> |
62 | 71 | </additionalOptions> |
63 | | - <bottom><![CDATA[Copyright 2019, <a href="http://www.ibm.com">IBM Corporation<a><br></br>FHIR® is the registered trademark of HL7 and is used with the permission of HL7.]]></bottom> |
| 72 | + <header><![CDATA[<a href="/FHIR" class="bx--header__name" target="_parent"><span>IBM</span> FHIR® Server</a>]]></header> |
| 73 | + <bottom><![CDATA[Copyright 2019. <a href="http://www.ibm.com">IBM Corporation<a><br></br>FHIR® is the registered trademark of HL7 and is used with the permission of HL7.]]></bottom> |
64 | 74 | <author>false</author> |
65 | | - <detectJavaApiLink>false</detectJavaApiLink> |
| 75 | + <stylesheetfile>${project.build.directory}/../../fhir-parent/src/javadocs/stylesheet.css</stylesheetfile> |
| 76 | + <docletArtifact> |
| 77 | + <groupId>nl.talsmasoftware</groupId> |
| 78 | + <artifactId>umldoclet</artifactId> |
| 79 | + <version>2.0.5</version> |
| 80 | + </docletArtifact> |
| 81 | + <doclet>nl.talsmasoftware.umldoclet.UMLDoclet</doclet> |
| 82 | + <additionalparam> |
| 83 | + -umlSkipStandardDoclet true |
| 84 | + -umlLogLevel DEBUG |
| 85 | + -umlImageFormat png |
| 86 | + </additionalparam> |
| 87 | + <!-- skips the three entries --> |
| 88 | + <nohelp>true</nohelp> |
| 89 | + <nodeprecated>true</nodeprecated> |
| 90 | + <nodeprecatedlist>true</nodeprecatedlist> |
66 | 91 | </configuration> |
67 | 92 | <executions> |
68 | 93 | <execution> |
69 | | - <id>aggregate</id> |
| 94 | + <id>attach-javadocs</id> |
70 | 95 | <goals> |
71 | 96 | <goal>javadoc-no-fork</goal> |
72 | 97 | <goal>test-javadoc-no-fork</goal> |
73 | 98 | </goals> |
74 | 99 | <phase>site</phase> |
75 | | - <configuration> |
76 | | - <verbose>false</verbose> |
77 | | - <doclint>none</doclint> |
78 | | - <additionalparam>-Xdoclint:none</additionalparam> |
79 | | - <minmemory>128m</minmemory> |
80 | | - <maxmemory>1g</maxmemory> |
81 | | - <archive> |
82 | | - <manifestEntries> |
83 | | - <Automatic-Module-Name>com.ibm.fhir</Automatic-Module-Name> |
84 | | - </manifestEntries> |
85 | | - </archive> |
86 | | - <destDir>target/apidocs/${project.artifactId}</destDir> |
87 | | - <additionalOptions> |
88 | | - <additionalOption>--frames</additionalOption> |
89 | | - </additionalOptions> |
90 | | - <bottom><![CDATA[Copyright 2019, <a href="http://www.ibm.com">IBM Corporation<a>]]></bottom> |
91 | | - <author>false</author> |
92 | | - <detectJavaApiLink>false</detectJavaApiLink> |
93 | | - </configuration> |
94 | | - </execution> |
95 | | - <execution> |
96 | | - <id>attach-javadocs</id> |
97 | | - <goals> |
98 | | - <goal>jar</goal> |
99 | | - </goals> |
100 | 100 | </execution> |
101 | 101 | </executions> |
102 | 102 | </plugin> |
|
0 commit comments