QA-Parent-Java-8

The Quality Assurance parent pom for Java 8 Projects

License

License

Categories

Categories

Java Languages
GroupId

GroupId

org.kasource
ArtifactId

ArtifactId

java-8-qa-pom
Last Version

Last Version

0.4
Release Date

Release Date

Type

Type

pom
Description

Description

QA-Parent-Java-8
The Quality Assurance parent pom for Java 8 Projects
Project Organization

Project Organization

Ka Source
Source Code Management

Source Code Management

https://github.com/wigforss/java-8-qa-pom.git

Download java-8-qa-pom

Filename Size
java-8-qa-pom-0.4.pom 24 KB
Browse

How to add to project

<!-- https://jarcasting.com/artifacts/org.kasource/java-8-qa-pom/ -->
<dependency>
    <groupId>org.kasource</groupId>
    <artifactId>java-8-qa-pom</artifactId>
    <version>0.4</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/org.kasource/java-8-qa-pom/
implementation 'org.kasource:java-8-qa-pom:0.4'
// https://jarcasting.com/artifacts/org.kasource/java-8-qa-pom/
implementation ("org.kasource:java-8-qa-pom:0.4")
'org.kasource:java-8-qa-pom:pom:0.4'
<dependency org="org.kasource" name="java-8-qa-pom" rev="0.4">
  <artifact name="java-8-qa-pom" type="pom" />
</dependency>
@Grapes(
@Grab(group='org.kasource', module='java-8-qa-pom', version='0.4')
)
libraryDependencies += "org.kasource" % "java-8-qa-pom" % "0.4"
[org.kasource/java-8-qa-pom "0.4"]

Dependencies

compile (2)

Group / Artifact Type Version
com.google.code.findbugs : annotations jar 3.0.1u2
org.kasource : qa-rules jar 0.4

Project Modules

There are no modules declared in this project.

Quality Assurance Parent POM

License

Quality Assurance parent POM for Java 8 and lesser projects.

<parent>
    <groupId>org.kasource</groupId>
    <artifactId>java-qa-pom</artifactId>
    <version>0.5</version>
</parent>

Runs QA tools when the system property run.qa is set to true.

mvn clean verify -Drun.qa=true

The following checks and reports are ran when the system property is set or when its profile is activated.

  • Checkstyle
  • PMD
  • Findbugs (JDK < 1.8)
  • Spotbugs (JDK > 1.7)
  • Cobertura (JDK < 1.8)
  • JaCoCo (JDK > 1.7)
  • Enforcer
  • JavaDoc
  • OWASP Dependency Check

Each tool can be enabled individually by setting its profile.

mvn clean verify -P checkstyle,pmd,findbugs,spotbugs,cobertura,jacoco,enforcer,javadoc,dependency-check

JDK Version

The default JDK version is 11.

JDK version to use can be specified with the maven property jdk.version. Override in child POMs to change JDK version.

To use JDK 1.8 set the property as

 <properties>
     <jdk.version>8</jdk.version>
 </properties>

Versions

Version
0.4
0.3
0.2
0.1