| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| |
| <!-- $Rev$ $Date$ --> |
| |
| <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"> |
| |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.geronimo.genesis</groupId> |
| <artifactId>genesis-java7-flava</artifactId> |
| <version>2.2</version> |
| </parent> |
| |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-servlet_3.1_spec</artifactId> |
| <packaging>bundle</packaging> |
| <name>Apache Geronimo Servlet Spec 3.1</name> |
| <version>1.0-SNAPSHOT</version> |
| |
| <description>Servlet 3.1 API</description> |
| |
| <url>http://geronimo.apache.org/maven/${siteId}/${version}</url> |
| |
| <distributionManagement> |
| <site> |
| <id>apache-website</id> |
| <url>${site.deploy.url}/maven/${siteId}/${version}</url> |
| </site> |
| </distributionManagement> |
| |
| <properties> |
| <siteId>specs/${artifactId}</siteId> |
| </properties> |
| |
| <scm> |
| <connection>scm:svn:https://svn.apache.org/repos/asf/geronimo/specs/trunk/geronimo-servlet_3.1_spec/</connection> |
| <developerConnection>scm:svn:https://svn.apache.org/repos/asf/geronimo/specs/trunk/geronimo-servlet_3.1_spec/</developerConnection> |
| <url>http://svn.apache.org/viewcvs.cgi/geronimo/specs/trunk/geronimo-servlet_3.1_spec/</url> |
| </scm> |
| |
| <!-- Added temporarily for genesis-java7-flava SNAPSHOT dependency --> |
| <repositories> |
| <repository> |
| <id>apache.snapshots</id> |
| <name>Apache Snapshots Repository</name> |
| <url>http://repository.apache.org/snapshots</url> |
| <layout>default</layout> |
| <snapshots> |
| <enabled>true</enabled> |
| <updatePolicy>daily</updatePolicy> |
| <checksumPolicy>ignore</checksumPolicy> |
| </snapshots> |
| <releases> |
| <enabled>false</enabled> |
| </releases> |
| </repository> |
| </repositories> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <version>3.5.0</version> |
| <configuration> |
| <instructions> |
| <!-- The OSGi Alliance defined package numbers don't match up |
| necessarily with the Java EE versions. Servlet 3.1 needs to |
| be exported as 2.7 --> |
| <Export-Package> |
| javax.servlet;version=2.7, |
| javax.servlet.annotation;version=2.7, |
| javax.servlet.descriptor;version=2.7, |
| javax.servlet.http;version=2.7, |
| javax.servlet.resources;version=2.7, |
| javax.servlet;version=3.1, |
| javax.servlet.annotation;version=3.1, |
| javax.servlet.descriptor;version=3.1, |
| javax.servlet.http;version=3.1, |
| javax.servlet.resources;version=3.1, |
| </Export-Package> |
| <!-- Because of the duplicate exports, explicit imports are required --> |
| <Import-Package> |
| javax.servlet;version=2.7, |
| javax.servlet.annotation;version=2.7, |
| javax.servlet.descriptor;version=2.7, |
| javax.servlet.http;version=2.7, |
| javax.servlet.resources;version=2.7, |
| </Import-Package> |
| <Provide-Capability><![CDATA[ |
| osgi.contract;osgi.contract=JavaServlet;uses:="${packages;NAMED;javax.*}";version:List<Version>='3.1,3.0,2.5' |
| ]]></Provide-Capability> |
| </instructions> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>rat</id> |
| <build> |
| <plugins> |
| <plugin> |
| <!-- Override of default rat checks. To use, type "mvn -Prat verify". --> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <version>0.6</version> |
| <executions> |
| <execution> |
| <phase>verify</phase> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <reportFile>${project.build.directory}/${project.build.finalName}.rat</reportFile> |
| <excludeSubProjects>false</excludeSubProjects> |
| <excludes> |
| <exclude>**/target/**/*</exclude> |
| <exclude>**/appended-resources/**/*</exclude> |
| <exclude>**/velocity.log</exclude> |
| <!-- manifest files don't support comments so don't contain the ASL2.0 header --> |
| <exclude>**/*.MF</exclude> |
| <!-- These are covered by information in the LICENSE file --> |
| <exclude>**/xml.xsd</exclude> |
| <exclude>**/XMLSchema.dtd</exclude> |
| <!--RAT doesn't seem to recognize MIT style licenses--> |
| <exclude>manual/src/styles/print.css</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| </project> |