blob: efecb2df56a38df4d326a2c8a5901aba634b74bb [file] [log] [blame]
Clement Escoffierce0e1e52008-03-28 15:33:36 +00001<!--
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 Escoffier2e9f4b32008-10-14 13:55:56 +000024 <version>1.1.0-SNAPSHOT</version>
Clement Escoffierce0e1e52008-03-28 15:33:36 +000025 <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 Escoffier7d116ff2008-03-29 15:04:02 +000034 <releases>
35 <enabled>false</enabled>
36 </releases>
37 <snapshots>
38 <enabled>true</enabled>
39 </snapshots>
Clement Escoffierce0e1e52008-03-28 15:33:36 +000040 </pluginRepository>
41 </pluginRepositories>
42
43 <dependencies>
44 <dependency>
45 <groupId>ipojo.examples</groupId>
46 <artifactId>hello.service</artifactId>
Clement Escoffier2e9f4b32008-10-14 13:55:56 +000047 <version>1.1.0-SNAPSHOT</version>
Clement Escoffierce0e1e52008-03-28 15:33:36 +000048 </dependency>
49 <dependency>
50 <groupId>org.apache.felix</groupId>
51 <artifactId>org.apache.felix.ipojo.annotations</artifactId>
Clement Escoffier2e9f4b32008-10-14 13:55:56 +000052 <version>1.1.0-SNAPSHOT</version>
Clement Escoffierce0e1e52008-03-28 15:33:36 +000053 </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 Escoffier2e9f4b32008-10-14 13:55:56 +000084 <version>1.1.0-SNAPSHOT</version>
Clement Escoffierce0e1e52008-03-28 15:33:36 +000085 <executions>
86 <execution>
87 <goals>
88 <goal>ipojo-bundle</goal>
89 </goals>
90 </execution>
91 </executions>
92 </plugin>
93 </plugins>
94 </build>
95</project>