NOTICKET: Setup Javadoc
Some checks failed
Quality Check / Qualty Check (push) Failing after 33s
Quality Check / Qualty Check (pull_request) Failing after 34s

Signed-off-by: Dominik Säume <Dominik.Saeume@hmmh.de>
This commit is contained in:
Dominik Säume 2024-04-29 18:14:01 +02:00
parent e5d32a3eb6
commit 16eb1dae4b
Signed by: SZUT-Dominik
GPG key ID: 67D15BB250B41E7C
2 changed files with 18 additions and 2 deletions

View file

@ -4,7 +4,6 @@ on:
- push - push
- pull_request - pull_request
jobs: jobs:
qs: qs:
name: "Qualty Check" name: "Qualty Check"
@ -16,4 +15,9 @@ jobs:
uses: "https://git.euph.dev/actions/checkout@v3" uses: "https://git.euph.dev/actions/checkout@v3"
- name: "CHECK" - name: "CHECK"
run: mvn checkstyle:check -e run: mvn checkstyle:check -e
- name: "javadoc"
run: |
mvn package
mvn javadoc:javadoc -f pom.xml
ls

14
pom.xml
View file

@ -6,7 +6,8 @@
<name>NHPlus</name> <name>NHPlus</name>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>de.hitec</groupId> <groupId>de.hitec</groupId>
<artifactId>NHPlus</artifactId> <artifactId>nhplus</artifactId>
<description>A School Project</description>
<version>1.0.0</version> <version>1.0.0</version>
<properties> <properties>
@ -107,6 +108,17 @@
<sourceDirectories>src</sourceDirectories> <sourceDirectories>src</sourceDirectories>
</configuration> </configuration>
</plugin> </plugin>
<!-- Javadoc Plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.6.0</version>
<configuration>
<sourcepath>src/main/java</sourcepath>
<outputDirectory>javadoc_build</outputDirectory>
<bootclasspath>de.hitec.nhplus.Main:de.hitec.nhplus.fixtures.Fixtures</bootclasspath>
</configuration>
</plugin>
</plugins> </plugins>
</build> </build>
</project> </project>