|
69 | 69 |
|
70 | 70 | <java.version>8</java.version>
|
71 | 71 | <felix.java.version>${java.version}</felix.java.version>
|
72 |
| - <maven.compiler.release>${java.version}</maven.compiler.release> |
73 |
| - <maven.compiler.source>${java.version}</maven.compiler.source> |
74 |
| - <maven.compiler.target>${java.version}</maven.compiler.target> |
| 72 | +<!-- <maven.compiler.release>${java.version}</maven.compiler.release>--> |
| 73 | +<!-- <maven.compiler.source>${java.version}</maven.compiler.source>--> |
| 74 | +<!-- <maven.compiler.target>${java.version}</maven.compiler.target>--> |
75 | 75 | </properties>
|
76 | 76 |
|
77 | 77 |
|
|
264 | 264 | <version>5.0.4</version>
|
265 | 265 | <scope>test</scope>
|
266 | 266 | </dependency>
|
| 267 | + <dependency> |
| 268 | + <groupId>org.osgi</groupId> |
| 269 | + <artifactId>org.osgi.test.cases.component</artifactId> |
| 270 | + <version>8.1.0</version> |
| 271 | + <scope>test</scope> |
| 272 | + </dependency> |
| 273 | + <dependency> |
| 274 | + <groupId>org.assertj</groupId> |
| 275 | + <artifactId>assertj-core</artifactId> |
| 276 | + <version>3.27.3</version> |
| 277 | + <scope>test</scope> |
| 278 | + </dependency> |
| 279 | + <dependency> |
| 280 | + <groupId>biz.aQute.bnd</groupId> |
| 281 | + <artifactId>biz.aQute.junit</artifactId> |
| 282 | + <version>6.4.1</version> |
| 283 | + <scope>runtime</scope> |
| 284 | + </dependency> |
| 285 | + <dependency> |
| 286 | + <groupId>org.apache.servicemix.bundles</groupId> |
| 287 | + <artifactId>org.apache.servicemix.bundles.junit</artifactId> |
| 288 | + <version>4.13.2_1</version> |
| 289 | + <scope>test</scope> |
| 290 | + </dependency> |
| 291 | + |
| 292 | + <dependency> |
| 293 | + <groupId>net.bytebuddy</groupId> |
| 294 | + <artifactId>byte-buddy</artifactId> |
| 295 | + <version>1.17.5</version> |
| 296 | + <scope>test</scope> |
| 297 | + </dependency> |
| 298 | + <dependency> |
| 299 | + <groupId>org.osgi</groupId> |
| 300 | + <artifactId>org.osgi.util.pushstream</artifactId> |
| 301 | + <version>1.1.0</version> |
| 302 | + <scope>test</scope> |
| 303 | + </dependency> |
| 304 | + <dependency> |
| 305 | + <groupId>org.slf4j</groupId> |
| 306 | + <artifactId>slf4j-simple</artifactId> |
| 307 | + <version>1.7.36</version> |
| 308 | + <scope>test</scope> |
| 309 | + </dependency> |
| 310 | + <dependency> |
| 311 | + <groupId>org.slf4j</groupId> |
| 312 | + <artifactId>slf4j-api</artifactId> |
| 313 | + <version>1.7.36</version> |
| 314 | + <scope>test</scope> |
| 315 | + </dependency> |
| 316 | + <dependency> |
| 317 | + <groupId>org.apache.felix</groupId> |
| 318 | + <artifactId>org.apache.felix.configadmin</artifactId> |
| 319 | + <version>1.9.26</version> |
| 320 | + <scope>test</scope> |
| 321 | + </dependency> |
| 322 | + <dependency> |
| 323 | + <groupId>org.apache.felix</groupId> |
| 324 | + <artifactId>org.apache.felix.coordinator</artifactId> |
| 325 | + <version>1.0.2</version> |
| 326 | + <scope>test</scope> |
| 327 | + </dependency> |
| 328 | + <dependency> |
| 329 | + <groupId>org.apache.felix</groupId> |
| 330 | + <artifactId>org.apache.felix.log</artifactId> |
| 331 | + <version>1.3.0</version> |
| 332 | + <scope>test</scope> |
| 333 | + </dependency> |
267 | 334 | </dependencies>
|
268 | 335 | <build>
|
269 | 336 | <directory>${bundle.build.name}</directory>
|
|
280 | 347 | </configuration>
|
281 | 348 | </plugin>
|
282 | 349 |
|
283 |
| - <!-- plain unit tests --> |
| 350 | + <!-- plain unit tests --> |
284 | 351 | <plugin>
|
285 | 352 | <artifactId>maven-surefire-plugin</artifactId>
|
286 | 353 | <configuration>
|
|
292 | 359 | </excludes>
|
293 | 360 | </configuration>
|
294 | 361 | </plugin>
|
295 |
| - <!-- integration tests run with pax-exam --> |
| 362 | + <!-- integration tests run with pax-exam --> |
296 | 363 | <plugin>
|
297 | 364 | <artifactId>maven-failsafe-plugin</artifactId>
|
298 | 365 | <executions>
|
|
329 | 396 | <source>${java.version}</source>
|
330 | 397 | </configuration>
|
331 | 398 | </plugin>
|
| 399 | + <plugin> |
| 400 | + <groupId>biz.aQute.bnd</groupId> |
| 401 | + <artifactId>bnd-resolver-maven-plugin</artifactId> |
| 402 | + <version>7.1.0</version> |
| 403 | + <configuration> |
| 404 | + <includeDependencyManagement>true</includeDependencyManagement> |
| 405 | + <bndruns> |
| 406 | + <bndrun>tck.bndrun</bndrun> |
| 407 | + </bndruns> |
| 408 | + <scopes> |
| 409 | + <scope>compile</scope> |
| 410 | + <scope>runtime</scope> |
| 411 | + <scope>provided</scope> |
| 412 | + <scope>test</scope> |
| 413 | + </scopes> |
| 414 | + <failOnChanges>false</failOnChanges> |
| 415 | + <bundles> |
| 416 | + <bundle>target/org.apache.felix.scr-2.2.13-SNAPSHOT.jar</bundle> |
| 417 | + </bundles> |
| 418 | + |
| 419 | + <bndruns> |
| 420 | + <bndrun>tck.bndrun</bndrun> |
| 421 | + </bndruns> |
| 422 | + </configuration> |
| 423 | + <executions> |
| 424 | + <execution> |
| 425 | + <goals> |
| 426 | + <goal>resolve</goal> |
| 427 | + </goals> |
| 428 | + </execution> |
| 429 | + </executions> |
| 430 | + </plugin> |
| 431 | + <plugin> |
| 432 | + <groupId>biz.aQute.bnd</groupId> |
| 433 | + <artifactId>bnd-testing-maven-plugin</artifactId> |
| 434 | + <version>7.1.0</version> |
| 435 | + <configuration> |
| 436 | + <failOnChanges>true</failOnChanges> |
| 437 | + <includeDependencyManagement>true</includeDependencyManagement> |
| 438 | + <bndruns> |
| 439 | + <bndrun>tck.bndrun</bndrun> |
| 440 | + </bndruns> |
| 441 | + <bundles> |
| 442 | + <bundle>target/org.apache.felix.scr-2.2.13-SNAPSHOT.jar</bundle> |
| 443 | + </bundles> |
| 444 | + <scopes> |
| 445 | + <scope>compile</scope> |
| 446 | + <scope>runtime</scope> |
| 447 | + <scope>provided</scope> |
| 448 | + <scope>test</scope> |
| 449 | + </scopes> |
| 450 | + </configuration> |
| 451 | + <executions> |
| 452 | + <execution> |
| 453 | + <goals> |
| 454 | + <goal>testing</goal> |
| 455 | + </goals> |
| 456 | + </execution> |
| 457 | + </executions> |
| 458 | + </plugin> |
332 | 459 | </plugins>
|
333 | 460 | </build>
|
334 | 461 |
|
|
347 | 474 | </reporting>
|
348 | 475 |
|
349 | 476 | <profiles>
|
350 |
| - <!-- |
| 477 | + <!-- |
351 | 478 | copy the package such that IDEs may easily use it without
|
352 | 479 | setting the system property
|
353 | 480 | -->
|
|
0 commit comments