You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@axis.apache.org by ve...@apache.org on 2020/12/26 15:14:37 UTC
[axis-axis2-java-core] branch master updated: Automatically
configure Eclipse code formatter settings
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/axis-axis2-java-core.git
The following commit(s) were added to refs/heads/master by this push:
new 329c39d Automatically configure Eclipse code formatter settings
329c39d is described below
commit 329c39db42111012d08b4de362c86c67da911ba8
Author: Andreas Veithen <an...@gmail.com>
AuthorDate: Sat Dec 26 15:13:02 2020 +0000
Automatically configure Eclipse code formatter settings
---
pom.xml | 68 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 68 insertions(+)
diff --git a/pom.xml b/pom.xml
index 958ec1a..91f60e8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1517,6 +1517,74 @@
<artifactId>maven-scm-publish-plugin</artifactId>
<version>1.1</version>
</plugin>
+ <plugin>
+ <groupId>com.github.veithen.maven</groupId>
+ <artifactId>eclipse-settings-maven-plugin</artifactId>
+ <version>0.2.0</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>
+ <bundle>
+ <symbolicName>org.eclipse.jdt.ui</symbolicName>
+ <properties>
+ <property>
+ <name>org.eclipse.jdt.ui.text.custom_code_templates</name>
+ <value><![CDATA[<?xml version="1.0" encoding="UTF-8" standalone="no"?><templates><template autoinsert="false" context="newtype_context" deleted="false" description="Newly created files" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.newtype" name="newtype">/*
+ * 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.
+ */
+$${filecomment}
+$${package_declaration}
+
+$${typecomment}
+$${type_declaration}</template></templates>]]></value>
+ </property>
+ </properties>
+ </bundle>
+ </bundles>
+ </configuration>
+ </plugin>
</plugins>
</build>
<reporting>