You can get dependency tree information from Maven to see where this dependency is coming from by running :
mvn dependency:tree -Dverbose -Dincludes=org.mortbay.jetty
You will get something like the following :
[INFO] +- org.apache.hbase:hbase-server:jar:0.98.4.2.2.0.0-2041-hadoop2:test
[INFO] | +- org.mortbay.jetty:jetty:jar:6.1.26:test
[INFO] | | \- (org.mortbay.jetty:jetty-util:jar:6.1.26:test - omitted for duplicate)
[INFO] | +- org.mortbay.jetty:jetty-util:jar:6.1.26:test
[INFO] | +- org.mortbay.jetty:jetty-sslengine:jar:6.1.26:test
[INFO] | | \- (org.mortbay.jetty:jetty:jar:6.1.26:test - omitted for duplicate)
[INFO] | +- org.mortbay.jetty:jsp-2.1:jar:6.1.14:test
[INFO] | | \- (org.mortbay.jetty:jsp-api-2.1:jar:6.1.14:test - omitted for duplicate)
[INFO] | +- org.mortbay.jetty:jsp-api-2.1:jar:6.1.14:test
[INFO] | | \- (org.mortbay.jetty:servlet-api-2.5:jar:6.1.14:test - omitted for duplicate)
[INFO] | \- org.mortbay.jetty:servlet-api-2.5:jar:6.1.14:test
[INFO] +- org.apache.hadoop:hadoop-common:jar:2.6.0.2.2.0.0-2041:test
[INFO] | +- (org.mortbay.jetty:jetty:jar:6.1.26.hwx:test - omitted for conflict with 6.1.26)
[INFO] | +- (org.mortbay.jetty:jetty-util:jar:6.1.26.hwx:test - omitted for conflict with 6.1.26)
[INFO] | \- org.htrace:htrace-core:jar:3.0.4:test
[INFO] | \- (org.mortbay.jetty:jetty-util:jar:6.1.26:test - omitted for duplicate)
[INFO] +- org.apache.hadoop:hadoop-hdfs:jar:2.6.0.2.2.0.0-2041:test
[INFO] | +- (org.mortbay.jetty:jetty:jar:6.1.26.hwx:test - omitted for conflict with 6.1.26)
[INFO] | \- (org.mortbay.jetty:jetty-util:jar:6.1.26.hwx:test - omitted for conflict with 6.1.26)
[INFO] +- org.apache.hadoop:hadoop-mapreduce-client-core:jar:2.6.0.2.2.0.0-2041:test
[INFO] | \- org.apache.hadoop:hadoop-yarn-common:jar:2.6.0.2.2.0.0-2041:test
[INFO] | \- (org.mortbay.jetty:jetty-util:jar:6.1.26.hwx:test - omitted for conflict with 6.1.26)
[INFO] \- org.cloudera.htrace:htrace-core:jar:2.04:test
[INFO] \- (org.mortbay.jetty:jetty-util:jar:6.1.26:test - omitted for duplicate)
You can get dependency tree information from Maven to see where this dependency is coming from by running : org.mortbay. jetty
mvn dependency:tree -Dverbose -Dincludes=
You will get something like the following :
[INFO] +- org.apache. hbase:hbase- server: jar:0.98. 4.2.2.0. 0-2041- hadoop2: test jetty:jetty: jar:6.1. 26:test jetty:jetty- util:jar: 6.1.26: test - omitted for duplicate) jetty:jetty- util:jar: 6.1.26: test jetty:jetty- sslengine: jar:6.1. 26:test jetty:jetty: jar:6.1. 26:test - omitted for duplicate) jetty:jsp- 2.1:jar: 6.1.14: test jetty:jsp- api-2.1: jar:6.1. 14:test - omitted for duplicate) jetty:jsp- api-2.1: jar:6.1. 14:test jetty:servlet- api-2.5: jar:6.1. 14:test - omitted for duplicate) jetty:servlet- api-2.5: jar:6.1. 14:test hadoop: hadoop- common: jar:2.6. 0.2.2.0. 0-2041: test jetty:jetty: jar:6.1. 26.hwx: test - omitted for conflict with 6.1.26) jetty:jetty- util:jar: 6.1.26. hwx:test - omitted for conflict with 6.1.26) htrace- core:jar: 3.0.4:test jetty:jetty- util:jar: 6.1.26: test - omitted for duplicate) hadoop: hadoop- hdfs:jar: 2.6.0.2. 2.0.0-2041: test jetty:jetty: jar:6.1. 26.hwx: test - omitted for conflict with 6.1.26) jetty:jetty- util:jar: 6.1.26. hwx:test - omitted for conflict with 6.1.26) hadoop: hadoop- mapreduce- client- core:jar: 2.6.0.2. 2.0.0-2041: test hadoop: hadoop- yarn-common: jar:2.6. 0.2.2.0. 0-2041: test jetty:jetty- util:jar: 6.1.26. hwx:test - omitted for conflict with 6.1.26) htrace: htrace- core:jar: 2.04:test jetty:jetty- util:jar: 6.1.26: test - omitted for duplicate)
[INFO] | +- org.mortbay.
[INFO] | | \- (org.mortbay.
[INFO] | +- org.mortbay.
[INFO] | +- org.mortbay.
[INFO] | | \- (org.mortbay.
[INFO] | +- org.mortbay.
[INFO] | | \- (org.mortbay.
[INFO] | +- org.mortbay.
[INFO] | | \- (org.mortbay.
[INFO] | \- org.mortbay.
[INFO] +- org.apache.
[INFO] | +- (org.mortbay.
[INFO] | +- (org.mortbay.
[INFO] | \- org.htrace:
[INFO] | \- (org.mortbay.
[INFO] +- org.apache.
[INFO] | +- (org.mortbay.
[INFO] | \- (org.mortbay.
[INFO] +- org.apache.
[INFO] | \- org.apache.
[INFO] | \- (org.mortbay.
[INFO] \- org.cloudera.
[INFO] \- (org.mortbay.