| <?xml version="1.0" encoding="UTF-8"?> |
| <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/xsd/maven-4.0.0.xsd"> |
| |
| <!-- |
| |
| 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. |
| --> |
| |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.karaf.webconsole</groupId> |
| <artifactId>webconsole</artifactId> |
| <version>4.4.2-SNAPSHOT</version> |
| <relativePath>../pom.xml</relativePath> |
| </parent> |
| |
| <artifactId>org.apache.karaf.webconsole.console</artifactId> |
| <packaging>bundle</packaging> |
| <name>Apache Karaf :: Web Console :: Console</name> |
| <description>This bundle is a repackaging of the Felix Web console with small security related changed.</description> |
| |
| <properties> |
| <appendedResourcesDirectory>${project.basedir}/../../etc/appended-resources</appendedResourcesDirectory> |
| </properties> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.karaf</groupId> |
| <artifactId>karaf-bom</artifactId> |
| <version>${project.version}</version> |
| <type>pom</type> |
| <scope>import</scope> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <dependencies> |
| <dependency> |
| <groupId>${servlet.spec.groupId}</groupId> |
| <artifactId>${servlet.spec.artifactId}</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>osgi.core</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.service.cm</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.service.http</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.karaf</groupId> |
| <artifactId>org.apache.karaf.util</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>org.apache.felix.webconsole</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.karaf.jaas</groupId> |
| <artifactId>org.apache.karaf.jaas.modules</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>commons-fileupload</groupId> |
| <artifactId>commons-fileupload</artifactId> |
| <version>${commons-fileupload.version}</version> |
| <scope>provided</scope> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>commons-io</groupId> |
| <artifactId>commons-io</artifactId> |
| <scope>provided</scope> |
| <optional>true</optional> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <resources> |
| <resource> |
| <directory>${project.basedir}/src/main/resources</directory> |
| <includes> |
| <include>**/*</include> |
| </includes> |
| </resource> |
| <resource> |
| <directory>${project.basedir}/src/main/resources</directory> |
| <filtering>true</filtering> |
| <includes> |
| <include>**/*.info</include> |
| </includes> |
| </resource> |
| </resources> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <extensions>true</extensions> |
| <configuration> |
| <instructions> |
| <Bundle-SymbolicName> |
| ${project.artifactId} |
| </Bundle-SymbolicName> |
| <Bundle-Vendor> |
| The Apache Software Foundation |
| </Bundle-Vendor> |
| <Bundle-DocURL> |
| http://felix.apache.org/site/apache-felix-web-console.html |
| </Bundle-DocURL> |
| <Bundle-Activator> |
| org.apache.felix.webconsole.internal.servlet.KarafOsgiManagerActivator |
| </Bundle-Activator> |
| <Export-Package> |
| org.apache.felix.webconsole;version="${felix.webconsole.api.version}";provide:=true, |
| org.apache.felix.webconsole.bundleinfo;version=1.0.0;provide:=true, |
| org.apache.felix.webconsole.i18n;version=1.0.0;provide:=true |
| </Export-Package> |
| <Private-Package> |
| !org.apache.felix.webconsole, |
| org.apache.felix.webconsole.*;-split-package:=merge-first, |
| org.apache.karaf.util.jaas |
| </Private-Package> |
| <Import-Package> |
| org.osgi.service.metatype;resolution:=optional, |
| org.osgi.service.prefs;resolution:=optional, |
| javax.portlet;resolution:=optional, |
| javax.servlet.*;version=2.4, |
| !org.apache.felix.bundlerepository, |
| !org.osgi.service.obr, |
| !org.osgi.service.cm, |
| !org.osgi.service.condpermadmin, |
| !org.osgi.service.log, |
| !org.osgi.service.metatype, |
| !org.osgi.service.permissionadmin, |
| !org.osgi.service.wireadmin, |
| org.osgi.framework;version="[1,3)", |
| sun.nio.ch;resolution:=optional, |
| * |
| </Import-Package> |
| <DynamicImport-Package> |
| org.apache.felix.bundlerepository, |
| org.osgi.service.obr, |
| org.osgi.service.cm, |
| org.osgi.service.condpermadmin, |
| org.osgi.service.log, |
| org.osgi.service.metatype, |
| org.osgi.service.permissionadmin, |
| org.osgi.service.wireadmin |
| </DynamicImport-Package> |
| <Embed-Dependency> |
| <!-- Webconsole --> |
| org.apache.felix.webconsole;inline=**, |
| |
| <!-- Import/Export-Package parsing --> |
| org.apache.felix.utils.manifest;inline=org/apache/felix/utils/manifest/**, |
| org.apache.felix.utils.json;inline=org/apache/felix/utils/json/**, |
| org.apache.felix.framework;inline=org/apache/felix/framework/util/VersionRange**, |
| |
| <!-- ServiceTracker --> |
| osgi.core;inline=org/osgi/util/tracker/*, |
| |
| <!-- File Upload --> |
| commons-fileupload, |
| |
| <!-- Required by FileUpload and Util --> |
| commons-io |
| </Embed-Dependency> |
| <_removeheaders> |
| Embed-Dependency,Private-Package,Include-Resource |
| </_removeheaders> |
| </instructions> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </project> |