Clement Escoffier | ce0e1e5 | 2008-03-28 15:33:36 +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 | <modelVersion>4.0.0</modelVersion>
|
| 21 | <packaging>bundle</packaging><!-- Use the BND Maven plug-in -->
|
| 22 | <groupId>ipojo.examples</groupId>
|
| 23 | <artifactId>hello.client</artifactId>
|
Clement Escoffier | 218dbd1 | 2008-05-26 18:50:39 +0000 | [diff] [blame] | 24 | <version>0.9.0-SNAPSHOT</version>
|
Clement Escoffier | ce0e1e5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 25 | <name>Hello Service Client</name>
|
| 26 | <dependencies>
|
| 27 | <dependency>
|
| 28 | <groupId>ipojo.examples</groupId>
|
| 29 | <artifactId>hello.service</artifactId>
|
Clement Escoffier | 218dbd1 | 2008-05-26 18:50:39 +0000 | [diff] [blame] | 30 | <version>0.9.0-SNAPSHOT</version>
|
Clement Escoffier | ce0e1e5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 31 | </dependency>
|
| 32 | </dependencies>
|
| 33 |
|
| 34 | <pluginRepositories>
|
| 35 | <pluginRepository>
|
| 36 | <id>apache.snapshots</id>
|
| 37 | <name>snapshot plugins</name>
|
| 38 | <url>
|
| 39 | http://people.apache.org/repo/m2-snapshot-repository
|
| 40 | </url>
|
| 41 | <releases>
|
| 42 | <enabled>false</enabled>
|
| 43 | </releases>
|
| 44 | <snapshots>
|
| 45 | <enabled>true</enabled>
|
| 46 | </snapshots>
|
| 47 | </pluginRepository>
|
| 48 | </pluginRepositories>
|
| 49 |
|
| 50 | <build>
|
| 51 | <plugins>
|
| 52 | <plugin>
|
| 53 | <groupId>org.apache.felix</groupId>
|
| 54 | <artifactId>maven-bundle-plugin</artifactId>
|
| 55 | <extensions>true</extensions>
|
| 56 | <version>1.4.0</version>
|
| 57 | <configuration>
|
| 58 | <instructions>
|
| 59 | <Bundle-SymbolicName>
|
| 60 | ${pom.artifactId}
|
| 61 | </Bundle-SymbolicName>
|
| 62 | <Private-Package>
|
| 63 | ipojo.example.hello.client
|
| 64 | </Private-Package>
|
| 65 | </instructions>
|
| 66 | </configuration>
|
| 67 | </plugin>
|
| 68 | <plugin>
|
| 69 | <groupId>org.apache.felix</groupId>
|
| 70 | <artifactId>maven-ipojo-plugin</artifactId>
|
Clement Escoffier | 218dbd1 | 2008-05-26 18:50:39 +0000 | [diff] [blame] | 71 | <version>0.9.0-SNAPSHOT</version>
|
Clement Escoffier | ce0e1e5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 72 | <executions>
|
| 73 | <execution>
|
| 74 | <goals>
|
| 75 | <goal>ipojo-bundle</goal>
|
| 76 | </goals>
|
| 77 | </execution>
|
| 78 | </executions>
|
| 79 | </plugin>
|
| 80 | </plugins>
|
| 81 | </build>
|
| 82 | </project>
|