/
bnd.bnd
71 lines (64 loc) · 3.49 KB
/
bnd.bnd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#*******************************************************************************
# Copyright (c) 2021, 2024 IBM Corporation and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License 2.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
# IBM Corporation - initial API and implementation
#*******************************************************************************
-include= ~../cnf/resources/bnd/bundle.props
bVersion: 1.0
#Common Versions
testContainerVersion: 1.19.5
dockerJavaVersion: 3.3.4
Bundle-Name: FAT Testcontainer Bundle
Bundle-SymbolicName: io.openliberty.org.testcontainers
Bundle-Description: FAT Testcontainer Bundle; version=${bVersion}
#Notice: com.sun.jna.*;version="5.8.0"
# Will cause many bnd build warnings as many of it's packages contain
# binary files instead of class files. This is expected and necessary
Export-Package: \
com.github.*;version="${dockerJavaVersion}",\
com.sun.jna.*;version="5.8.0",\
org.apache.commons.*;version="1.24.0",\
org.testcontainers.*;version="${testContainerVersion}";-split-package:=merge-last,\
org.rnorth.*;version="1.0.8"
#Ensure that /META-INF/service folder from testcontainers core project is included in bundle.
# This will ensure that the other docker container strategies are accessible at runtime.
Include-Resource: \
@${repo;org.testcontainers:testcontainers;${testContainerVersion};EXACT}!/META-INF/**
publish.wlp.jar.disabled: true
#Ensure that a stub project is created in CL
generate.replacement: true
#Notice: com.github.docker-java:docker-java-api has a runtime dependency on
# com.fasterxml.jackson.core:jackson-annotations;version=2.12.3
# It is not included in the build path or export-package because all FATs already include jackson-annotations.
# FATs include the version from io.openliberty.com.fasterxml.jackson. If Testcontainers ever depends on a version of
# jackson-annotations that is not backwards compatible with this then we will need to upgrade
# the version we include in FATs by updating /cnf/build.gradle configurations binaries.
#TODO - remove org.testcontainers:oracle-xe once all containers have been re-built using oracle-free
-buildpath: \
com.github.docker-java:docker-java-api;version=${dockerJavaVersion},\
com.github.docker-java:docker-java-transport;version=${dockerJavaVersion},\
com.github.docker-java:docker-java-transport-zerodep;version=${dockerJavaVersion},\
com.ibm.ws.org.apache.commons.compress;version=latest,\
com.ibm.ws.org.apache.commons.io;version=latest, \
org.testcontainers:testcontainers;version=${testContainerVersion},\
org.testcontainers:database-commons;version=${testContainerVersion},\
org.testcontainers:jdbc;version=${testContainerVersion},\
org.testcontainers:db2;version=${testContainerVersion},\
org.testcontainers:kafka;version=${testContainerVersion},\
org.testcontainers:mongodb;version=${testContainerVersion},\
org.testcontainers:mssqlserver;version=${testContainerVersion},\
org.testcontainers:oracle-free;version=${testContainerVersion},\
org.testcontainers:oracle-xe;version=${testContainerVersion},\
org.testcontainers:postgresql;version=${testContainerVersion},\
org.testcontainers:selenium;version=${testContainerVersion},\
org.rnorth.duct-tape:duct-tape;version=1.0.8,\
com.ibm.ws.org.slf4j.simple;version=latest,\
com.ibm.ws.org.slf4j.api;version=latest,\
net.java.dev.jna:jna;version=5.8.0