зеркало из https://github.com/mozilla/smarthome.git
Added javadocs to documentation build
Signed-off-by: Kai Kreuzer <kai@openhab.org>
This commit is contained in:
Родитель
0bed3f91b7
Коммит
e7fb4711b5
|
@ -102,6 +102,9 @@
|
|||
<li>
|
||||
<a href="{{docu}}/development/testing.html">Testing</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{docu}}/javadoc/index.html">API Reference</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
|
|
18
docs/pom.xml
18
docs/pom.xml
|
@ -70,6 +70,24 @@
|
|||
</resources>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>copy-javadoc</id>
|
||||
<phase>process-resources</phase>
|
||||
<goals>
|
||||
<goal>copy-resources</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<outputDirectory>${basedir}/documentation/javadoc</outputDirectory>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>${basedir}/../target/apidocs</directory>
|
||||
<includes>
|
||||
<include>**</include>
|
||||
</includes>
|
||||
</resource>
|
||||
</resources>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
|
|
2
pom.xml
2
pom.xml
|
@ -401,7 +401,7 @@
|
|||
<configuration>
|
||||
<!-- 'javadoc.opts' project property is set by the 'doclint-java8-disable' profile. It is important to keep 'javadoc' profile declaration after the declaration of 'doclint-java8-disable' profile. -->
|
||||
<additionalparam>${javadoc.opts}</additionalparam>
|
||||
<excludePackageNames>*.internal.*</excludePackageNames>
|
||||
<excludePackageNames>*.internal.*,nl.*</excludePackageNames>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
|
|
Загрузка…
Ссылка в новой задаче