Carsten Ziegeler | 0d9d641 | 2007-09-24 15:43:39 +0000 | [diff] [blame] | 1 | <!-- |
| 2 | Licensed to the Apache Software Foundation (ASF) under one |
| 3 | or more contributor license agreements. See the NOTICE file |
| 4 | distributed with this work for additional information |
| 5 | regarding copyright ownership. The ASF licenses this file |
| 6 | to you under the Apache License, Version 2.0 (the |
| 7 | "License"); you may not use this file except in compliance |
| 8 | with the License. You may obtain a copy of the License at |
| 9 | |
| 10 | http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | |
| 12 | Unless required by applicable law or agreed to in writing, |
| 13 | software distributed under the License is distributed on an |
| 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 15 | KIND, either express or implied. See the License for the |
| 16 | specific language governing permissions and limitations |
| 17 | under the License. |
| 18 | --> |
| 19 | <project |
| 20 | 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>commons-build</artifactId> |
| 27 | <version>1.0.0</version> |
| 28 | <relativePath>../pom</relativePath> |
| 29 | </parent> |
| 30 | <properties> |
| 31 | <pkgArtifactId>quartz</pkgArtifactId> |
| 32 | <pkgVersion>1.5.2</pkgVersion> |
| 33 | <pomVersion>0001</pomVersion> |
| 34 | <osgiVersion>${pkgVersion}</osgiVersion> |
| 35 | </properties> |
| 36 | |
| 37 | <artifactId>${pom.groupId}.${pkgArtifactId}</artifactId> |
| 38 | <version>${osgiVersion}-${pomVersion}-SNAPSHOT</version> |
| 39 | <packaging>bundle</packaging> |
| 40 | <name>${pkgArtifactId} bundle</name> |
| 41 | <description> |
| 42 | This bundle simply wraps ${pkgArtifactId}-${pkgVersion}.jar. |
| 43 | </description> |
| 44 | <organization> |
| 45 | <name>Apache Felix Project</name> |
| 46 | <url>http://felix.apache.org/</url> |
| 47 | </organization> |
| 48 | |
| 49 | <dependencies> |
| 50 | <dependency> |
| 51 | <groupId>quartz</groupId> |
| 52 | <artifactId>${pkgArtifactId}</artifactId> |
| 53 | <version>${pkgVersion}</version> |
| 54 | </dependency> |
| 55 | <dependency> |
| 56 | <groupId>commons-pool</groupId> |
| 57 | <artifactId>commons-pool</artifactId> |
| 58 | <version>1.3</version> |
| 59 | </dependency> |
| 60 | <dependency> |
| 61 | <groupId>commons-dbcp</groupId> |
| 62 | <artifactId>commons-dbcp</artifactId> |
| 63 | <version>1.2.2</version> |
| 64 | </dependency> |
| 65 | </dependencies> |
| 66 | |
| 67 | <build> |
| 68 | <plugins> |
| 69 | <plugin> |
| 70 | <groupId>org.apache.felix</groupId> |
| 71 | <artifactId>maven-bundle-plugin</artifactId> |
| 72 | <extensions>true</extensions> |
| 73 | <configuration> |
| 74 | <instructions> |
| 75 | <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName> |
| 76 | <Export-Package>org.quartz.*;version=${pkgVersion}</Export-Package> |
| 77 | <Private-Package> |
| 78 | org.apache.commons.pool.*, |
| 79 | org.apache.commons.jocl.*, |
| 80 | org.apache.commons.dbcp.* |
| 81 | </Private-Package> |
| 82 | <DynamicImport-Package> |
| 83 | javax.ejb |
| 84 | </DynamicImport-Package> |
| 85 | <Include-Resource> |
| 86 | src/main/resources, |
| 87 | @quartz-1.5.2.jar!/** |
| 88 | </Include-Resource> |
| 89 | </instructions> |
| 90 | </configuration> |
| 91 | </plugin> |
| 92 | </plugins> |
| 93 | </build> |
| 94 | </project> |