Merge branch '#56-Auto-Generate-UML'
This commit is contained in:
BIN
Docs/generated_uml.png
Normal file
BIN
Docs/generated_uml.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 456 KiB |
@@ -42,3 +42,18 @@ mvn \
|
|||||||
-Dorg.slf4j.simpleLogger.showDateTime=true \
|
-Dorg.slf4j.simpleLogger.showDateTime=true \
|
||||||
-Djava.awt.headless=true \
|
-Djava.awt.headless=true \
|
||||||
verify sonar:sonar -Pcoverage
|
verify sonar:sonar -Pcoverage
|
||||||
|
|
||||||
|
mvn \
|
||||||
|
--batch-mode \
|
||||||
|
--errors \
|
||||||
|
--fail-at-end \
|
||||||
|
--show-version \
|
||||||
|
--no-transfer-progress \
|
||||||
|
-DinstallAtEnd=true \
|
||||||
|
-DdeployAtEnd=true \
|
||||||
|
-Dsonar.host.url=https://sonar.fbe-adswen.rwu.de \
|
||||||
|
-Dsonar.token=sqa_c39258caceb01d59515d6dfa9440a7b05cdd15f4 \
|
||||||
|
-Dhttps.protocols=TLSv1.2 \
|
||||||
|
-Dorg.slf4j.simpleLogger.showDateTime=true \
|
||||||
|
-Djava.awt.headless=true \
|
||||||
|
generate-resources -Pgenerate-docs
|
||||||
|
|||||||
30
Script/Generate_UML.sh
Normal file
30
Script/Generate_UML.sh
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
mvn \
|
||||||
|
--batch-mode \
|
||||||
|
--errors \
|
||||||
|
--fail-at-end \
|
||||||
|
--show-version \
|
||||||
|
--no-transfer-progress \
|
||||||
|
-DinstallAtEnd=true \
|
||||||
|
-DdeployAtEnd=true \
|
||||||
|
-Dsonar.host.url=https://sonar.fbe-adswen.rwu.de \
|
||||||
|
-Dsonar.token=sqa_c39258caceb01d59515d6dfa9440a7b05cdd15f4 \
|
||||||
|
-Dhttps.protocols=TLSv1.2 \
|
||||||
|
-Dorg.slf4j.simpleLogger.showDateTime=true \
|
||||||
|
-Djava.awt.headless=true \
|
||||||
|
clean compile
|
||||||
|
mvn \
|
||||||
|
--batch-mode \
|
||||||
|
--errors \
|
||||||
|
--fail-at-end \
|
||||||
|
--show-version \
|
||||||
|
--no-transfer-progress \
|
||||||
|
-DinstallAtEnd=true \
|
||||||
|
-DdeployAtEnd=true \
|
||||||
|
-Dsonar.host.url=https://sonar.fbe-adswen.rwu.de \
|
||||||
|
-Dsonar.token=sqa_c39258caceb01d59515d6dfa9440a7b05cdd15f4 \
|
||||||
|
-Dhttps.protocols=TLSv1.2 \
|
||||||
|
-Dorg.slf4j.simpleLogger.showDateTime=true \
|
||||||
|
-Djava.awt.headless=true \
|
||||||
|
-DPLANTUML_LIMIT_SIZE=8192 \
|
||||||
|
generate-resources -Pgenerate-docs
|
||||||
|
cp target/generated-docs/easydrop.png Docs/generated_uml.png
|
||||||
62
pom.xml
62
pom.xml
@@ -149,6 +149,68 @@
|
|||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</profile>
|
</profile>
|
||||||
|
|
||||||
|
<profile>
|
||||||
|
<id>generate-docs</id>
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<artifactId>plantuml-generator-maven-plugin</artifactId>
|
||||||
|
<groupId>de.elnarion.maven</groupId>
|
||||||
|
<version>1.1.2</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>generate-simple-diagram</id>
|
||||||
|
<goals>
|
||||||
|
<goal>generate</goal>
|
||||||
|
</goals>
|
||||||
|
<phase>generate-resources</phase>
|
||||||
|
<configuration>
|
||||||
|
<outputFilename>easydrop.puml</outputFilename>
|
||||||
|
<scanPackages>
|
||||||
|
<scanPackage>
|
||||||
|
de.rwu.easydrop
|
||||||
|
</scanPackage>
|
||||||
|
</scanPackages>
|
||||||
|
<blacklistRegexp>.*package-info.*</blacklistRegexp>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
|
||||||
|
<plugin>
|
||||||
|
<groupId>com.github.jeluard</groupId>
|
||||||
|
<artifactId>plantuml-maven-plugin</artifactId>
|
||||||
|
<version>1.2</version>
|
||||||
|
<configuration>
|
||||||
|
<sourceFiles>
|
||||||
|
<directory>${basedir}/target/generated-docs</directory>
|
||||||
|
<includes>
|
||||||
|
<include>*.puml</include>
|
||||||
|
</includes>
|
||||||
|
</sourceFiles>
|
||||||
|
<outputDirectory>${basedir}/target/generated-docs</outputDirectory>
|
||||||
|
</configuration>
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>net.sourceforge.plantuml</groupId>
|
||||||
|
<artifactId>plantuml</artifactId>
|
||||||
|
<version>1.2023.7</version>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>create-docs</id>
|
||||||
|
<phase>generate-resources</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>generate</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
</profile>
|
||||||
</profiles>
|
</profiles>
|
||||||
|
|
||||||
<reporting>
|
<reporting>
|
||||||
|
|||||||
Reference in New Issue
Block a user