blob: 94e900f4d459d8b24af673ca8ea08509d96a2894 [file] [log] [blame]
Richard S. Hall7fa14152006-06-14 15:22:03 +00001<project>
2 <modelVersion>4.0.0</modelVersion>
Clement Escoffierd2965212007-07-04 15:10:55 +00003 <packaging>bundle</packaging>
Richard S. Hall7fa14152006-06-14 15:22:03 +00004 <groupId>${groupId}</groupId>
5 <artifactId>${artifactId}</artifactId>
6 <version>${version}</version>
7 <name>$YOUR_PROJECT_NAME</name>
8
Clement Escoffiera2372882007-10-30 10:38:44 +00009 <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
Richard S. Hall7fa14152006-06-14 15:22:03 +000025 <build>
26 <plugins>
27 <plugin>
Richard S. Hall514bc662006-06-27 21:28:46 +000028 <groupId>org.apache.felix</groupId>
Clement Escoffierace86c52007-06-24 17:44:53 +000029 <artifactId>maven-bundle-plugin</artifactId>
Richard S. Hall7fa14152006-06-14 15:22:03 +000030 <extensions>true</extensions>
31 <configuration>
Clement Escoffierace86c52007-06-24 17:44:53 +000032 <instructions>
33 <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
34 <Private-Package>YOUR_PRIVATE_PACKAGES</Private-Package>
35 <Import-Package>*</Import-Package> <!-- YOUR_IMPORTED_PACKAGES -->
36 <Export-Package>*</Export-Package> <!-- YOUR_EXPORTED_PACKAGES -->
37 </instructions>
Richard S. Hall7fa14152006-06-14 15:22:03 +000038 </configuration>
39 </plugin>
Clement Escoffierace86c52007-06-24 17:44:53 +000040 <plugin>
41 <groupId>org.apache.felix</groupId>
Clement Escoffierce688ee2007-09-26 09:00:40 +000042 <artifactId>maven-ipojo-plugin</artifactId>
Clement Escoffierace86c52007-06-24 17:44:53 +000043 <executions>
44 <execution>
45 <goals>
46 <goal>ipojo-bundle</goal>
47 </goals>
48 </execution>
49 </executions>
50 </plugin>
Richard S. Hall7fa14152006-06-14 15:22:03 +000051 </plugins>
52 </build>
53</project>