Improve repository.
- add kokuwa checkstyle - add dependabot - add dependency documentation - add code owners - add codeql - add license badge
This commit is contained in:
parent
f92d80d1a9
commit
0f6596becc
10 changed files with 196 additions and 47 deletions
74
pom.xml
74
pom.xml
|
@ -23,12 +23,12 @@
|
|||
|
||||
<developers>
|
||||
<developer>
|
||||
<id>stephanschnabel</id>
|
||||
<id>sschnabe</id>
|
||||
<name>Stephan Schnabel</name>
|
||||
<url>https://github.com/stephanschnabel</url>
|
||||
<url>https://github.com/sschnabe</url>
|
||||
<email>stephan@grayc.de</email>
|
||||
<organization>GrayC GmbH</organization>
|
||||
<organizationUrl>http://grayc.de</organizationUrl>
|
||||
<organizationUrl>https://grayc.de</organizationUrl>
|
||||
</developer>
|
||||
</developers>
|
||||
|
||||
|
@ -73,31 +73,41 @@
|
|||
<maven.compiler.showDeprecation>true</maven.compiler.showDeprecation>
|
||||
<maven.compiler.showWarnings>true</maven.compiler.showWarnings>
|
||||
|
||||
<maven.test.redirectTestOutputToFile>true</maven.test.redirectTestOutputToFile>
|
||||
|
||||
<checkstyle.config.location>checkstyle.xml</checkstyle.config.location>
|
||||
<checkstyle.suppressions.location>checkstyle-suppression.xml</checkstyle.suppressions.location>
|
||||
<checkstyle.includeTestSourceDirectory>true</checkstyle.includeTestSourceDirectory>
|
||||
|
||||
<!-- ===================================================================== -->
|
||||
<!-- ============================= Versions ============================== -->
|
||||
<!-- ===================================================================== -->
|
||||
|
||||
<!-- dependencies -->
|
||||
|
||||
<version.ch.qos.logback>1.2.10</version.ch.qos.logback>
|
||||
<version.ch.qos.logback.contrib>0.1.5</version.ch.qos.logback.contrib>
|
||||
<version.io.micronaut>3.2.6</version.io.micronaut>
|
||||
|
||||
<!-- plugins -->
|
||||
|
||||
<version.org.apache.maven.plugins.checkstyle>3.1.2</version.org.apache.maven.plugins.checkstyle>
|
||||
<version.org.apache.maven.plugins.clean>3.1.0</version.org.apache.maven.plugins.clean>
|
||||
<version.org.apache.maven.plugins.compiler>3.8.1</version.org.apache.maven.plugins.compiler>
|
||||
<version.org.apache.maven.plugins.compiler>3.10.0</version.org.apache.maven.plugins.compiler>
|
||||
<version.org.apache.maven.plugins.dependency_>3.2.0</version.org.apache.maven.plugins.dependency_>
|
||||
<version.org.apache.maven.plugins.deploy>3.0.0-M2</version.org.apache.maven.plugins.deploy>
|
||||
<version.org.apache.maven.plugins.gpg>3.0.1</version.org.apache.maven.plugins.gpg>
|
||||
<version.org.apache.maven.plugins.install>3.0.0-M1</version.org.apache.maven.plugins.install>
|
||||
<version.org.apache.maven.plugins.javadoc>3.3.1</version.org.apache.maven.plugins.javadoc>
|
||||
<version.org.apache.maven.plugins.jar>3.2.1</version.org.apache.maven.plugins.jar>
|
||||
<version.org.apache.maven.plugins.javadoc>3.3.2</version.org.apache.maven.plugins.javadoc>
|
||||
<version.org.apache.maven.plugins.jar>3.2.2</version.org.apache.maven.plugins.jar>
|
||||
<version.org.apache.maven.plugins.release>3.0.0-M5</version.org.apache.maven.plugins.release>
|
||||
<version.org.apache.maven.plugins.resources>3.2.0</version.org.apache.maven.plugins.resources>
|
||||
<version.org.apache.maven.plugins.source>3.2.1</version.org.apache.maven.plugins.source>
|
||||
<version.org.apache.maven.plugins.surefire>3.0.0-M5</version.org.apache.maven.plugins.surefire>
|
||||
<version.org.codehaus.mojo.tidy>1.1.0</version.org.codehaus.mojo.tidy>
|
||||
<version.org.sonatype.plugins.nexus-staging>1.6.8</version.org.sonatype.plugins.nexus-staging>
|
||||
<version.org.sonatype.plugins.nexus-staging>1.6.12</version.org.sonatype.plugins.nexus-staging>
|
||||
<version.com.puppycrawl.tools.checkstyle>10.0</version.com.puppycrawl.tools.checkstyle>
|
||||
<version.io.kokuwa.checkstyle>0.5.6</version.io.kokuwa.checkstyle>
|
||||
|
||||
<!-- dependencies -->
|
||||
|
||||
<version.ch.qos.logback>1.2.10</version.ch.qos.logback>
|
||||
<version.ch.qos.logback.contrib>0.1.5</version.ch.qos.logback.contrib>
|
||||
<version.io.micronaut>3.3.4</version.io.micronaut>
|
||||
|
||||
</properties>
|
||||
|
||||
|
@ -191,6 +201,25 @@
|
|||
<build>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-checkstyle-plugin</artifactId>
|
||||
<version>${version.org.apache.maven.plugins.checkstyle}</version>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.puppycrawl.tools</groupId>
|
||||
<artifactId>checkstyle</artifactId>
|
||||
<version>${version.com.puppycrawl.tools.checkstyle}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.kokuwa</groupId>
|
||||
<artifactId>maven-parent</artifactId>
|
||||
<version>${version.io.kokuwa.checkstyle}</version>
|
||||
<type>zip</type>
|
||||
<classifier>checkstyle</classifier>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-clean-plugin</artifactId>
|
||||
|
@ -210,6 +239,11 @@
|
|||
</annotationProcessorPaths>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-dependency-plugin</artifactId>
|
||||
<version>${version.org.apache.maven.plugins.dependency_}</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-deploy-plugin</artifactId>
|
||||
|
@ -261,7 +295,6 @@
|
|||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>${version.org.apache.maven.plugins.surefire}</version>
|
||||
<configuration>
|
||||
<redirectTestOutputToFile>true</redirectTestOutputToFile>
|
||||
<failIfNoTests>true</failIfNoTests>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
@ -305,6 +338,19 @@
|
|||
</executions>
|
||||
</plugin>
|
||||
|
||||
<!-- fail if checkstyle reports problems -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-checkstyle-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>check</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue