Richard S. Hall | 7fa1415 | 2006-06-14 15:22:03 +0000 | [diff] [blame] | 1 | <project> |
| 2 | <modelVersion>4.0.0</modelVersion> |
Clement Escoffier | d296521 | 2007-07-04 15:10:55 +0000 | [diff] [blame] | 3 | <packaging>bundle</packaging> |
Richard S. Hall | 7fa1415 | 2006-06-14 15:22:03 +0000 | [diff] [blame] | 4 | <groupId>${groupId}</groupId> |
| 5 | <artifactId>${artifactId}</artifactId> |
| 6 | <version>${version}</version> |
| 7 | <name>$YOUR_PROJECT_NAME</name> |
| 8 | |
Clement Escoffier | a237288 | 2007-10-30 10:38:44 +0000 | [diff] [blame] | 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 | |
Richard S. Hall | 7fa1415 | 2006-06-14 15:22:03 +0000 | [diff] [blame] | 25 | <build> |
| 26 | <plugins> |
| 27 | <plugin> |
Richard S. Hall | 514bc66 | 2006-06-27 21:28:46 +0000 | [diff] [blame] | 28 | <groupId>org.apache.felix</groupId> |
Clement Escoffier | ace86c5 | 2007-06-24 17:44:53 +0000 | [diff] [blame] | 29 | <artifactId>maven-bundle-plugin</artifactId> |
Carsten Ziegeler | 78bcc77 | 2008-01-22 07:41:16 +0000 | [diff] [blame^] | 30 | <version>1.2.0</version> |
Richard S. Hall | 7fa1415 | 2006-06-14 15:22:03 +0000 | [diff] [blame] | 31 | <extensions>true</extensions> |
| 32 | <configuration> |
Clement Escoffier | ace86c5 | 2007-06-24 17:44:53 +0000 | [diff] [blame] | 33 | <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. Hall | 7fa1415 | 2006-06-14 15:22:03 +0000 | [diff] [blame] | 39 | </configuration> |
| 40 | </plugin> |
Clement Escoffier | ace86c5 | 2007-06-24 17:44:53 +0000 | [diff] [blame] | 41 | <plugin> |
| 42 | <groupId>org.apache.felix</groupId> |
Clement Escoffier | ce688ee | 2007-09-26 09:00:40 +0000 | [diff] [blame] | 43 | <artifactId>maven-ipojo-plugin</artifactId> |
Clement Escoffier | ace86c5 | 2007-06-24 17:44:53 +0000 | [diff] [blame] | 44 | <executions> |
| 45 | <execution> |
| 46 | <goals> |
| 47 | <goal>ipojo-bundle</goal> |
| 48 | </goals> |
| 49 | </execution> |
| 50 | </executions> |
| 51 | </plugin> |
Richard S. Hall | 7fa1415 | 2006-06-14 15:22:03 +0000 | [diff] [blame] | 52 | </plugins> |
| 53 | </build> |
| 54 | </project> |