blob: 2b659f892dee1f261e30f68553163a5b0a95dccd [file] [log] [blame]
Clement Escoffiere50ede52008-03-28 15:33:36 +00001<!--
Clement Escoffier4cb4ff32009-08-14 12:11:19 +00002 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 Escoffiere50ede52008-03-28 15:33:36 +000018-->
19<project>
Clement Escoffier4cb4ff32009-08-14 12:11:19 +000020 <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 Escoffiere50ede52008-03-28 15:33:36 +000026
Clement Escoffier4cb4ff32009-08-14 12:11:19 +000027 <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 Escoffiere50ede52008-03-28 15:33:36 +000042
Clement Escoffier4cb4ff32009-08-14 12:11:19 +000043 <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 Escoffiere50ede52008-03-28 15:33:36 +000055
Clement Escoffier4cb4ff32009-08-14 12:11:19 +000056 <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>
Clement Escoffierfe606902010-05-01 10:46:02 +000073 ${project.artifactId}
Clement Escoffier4cb4ff32009-08-14 12:11:19 +000074 </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 Escoffiere50ede52008-03-28 15:33:36 +000095</project>