This is an automated email from the ASF dual-hosted git repository.
sjaranowski 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 e66f6ed8 Add link to shared-resources with code style formatters (#350)
e66f6ed8 is described below
commit e66f6ed8cbe035b2ae83b0d53ecd6d0dd1db86c8
Author: Slawomir Jaranowski <[email protected]>
AuthorDate: Fri Dec 9 20:06:19 2022 +0100
Add link to shared-resources with code style formatters (#350)
Co-authored-by: Konrad Windszus <[email protected]>
---
content/apt/developers/conventions/code.apt | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/content/apt/developers/conventions/code.apt
b/content/apt/developers/conventions/code.apt
index 51560dfe..63ebb557 100644
--- a/content/apt/developers/conventions/code.apt
+++ b/content/apt/developers/conventions/code.apt
@@ -30,9 +30,13 @@ 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}
* Generic Code Style And Convention