utils: fix pom.xml to have references for javax.servlet api interfaces Signed-off-by: Rohit Yadav <rohit.ya...@shapeblue.com>
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/614d5c74 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/614d5c74 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/614d5c74 Branch: refs/heads/auth-refactor Commit: 614d5c746f1f85d0ef35a3bc39ecf215625666a2 Parents: 4118c0d Author: Rohit Yadav <rohit.ya...@shapeblue.com> Authored: Tue Aug 12 10:13:56 2014 +0200 Committer: Rohit Yadav <rohit.ya...@shapeblue.com> Committed: Tue Aug 12 10:13:56 2014 +0200 ---------------------------------------------------------------------- utils/pom.xml | 5 +++++ utils/src/com/cloud/utils/HttpUtils.java | 3 +++ 2 files changed, 8 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/614d5c74/utils/pom.xml ---------------------------------------------------------------------- diff --git a/utils/pom.xml b/utils/pom.xml index cc6de3b..27eeee3 100755 --- a/utils/pom.xml +++ b/utils/pom.xml @@ -99,6 +99,11 @@ <groupId>commons-configuration</groupId> <artifactId>commons-configuration</artifactId> </dependency> + <dependency> + <groupId>javax.servlet</groupId> + <artifactId>servlet-api</artifactId> + <scope>provided</scope> + </dependency> <!-- Test dependency in mysql for db tests --> <dependency> <groupId>mysql</groupId> http://git-wip-us.apache.org/repos/asf/cloudstack/blob/614d5c74/utils/src/com/cloud/utils/HttpUtils.java ---------------------------------------------------------------------- diff --git a/utils/src/com/cloud/utils/HttpUtils.java b/utils/src/com/cloud/utils/HttpUtils.java index f608b86..0ed2afa 100644 --- a/utils/src/com/cloud/utils/HttpUtils.java +++ b/utils/src/com/cloud/utils/HttpUtils.java @@ -1,3 +1,4 @@ +// // Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information @@ -14,6 +15,8 @@ // KIND, either express or implied. See the License for the // specific language governing permissions and limitations // under the License. +// + package com.cloud.utils; import org.apache.log4j.Logger;