Michael E. Rodriguez | 0ecddde | 2007-03-14 04:35:53 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8" ?> |
| 2 | <!-- |
| 3 | Licensed to the Apache Software Foundation (ASF) under one |
| 4 | or more contributor license agreements. See the NOTICE file |
| 5 | distributed with this work for additional information |
| 6 | regarding copyright ownership. The ASF licenses this file |
| 7 | to you under the Apache License, Version 2.0 (the |
| 8 | "License"); you may not use this file except in compliance |
| 9 | with the License. You may obtain a copy of the License at |
| 10 | |
| 11 | http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | |
| 13 | Unless required by applicable law or agreed to in writing, |
| 14 | software distributed under the License is distributed on an |
| 15 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 16 | KIND, either express or implied. See the License for the |
| 17 | specific language governing permissions and limitations |
| 18 | under the License. |
| 19 | --> |
| 20 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
| 21 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 22 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 23 | <modelVersion>4.0.0</modelVersion> |
| 24 | <parent> |
| 25 | <groupId>org.apache.felix.commons</groupId> |
| 26 | <artifactId>build</artifactId> |
| 27 | <version>0.9.0-incubator-SNAPSHOT</version> |
| 28 | </parent> |
| 29 | <properties> |
| 30 | <pkgArtifactId>dom4j</pkgArtifactId> |
| 31 | <pkgVersion>1.6.1</pkgVersion> |
| 32 | <pomVersion>0001</pomVersion> |
| 33 | <osgiVersion>${pkgVersion}</osgiVersion> |
| 34 | </properties> |
| 35 | <groupId>org.apache.felix.commons</groupId> |
| 36 | <artifactId>${pom.groupId}.${pkgArtifactId}</artifactId> |
| 37 | <version>${osgiVersion}-${pomVersion}-SNAPSHOT</version> |
| 38 | <packaging>bundle</packaging> |
| 39 | <name>${pkgArtifactId} bundle</name> |
| 40 | <description> |
| 41 | This bundle simply wraps ${pkgArtifactId}-${pkgVersion}.jar. |
| 42 | </description> |
| 43 | <organization> |
| 44 | <name>Apache Felix Project</name> |
| 45 | <url>http://incubator.apache.org/felix/</url> |
| 46 | </organization> |
| 47 | <dependencies> |
| 48 | <dependency> |
| 49 | <groupId>dom4j</groupId> |
| 50 | <artifactId>${pkgArtifactId}</artifactId> |
| 51 | <version>${pkgVersion}</version> |
| 52 | <exclusions> |
| 53 | <exclusion> |
| 54 | <groupId>xml-apis</groupId> |
| 55 | <artifactId>xml-apis</artifactId> |
| 56 | </exclusion> |
| 57 | </exclusions> |
| 58 | </dependency> |
| 59 | </dependencies> |
| 60 | <build> |
| 61 | <plugins> |
| 62 | <plugin> |
| 63 | <groupId>org.apache.felix</groupId> |
Richard S. Hall | 797bc98 | 2007-05-21 18:35:07 +0000 | [diff] [blame] | 64 | <artifactId>maven-bundle-plugin</artifactId> |
Michael E. Rodriguez | 0ecddde | 2007-03-14 04:35:53 +0000 | [diff] [blame] | 65 | <extensions>true</extensions> |
| 66 | <configuration> |
| 67 | <instructions> |
| 68 | <Bundle-SymbolicName> |
| 69 | ${pom.artifactId} |
| 70 | </Bundle-SymbolicName> |
| 71 | <Export-Package> |
| 72 | *;version=${pkgVersion} |
| 73 | </Export-Package> |
| 74 | <Import-Package> |
| 75 | com.sun.msv.*;resolution:=optional, |
| 76 | javax.xml.bind.*;resolution:=optional, |
| 77 | javax.xml.stream.*;resolution:=optional, |
| 78 | javax.xml.namespace.*;resolution:=optional, |
| 79 | javax.xml.stream.*;resolution:=optional, |
| 80 | org.gjt.xpp.*;resolution:=optional, |
| 81 | org.jaxen.*;resolution:=optional, |
| 82 | org.relaxng.datatype.*;resolution:=optional, |
| 83 | org.xmlpull.v1.*;resolution:=optional, * |
| 84 | </Import-Package> |
| 85 | </instructions> |
| 86 | </configuration> |
| 87 | </plugin> |
| 88 | </plugins> |
| 89 | </build> |
| 90 | </project> |