Minor changes

This commit is contained in:
Konrad Neitzel 2022-08-22 12:42:40 +02:00
parent ce9e0f96b2
commit 827ab36e14
4 changed files with 64 additions and 5 deletions

12
.gitignore vendored
View File

@ -1,4 +1,16 @@
# Fleet IDE
.fleet
# Intellij
.idea .idea
*.iml *.iml
# Eclipse
.project
.classpath
# Maven
target target
debug.out debug.out

54
pom.xml
View File

@ -27,13 +27,19 @@
<lombok.version>1.18.24</lombok.version> <lombok.version>1.18.24</lombok.version>
<!-- Plugin dependencies --> <!-- Plugin dependencies -->
<maven.clean.plugin>3.2.0</maven.clean.plugin>
<maven.compiler.plugin>3.10.1</maven.compiler.plugin> <maven.compiler.plugin>3.10.1</maven.compiler.plugin>
<maven.dependency.plugin>3.3.0</maven.dependency.plugin> <maven.dependency.plugin>3.3.0</maven.dependency.plugin>
<maven.deploy.plugin>3.0.0-M2</maven.deploy.plugin>
<maven.enforcer.plugin>3.1.0</maven.enforcer.plugin> <maven.enforcer.plugin>3.1.0</maven.enforcer.plugin>
<maven.install.plugin>3.0.0-M1</maven.install.plugin>
<maven.jar.plugin>3.2.2</maven.jar.plugin>
<maven.resources.plugin>3.2.0</maven.resources.plugin>
<maven.site.plugin>4.0.0-M1</maven.site.plugin>
<maven.surfire.plugin>3.0.0-M6</maven.surfire.plugin> <maven.surfire.plugin>3.0.0-M6</maven.surfire.plugin>
<moditect.maven.plugin>1.0.0.RC2</moditect.maven.plugin> <moditect.maven.plugin>1.0.0.RC2</moditect.maven.plugin>
<jpackage.maven.plugin>0.1.3</jpackage.maven.plugin> <jpackage.maven.plugin>0.1.3</jpackage.maven.plugin>
<maven.pmd.version>3.16.0</maven.pmd.version> <maven.pmd.plugin>3.16.0</maven.pmd.plugin>
<pmd.version>6.47.0</pmd.version> <pmd.version>6.47.0</pmd.version>
<codehaus.version.plugin>2.11.0</codehaus.version.plugin> <codehaus.version.plugin>2.11.0</codehaus.version.plugin>
<spotbugs.maven.plugin>4.7.1.0</spotbugs.maven.plugin> <spotbugs.maven.plugin>4.7.1.0</spotbugs.maven.plugin>
@ -113,7 +119,7 @@
</configuration> </configuration>
</plugin> </plugin>
<!-- Test execution --> <!--Test execution -->
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
@ -266,7 +272,7 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId> <artifactId>maven-pmd-plugin</artifactId>
<version>${maven.pmd.version}</version> <version>${maven.pmd.plugin}</version>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>net.sourceforge.pmd</groupId> <groupId>net.sourceforge.pmd</groupId>
@ -296,6 +302,7 @@
<rulesets> <rulesets>
<ruleset>pmd-ruleset.xml</ruleset> <ruleset>pmd-ruleset.xml</ruleset>
</rulesets> </rulesets>
<linkXRef>false</linkXRef>
</configuration> </configuration>
<executions> <executions>
<execution> <execution>
@ -328,6 +335,47 @@
</executions> </executions>
</plugin> </plugin>
<!-- clean plugin - to remove the warning regarding version -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>${maven.clean.plugin}</version>
</plugin>
<!-- deploy plugin - to remove the warning regarding version -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>${maven.deploy.plugin}</version>
</plugin>
<!-- install plugin - to remove the warning regarding version -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>${maven.install.plugin}</version>
</plugin>
<!-- jar plugin - to remove the warning regarding version -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven.jar.plugin}</version>
</plugin>
<!-- resources plugin - to remove the warning regarding version -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>${maven.resources.plugin}</version>
</plugin>
<!-- site plugin - to remove the warning regarding version -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>${maven.site.plugin}</version>
</plugin>
</plugins> </plugins>
</build> </build>
</project> </project>

View File

@ -2,7 +2,6 @@ package de.kneitzel;
import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable; import org.jetbrains.annotations.Nullable;
/** /**
* Simple Greeting class for some demonstration. * Simple Greeting class for some demonstration.
*/ */

View File

@ -8,7 +8,7 @@ import org.jetbrains.annotations.NotNull;
public final class JavaApp { public final class JavaApp {
/** /**
* Provate Constructor - we never create an instance! * Private Constructor - we never create an instance!
*/ */
private JavaApp() {} private JavaApp() {}