Hi Matteo Thanks for pointing out the right direction, but your command doesn't work in my case. It's actually a problem related the JRE cert path on OS X system, i don't want to pay too much effort to fix it right now, so the workaround is to compile the build in a common Linux server(it's Ubuntu in my case), and copy the dependencies required from that Linux server to my Mac, then just use this command: mvn clean package -Dhadoop.profile=2.0 -P security -DskipTests Everything works like a charming. BTW, obviously Apple doesn't like Java ^__^ ThanksRamon
> From: [email protected] > Date: Tue, 5 Nov 2013 08:03:30 -0800 > Subject: Re: mvn command to compile CDH4.4 HBase > To: [email protected] > > 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
