Richard S. Hall | 0b5b003 | 2012-04-09 14:34:05 +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 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"> |
| 20 | <parent> |
| 21 | <groupId>org.apache.felix</groupId> |
| 22 | <artifactId>felix-parent</artifactId> |
| 23 | <version>2.1</version> |
| 24 | <relativePath>../pom/pom.xml</relativePath> |
| 25 | </parent> |
| 26 | <modelVersion>4.0.0</modelVersion> |
| 27 | <packaging>bundle</packaging> |
| 28 | <name>Apache Felix Resolver</name> |
| 29 | <description> |
| 30 | Provide OSGi resolver service. |
| 31 | </description> |
| 32 | <version>0.1.0-SNAPSHOT</version> |
| 33 | <artifactId>org.apache.felix.resolver</artifactId> |
| 34 | <dependencies> |
| 35 | <dependency> |
| 36 | <groupId>org.osgi</groupId> |
| 37 | <artifactId>org.osgi.core</artifactId> |
| 38 | <version>5.0.0</version> |
| 39 | </dependency> |
| 40 | </dependencies> |
| 41 | <build> |
| 42 | <plugins> |
| 43 | <plugin> |
| 44 | <groupId>org.apache.maven.plugins</groupId> |
| 45 | <artifactId>maven-compiler-plugin</artifactId> |
| 46 | <configuration> |
| 47 | <target>jsr14</target> |
| 48 | <source>1.5</source> |
| 49 | </configuration> |
| 50 | </plugin> |
| 51 | <plugin> |
| 52 | <groupId>org.codehaus.mojo</groupId> |
| 53 | <artifactId>buildnumber-maven-plugin</artifactId> |
| 54 | <executions> |
| 55 | <execution> |
| 56 | <phase>validate</phase> |
| 57 | <goals> |
| 58 | <goal>create</goal> |
| 59 | </goals> |
| 60 | </execution> |
| 61 | </executions> |
| 62 | <configuration> |
| 63 | <doCheck>false</doCheck> |
| 64 | <doUpdate>true</doUpdate> |
| 65 | </configuration> |
| 66 | </plugin> |
| 67 | <plugin> |
| 68 | <groupId>org.apache.felix</groupId> |
| 69 | <artifactId>maven-bundle-plugin</artifactId> |
| 70 | <version>2.3.7</version> |
| 71 | <extensions>true</extensions> |
| 72 | <configuration> |
| 73 | <instructions> |
| 74 | <_sources>true</_sources> |
| 75 | <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName> |
| 76 | <Bundle-Version>0.1.0.r${buildNumber}</Bundle-Version> |
| 77 | <Bundle-Activator> |
| 78 | org.apache.felix.resolver.Activator |
| 79 | </Bundle-Activator> |
| 80 | <Private-Package>org.apache.*</Private-Package> |
| 81 | <Export-Package> |
| 82 | org.osgi.service.resolver.*;provide:=true |
| 83 | </Export-Package> |
| 84 | <Import-Package> |
| 85 | org.osgi.resource.*;provide:=true, * |
| 86 | </Import-Package> |
| 87 | </instructions> |
| 88 | </configuration> |
| 89 | </plugin> |
| 90 | <plugin> |
| 91 | <groupId>org.apache.rat</groupId> |
| 92 | <artifactId>apache-rat-plugin</artifactId> |
| 93 | <executions> |
| 94 | <execution> |
| 95 | <phase>verify</phase> |
| 96 | <goals> |
| 97 | <goal>check</goal> |
| 98 | </goals> |
| 99 | </execution> |
| 100 | </executions> |
| 101 | <configuration> |
| 102 | <includes> |
| 103 | <include>src/**</include> |
| 104 | </includes> |
| 105 | <excludes> |
| 106 | <exclude>src/**/packageinfo</exclude> |
| 107 | </excludes> |
| 108 | </configuration> |
| 109 | </plugin> |
| 110 | </plugins> |
| 111 | </build> |
| 112 | </project> |