blob: 56b03f860de39c5a38b4e21575b227dc32900f21 [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>
Carsten Ziegeler78bcc772008-01-22 07:41:16 +000030 <version>1.2.0</version>
Richard S. Hall7fa14152006-06-14 15:22:03 +000031 <extensions>true</extensions>
32 <configuration>
Clement Escoffierace86c52007-06-24 17:44:53 +000033 <instructions>
34 <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
35 <Private-Package>YOUR_PRIVATE_PACKAGES</Private-Package>
36 <Import-Package>*</Import-Package> <!-- YOUR_IMPORTED_PACKAGES -->
37 <Export-Package>*</Export-Package> <!-- YOUR_EXPORTED_PACKAGES -->
38 </instructions>
Richard S. Hall7fa14152006-06-14 15:22:03 +000039 </configuration>
40 </plugin>
Clement Escoffierace86c52007-06-24 17:44:53 +000041 <plugin>
42 <groupId>org.apache.felix</groupId>
Clement Escoffierce688ee2007-09-26 09:00:40 +000043 <artifactId>maven-ipojo-plugin</artifactId>
Clement Escoffierace86c52007-06-24 17:44:53 +000044 <executions>
45 <execution>
46 <goals>
47 <goal>ipojo-bundle</goal>
48 </goals>
49 </execution>
50 </executions>
51 </plugin>
Richard S. Hall7fa14152006-06-14 15:22:03 +000052 </plugins>
53 </build>
54</project>