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.client.annotation</artifactId>
|
Clement Escoffier | 8036bab | 2008-05-26 18:50:39 +0000 | [diff] [blame] | 6 | <version>0.9.0-SNAPSHOT</version>
|
Clement Escoffier | e50ede5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 7 | <name>Hello Service Client using Annotations</name>
|
| 8 |
|
| 9 | <dependencies>
|
| 10 | <dependency>
|
| 11 | <groupId>ipojo.examples</groupId>
|
| 12 | <artifactId>hello.service</artifactId>
|
Clement Escoffier | 8036bab | 2008-05-26 18:50:39 +0000 | [diff] [blame] | 13 | <version>0.9.0-SNAPSHOT</version>
|
Clement Escoffier | e50ede5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 14 | </dependency>
|
| 15 | <dependency>
|
| 16 | <groupId>org.apache.felix</groupId>
|
| 17 | <artifactId>org.apache.felix.ipojo.annotations</artifactId>
|
Clement Escoffier | 8036bab | 2008-05-26 18:50:39 +0000 | [diff] [blame] | 18 | <version>0.9.0-SNAPSHOT</version>
|
Clement Escoffier | e50ede5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 19 | </dependency>
|
| 20 | </dependencies>
|
| 21 |
|
Clement Escoffier | a414211 | 2008-03-29 15:04:02 +0000 | [diff] [blame] | 22 | <pluginRepositories>
|
| 23 | <pluginRepository>
|
| 24 | <id>apache.snapshots</id>
|
| 25 | <name>snapshot plugins</name>
|
| 26 | <url>
|
| 27 | http://people.apache.org/repo/m2-snapshot-repository
|
| 28 | </url>
|
| 29 | <releases>
|
| 30 | <enabled>false</enabled>
|
| 31 | </releases>
|
| 32 | <snapshots>
|
| 33 | <enabled>true</enabled>
|
| 34 | </snapshots>
|
| 35 | </pluginRepository>
|
| 36 | </pluginRepositories>
|
Clement Escoffier | e50ede5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 37 |
|
| 38 | <build>
|
| 39 | <plugins>
|
| 40 | <plugin>
|
| 41 | <groupId>org.apache.maven.plugins</groupId>
|
| 42 | <artifactId>maven-compiler-plugin</artifactId>
|
| 43 | <configuration>
|
| 44 | <source>1.5</source>
|
| 45 | <target>1.5</target>
|
| 46 | </configuration>
|
| 47 | </plugin>
|
| 48 | <plugin>
|
| 49 | <groupId>org.apache.felix</groupId>
|
| 50 | <artifactId>maven-bundle-plugin</artifactId>
|
| 51 | <extensions>true</extensions>
|
| 52 | <configuration>
|
| 53 | <instructions>
|
| 54 | <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
|
| 55 | <Private-Package>ipojo.example.hello.client</Private-Package>
|
| 56 | </instructions>
|
| 57 | </configuration>
|
| 58 | </plugin>
|
| 59 | <plugin>
|
| 60 | <groupId>org.apache.felix</groupId>
|
| 61 | <artifactId>maven-ipojo-plugin</artifactId>
|
Clement Escoffier | 8036bab | 2008-05-26 18:50:39 +0000 | [diff] [blame] | 62 | <version>0.9.0-SNAPSHOT</version>
|
Clement Escoffier | e50ede5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 63 | <executions>
|
| 64 | <execution>
|
| 65 | <goals>
|
| 66 | <goal>ipojo-bundle</goal>
|
| 67 | </goals>
|
| 68 | </execution>
|
| 69 | </executions>
|
| 70 | </plugin>
|
| 71 | </plugins>
|
| 72 | </build>
|
| 73 | </project>
|