Skip to content

Latest commit

 

History

115 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apache Maven Shared Resources

Apache License, Version 2.0, January 2004 Maven Central Reproducible Builds Verify

The build configuration shared by Apache Maven projects: Checkstyle rules, license headers, and formatter settings for Spotless and IDEs. The Maven parent POM adds this artifact as a dependency of the Checkstyle and Spotless plugins, which then read each file from the classpath as config/<name>.

What this is

The artifact holds these files under config/:

File Purpose
maven_checks_nocodestyle.xml Checkstyle rules without the layout, import and header checks that Spotless covers; the parent POM uses this one
maven_checks.xml Checkstyle rules including layout checks, for builds without Spotless
maven-header.txt License header as a regular expression, for the Checkstyle header check
maven-header-plain.txt License header as plain text, for the Spotless licenseHeader step
maven-eclipse-importorder.txt Import order for the Spotless importOrder step and Eclipse
maven-eclipse-codestyle.xml Eclipse formatter profile matching palantir-java-format
maven-idea-codestyle-2022.xml IntelliJ IDEA code style approximating palantir-java-format; the palantir-java-format plugin gives exact output
maven-groovy-eclipse.properties Groovy-Eclipse formatter settings for Groovy scripts, such as invoker hook scripts (Spotless greclipse step)

A change here reaches projects only through a parent POM release: release this repository first, then update version.maven-shared-resources in the parent POM.

Build

mvn verify

Releases

Packages

Used by

Contributors

Languages