You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sj...@apache.org on 2022/01/05 09:00:45 UTC
[maven-site] 04/04: Add instructions for Eclipse import order configuration to code.apt
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
commit 83cd1d205d37820745ceea130f74ea90c2a6b0f5
Author: András Péteri <ap...@b2international.com>
AuthorDate: Mon Nov 29 11:42:43 2021 +0100
Add instructions for Eclipse import order configuration to code.apt
---
content/apt/developers/conventions/code.apt | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/content/apt/developers/conventions/code.apt b/content/apt/developers/conventions/code.apt
index d709521..3b9aac8 100644
--- a/content/apt/developers/conventions/code.apt
+++ b/content/apt/developers/conventions/code.apt
@@ -156,6 +156,11 @@ public class MyMojo
After this, select Window \> Preferences, and open up the configuration for Java \> Code
Style \> Code Formatter. Click on the button labeled Import... and select the file you
downloaded. Give the style a name, and click OK.
+
+ To ensure a package import order consistent with the layout described below, download
+ <<<{{{../../developers/maven-eclipse.importorder}maven-eclipse.importorder}}>>>, select Window \> Preferences and
+ navigate to Java \> Code Style \> Organize Imports. Click on Import... and select the downloaded
+ file to change the import order.
** {Java Code Convention}