| <!-- |
| 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. |
| --> |
| <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.felix</groupId> |
| <artifactId>org.apache.felix.http.parent</artifactId> |
| <version>13</version> |
| <relativePath>../parent/pom.xml</relativePath> |
| </parent> |
| |
| <name>Apache Felix Http Bridge</name> |
| <description>This is an implementation of the OSGi Http Service and the OSGi Http Whiteboard Specification used when run as a web application</description> |
| <artifactId>org.apache.felix.http.bridge</artifactId> |
| <version>5.0.0-SNAPSHOT</version> |
| <packaging>bundle</packaging> |
| |
| <scm> |
| <connection>scm:git:https://github.com/apache/felix-dev.git</connection> |
| <developerConnection>scm:git:https://github.com/apache/felix-dev.git</developerConnection> |
| <url>https://gitbox.apache.org/repos/asf?p=felix-dev.git</url> |
| <tag>HEAD</tag> |
| </scm> |
| |
| <properties> |
| <felix.java.version>11</felix.java.version> |
| </properties> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <version>5.1.4</version> |
| <extensions>true</extensions> |
| <configuration> |
| <instructions> |
| <Bundle-Activator> |
| org.apache.felix.http.bridge.internal.BridgeActivator |
| </Bundle-Activator> |
| <Export-Package> |
| org.osgi.service.http, |
| org.osgi.service.http.context, |
| org.osgi.service.http.runtime, |
| org.osgi.service.http.runtime.dto, |
| org.osgi.service.http.whiteboard |
| </Export-Package> |
| <Private-Package> |
| org.apache.felix.http.base.*, |
| org.apache.felix.http.bridge.internal.*, |
| org.osgi.service.servlet.whiteboard.* |
| </Private-Package> |
| <Conditional-Package> |
| org.apache.commons.* |
| </Conditional-Package> |
| <Import-Package> |
| org.osgi.service.useradmin;resolution:=optional;version="[1.1,2)", |
| org.osgi.service.log;resolution:=optional;version="[1.3,2)", |
| * |
| </Import-Package> |
| <Provide-Capability> |
| osgi.implementation;osgi.implementation="osgi.http";version:Version="1.1"; |
| uses:="javax.servlet,javax.servlet.http,org.osgi.service.http.context,org.osgi.service.http.whiteboard", |
| osgi.implementation;osgi.implementation="osgi.http";version:Version="2.0"; |
| uses:="jakarta.servlet,jakarta.servlet.http,org.osgi.service.servlet.context,org.osgi.service.servlet.whiteboard", |
| osgi.service;objectClass:List<String>="org.osgi.service.servlet.runtime.HttpServiceRuntime"; |
| uses:="org.osgi.service.servlet.runtime,org.osgi.service.servlet.runtime.dto", |
| osgi.service;objectClass:List<String>="org.osgi.service.http.runtime.HttpServiceRuntime"; |
| uses:="org.osgi.service.http.runtime,org.osgi.service.http.runtime.dto" |
| </Provide-Capability> |
| <_removeheaders> |
| Private-Package,Conditional-Package |
| </_removeheaders> |
| </instructions> |
| </configuration> |
| <executions> |
| <execution> |
| <id>light-bundle</id> |
| <goals> |
| <goal>bundle</goal> |
| </goals> |
| <configuration> |
| <classifier>light</classifier> |
| <instructions> |
| <Bundle-Name>${project.name} Light</Bundle-Name> |
| <Bundle-SymbolicName>${project.artifactId}.light</Bundle-SymbolicName> |
| <!-- We need to override this from the base configuration --> |
| <Conditional-Package> |
| foo |
| </Conditional-Package> |
| </instructions> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <dependencies> |
| <dependency> |
| <groupId>jakarta.servlet</groupId> |
| <artifactId>jakarta.servlet-api</artifactId> |
| <version>5.0.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>osgi.core</artifactId> |
| <version>8.0.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.service.http</artifactId> |
| <version>1.2.1</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.service.http.whiteboard</artifactId> |
| <version>1.1.0</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>commons-fileupload</groupId> |
| <artifactId>commons-fileupload</artifactId> |
| <version>1.4</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-io</groupId> |
| <artifactId>commons-io</artifactId> |
| <version>2.11.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>org.apache.felix.http.base</artifactId> |
| <version>5.0.0-SNAPSHOT</version> |
| </dependency> |
| </dependencies> |
| |
| </project> |