hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HBASE-18593) Tell m2eclipse what to do w/ replacer plugin
Date Mon, 14 Aug 2017 16:15:01 GMT

     [ https://issues.apache.org/jira/browse/HBASE-18593?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

stack resolved HBASE-18593.
---------------------------
    Resolution: Fixed

Pushed to master and branch-2.

> 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)

Mime
View raw message