ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From veit...@apache.org
Subject [ws-axiom] branch master updated: Automatically configure Java code formatter settings in Eclipse
Date Wed, 22 Apr 2020 21:25:24 GMT
This is an automated email from the ASF dual-hosted git repository.

veithen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ws-axiom.git


The following commit(s) were added to refs/heads/master by this push:
     new 753ea3c  Automatically configure Java code formatter settings in Eclipse
753ea3c is described below

commit 753ea3c7459cd50ac9a39a5f53b4dd5b1b7ba50b
Author: Andreas Veithen <veithen@apache.org>
AuthorDate: Wed Apr 22 22:24:00 2020 +0100

    Automatically configure Java code formatter settings in Eclipse
---
 pom.xml | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/pom.xml b/pom.xml
index 16aaf3e..785f73b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1156,6 +1156,43 @@
                     </ignorePathsToDelete>
                 </configuration>
             </plugin>
+            <plugin>
+                <groupId>com.github.veithen.maven</groupId>
+                <artifactId>eclipse-settings-maven-plugin</artifactId>
+                <version>0.1</version>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>apply</goal>
+                        </goals>
+                    </execution>
+                </executions>
+                <configuration>
+                    <bundles>
+                        <bundle>
+                            <symbolicName>org.eclipse.jdt.core</symbolicName>
+                            <properties>
+                                <property>
+                                    <name>org.eclipse.jdt.core.formatter.comment.line_length</name>
+                                    <value>100</value>
+                                </property>
+                                <property>
+                                    <name>org.eclipse.jdt.core.formatter.lineSplit</name>
+                                    <value>100</value>
+                                </property>
+                                <property>
+                                    <name>org.eclipse.jdt.core.formatter.tabulation.char</name>
+                                    <value>space</value>
+                                </property>
+                                <property>
+                                    <name>org.eclipse.jdt.core.formatter.indentation.size</name>
+                                    <value>4</value>
+                                </property>
+                            </properties>
+                        </bundle>
+                    </bundles>
+                </configuration>
+            </plugin>
         </plugins>
         <extensions>
             <extension>


Mime
View raw message