This is an automated email from the ASF dual-hosted git repository.
mbuenger pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-site.git
The following commit(s) were added to refs/heads/master by this push:
new 81a8f5c7 [MNGSITE-500] Notice IDE plugins for palantir on code
convention page (#823)
81a8f5c7 is described below
commit 81a8f5c742c94feef12f262d5e47709a39ce754c
Author: Matthias Bünger <[email protected]>
AuthorDate: Sat Jun 21 19:10:30 2025 +0200
[MNGSITE-500] Notice IDE plugins for palantir on code convention page (#823)
---
content/apt/developers/conventions/code.apt | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/content/apt/developers/conventions/code.apt
b/content/apt/developers/conventions/code.apt
index ef2a72dc..20e8d744 100644
--- a/content/apt/developers/conventions/code.apt
+++ b/content/apt/developers/conventions/code.apt
@@ -31,11 +31,6 @@ Maven Code Style And Code Conventions
This document describes the rules for how the sources should be formatted
in order to improve consistency, readability and maintainability.
- As the formatting is automatically enforced or even applied with
{{{https://github.com/diffplug/spotless/tree/main/plugin-maven}spotless-maven-plugin}}
for all projects
- using {{{/pom/maven/index.html}Maven Project Parent POM 38 or newer}}
developers usually don't need to care and the following sections are just for
informational purposes.
-
- Optionally you can still import the code style formatter for your IDE from
-
{{{https://gitbox.apache.org/repos/asf?p=maven-shared-resources.git;a=tree;f=src/main/resources/config;hb=HEAD}shared-resources}}
%{toc|section=1|fromDepth=2|toDepth=3}
@@ -65,7 +60,12 @@ Maven Code Style And Code Conventions
** Java Code Style
Maven adopts the {{{https://github.com/palantir/palantir-java-format}palantir
Java format}}.
+ The code formatting of Java files is enforced by the
{{{https://github.com/diffplug/spotless/tree/main/plugin-maven}spotless-maven-plugin}}
for all projects
+ using {{{/pom/maven/index.html}Maven Project Parent POM 38 or newer}}. You
can format the code by running the command <mvn spotless:apply>.
+ You can download the code style formatter for your IDE from
+
{{{https://gitbox.apache.org/repos/asf?p=maven-shared-resources.git;a=tree;f=src/main/resources/config;hb=HEAD}shared-resources}}.
+ To format Java code, there are plugins for many IDEs on the
{{{https://github.com/palantir/palantir-java-format}palantir Java format GitHub
page}} too.
** Java Code Convention