diff options
author | Jan Bartel | 2014-09-03 08:43:53 +0000 |
---|---|---|
committer | Jan Bartel | 2014-09-03 08:43:53 +0000 |
commit | 63893d1da07fa521d95ee05a2c435eaeb9b89604 (patch) | |
tree | c7bd805317997fb5f3a26e2ff25f0df391120452 | |
parent | 26989bca0e15c94a34caf25f4c7c0217e97027be (diff) | |
download | org.eclipse.jetty.toolchain-63893d1da07fa521d95ee05a2c435eaeb9b89604.tar.gz org.eclipse.jetty.toolchain-63893d1da07fa521d95ee05a2c435eaeb9b89604.tar.xz org.eclipse.jetty.toolchain-63893d1da07fa521d95ee05a2c435eaeb9b89604.zip |
Create new project for an osgi-friendly bundling of servlet api without jsp api or schemas.
-rw-r--r-- | jetty-osgi-servlet-api/pom.xml | 106 |
1 files changed, 106 insertions, 0 deletions
diff --git a/jetty-osgi-servlet-api/pom.xml b/jetty-osgi-servlet-api/pom.xml new file mode 100644 index 0000000..a7a7530 --- /dev/null +++ b/jetty-osgi-servlet-api/pom.xml @@ -0,0 +1,106 @@ +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + <parent> + <groupId>org.eclipse.jetty.toolchain</groupId> + <artifactId>jetty-toolchain</artifactId> + <version>1.4</version> + <relativePath>../jetty-toolchain</relativePath> + </parent> + <modelVersion>4.0.0</modelVersion> + <groupId>org.eclipse.jetty.toolchain</groupId> + <artifactId>jetty-osgi-servlet-api</artifactId> + <version>3.1-SNAPSHOT</version> + <name>Jetty :: Servlet API and Schemas for OSGi </name> + <packaging>jar</packaging> + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + </properties> + <scm> + <connection>scm:git:http://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.toolchain.git</connection> + <developerConnection>scm:git:ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.toolchain.git</developerConnection> + <url>http://git.eclipse.org/c/jetty/org.eclipse.jetty.toolchain.git/tree/jetty-schemas</url> + </scm> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-shade-plugin</artifactId> + <version>2.3</version> + <executions> + <execution> + <phase>package</phase> + <goals> + <goal>shade</goal> + </goals> + <configuration> + <createSourcesJar>true</createSourcesJar> + <shadeSourcesContent>true</shadeSourcesContent> + <createDependencyReducedPom>false</createDependencyReducedPom> + <artifactSet> + <includes> + <include>org.eclipse.jetty.toolchain:jetty-schemas</include> + <include>javax.servlet:javax.servlet-api</include> + </includes> + </artifactSet> + <filters> + <filter> + <artifact>*:*</artifact> + <excludes> + <exclude>javax/servlet/jsp/**</exclude> + <exclude>META-INF/services/**</exclude> + <exclude>META-INF/web-fragment.xml</exclude> + <exclude>META-INF/*.DSA</exclude> + <exclude>META-INF/*.RSA</exclude> + <exclude>META-INF/MANIFEST.MF</exclude> + </excludes> + </filter> + </filters> + <transformers> + <transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer"> + <resource>META-INF/MANIFEST.MF</resource> + <file>target/classes/META-INF/MANIFEST.MF</file> + </transformer> + </transformers> + </configuration> + </execution> + </executions> + </plugin> + + <plugin> + <groupId>org.apache.felix</groupId> + <artifactId>maven-bundle-plugin</artifactId> + <extensions>true</extensions> + <executions> + <execution> + <id>bundle-manifest</id> + <phase>process-classes</phase> + <goals> + <goal>manifest</goal> + </goals> + </execution> + </executions> + <configuration> + <instructions> + <Bundle-SymbolicName>org.eclipse.jetty.osgi-servlet-api;singleton:=true</Bundle-SymbolicName> + <Bundle-Name>Jetty Servlet API and Schemas for OSGi</Bundle-Name> + <Bundle-Description>Combined servlet api and schemas for use in osgi environments</Bundle-Description> + <Bundle-RequiredExecutionEnvironment>J2SE-1.5</Bundle-RequiredExecutionEnvironment> + <_nouses>true</_nouses> + <Export-Package>!javax.servlet.jsp.*,javax.servlet.*;version="3.1",*</Export-Package> + </instructions> + </configuration> + </plugin> + </plugins> + </build> + <dependencies> + <dependency> + <groupId>javax.servlet</groupId> + <artifactId>javax.servlet-api</artifactId> + <version>3.1.0</version> + </dependency> + <dependency> + <groupId>org.eclipse.jetty.toolchain</groupId> + <artifactId>jetty-schemas</artifactId> + <version>3.1.M0</version> + </dependency> + </dependencies> +</project> |