Guillaume Nodet | 60a69b6 | 2010-02-05 09:40:46 +0000 | [diff] [blame] | 1 | <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"> |
| 2 | |
| 3 | <!-- |
| 4 | |
| 5 | Licensed to the Apache Software Foundation (ASF) under one or more |
| 6 | contributor license agreements. See the NOTICE file distributed with |
| 7 | this work for additional information regarding copyright ownership. |
| 8 | The ASF licenses this file to You under the Apache License, Version 2.0 |
| 9 | (the "License"); you may not use this file except in compliance with |
| 10 | the License. You may obtain a copy of the License at |
| 11 | |
| 12 | http://www.apache.org/licenses/LICENSE-2.0 |
| 13 | |
| 14 | Unless required by applicable law or agreed to in writing, software |
| 15 | distributed under the License is distributed on an "AS IS" BASIS, |
| 16 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 17 | See the License for the specific language governing permissions and |
| 18 | limitations under the License. |
| 19 | --> |
| 20 | |
| 21 | <modelVersion>4.0.0</modelVersion> |
| 22 | |
| 23 | <parent> |
| 24 | <groupId>org.apache.felix.karaf.deployer</groupId> |
| 25 | <artifactId>deployer</artifactId> |
Chris Custine | f6a85b3 | 2010-02-19 07:50:10 +0000 | [diff] [blame] | 26 | <version>1.5.0-SNAPSHOT</version> |
Guillaume Nodet | 60a69b6 | 2010-02-05 09:40:46 +0000 | [diff] [blame] | 27 | </parent> |
| 28 | |
| 29 | <groupId>org.apache.felix.karaf.deployer</groupId> |
| 30 | <artifactId>org.apache.felix.karaf.deployer.war</artifactId> |
| 31 | <packaging>bundle</packaging> |
Chris Custine | f6a85b3 | 2010-02-19 07:50:10 +0000 | [diff] [blame] | 32 | <version>1.5.0-SNAPSHOT</version> |
Guillaume Nodet | 60a69b6 | 2010-02-05 09:40:46 +0000 | [diff] [blame] | 33 | <name>Apache Felix Karaf :: WAR Deployer</name> |
| 34 | |
| 35 | <description>This deployer transforms a plain war file to a deployable bundle</description> |
| 36 | |
| 37 | <properties> |
| 38 | <appendedResourcesDirectory>${basedir}/../../etc/appended-resources</appendedResourcesDirectory> |
| 39 | </properties> |
| 40 | |
| 41 | <dependencies> |
| 42 | <dependency> |
| 43 | <groupId>org.apache.felix</groupId> |
| 44 | <artifactId>org.osgi.core</artifactId> |
| 45 | <scope>provided</scope> |
| 46 | </dependency> |
| 47 | <dependency> |
| 48 | <groupId>commons-logging</groupId> |
| 49 | <artifactId>commons-logging</artifactId> |
| 50 | </dependency> |
| 51 | <dependency> |
| 52 | <groupId>org.apache.felix</groupId> |
| 53 | <artifactId>org.apache.felix.fileinstall</artifactId> |
| 54 | </dependency> |
| 55 | <dependency> |
| 56 | <groupId>org.apache.servicemix.bundles</groupId> |
| 57 | <artifactId>org.apache.servicemix.bundles.junit</artifactId> |
| 58 | </dependency> |
| 59 | </dependencies> |
| 60 | |
| 61 | <build> |
| 62 | <plugins> |
| 63 | <plugin> |
| 64 | <groupId>org.apache.felix</groupId> |
| 65 | <artifactId>maven-bundle-plugin</artifactId> |
| 66 | <configuration> |
| 67 | <instructions> |
| 68 | <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName> |
| 69 | <Export-Package>${pom.artifactId}*;version=${project.version}</Export-Package> |
| 70 | <Import-Package>!${pom.artifactId}*,*</Import-Package> |
| 71 | <Private-Package>org.apache.felix.karaf.deployer.war</Private-Package> |
| 72 | <_versionpolicy>${bnd.version.policy}</_versionpolicy> |
| 73 | </instructions> |
| 74 | </configuration> |
| 75 | </plugin> |
| 76 | </plugins> |
| 77 | </build> |
| 78 | |
| 79 | </project> |