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/bae8f2a8
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/bae8f2a8
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/bae8f2a8

Branch: refs/heads/master
Commit: bae8f2a8cb68621ea34e7a50b42f3a217261b041
Parents: 384acff
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 12:01:32 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/bae8f2a8/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/bae8f2a8/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;

Reply via email to