1.  
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>org.DX_57.osgi.SH_27</groupId>
  7. <artifactId>SH_27</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <relativePath>../pom.xml</relativePath>
  10. </parent>
  11. <artifactId>SH_27-impl</artifactId>
  12. <packaging>bundle</packaging>
  13. <name>SH_27-impl</name>
  14. <url>http://maven.apache.org</url>
  15. <dependencies>
  16. <dependency>
  17. <groupId>junit</groupId>
  18. <artifactId>junit</artifactId>
  19. <version>3.8.1</version>
  20. <scope>test</scope>
  21. </dependency>
  22. <dependency>
  23. <groupId>org.apache.felix</groupId>
  24. <artifactId>org.osgi.core</artifactId>
  25. <version>1.0.0</version>
  26. </dependency>
  27. <dependency>
  28. <groupId>${pom.groupId}</groupId>
  29. <artifactId>SH_27-api</artifactId>
  30. <version>1.0-SNAPSHOT</version>
  31. </dependency>
  32. <dependency>
  33. <groupId>${project.groupId}</groupId>
  34. <artifactId>SH_27-api</artifactId>
  35. <version>${project.version}</version>
  36. </dependency>
  37. </dependencies>
  38. <build>
  39. <plugins>
  40. <plugin>
  41. <groupId>org.apache.felix</groupId>
  42. <artifactId>maven-bundle-plugin</artifactId>
  43. <extensions>true</extensions>
  44. <configuration>
  45. <instructions>
  46. <Import-Package>${pom.groupId}.api, org.osgi.framework</Import-Package>
  47. <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
  48. <Bundle-Activator>${pom.groupId}.impl.SessionHandleApp</Bundle-Activator>
  49. <Export-Package>org.DX_57.osgi.SH_27.impl,org.osgi.framework,org.osgi.service.condpermadmin,org.osgi.service.packageadmin,org.osgi.service.permissionadmin,org.osgi.service.startlevel,org.osgi.service.url,org.samples.osgi.service</Export-Package>
  50. <Private-Package>org.DX_57.osgi.SH_27.impl.*,org.samples.osgi.service.*</Private-Package>
  51. </instructions>
  52. </configuration>
  53. </plugin>
  54. <plugin>
  55. <groupId>org.apache.maven.plugins</groupId>
  56. <artifactId>maven-compiler-plugin</artifactId>
  57. <version>2.3.2</version>
  58. <configuration>
  59. <source>1.7</source>
  60. <target>1.7</target>
  61. </configuration>
  62. </plugin>
  63. </plugins>
  64. </build>
  65. <groupId>org.DX_57.osgi.SH_27</groupId>
  66. </project>