[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:
|
||||
JAVA_TOOL_OPTIONS: "-Dfile.encoding=UTF8"
|
||||
#JAVA_HOME: "/usr/lib/jvm/java-14-openjdk/"
|
||||
|
||||
before_script:
|
||||
- apk update && apk add gawk
|
||||
#- apk update && apk add python3 gawk
|
||||
- which javac
|
||||
- javac --version
|
||||
- mvn --version
|
||||
|
||||
cache:
|
||||
paths:
|
||||
@ -42,6 +45,7 @@ test_job:
|
||||
artifacts:
|
||||
when: on_success
|
||||
expire_in: 3 day
|
||||
keep: latest
|
||||
paths:
|
||||
- target/site/jacoco
|
||||
reports:
|
||||
@ -53,9 +57,10 @@ package_job:
|
||||
dependencies:
|
||||
- test_job
|
||||
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:
|
||||
when: on_success
|
||||
expire_in: 3 day
|
||||
keep: latest
|
||||
paths:
|
||||
- target/*.jar
|
24
pom.xml
24
pom.xml
@ -86,6 +86,30 @@
|
||||
</execution>
|
||||
</executions>
|
||||
</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>
|
||||
</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>
|
Loading…
Reference in New Issue
Block a user