Clement Escoffier | e50ede5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 1 | <project>
|
| 2 | <modelVersion>4.0.0</modelVersion>
|
| 3 | <packaging>bundle</packaging>
|
| 4 | <groupId>ipojo.examples</groupId>
|
| 5 | <artifactId>hello.impl</artifactId>
|
| 6 | <version>0.7.6-SNAPSHOT</version>
|
| 7 | <name>Hello Service Provider</name>
|
| 8 |
|
| 9 | <pluginRepositories>
|
| 10 | <pluginRepository>
|
| 11 | <id>apache.snapshots</id>
|
| 12 | <name>snapshot plugins</name>
|
| 13 | <url>
|
| 14 | http://people.apache.org/repo/m2-snapshot-repository
|
| 15 | </url>
|
| 16 | <releases>
|
| 17 | <enabled>false</enabled>
|
| 18 | </releases>
|
| 19 | <snapshots>
|
| 20 | <enabled>true</enabled>
|
| 21 | </snapshots>
|
| 22 | </pluginRepository>
|
| 23 | </pluginRepositories>
|
| 24 |
|
| 25 | <dependencies>
|
| 26 | <dependency>
|
| 27 | <groupId>ipojo.examples</groupId>
|
| 28 | <artifactId>hello.service</artifactId>
|
| 29 | <version>${pom.version}</version>
|
| 30 | </dependency>
|
| 31 | </dependencies>
|
| 32 |
|
| 33 | <build>
|
| 34 | <plugins>
|
| 35 | <plugin>
|
| 36 | <groupId>org.apache.felix</groupId>
|
| 37 | <artifactId>maven-bundle-plugin</artifactId>
|
| 38 | <version>1.4.0</version>
|
| 39 | <extensions>true</extensions>
|
| 40 | <configuration>
|
| 41 | <instructions>
|
| 42 | <Bundle-SymbolicName>
|
| 43 | ${pom.artifactId}
|
| 44 | </Bundle-SymbolicName>
|
| 45 | <Private-Package>
|
| 46 | ipojo.example.hello.impl
|
| 47 | </Private-Package>
|
| 48 | </instructions>
|
| 49 | </configuration>
|
| 50 | </plugin>
|
| 51 | <plugin>
|
| 52 | <groupId>org.apache.felix</groupId>
|
| 53 | <artifactId>maven-ipojo-plugin</artifactId>
|
| 54 | <version>0.7.6-SNAPSHOT</version>
|
| 55 | <executions>
|
| 56 | <execution>
|
| 57 | <goals>
|
| 58 | <goal>ipojo-bundle</goal>
|
| 59 | </goals>
|
| 60 | </execution>
|
| 61 | </executions>
|
| 62 | </plugin>
|
| 63 | </plugins>
|
| 64 | </build>
|
| 65 | </project>
|