Brian O'Connor
Committed by Gerrit Code Review

Fixing Import-Property in OSGiWrapper

Change-Id: Ie2c796508a00990437ee317da4d03e250fcf1ffd
...@@ -121,7 +121,7 @@ public class OSGiWrapper { ...@@ -121,7 +121,7 @@ public class OSGiWrapper {
121 //analyzer.setProperty("-consumer-policy", "${range;[===,==+)}"); 121 //analyzer.setProperty("-consumer-policy", "${range;[===,==+)}");
122 122
123 // There are no good defaults so make sure you set the Import-Package 123 // There are no good defaults so make sure you set the Import-Package
124 - analyzer.setProperty(Analyzer.IMPORT_PACKAGE, "*,org.glassfish.jersey.servlet"); 124 + analyzer.setProperty(Analyzer.IMPORT_PACKAGE, "*");
125 125
126 // TODO include version in export, but not in import 126 // TODO include version in export, but not in import
127 analyzer.setProperty(Analyzer.EXPORT_PACKAGE, "*"); 127 analyzer.setProperty(Analyzer.EXPORT_PACKAGE, "*");
...@@ -131,6 +131,7 @@ public class OSGiWrapper { ...@@ -131,6 +131,7 @@ public class OSGiWrapper {
131 if (isWab()) { 131 if (isWab()) {
132 analyzer.setProperty(Analyzer.WAB, "src/main/webapp/"); 132 analyzer.setProperty(Analyzer.WAB, "src/main/webapp/");
133 analyzer.setProperty("Web-ContextPath", webContext); 133 analyzer.setProperty("Web-ContextPath", webContext);
134 + analyzer.setProperty(Analyzer.IMPORT_PACKAGE, "*,org.glassfish.jersey.servlet");
134 } 135 }
135 } 136 }
136 137
......