You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@avro.apache.org by dk...@apache.org on 2019/08/16 18:23:19 UTC

[avro] branch master updated: AVRO-2479: Add m2e lifecycle mapping file for maven

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

dkulp pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/avro.git


The following commit(s) were added to refs/heads/master by this push:
     new 4d32443  AVRO-2479: Add m2e lifecycle mapping file for maven
4d32443 is described below

commit 4d324431edf34fc24373829a0d0af95235e6acc3
Author: p2 <pi...@gmail.com>
AuthorDate: Mon Jul 22 16:23:18 2019 -0400

    AVRO-2479: Add m2e lifecycle mapping file for maven
    
    Permit building on configuration but not on incremental.
---
 .../META-INF/m2e/lifecycle-mapping-metadata.xml    | 38 ++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/lang/java/maven-plugin/src/main/resources/META-INF/m2e/lifecycle-mapping-metadata.xml b/lang/java/maven-plugin/src/main/resources/META-INF/m2e/lifecycle-mapping-metadata.xml
new file mode 100644
index 0000000..c6d5419
--- /dev/null
+++ b/lang/java/maven-plugin/src/main/resources/META-INF/m2e/lifecycle-mapping-metadata.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+   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
+
+       https://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.
+-->
+<lifecycleMappingMetadata>
+
+    <pluginExecutions>
+        <pluginExecution>
+            <pluginExecutionFilter>
+                <goals>
+                    <goal>protocol</goal>
+                    <goal>idl-protocol</goal>
+                    <goal>schema</goal>
+                </goals>
+            </pluginExecutionFilter>
+            <action>
+                <execute>
+                    <runOnConfiguration>true</runOnConfiguration>
+                    <runOnIncremental>false</runOnIncremental>
+                </execute>
+            </action>
+        </pluginExecution>
+    </pluginExecutions>
+
+</lifecycleMappingMetadata>