diff options
author | Greg Wilkins | 2015-05-13 13:13:16 +0000 |
---|---|---|
committer | Greg Wilkins | 2015-05-13 13:13:16 +0000 |
commit | 435bed0c374e75e60456879cb965c35861608402 (patch) | |
tree | 6a5526d4deff28eacc34eea775e24fc977322348 /tests/test-webapps/test-jetty-webapp | |
parent | 356600716d7b187c7a990f1586c984d12c1eb445 (diff) | |
download | org.eclipse.jetty.project-435bed0c374e75e60456879cb965c35861608402.tar.gz org.eclipse.jetty.project-435bed0c374e75e60456879cb965c35861608402.tar.xz org.eclipse.jetty.project-435bed0c374e75e60456879cb965c35861608402.zip |
fixed import into eclipse IDE
Diffstat (limited to 'tests/test-webapps/test-jetty-webapp')
-rw-r--r-- | tests/test-webapps/test-jetty-webapp/pom.xml | 37 |
1 files changed, 13 insertions, 24 deletions
diff --git a/tests/test-webapps/test-jetty-webapp/pom.xml b/tests/test-webapps/test-jetty-webapp/pom.xml index 9bd118d59b..e42a9dff34 100644 --- a/tests/test-webapps/test-jetty-webapp/pom.xml +++ b/tests/test-webapps/test-jetty-webapp/pom.xml @@ -81,31 +81,20 @@ <supportedProjectTypes> <supportedProjectType>war</supportedProjectType> </supportedProjectTypes> + <instructions> + <Import-Package>javax.servlet.jsp.*;version="[2.2.0,3.0)",javax.servlet.*;version="[2.6,3.2)",org.eclipse.jetty.*;version="[9.0,10.0)",*</Import-Package> + <Export-Package>!com.acme*</Export-Package> + <!-- the test webapp is configured via a jetty xml file + in order to add the security handler. --> + <Web-ContextPath>/</Web-ContextPath> + <!-- in fact the '.' must not be there + but Felix-BND has a bug: + http://www.mail-archive.com/users@felix.apache.org/msg04730.html + https://issues.apache.org/jira/browse/FELIX-1571 + --> + <Bundle-ClassPath>.,WEB-INF/classes</Bundle-ClassPath> + </instructions> </configuration> - <executions> - <execution> - <id>bundle-manifest</id> - <phase>process-classes</phase> - <goals> - <goal>manifest</goal> - </goals> - <configuration> - <instructions> - <Import-Package>javax.servlet.jsp.*;version="[2.2.0,3.0)",javax.servlet.*;version="[2.6,3.2)",org.eclipse.jetty.*;version="[9.0,10.0)",*</Import-Package> - <Export-Package>!com.acme*</Export-Package> - <!-- the test webapp is configured via a jetty xml file - in order to add the security handler. --> - <Web-ContextPath>/</Web-ContextPath> - <!-- in fact the '.' must not be there - but Felix-BND has a bug: - http://www.mail-archive.com/users@felix.apache.org/msg04730.html - https://issues.apache.org/jira/browse/FELIX-1571 - --> - <Bundle-ClassPath>.,WEB-INF/classes</Bundle-ClassPath> - </instructions> - </configuration> - </execution> - </executions> </plugin> <!-- also make this webapp an osgi bundle --> <plugin> |