Clement Escoffier | 699100c | 2013-04-21 11:41:27 +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 | |
| 21 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
| 22 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 23 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 24 | <modelVersion>4.0.0</modelVersion> |
| 25 | |
| 26 | <parent> |
| 27 | <groupId>org.apache.felix</groupId> |
| 28 | <artifactId>maven-tutorial</artifactId> |
| 29 | <version>1.9.0-SNAPSHOT</version> |
| 30 | <relativePath>../../pom.xml</relativePath> |
| 31 | </parent> |
| 32 | |
| 33 | <artifactId>hello.impl.xml</artifactId> |
| 34 | |
| 35 | <packaging>bundle</packaging> |
| 36 | |
| 37 | <dependencies> |
| 38 | <dependency> |
| 39 | <groupId>${project.groupId}</groupId> |
| 40 | <artifactId>hello.service</artifactId> |
| 41 | <version>${project.version}</version> |
| 42 | </dependency> |
| 43 | </dependencies> |
| 44 | |
| 45 | <build> |
| 46 | <plugins> |
| 47 | <plugin> |
| 48 | <groupId>org.apache.felix</groupId> |
| 49 | <artifactId>maven-bundle-plugin</artifactId> |
| 50 | <extensions>true</extensions> |
| 51 | <configuration> |
| 52 | <instructions> |
| 53 | <Private-Package> |
| 54 | ipojo.example.hello.impl |
| 55 | </Private-Package> |
| 56 | </instructions> |
| 57 | </configuration> |
| 58 | </plugin> |
| 59 | <plugin> |
| 60 | <groupId>org.apache.felix</groupId> |
| 61 | <artifactId>maven-ipojo-plugin</artifactId> |
| 62 | <executions> |
| 63 | <execution> |
| 64 | <goals> |
| 65 | <goal>ipojo-bundle</goal> |
| 66 | </goals> |
| 67 | </execution> |
| 68 | </executions> |
| 69 | </plugin> |
| 70 | </plugins> |
| 71 | </build> |
| 72 | </project> |