From 6db73b1c8d1454e06cfc63b9affe79483df79da6 Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Thu, 4 Mar 2010 17:54:27 +0000 Subject: [PATCH] HBASE-2267 More improvements to the Maven build git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@919095 13f79535-47bb-0310-9956-ffa450edef68 --- CHANGES.txt | 1 + contrib/pom.xml | 1 - contrib/stargate/pom.xml | 8 +-- contrib/transactional/pom.xml | 16 ++++++ .../main/{resources => javadoc}/overview.html | 0 .../resources/webapps/master/WEB-INF/web.xml | 43 ---------------- .../webapps/regionserver/WEB-INF/web.xml | 23 --------- pom.xml | 49 ++++++++++++++++--- src/assembly/bin.xml | 9 ++++ 9 files changed, 73 insertions(+), 77 deletions(-) rename core/src/main/{resources => javadoc}/overview.html (100%) delete mode 100644 core/src/main/resources/webapps/master/WEB-INF/web.xml delete mode 100644 core/src/main/resources/webapps/regionserver/WEB-INF/web.xml diff --git a/CHANGES.txt b/CHANGES.txt index 2b7ed400a1d..35f70ec1446 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -408,6 +408,7 @@ Release 0.21.0 - Unreleased (Benoit Sigoure via JD) HBASE-2282 More directories should be ignored when using git for development (Alexey Kovyrin via Stack) + HBASE-2267 More improvements to the Maven build (Lars Francke via Stack) NEW FEATURES HBASE-1961 HBase EC2 scripts diff --git a/contrib/pom.xml b/contrib/pom.xml index 4b439c6d9e4..617ba935b33 100644 --- a/contrib/pom.xml +++ b/contrib/pom.xml @@ -2,7 +2,6 @@ 4.0.0 - org.apache.hbase hbase-contrib pom HBase Contrib diff --git a/contrib/stargate/pom.xml b/contrib/stargate/pom.xml index fad6effd7d6..16e201e4d79 100644 --- a/contrib/stargate/pom.xml +++ b/contrib/stargate/pom.xml @@ -17,6 +17,8 @@ 1.1.1 2.3.0 1.1.4.1 + 20090211 + 1.8.0.10 @@ -72,13 +74,13 @@ org.json json - 20090211 + ${json.version} - hsqldb hsqldb - 1.8.0.10 + ${hsqldb.version} + test diff --git a/contrib/transactional/pom.xml b/contrib/transactional/pom.xml index 4c9e09511bc..14a4b96b3eb 100644 --- a/contrib/transactional/pom.xml +++ b/contrib/transactional/pom.xml @@ -13,6 +13,18 @@ 0.21.0-SNAPSHOT + + + + org.apache.maven.plugins + maven-surefire-plugin + + always + + + + + ${project.groupId} @@ -23,6 +35,10 @@ hbase-core tests + + org.apache.hadoop + hadoop-core-test + org.apache.hadoop hadoop-hdfs-test diff --git a/core/src/main/resources/overview.html b/core/src/main/javadoc/overview.html similarity index 100% rename from core/src/main/resources/overview.html rename to core/src/main/javadoc/overview.html diff --git a/core/src/main/resources/webapps/master/WEB-INF/web.xml b/core/src/main/resources/webapps/master/WEB-INF/web.xml deleted file mode 100644 index c762a2bf921..00000000000 --- a/core/src/main/resources/webapps/master/WEB-INF/web.xml +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - org.apache.hadoop.hbase.generated.master.master_jsp - org.apache.hadoop.hbase.generated.master.master_jsp - - - - org.apache.hadoop.hbase.generated.master.table_jsp - org.apache.hadoop.hbase.generated.master.table_jsp - - - - org.apache.hadoop.hbase.generated.master.zk_jsp - org.apache.hadoop.hbase.generated.master.zk_jsp - - - - org.apache.hadoop.hbase.generated.master.master_jsp - /master.jsp - - - - org.apache.hadoop.hbase.generated.master.table_jsp - /table.jsp - - - - org.apache.hadoop.hbase.generated.master.zk_jsp - /zk.jsp - - - - diff --git a/core/src/main/resources/webapps/regionserver/WEB-INF/web.xml b/core/src/main/resources/webapps/regionserver/WEB-INF/web.xml deleted file mode 100644 index 37a242c7811..00000000000 --- a/core/src/main/resources/webapps/regionserver/WEB-INF/web.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - org.apache.hadoop.hbase.generated.regionserver.regionserver_jsp - org.apache.hadoop.hbase.generated.regionserver.regionserver_jsp - - - - org.apache.hadoop.hbase.generated.regionserver.regionserver_jsp - /regionserver.jsp - - - - diff --git a/pom.xml b/pom.xml index f39412c2176..84e00cb4486 100644 --- a/pom.xml +++ b/pom.xml @@ -117,7 +117,7 @@ larsgeorge Lars George - lars.george@gmail.com + larsgeorge@apache.org +1 WorldLingo http://www.worldlingo.com/ @@ -163,6 +163,7 @@ 0.2.0 1.4.0 1.5.8 + 3.2 @@ -225,10 +226,6 @@ - target - target/classes - ${artifactId}-${version} - @@ -260,6 +257,7 @@ maven-surefire-plugin 2.5 + 3600 -Xmx512m true @@ -268,6 +266,10 @@ maven-javadoc-plugin 2.6.1 + + maven-clean-plugin + 2.4 + @@ -330,6 +332,11 @@ ${hadoop-mapred.version} test + + net.sf.jopt-simple + jopt-simple + ${jopt.version} + @@ -352,10 +359,14 @@ + + maven-project-info-reports-plugin + 2.1.2 + org.apache.maven.plugins maven-pmd-plugin - 2.3 + 2.4 ${compileSource} @@ -363,14 +374,16 @@ org.apache.maven.plugins maven-checkstyle-plugin + 2.5 org.codehaus.mojo findbugs-maven-plugin - 2.3 + 2.3.1 maven-site-plugin + 2.1 UTF-8 UTF-8 @@ -391,17 +404,21 @@ org.codehaus.mojo cobertura-maven-plugin + 2.3 org.apache.maven.plugins maven-jxr-plugin + 2.1 org.codehaus.mojo jdepend-maven-plugin + 2.0-beta-2 maven-changes-plugin + 2.3 %URL%/browse/%ISSUE% @@ -413,6 +430,24 @@ + + com.atlassian.maven.plugins + maven-clover2-plugin + 2.6.3 + + + maven-surefire-report-plugin + 2.5 + + + org.codehaus.mojo + taglist-maven-plugin + 2.4 + + + maven-dependency-plugin + 2.1 + diff --git a/src/assembly/bin.xml b/src/assembly/bin.xml index 246fd0a825e..42508fdc215 100644 --- a/src/assembly/bin.xml +++ b/src/assembly/bin.xml @@ -44,6 +44,15 @@ false + + + org.apache.hbase:hbase-contrib-mdc_replication + + + contrib/mdc_replication/ + false + + org.apache.hbase:hbase-contrib-stargate