You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ws.apache.org by ve...@apache.org on 2020/04/29 19:06:34 UTC
[ws-axiom] branch master updated: Configure Eclipse code template
to add license headers automatically
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 f4e4f9a Configure Eclipse code template to add license headers automatically
f4e4f9a is described below
commit f4e4f9aed5721e5c4251a80967f7d27d800cd8ff
Author: Andreas Veithen <ve...@apache.org>
AuthorDate: Wed Apr 29 20:04:19 2020 +0100
Configure Eclipse code template to add license headers automatically
---
pom.xml | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/pom.xml b/pom.xml
index 8e56311..7f0562c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1190,6 +1190,37 @@
</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>