Skip to content

Instantly share code, notes, and snippets.

Created October 17, 2010 20:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/631236 to your computer and use it in GitHub Desktop.
Save anonymous/631236 to your computer and use it in GitHub Desktop.
Index: src/main/resources/META-INF/MANIFEST.MF
===================================================================
--- src/main/resources/META-INF/MANIFEST.MF (revision 0)
+++ src/main/resources/META-INF/MANIFEST.MF (revision 0)
@@ -0,0 +1,40 @@
+Web-ContextPath: mvc-basic
+Bundle-ManifestVersion: 2
+Bundle-Name: OSGi MVC Basic WAR
+Bundle-SymbolicName: org.springframework.osgi.samples.mvcbasic
+Bundle-ClassPath: .,WEB-INF/classes/
+Import-Package: javax.servlet;version="2.4.0",
+ javax.servlet.http;version="2.4.0",
+ javax.servlet.resources;version="2.0.0",
+ javax.servlet.jsp;version="2.0.0",
+ javax.servlet.jsp.jstl.core;version="1.1.2",
+ javax.servlet.jsp.jstl.fmt;version="1.1.2",
+ javax.servlet.jsp.jstl.tlv;version="1.1.2",
+ javax.servlet.jsp.tagext;version="2.0.0",
+ org.apache.taglibs.standard.functions;version="1.1.2",
+ org.apache.taglibs.standard.resources;version="1.1.2",
+ org.apache.taglibs.standard.tag.common.core;version="1.1.2",
+ org.apache.taglibs.standard.tag.common.fmt;version="1.1.2",
+ org.apache.taglibs.standard.tag.rt.core;version="1.1.2",
+ org.apache.taglibs.standard.tag.rt.fmt;version="1.1.2",
+ org.apache.taglibs.standard.tei;version="1.1.2",
+ org.apache.taglibs.standard.tlv;version="1.1.2",
+ org.springframework.beans.factory.annotation;version="3.0.3",
+ org.springframework.core.io;version="3.0.3",
+ org.springframework.osgi.io;version="1.1.0",
+ org.springframework.osgi.util;version="1.1.0",
+ org.springframework.osgi.web.context.support;version="1.1.0",
+ org.springframework.stereotype;version="3.0.3",
+ org.springframework.validation;version="3.0.3",
+ org.springframework.web.bind.annotation;version="3.0.3",
+ org.springframework.web.context;version="3.0.3",
+ org.springframework.ui;version="3.0.3",
+ org.springframework.util;version="3.0.3",
+ org.springframework.web.filter;version="3.0.3",
+ org.springframework.web.servlet;version="3.0.3",
+ org.springframework.web.servlet.view;version="3.0.3",
+ org.springframework.web.servlet.tags;version="3.0.3",
+ org.springframework.web.servlet.tags.form;version="3.0.3",
+ org.tuckey.web.filters.urlrewrite;version="3.1.0",
+ org.osgi.framework;version="1.3",
+ org.osgi.service.packageadmin;version="1.2"
Index: pom.xml
===================================================================
--- pom.xml (revision 589)
+++ pom.xml (working copy)
@@ -142,9 +142,14 @@
<artifactId>maven-war-plugin</artifactId>
<configuration>
<warName>mvc-basic</warName>
+ <warSourceExcludes>WEB-INF/lib/*</warSourceExcludes>
+ <archive>
+ <manifestFile>src/main/resources/META-INF/MANIFEST.MF</manifestFile>
+ </archive>
</configuration>
</plugin>
- <plugin>
+ <!-- fails to find urlrewritefilter sources
+ <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
@@ -156,7 +161,7 @@
</goals>
</execution>
</executions>
- </plugin>
+ </plugin -->
</plugins>
</build>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment