Felix Meschberger | d40e0d8 | 2014-02-18 10:41:25 +0000 | [diff] [blame] | 1 | <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor |
| 2 | license agreements. See the NOTICE file distributed with this work for additional |
| 3 | information regarding copyright ownership. The ASF licenses this file to |
| 4 | you under the Apache License, Version 2.0 (the "License"); you may not use |
| 5 | this file except in compliance with the License. You may obtain a copy of |
| 6 | the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required |
| 7 | by applicable law or agreed to in writing, software distributed under the |
| 8 | License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS |
| 9 | OF ANY KIND, either express or implied. See the License for the specific |
| 10 | language governing permissions and limitations under the License. --> |
| 11 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 12 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" |
| 13 | > |
| 14 | |
| 15 | <modelVersion>4.0.0</modelVersion> |
| 16 | <parent> |
| 17 | <groupId>org.apache.felix</groupId> |
| 18 | <artifactId>org.apache.felix.http.parent</artifactId> |
| 19 | <version>3-SNAPSHOT</version> |
| 20 | <relativePath>../parent/pom.xml</relativePath> |
| 21 | </parent> |
| 22 | |
| 23 | <name>Apache Felix Servlet API</name> |
| 24 | <description>Provides the Servlet API for use by applications</description> |
| 25 | <artifactId>org.apache.felix.http.servlet-api</artifactId> |
| 26 | <version>0.0.1-SNAPSHOT</version> |
| 27 | <packaging>jar</packaging> |
| 28 | |
Felix Meschberger | 196f222 | 2014-02-18 11:15:08 +0000 | [diff] [blame^] | 29 | <properties> |
| 30 | <bundle_version>0.0.1.SNAPSHOT</bundle_version> |
| 31 | </properties> |
| 32 | |
Felix Meschberger | d40e0d8 | 2014-02-18 10:41:25 +0000 | [diff] [blame] | 33 | <scm> |
| 34 | <connection>scm:svn:http://svn.apache.org/repos/asf/felix/trunk/http/servlet-api</connection> |
| 35 | <developerConnection>scm:svn:https://svn.apache.org/repos/asf/felix/trunk/http/servlet-api</developerConnection> |
| 36 | <url>http://svn.apache.org/viewvc/felix/trunk/http/servlet-api/</url> |
| 37 | </scm> |
| 38 | |
| 39 | <build> |
| 40 | <plugins> |
| 41 | <plugin> |
| 42 | <artifactId>maven-dependency-plugin</artifactId> |
| 43 | <executions> |
| 44 | <execution> |
| 45 | <id>unpack-dependencies</id> |
| 46 | <phase>process-resources</phase> |
| 47 | <goals> |
| 48 | <goal>unpack-dependencies</goal> |
| 49 | </goals> |
| 50 | <configuration> |
| 51 | <includeArtifactIds>tomcat-servlet-api</includeArtifactIds> |
| 52 | <outputDirectory>${project.build.outputDirectory}</outputDirectory> |
| 53 | <includes> |
Felix Meschberger | 196f222 | 2014-02-18 11:15:08 +0000 | [diff] [blame^] | 54 | javax/servlet/*.*, |
| 55 | javax/servlet/annotation/*.*, |
| 56 | javax/servlet/descriptor/*.*, |
| 57 | javax/servlet/http/*.* |
Felix Meschberger | d40e0d8 | 2014-02-18 10:41:25 +0000 | [diff] [blame] | 58 | </includes> |
| 59 | </configuration> |
| 60 | </execution> |
| 61 | </executions> |
| 62 | </plugin> |
| 63 | <plugin> |
| 64 | <artifactId>maven-jar-plugin</artifactId> |
| 65 | <configuration> |
| 66 | <archive> |
| 67 | <manifest> |
| 68 | <addDefaultImplementationEntries>false</addDefaultImplementationEntries> |
| 69 | <addDefaultSpecificationEntries>false</addDefaultSpecificationEntries> |
| 70 | </manifest> |
| 71 | <manifestEntries> |
| 72 | <Bundle-ManifestVersion> 2</Bundle-ManifestVersion> |
| 73 | <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName> |
Felix Meschberger | 196f222 | 2014-02-18 11:15:08 +0000 | [diff] [blame^] | 74 | <Bundle-Version>${bundle_version}</Bundle-Version> |
Felix Meschberger | d40e0d8 | 2014-02-18 10:41:25 +0000 | [diff] [blame] | 75 | <Bundle-Description>${project.description}</Bundle-Description> |
| 76 | <Bundle-Name>${project.name}</Bundle-Name> |
| 77 | <Bundle-Vendor>${project.organization.name}</Bundle-Vendor> |
| 78 | <Bundle-License>${project.licenses[0].url}</Bundle-License> |
| 79 | <Bundle-DocURL>http://felix.apache.org</Bundle-DocURL> |
| 80 | |
| 81 | <Export-Package> |
| 82 | javax.servlet;uses:="javax.servlet.annotation,javax.servlet.descriptor";version="2.6",javax.servlet.descriptor;version="2.6",javax.servlet.annotation;uses:="javax.servlet";version="2.6",javax.servlet.http;uses:="javax.servlet";version="2.6",javax.servlet;uses:="javax.servlet.annotation,javax.servlet.descriptor";version="3.0",javax.servlet.descriptor;version="3.0",javax.servlet.annotation;uses:="javax.servlet";version="3.0",javax.servlet.http;uses:="javax.servlet";version="3.0" |
| 83 | </Export-Package> |
| 84 | </manifestEntries> |
| 85 | |
| 86 | <manifestSections> |
| 87 | <manifestSection> |
| 88 | <name>javax/servlet/</name> |
| 89 | <manifestEntries> |
| 90 | <Specification-Title> |
| 91 | Java API for Servlets |
| 92 | </Specification-Title> |
| 93 | <Specification-Version> |
| 94 | 3.0 |
| 95 | </Specification-Version> |
| 96 | <Specification-Vendor> |
| 97 | Sun Microsystems, Inc. |
| 98 | </Specification-Vendor> |
| 99 | <Implementation-Title> |
| 100 | javax.servlet |
| 101 | </Implementation-Title> |
| 102 | <Implementation-Version> |
| 103 | 3.0.FR |
| 104 | </Implementation-Version> |
| 105 | <Implementation-Vendor> |
| 106 | Apache Software Foundation |
| 107 | </Implementation-Vendor> |
| 108 | </manifestEntries> |
| 109 | </manifestSection> |
| 110 | </manifestSections> |
| 111 | </archive> |
| 112 | </configuration> |
| 113 | </plugin> |
| 114 | </plugins> |
| 115 | </build> |
| 116 | |
| 117 | <dependencies> |
| 118 | <dependency> |
| 119 | <groupId>org.apache.tomcat</groupId> |
| 120 | <artifactId>tomcat-servlet-api</artifactId> |
| 121 | <version>7.0.8</version> |
| 122 | </dependency> |
| 123 | </dependencies> |
| 124 | |
| 125 | </project> |