that is the right way to build, but it looks like you've problems downloading the dependencies. could you try to add -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true
$ mvn clean package -Psecurity -Dhadoop.profile=2.0 -DskipTests -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true Matteo On Tue, Nov 5, 2013 at 7:54 AM, WangRamon <[email protected]> wrote: > Hi All > Does anyone know what is the correct mvn command to compile CDH4.4 HBase, > i checked out the code from CDH, and run the following mvn command: > mvn clean package -Dhadoop.profile=2.0 -P security -DskipTests > But always got some errors: > [ERROR] Failed to execute goal on project hbase: Could not resolve > dependencies for project org.apache.hbase:hbase:jar:0.94.6-cdh4.4.0: Failed > to collect dependencies at > org.apache.hadoop:hadoop-minicluster:jar:2.0.0-cdh4.4.0: Failed to read > artifact descriptor for > org.apache.hadoop:hadoop-minicluster:jar:2.0.0-cdh4.4.0: Could not transfer > artifact org.apache.hadoop:hadoop-minicluster:pom:2.0.0-cdh4.4.0 from/to > cdh.repo (https://repository.cloudera.com/artifactory/cloudera-repos): > peer not authenticated -> [Help 1] > Any ideas? Thanks in advance. > ThanksRamon
