QA-Parent-Java

The Quality Assurance parent pom for Java Projects

License

License

Categories

Categories

Java Languages
GroupId

GroupId

org.kasource
ArtifactId

ArtifactId

java-qa-pom
Last Version

Last Version

0.9
Release Date

Release Date

Type

Type

pom
Description

Description

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

Project Organization

Ka Source
Source Code Management

Source Code Management

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

Download java-qa-pom

Filename Size
java-qa-pom-0.9.pom 31 KB
Browse

How to add to project

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

Dependencies

compile (2)

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

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.9
0.8
0.7
0.6
0.5