|
34 | 34 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
35 | 35 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
36 | 36 | <slf4j.version>1.7.10</slf4j.version> |
| 37 | + |
| 38 | + <!-- OSGO support --> |
| 39 | + <osgi.version>5.0.0</osgi.version> |
| 40 | + <osgi.compendium.version>${osgi.version}</osgi.compendium.version> |
| 41 | + <osgi.annotation.version>6.0.0</osgi.annotation.version> |
37 | 42 | </properties> |
38 | 43 |
|
39 | 44 | <licenses> |
|
80 | 85 | </execution> |
81 | 86 | </executions> |
82 | 87 | </plugin> |
| 88 | + <plugin> |
| 89 | + <groupId>biz.aQute.bnd</groupId> |
| 90 | + <artifactId>bnd-maven-plugin</artifactId> |
| 91 | + <executions> |
| 92 | + <execution> |
| 93 | + <goals> |
| 94 | + <goal>bnd-process</goal> |
| 95 | + </goals> |
| 96 | + </execution> |
| 97 | + </executions> |
| 98 | + </plugin> |
83 | 99 | </plugins> |
84 | 100 | <pluginManagement> |
85 | 101 | <plugins> |
|
112 | 128 | </lifecycleMappingMetadata> |
113 | 129 | </configuration> |
114 | 130 | </plugin> |
| 131 | + <plugin> |
| 132 | + <groupId>biz.aQute.bnd</groupId> |
| 133 | + <artifactId>bnd-maven-plugin</artifactId> |
| 134 | + <version>3.3.0</version> |
| 135 | + <dependencies> |
| 136 | + <dependency> |
| 137 | + <groupId>ch.qos.logback</groupId> |
| 138 | + <artifactId>logback-core</artifactId> |
| 139 | + <version>1.1.3</version> |
| 140 | + </dependency> |
| 141 | + <dependency> |
| 142 | + <groupId>org.slf4j</groupId> |
| 143 | + <artifactId>slf4j-api</artifactId> |
| 144 | + <version>1.7.13</version> |
| 145 | + </dependency> |
| 146 | + </dependencies> |
| 147 | + <executions> |
| 148 | + <execution> |
| 149 | + <goals> |
| 150 | + <goal>bnd-process</goal> |
| 151 | + </goals> |
| 152 | + </execution> |
| 153 | + </executions> |
| 154 | + </plugin> |
| 155 | + <plugin> |
| 156 | + <groupId>org.apache.maven.plugins</groupId> |
| 157 | + <artifactId>maven-jar-plugin</artifactId> |
| 158 | + <version>2.6</version> |
| 159 | + <configuration> |
| 160 | + <archive> |
| 161 | + <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> |
| 162 | + </archive> |
| 163 | + </configuration> |
| 164 | + </plugin> |
115 | 165 | </plugins> |
116 | 166 | </pluginManagement> |
117 | 167 | </build> |
|
132 | 182 | <artifactId>jul-to-slf4j</artifactId> |
133 | 183 | <version>${slf4j.version}</version> |
134 | 184 | </dependency> |
| 185 | + <!-- OSGI support --> |
| 186 | + <dependency> |
| 187 | + <groupId>org.osgi</groupId> |
| 188 | + <artifactId>org.osgi.annotation</artifactId> |
| 189 | + <scope>provided</scope> |
| 190 | + <version>${osgi.annotation.version}</version> |
| 191 | + <optional>true</optional> |
| 192 | + </dependency> |
| 193 | + <dependency> |
| 194 | + <groupId>org.osgi</groupId> |
| 195 | + <artifactId>org.osgi.compendium</artifactId> |
| 196 | + <scope>provided</scope> |
| 197 | + <version>${osgi.compendium.version}</version> |
| 198 | + <optional>true</optional> |
| 199 | + </dependency> |
| 200 | + <dependency> |
| 201 | + <groupId>org.osgi</groupId> |
| 202 | + <artifactId>org.osgi.core</artifactId> |
| 203 | + <version>${osgi.version}</version> |
| 204 | + <scope>provided</scope> |
| 205 | + <optional>true</optional> |
| 206 | + </dependency> |
135 | 207 | </dependencies> |
136 | 208 | </dependencyManagement> |
137 | 209 | <dependencies> |
|
171 | 243 | <groupId>org.slf4j</groupId> |
172 | 244 | <artifactId>slf4j-api</artifactId> |
173 | 245 | </dependency> |
| 246 | + <!-- OSGI support --> |
| 247 | + <dependency> |
| 248 | + <groupId>org.testng</groupId> |
| 249 | + <artifactId>testng</artifactId> |
| 250 | + <scope>test</scope> |
| 251 | + </dependency> |
| 252 | + <dependency> |
| 253 | + <groupId>javax.money</groupId> |
| 254 | + <artifactId>money-api</artifactId> |
| 255 | + <version>${jsr.version}</version> |
| 256 | + <scope>compile</scope> |
| 257 | + </dependency> |
| 258 | + <dependency> |
| 259 | + <groupId>javax.annotation</groupId> |
| 260 | + <artifactId>javax.annotation-api</artifactId> |
| 261 | + <version>1.2</version> |
| 262 | + </dependency> |
174 | 263 | </dependencies> |
175 | 264 | </project> |
0 commit comments