Michael E. Rodriguez | 25b1b83 | 2007-03-14 04:11:22 +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>ehcache</pkgArtifactId> |
| 31 | <pkgVersion>1.1</pkgVersion> |
| 32 | <pomVersion>0001</pomVersion> |
| 33 | <osgiVersion>${pkgVersion}.0</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>ehcache</groupId> |
| 50 | <artifactId>${pkgArtifactId}</artifactId> |
| 51 | <version>${pkgVersion}</version> |
| 52 | <exclusions> |
| 53 | <exclusion> |
| 54 | <groupId>commons-logging</groupId> |
| 55 | <artifactId>commons-logging</artifactId> |
| 56 | </exclusion> |
| 57 | </exclusions> |
| 58 | </dependency> |
| 59 | </dependencies> |
| 60 | <build> |
| 61 | <plugins> |
| 62 | <plugin> |
| 63 | <groupId>org.apache.felix</groupId> |
| 64 | <artifactId>maven-bundle-plugin</artifactId> |
| 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 | net.sf.hibernate.cache;resolution:=optional, * |
| 76 | </Import-Package> |
| 77 | </instructions> |
| 78 | </configuration> |
| 79 | </plugin> |
| 80 | </plugins> |
| 81 | </build> |
| 82 | </project> |