[DEV] integrate javadoc generation (not beautifull but needed
This commit is contained in:
parent
2cfdf9e26d
commit
4c6752a53d
@ -2,10 +2,13 @@ image: heeroyui/scenarium-gitlabci:latest
|
|||||||
|
|
||||||
variables:
|
variables:
|
||||||
JAVA_TOOL_OPTIONS: "-Dfile.encoding=UTF8"
|
JAVA_TOOL_OPTIONS: "-Dfile.encoding=UTF8"
|
||||||
|
#JAVA_HOME: "/usr/lib/jvm/java-14-openjdk/"
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- apk update && apk add gawk
|
|
||||||
#- apk update && apk add python3 gawk
|
#- apk update && apk add python3 gawk
|
||||||
|
- which javac
|
||||||
|
- javac --version
|
||||||
|
- mvn --version
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
paths:
|
paths:
|
||||||
@ -42,6 +45,7 @@ test_job:
|
|||||||
artifacts:
|
artifacts:
|
||||||
when: on_success
|
when: on_success
|
||||||
expire_in: 3 day
|
expire_in: 3 day
|
||||||
|
keep: latest
|
||||||
paths:
|
paths:
|
||||||
- target/site/jacoco
|
- target/site/jacoco
|
||||||
reports:
|
reports:
|
||||||
@ -53,9 +57,10 @@ package_job:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- test_job
|
- test_job
|
||||||
script:
|
script:
|
||||||
- mvn $MAVEN_CLI_OPTS package -Dmaven.test.skip=true
|
- mvn $MAVEN_CLI_OPTS -Dmaven.test.skip=true compile package javadoc:javadoc javadoc:jar
|
||||||
artifacts:
|
artifacts:
|
||||||
when: on_success
|
when: on_success
|
||||||
expire_in: 3 day
|
expire_in: 3 day
|
||||||
|
keep: latest
|
||||||
paths:
|
paths:
|
||||||
- target/*.jar
|
- target/*.jar
|
24
pom.xml
24
pom.xml
@ -86,6 +86,30 @@
|
|||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<!-- Java-doc generation for stand-alone site -->
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-javadoc-plugin</artifactId>
|
||||||
|
<version>3.2.0</version>
|
||||||
|
<configuration>
|
||||||
|
<show>private</show>
|
||||||
|
<nohelp>true</nohelp>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
<!-- Generate Java-docs As Part Of Project Reports -->
|
||||||
|
<reporting>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-javadoc-plugin</artifactId>
|
||||||
|
<version>3.2.0</version>
|
||||||
|
<configuration>
|
||||||
|
<!--<stylesheetfile>${basedir}/src/main/javadoc/stylesheet.css</stylesheetfile>-->
|
||||||
|
<show>public</show>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</reporting>
|
||||||
</project>
|
</project>
|
Loading…
x
Reference in New Issue
Block a user