From feaf6b2b35c3aef5d5d619a887f36e13ec2ee94a Mon Sep 17 00:00:00 2001
From: ayyoob <ayyoobhamza@gmail.com>
Date: Tue, 24 May 2016 15:35:48 +0530
Subject: [PATCH] added webapp publisher missing bundle

---
 .../org.wso2.carbon.apimgt.webapp.publisher/pom.xml        | 5 +++++
 pom.xml                                                    | 7 +++++++
 2 files changed, 12 insertions(+)

diff --git a/components/apimgt-extensions/org.wso2.carbon.apimgt.webapp.publisher/pom.xml b/components/apimgt-extensions/org.wso2.carbon.apimgt.webapp.publisher/pom.xml
index 57ebebd95e7..082a4817ff2 100644
--- a/components/apimgt-extensions/org.wso2.carbon.apimgt.webapp.publisher/pom.xml
+++ b/components/apimgt-extensions/org.wso2.carbon.apimgt.webapp.publisher/pom.xml
@@ -103,6 +103,10 @@
             <groupId>org.wso2.carbon.governance</groupId>
             <artifactId>org.wso2.carbon.governance.lcm</artifactId>
         </dependency>
+        <dependency>
+            <groupId>javax.ws.rs</groupId>
+            <artifactId>javax.ws.rs-api</artifactId>
+        </dependency>
     </dependencies>
 
 
@@ -150,6 +154,7 @@
                             org.wso2.carbon.registry.core.*
                         </Import-Package>
                         <Embed-Dependency>
+                            javax.ws.rs-api,
                             scribe;scope=compile|runtime;inline=false;
                         </Embed-Dependency>
                         <DynamicImport-Package>*</DynamicImport-Package>
diff --git a/pom.xml b/pom.xml
index daac4ef724c..7ad4fc14b7f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1116,6 +1116,11 @@
                 <artifactId>jsr311-api</artifactId>
                 <version>${jsr311.version}</version>
             </dependency>
+            <dependency>
+                <groupId>javax.ws.rs</groupId>
+                <artifactId>javax.ws.rs-api</artifactId>
+                <version>${javax.ws.rs.version}</version>
+            </dependency>
             <dependency>
                 <groupId>commons-logging</groupId>
                 <artifactId>commons-logging</artifactId>
@@ -1856,6 +1861,8 @@
         <nimbus.orbit.version>2.26.1.wso2v3</nimbus.orbit.version>
         <nimbus.orbit.version.range>[2.26.1, 3.0.0)</nimbus.orbit.version.range>
 
+        <!--javax ws rs version-->
+        <javax.ws.rs.version>2.0.1</javax.ws.rs.version>
         <swagger.version>1.5.8</swagger.version>
         <servlet-api.version>2.5</servlet-api.version>
     </properties>