Clement Escoffier | e50ede5 | 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>
|
| 22 | <groupId>ipojo.examples</groupId>
|
| 23 | <artifactId>hello.impl.annotation</artifactId>
|
Clement Escoffier | 818e692 | 2008-10-14 13:55:56 +0000 | [diff] [blame] | 24 | <version>1.1.0-SNAPSHOT</version>
|
Clement Escoffier | e50ede5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 25 | <name>Hello Service Provider using Annotations</name>
|
| 26 |
|
| 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>
|
Clement Escoffier | a414211 | 2008-03-29 15:04:02 +0000 | [diff] [blame] | 34 | <releases>
|
| 35 | <enabled>false</enabled>
|
| 36 | </releases>
|
| 37 | <snapshots>
|
| 38 | <enabled>true</enabled>
|
| 39 | </snapshots>
|
Clement Escoffier | e50ede5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 40 | </pluginRepository>
|
| 41 | </pluginRepositories>
|
| 42 |
|
| 43 | <dependencies>
|
| 44 | <dependency>
|
| 45 | <groupId>ipojo.examples</groupId>
|
| 46 | <artifactId>hello.service</artifactId>
|
Clement Escoffier | 818e692 | 2008-10-14 13:55:56 +0000 | [diff] [blame] | 47 | <version>1.1.0-SNAPSHOT</version>
|
Clement Escoffier | e50ede5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 48 | </dependency>
|
| 49 | <dependency>
|
| 50 | <groupId>org.apache.felix</groupId>
|
| 51 | <artifactId>org.apache.felix.ipojo.annotations</artifactId>
|
Clement Escoffier | 818e692 | 2008-10-14 13:55:56 +0000 | [diff] [blame] | 52 | <version>1.1.0-SNAPSHOT</version>
|
Clement Escoffier | e50ede5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 53 | </dependency>
|
| 54 | </dependencies>
|
| 55 |
|
| 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>
|
Clement Escoffier | 818e692 | 2008-10-14 13:55:56 +0000 | [diff] [blame] | 84 | <version>1.1.0-SNAPSHOT</version>
|
Clement Escoffier | e50ede5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 85 | <executions>
|
| 86 | <execution>
|
| 87 | <goals>
|
| 88 | <goal>ipojo-bundle</goal>
|
| 89 | </goals>
|
| 90 | </execution>
|
| 91 | </executions>
|
| 92 | </plugin>
|
| 93 | </plugins>
|
| 94 | </build>
|
| 95 | </project>
|