You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2017/08/14 16:10:00 UTC

[jira] [Created] (HBASE-18593) Tell m2eclipse what to do w/ replacer plugin

stack created HBASE-18593:
-----------------------------

             Summary: Tell m2eclipse what to do w/ replacer plugin
                 Key: HBASE-18593
                 URL: https://issues.apache.org/jira/browse/HBASE-18593
             Project: HBase
          Issue Type: Sub-task
          Components: build
            Reporter: stack
            Assignee: stack
            Priority: Trivial
             Fix For: 2.0.0


Tripped over this playing w/ eclipse today. The mvn maven-replacer-plugin plugin that we added to hbase-protocol-shaded triggers outside usual lifecycle. The newer m2eclipse plugins need to be told explicitly what to do w/ plugins of this type. Let me commit this:

{code}
diff --git a/hbase-protocol-shaded/pom.xml b/hbase-protocol-shaded/pom.xml
index b28c03e740..4c72ecaa93 100644
--- a/hbase-protocol-shaded/pom.xml
+++ b/hbase-protocol-shaded/pom.xml
@@ -192,6 +192,23 @@
                     <ignore/>
                   </action>
                 </pluginExecution>
+                <pluginExecution>
+                  <pluginExecutionFilter>
+                    <groupId>
+                      com.google.code.maven-replacer-plugin
+                    </groupId>
+                    <artifactId>replacer</artifactId>
+                    <versionRange>[1.5.3,)</versionRange>
+                    <goals>
+                      <goal>replace</goal>
+                    </goals>
+                  </pluginExecutionFilter>
+                  <action>
+                    <execute>
+                     <runOnIncremental>false</runOnIncremental>
+                    </execute>
+                  </action>
+                </pluginExecution>
               </pluginExecutions>
             </lifecycleMappingMetadata>
           </configuration>
{code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)