[ https://issues.apache.org/jira/browse/ACCUMULO-1848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13812865#comment-13812865 ]
Josh Elser commented on ACCUMULO-1848: -------------------------------------- Hi Pierre -- Could you provide what command you actually ran to see this error and the output of `git show HEAD`. Thanks. > Failed to build Accumulo Maven Plugin with error: package > org.apache.http.annotation does not exist > --------------------------------------------------------------------------------------------------- > > Key: ACCUMULO-1848 > URL: https://issues.apache.org/jira/browse/ACCUMULO-1848 > Project: Accumulo > Issue Type: Bug > Components: build > Affects Versions: 1.6.0 > Environment: CentOS 6.3 x64 > Reporter: Pierre Kande > Labels: patch > Fix For: 1.6.0 > > > When building Accumulo 1.6-SNAPSHOT with Hadoop 2.2 profile acitvated > (enable), artifact Accumulo Maven Plugin fail to compile with below error. > Its resolution necessitates to use > <groupId>org.apache.httpcomponents</groupId> > <artifactId>httpclient</artifactId> > with<httpclient.version>4.2.1</httpclient.version> > [INFO] Apache Accumulo ................................... SUCCESS [1.771s] > [INFO] Trace ............................................. SUCCESS [0.698s] > [INFO] Fate .............................................. SUCCESS [0.160s] > [INFO] Start ............................................. SUCCESS [1.549s] > [INFO] Core .............................................. SUCCESS [2.658s] > [INFO] Simple Examples ................................... SUCCESS [2.045s] > [INFO] Server Base ....................................... SUCCESS [3.472s] > [INFO] GC Server ......................................... SUCCESS [0.591s] > [INFO] Master Server ..................................... SUCCESS [0.894s] > [INFO] Tablet Server ..................................... SUCCESS [1.459s] > [INFO] MiniCluster ....................................... SUCCESS [1.228s] > [INFO] Monitor Server .................................... SUCCESS [0.910s] > [INFO] Native Libraries .................................. SUCCESS [6.263s] > [INFO] Tracer Server ..................................... SUCCESS [0.399s] > [INFO] Accumulo Maven Plugin ............................. FAILURE [7.735s] > [INFO] Testing ........................................... SKIPPED > [INFO] Proxy ............................................. SKIPPED > [INFO] Extra Server Utilities ............................ SKIPPED > [INFO] Assemblies ........................................ SKIPPED > [INFO] Documentation ..................................... SKIPPED > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 32.734s > [INFO] Finished at: Mon Nov 04 11:35:16 EET 2013 > [INFO] Final Memory: 69M/689M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile > (default-compile) on project accumulo-maven-plugin: Compilation failure: > Compilation failure: > [ERROR] > /home/opensource/github/accumulo/maven-plugin/src/main/java/org/apache/accumulo/maven/plugin/StartMojo.java:[26,33] > error: package org.apache.http.annotation does not exist > [ERROR] > /home/opensource/github/accumulo/maven-plugin/src/main/java/org/apache/accumulo/maven/plugin/StartMojo.java:[37,1] > error: cannot find symbol > [ERROR] symbol: class ThreadSafe > [ERROR] > /home/opensource/github/accumulo/maven-plugin/src/main/java/org/apache/accumulo/maven/plugin/StopMojo.java:[21,33] > error: package org.apache.http.annotation does not exist > [ERROR] > /home/opensource/github/accumulo/maven-plugin/src/main/java/org/apache/accumulo/maven/plugin/StopMojo.java:[30,1] > error: cannot find symbol > [ERROR] symbol: class ThreadSafe > [ERROR] > /home/opensource/github/accumulo/maven-plugin/src/main/java/org/apache/accumulo/maven/plugin/StartMojo.java:[26,33] > error: package org.apache.http.annotation does not exist > [ERROR] > /home/opensource/github/accumulo/maven-plugin/src/main/java/org/apache/accumulo/maven/plugin/StartMojo.java:[37,1] > error: cannot find symbol > [ERROR] symbol: class ThreadSafe > [ERROR] > /home/opensource/github/accumulo/maven-plugin/src/main/java/org/apache/accumulo/maven/plugin/StopMojo.java:[21,33] > error: package org.apache.http.annotation does not exist > [ERROR] > /home/opensource/github/accumulo/maven-plugin/src/main/java/org/apache/accumulo/maven/plugin/StopMojo.java:[30,1] > error: cannot find symbol > [ERROR] -> [Help 1] -- This message was sent by Atlassian JIRA (v6.1#6144)