pom.xml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  3. <parent>
  4. <groupId>no.steria.osgi.jsr330activator.gogoshell.build</groupId>
  5. <artifactId>shared-plugin-settings</artifactId>
  6. <version>1.1.1-SNAPSHOT</version>
  7. </parent>
  8. <modelVersion>4.0.0</modelVersion>
  9. <artifactId>compiled-bundle-settings</artifactId>
  10. <name>jsr330activator.gogoshell - bundle instructions</name>
  11. <packaging>pom</packaging>
  12. <build>
  13. <resources>
  14. <resource>
  15. <directory>src/main/resources</directory>
  16. </resource>
  17. <!--
  18. | example additional resource entries, useful when building Eclipse RCP applications
  19. -->
  20. <resource>
  21. <directory>.</directory>
  22. <includes>
  23. <include>plugin.xml</include>
  24. <include>plugin.properties</include>
  25. <include>icons/**</include>
  26. </includes>
  27. </resource>
  28. </resources>
  29. <plugins>
  30. <plugin>
  31. <!--
  32. | the following instructions build a simple set of public/private classes into an OSGi bundle
  33. -->
  34. <groupId>org.apache.felix</groupId>
  35. <artifactId>maven-bundle-plugin</artifactId>
  36. <configuration>
  37. <instructions>
  38. <Bundle-SymbolicName>${bundle.symbolicName}</Bundle-SymbolicName>
  39. <Bundle-Version>${project.version}</Bundle-Version>
  40. <!--
  41. | assume public classes are in the top package, and private classes are under ".internal"
  42. -->
  43. <Export-Package>!${bundle.namespace}.internal.*,${bundle.namespace}.*;version="${project.version}"</Export-Package>
  44. <Private-Package>${bundle.namespace}.internal.*</Private-Package>
  45. <!--
  46. | each module can override these defaults in their osgi.bnd file
  47. -->
  48. <_include>-osgi.bnd</_include>
  49. </instructions>
  50. </configuration>
  51. </plugin>
  52. </plugins>
  53. </build>
  54. </project>