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:41 UTC

[maven-site] branch master updated (8f949cb -> 83cd1d2)

This is an automated email from the ASF dual-hosted git repository.

sjaranowski pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/maven-site.git.


    from 8f949cb  send PR notifications to issues@maven.a.o
     new 56faabc  Add import order configuration for Eclipse
     new ddd4c72  Add Apache license header to import order file
     new 4941d89  Add instructions for Eclipse import order configuration to committer-environment.apt
     new 83cd1d2   Add instructions for Eclipse import order configuration to code.apt

The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 content/apt/developers/committer-environment.apt   |  5 +++++
 content/apt/developers/conventions/code.apt        |  5 +++++
 .../resources/developers/maven-eclipse.importorder | 23 ++++++++++++++++++++++
 3 files changed, 33 insertions(+)
 create mode 100644 content/resources/developers/maven-eclipse.importorder

[maven-site] 01/04: Add import order configuration for Eclipse

Posted by sj...@apache.org.
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 56faabc601bcb586868076d7b4898da1f9936da8
Author: András Péteri <ap...@b2international.com>
AuthorDate: Mon Nov 29 10:48:32 2021 +0100

    Add import order configuration for Eclipse
---
 content/resources/developers/maven-eclipse.importorder | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/content/resources/developers/maven-eclipse.importorder b/content/resources/developers/maven-eclipse.importorder
new file mode 100644
index 0000000..2c2005f
--- /dev/null
+++ b/content/resources/developers/maven-eclipse.importorder
@@ -0,0 +1,6 @@
+#Organize Import Order
+#Mon Nov 29 10:45:56 CET 2021
+0=javax
+1=java
+2=
+3=\#

[maven-site] 03/04: Add instructions for Eclipse import order configuration to committer-environment.apt

Posted by sj...@apache.org.
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 4941d89c21e25eda03e06ca7a63c75f580bc136e
Author: András Péteri <ap...@b2international.com>
AuthorDate: Mon Nov 29 11:39:30 2021 +0100

    Add instructions for Eclipse import order configuration to committer-environment.apt
---
 content/apt/developers/committer-environment.apt | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/content/apt/developers/committer-environment.apt b/content/apt/developers/committer-environment.apt
index 0503e59..0b78e0e 100644
--- a/content/apt/developers/committer-environment.apt
+++ b/content/apt/developers/committer-environment.apt
@@ -64,6 +64,11 @@ Subversion Configuration
  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 consistent package import order in Java files, download 
+ <<<{{{./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 sort order.
 
 Useful software
 

[maven-site] 04/04: Add instructions for Eclipse import order configuration to code.apt

Posted by sj...@apache.org.
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}
 

[maven-site] 02/04: Add Apache license header to import order file

Posted by sj...@apache.org.
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 ddd4c728efdf6fc2b818a85cee3cebb4ff7c9b1c
Author: András Péteri <ap...@b2international.com>
AuthorDate: Mon Nov 29 11:19:17 2021 +0100

    Add Apache license header to import order file
---
 content/resources/developers/maven-eclipse.importorder | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/content/resources/developers/maven-eclipse.importorder b/content/resources/developers/maven-eclipse.importorder
index 2c2005f..06705c8 100644
--- a/content/resources/developers/maven-eclipse.importorder
+++ b/content/resources/developers/maven-eclipse.importorder
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
 #Organize Import Order
 #Mon Nov 29 10:45:56 CET 2021
 0=javax