Repository: incubator-htrace Updated Branches: refs/heads/master 31a5ef89f -> eedb9cdbe
HTRACE-234. Add workaround to prevent htrace-hbase from getting in an infinite loop while creating the dependency-reduced pom (Cosmin Lehene via Colin P. McCabe) Project: http://git-wip-us.apache.org/repos/asf/incubator-htrace/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-htrace/commit/eedb9cdb Tree: http://git-wip-us.apache.org/repos/asf/incubator-htrace/tree/eedb9cdb Diff: http://git-wip-us.apache.org/repos/asf/incubator-htrace/diff/eedb9cdb Branch: refs/heads/master Commit: eedb9cdbef0839f0ebcef2ef90f97ed0677c53cd Parents: 31a5ef8 Author: Colin P. Mccabe <[email protected]> Authored: Wed Sep 2 12:38:43 2015 -0700 Committer: Colin P. Mccabe <[email protected]> Committed: Wed Sep 2 12:38:43 2015 -0700 ---------------------------------------------------------------------- README.md | 9 +++++++++ htrace-hbase/pom.xml | 4 ++++ 2 files changed, 13 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-htrace/blob/eedb9cdb/README.md ---------------------------------------------------------------------- diff --git a/README.md b/README.md index d469e22..fd48635 100644 --- a/README.md +++ b/README.md @@ -20,3 +20,12 @@ HTrace HTrace is a tracing framework for use with distributed systems. See documentation at src/main/site/markdown/index.md or at http://htrace.incubator.apache.org. + +Building +-------- +Only Maven 3.0.4 should be used to create HTrace releases - see [HTRACE-236](https://issues.apache.org/jira/browse/HTRACE-236) +(Support building release artifacts with Maven versions other than 3.0.4) for details. + +To get around this while using Maven 3.3 [HTRACE-234](https://issues.apache.org/jira/browse/HTRACE-234) +you can run maven with `-DcreateDependencyReducedPom=false`. + http://git-wip-us.apache.org/repos/asf/incubator-htrace/blob/eedb9cdb/htrace-hbase/pom.xml ---------------------------------------------------------------------- diff --git a/htrace-hbase/pom.xml b/htrace-hbase/pom.xml index 20075e9..f2d0351 100644 --- a/htrace-hbase/pom.xml +++ b/htrace-hbase/pom.xml @@ -33,6 +33,7 @@ language governing permissions and limitations under the License. --> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <hbase.version>0.99.2</hbase.version> <jetty.version>9.2.13.v20150730</jetty.version> + <createDependencyReducedPom>true</createDependencyReducedPom> </properties> <build> @@ -67,6 +68,9 @@ language governing permissions and limitations under the License. --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> + <configuration> + <createDependencyReducedPom>${createDependencyReducedPom}</createDependencyReducedPom> + </configuration> <executions> <execution> <phase>package</phase>
