Clement Escoffier | ce0e1e5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 1 | <!--
|
Clement Escoffier | af9ad1b | 2009-08-14 12:11:19 +0000 | [diff] [blame] | 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.
|
Clement Escoffier | ce0e1e5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 18 | -->
|
| 19 | <project>
|
Clement Escoffier | af9ad1b | 2009-08-14 12:11:19 +0000 | [diff] [blame] | 20 | <modelVersion>4.0.0</modelVersion>
|
| 21 | <packaging>bundle</packaging>
|
| 22 | <groupId>ipojo.examples</groupId>
|
| 23 | <artifactId>hello.impl.annotation</artifactId>
|
| 24 | <version>1.5.0-SNAPSHOT</version>
|
| 25 | <name>Hello Service Provider using Annotations</name>
|
Clement Escoffier | ce0e1e5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 26 |
|
Clement Escoffier | af9ad1b | 2009-08-14 12:11:19 +0000 | [diff] [blame] | 27 | <pluginRepositories>
|
| 28 | <pluginRepository>
|
| 29 | <id>apache.snapshots</id>
|
| 30 | <name>snapshot plugins</name>
|
| 31 | <url>
|
| 32 | http://people.apache.org/repo/m2-snapshot-repository
|
| 33 | </url>
|
| 34 | <releases>
|
| 35 | <enabled>false</enabled>
|
| 36 | </releases>
|
| 37 | <snapshots>
|
| 38 | <enabled>true</enabled>
|
| 39 | </snapshots>
|
| 40 | </pluginRepository>
|
| 41 | </pluginRepositories>
|
Clement Escoffier | ce0e1e5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 42 |
|
Clement Escoffier | af9ad1b | 2009-08-14 12:11:19 +0000 | [diff] [blame] | 43 | <dependencies>
|
| 44 | <dependency>
|
| 45 | <groupId>ipojo.examples</groupId>
|
| 46 | <artifactId>hello.service</artifactId>
|
| 47 | <version>1.5.0-SNAPSHOT</version>
|
| 48 | </dependency>
|
| 49 | <dependency>
|
| 50 | <groupId>org.apache.felix</groupId>
|
| 51 | <artifactId>org.apache.felix.ipojo.annotations</artifactId>
|
| 52 | <version>1.5.0-SNAPSHOT</version>
|
| 53 | </dependency>
|
| 54 | </dependencies>
|
Clement Escoffier | ce0e1e5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 55 |
|
Clement Escoffier | af9ad1b | 2009-08-14 12:11:19 +0000 | [diff] [blame] | 56 | <build>
|
| 57 | <plugins>
|
| 58 | <plugin>
|
| 59 | <groupId>org.apache.maven.plugins</groupId>
|
| 60 | <artifactId>maven-compiler-plugin</artifactId>
|
| 61 | <configuration>
|
| 62 | <source>1.5</source>
|
| 63 | <target>1.5</target>
|
| 64 | </configuration>
|
| 65 | </plugin>
|
| 66 | <plugin>
|
| 67 | <groupId>org.apache.felix</groupId>
|
| 68 | <artifactId>maven-bundle-plugin</artifactId>
|
| 69 | <extensions>true</extensions>
|
| 70 | <configuration>
|
| 71 | <instructions>
|
| 72 | <Bundle-SymbolicName>
|
| 73 | ${pom.artifactId}
|
| 74 | </Bundle-SymbolicName>
|
| 75 | <Private-Package>
|
| 76 | ipojo.example.hello.impl
|
| 77 | </Private-Package>
|
| 78 | </instructions>
|
| 79 | </configuration>
|
| 80 | </plugin>
|
| 81 | <plugin>
|
| 82 | <groupId>org.apache.felix</groupId>
|
| 83 | <artifactId>maven-ipojo-plugin</artifactId>
|
| 84 | <version>1.5.0-SNAPSHOT</version>
|
| 85 | <executions>
|
| 86 | <execution>
|
| 87 | <goals>
|
| 88 | <goal>ipojo-bundle</goal>
|
| 89 | </goals>
|
| 90 | </execution>
|
| 91 | </executions>
|
| 92 | </plugin>
|
| 93 | </plugins>
|
| 94 | </build>
|
Clement Escoffier | ce0e1e5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 95 | </project>
|