You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by lg...@apache.org on 2020/08/18 08:57:27 UTC

[mina-sshd] 15/18: Updated formatter plugin version to 2.12.1

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

lgoldstein pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mina-sshd.git

commit da85ffec8b756e0463a7de87f8c8c81c56cd56f5
Author: Lyor Goldstein <lg...@apache.org>
AuthorDate: Tue Aug 18 09:54:37 2020 +0300

    Updated formatter plugin version to 2.12.1
---
 .gitignore                                                        | 4 ++++
 pom.xml                                                           | 8 +++++++-
 .../src/main/java/org/apache/sshd/common/cipher/package.html      | 2 +-
 .../src/main/java/org/apache/sshd/common/compression/package.html | 2 +-
 .../src/main/java/org/apache/sshd/common/digest/package.html      | 2 +-
 sshd-common/src/main/java/org/apache/sshd/common/mac/package.html | 2 +-
 .../src/main/java/org/apache/sshd/common/random/package.html      | 2 +-
 .../src/main/java/org/apache/sshd/common/signature/package.html   | 2 +-
 8 files changed, 17 insertions(+), 7 deletions(-)

diff --git a/.gitignore b/.gitignore
index bf9aa59..dc98ed7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -19,6 +19,10 @@ RemoteSystemsTempFiles/
 .springBeans
 .externalToolBuilders
 
+# Maven formatter plugin
+*/.cache/
+.cache/
+
 # Pre-release temporary files
 *.releaseBackup
 release.properties
diff --git a/pom.xml b/pom.xml
index c64f593..50c3fde 100644
--- a/pom.xml
+++ b/pom.xml
@@ -657,6 +657,8 @@
                             <exclude>src/test/resources/**</exclude>
                             <exclude>**/stty-output-*.txt</exclude>
                             <exclude>**/target/**</exclude>
+                            <!-- formatter plugin cache folder -->
+                            <exclude>**/.cache/**</exclude>
                             <exclude>*checkstyle*</exclude>
                             <exclude>*findbugs*</exclude>
                             <exclude>*suppressions*</exclude>
@@ -1039,8 +1041,12 @@
                 <plugin>
                     <groupId>net.revelc.code.formatter</groupId>
                     <artifactId>formatter-maven-plugin</artifactId>
-                    <version>2.11.0</version>
+                    <version>2.12.1</version>
                     <configuration>
+                        <skipXmlFormatting>true</skipXmlFormatting>
+                        <skipHtmlFormatting>true</skipHtmlFormatting>
+                        <skipJsonFormatting>true</skipJsonFormatting>	
+                        <cachedir>${project.build.outputDirectory}${file.separator}.cache</cachedir>
                         <configFile>${workspace.root.dir}${file.separator}sshd-eclipse-formatter-config.xml</configFile>
                         <lineEnding>LF</lineEnding>
                     </configuration>
diff --git a/sshd-common/src/main/java/org/apache/sshd/common/cipher/package.html b/sshd-common/src/main/java/org/apache/sshd/common/cipher/package.html
index 3847e57..5d1be58 100644
--- a/sshd-common/src/main/java/org/apache/sshd/common/cipher/package.html
+++ b/sshd-common/src/main/java/org/apache/sshd/common/cipher/package.html
@@ -14,7 +14,7 @@
     See the License for the specific language governing permissions and
     limitations under the License.
 -->
-<html>
+<html> 
     <head> 
     </head> 
     <body> 
diff --git a/sshd-common/src/main/java/org/apache/sshd/common/compression/package.html b/sshd-common/src/main/java/org/apache/sshd/common/compression/package.html
index febf428..089bb1d 100644
--- a/sshd-common/src/main/java/org/apache/sshd/common/compression/package.html
+++ b/sshd-common/src/main/java/org/apache/sshd/common/compression/package.html
@@ -14,7 +14,7 @@
     See the License for the specific language governing permissions and
     limitations under the License.
 -->
-<html>
+<html> 
     <head> 
     </head> 
     <body> 
diff --git a/sshd-common/src/main/java/org/apache/sshd/common/digest/package.html b/sshd-common/src/main/java/org/apache/sshd/common/digest/package.html
index 49dd2bf..69ece5c 100644
--- a/sshd-common/src/main/java/org/apache/sshd/common/digest/package.html
+++ b/sshd-common/src/main/java/org/apache/sshd/common/digest/package.html
@@ -14,7 +14,7 @@
     See the License for the specific language governing permissions and
     limitations under the License.
 -->
-<html>
+<html> 
     <head> 
     </head> 
     <body> 
diff --git a/sshd-common/src/main/java/org/apache/sshd/common/mac/package.html b/sshd-common/src/main/java/org/apache/sshd/common/mac/package.html
index e9a4589..3dfd646 100644
--- a/sshd-common/src/main/java/org/apache/sshd/common/mac/package.html
+++ b/sshd-common/src/main/java/org/apache/sshd/common/mac/package.html
@@ -14,7 +14,7 @@
     See the License for the specific language governing permissions and
     limitations under the License.
 -->
-<html>
+<html> 
     <head> 
     </head> 
     <body> 
diff --git a/sshd-common/src/main/java/org/apache/sshd/common/random/package.html b/sshd-common/src/main/java/org/apache/sshd/common/random/package.html
index 01da3c1..eda4db0 100644
--- a/sshd-common/src/main/java/org/apache/sshd/common/random/package.html
+++ b/sshd-common/src/main/java/org/apache/sshd/common/random/package.html
@@ -14,7 +14,7 @@
     See the License for the specific language governing permissions and
     limitations under the License.
 -->
-<html>
+<html> 
     <head> 
     </head> 
     <body> 
diff --git a/sshd-common/src/main/java/org/apache/sshd/common/signature/package.html b/sshd-common/src/main/java/org/apache/sshd/common/signature/package.html
index 4853b37..9449128 100644
--- a/sshd-common/src/main/java/org/apache/sshd/common/signature/package.html
+++ b/sshd-common/src/main/java/org/apache/sshd/common/signature/package.html
@@ -14,7 +14,7 @@
     See the License for the specific language governing permissions and
     limitations under the License.
 -->
-<html>
+<html> 
     <head> 
     </head> 
     <body>