|
20 | 20 | <parent> |
21 | 21 | <groupId>org.apache.felix</groupId> |
22 | 22 | <artifactId>felix-parent</artifactId> |
23 | | - <version>6</version> |
| 23 | + <version>9</version> |
24 | 24 | <relativePath>../pom/pom.xml</relativePath> |
25 | 25 | </parent> |
26 | 26 | <modelVersion>4.0.0</modelVersion> |
|
49 | 49 | <groupId>org.osgi</groupId> |
50 | 50 | <artifactId>osgi.core</artifactId> |
51 | 51 | <version>6.0.0</version> |
| 52 | + <scope>provided</scope> |
| 53 | + </dependency> |
| 54 | + <dependency> |
| 55 | + <groupId>org.osgi</groupId> |
| 56 | + <artifactId>org.osgi.service.cm</artifactId> |
| 57 | + <version>1.6.0</version> |
| 58 | + <scope>provided</scope> |
52 | 59 | </dependency> |
53 | 60 | <dependency> |
54 | 61 | <groupId>org.osgi</groupId> |
55 | 62 | <artifactId>org.osgi.service.log</artifactId> |
56 | 63 | <version>1.5.0</version> |
57 | 64 | </dependency> |
| 65 | + <dependency> |
| 66 | + <groupId>org.osgi</groupId> |
| 67 | + <artifactId>org.osgi.annotation.bundle</artifactId> |
| 68 | + <version>1.0.0</version> |
| 69 | + <scope>provided</scope> |
| 70 | + </dependency> |
| 71 | + <dependency> |
| 72 | + <groupId>org.osgi</groupId> |
| 73 | + <artifactId>org.osgi.annotation.versioning</artifactId> |
| 74 | + <version>1.0.0</version> |
| 75 | + <scope>provided</scope> |
| 76 | + </dependency> |
| 77 | + <dependency> |
| 78 | + <groupId>org.osgi</groupId> |
| 79 | + <artifactId>org.osgi.namespace.service</artifactId> |
| 80 | + <version>1.0.0</version> |
| 81 | + <scope>provided</scope> |
| 82 | + </dependency> |
| 83 | + <dependency> |
| 84 | + <groupId>org.osgi</groupId> |
| 85 | + <artifactId>org.osgi.service.component.annotations</artifactId> |
| 86 | + <version>1.5.1</version> |
| 87 | + <scope>provided</scope> |
| 88 | + </dependency> |
58 | 89 | </dependencies> |
59 | 90 | <build> |
60 | 91 | <plugins> |
61 | 92 | <plugin> |
62 | 93 | <groupId>org.apache.felix</groupId> |
63 | 94 | <artifactId>maven-bundle-plugin</artifactId> |
64 | | - <version>3.5.0</version> |
| 95 | + <version>5.1.9</version> |
65 | 96 | <extensions>true</extensions> |
66 | 97 | <configuration> |
67 | 98 | <instructions> |
68 | 99 | <Export-Package>org.osgi.service.log,org.osgi.service.log.admin</Export-Package> |
69 | | - <Private-Package>org.apache.felix.log</Private-Package> |
70 | | - <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName> |
71 | | - <Bundle-Activator>${pom.artifactId}.Activator</Bundle-Activator> |
| 100 | + <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName> |
72 | 101 | <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor> |
73 | 102 | <Include-Resource>META-INF/LICENSE=LICENSE,META-INF/NOTICE=NOTICE,META-INF/DEPENDENCIES=DEPENDENCIES</Include-Resource> |
74 | | - <Require-Capability><![CDATA[ |
75 | | - osgi.service;filter:="(objectClass=org.osgi.service.cm.ConfigurationAdmin)";effective:=active |
76 | | - ]]></Require-Capability> |
77 | | - <Provide-Capability><![CDATA[ |
78 | | - osgi.service;objectClass:List<String>="org.osgi.service.log.LogReaderService";uses:="org.osgi.service.log,org.osgi.service.log.admin", |
79 | | - osgi.service;objectClass:List<String>="org.osgi.service.log.LogService,org.osgi.service.log.LoggerFactory";uses:="org.osgi.service.log,org.osgi.service.log.admin", |
80 | | - osgi.service;objectClass:List<String>="org.osgi.service.log.admin.LoggerAdmin";uses:="org.osgi.service.log,org.osgi.service.log.admin" |
81 | | - ]]></Provide-Capability> |
| 103 | + <_reproducible>true</_reproducible> |
82 | 104 | </instructions> |
83 | 105 | </configuration> |
84 | 106 | </plugin> |
|
0 commit comments