Files
openhab-core/itests/itest-include.bndrun
T
dependabot[bot]andGitHub c1ac5de12f Upgrade bndtools to 7.2.1 and re-establish iTests (#5279)
* Bump bnd.version from 7.1.0 to 7.2.1

Bumps `bnd.version` from 7.1.0 to 7.2.1.

Updates `biz.aQute.bnd:bnd-maven-plugin` from 7.1.0 to 7.2.1
- [Release notes](https://github.com/bndtools/bnd/releases)
- [Commits](https://github.com/bndtools/bnd/compare/7.1.0...7.2.1)

Updates `biz.aQute.bnd:bnd-indexer-maven-plugin` from 7.1.0 to 7.2.1
- [Release notes](https://github.com/bndtools/bnd/releases)
- [Commits](https://github.com/bndtools/bnd/compare/7.1.0...7.2.1)

Updates `biz.aQute.bnd:bnd-resolver-maven-plugin` from 7.1.0 to 7.2.1
- [Release notes](https://github.com/bndtools/bnd/releases)
- [Commits](https://github.com/bndtools/bnd/compare/7.1.0...7.2.1)

Updates `biz.aQute.bnd:bnd-export-maven-plugin` from 7.1.0 to 7.2.1
- [Release notes](https://github.com/bndtools/bnd/releases)
- [Commits](https://github.com/bndtools/bnd/compare/7.1.0...7.2.1)

Updates `biz.aQute.bnd:bnd-testing-maven-plugin` from 7.1.0 to 7.2.1
- [Release notes](https://github.com/bndtools/bnd/releases)
- [Commits](https://github.com/bndtools/bnd/compare/7.1.0...7.2.1)

Updates `biz.aQute.bnd:bnd-baseline-maven-plugin` from 7.1.0 to 7.2.1
- [Release notes](https://github.com/bndtools/bnd/releases)
- [Commits](https://github.com/bndtools/bnd/compare/7.1.0...7.2.1)

Updates `biz.aQute.bnd:biz.aQute.tester.junit-platform` from 7.1.0 to 7.2.1
- [Release notes](https://github.com/bndtools/bnd/releases)
- [Commits](https://github.com/bndtools/bnd/compare/7.1.0...7.2.1)

---
updated-dependencies:
- dependency-name: biz.aQute.bnd:bnd-maven-plugin
  dependency-version: 7.2.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: biz.aQute.bnd:bnd-indexer-maven-plugin
  dependency-version: 7.2.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: biz.aQute.bnd:bnd-resolver-maven-plugin
  dependency-version: 7.2.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: biz.aQute.bnd:bnd-export-maven-plugin
  dependency-version: 7.2.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: biz.aQute.bnd:bnd-testing-maven-plugin
  dependency-version: 7.2.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: biz.aQute.bnd:bnd-baseline-maven-plugin
  dependency-version: 7.2.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: biz.aQute.bnd:biz.aQute.tester.junit-platform
  dependency-version: 7.2.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

* adapt folder structure, add timeouts and dependencies
* Fix bnd warnings about backslashes in pom.xml
* Activate javaagent for tests to avoid JDK warnings

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2026-01-23 19:39:49 +01:00

64 lines
2.4 KiB
Plaintext

-standalone: \
../../bom/runtime-index/target/index.xml;name="org.openhab.core.bom.runtime-index",\
../../bom/test-index/target/index.xml;name="org.openhab.core.bom.test-index",\
../../bom/openhab-core-index/target/local-index.xml;name="org.openhab.core.bom.openhab-core-index",\
target/index.xml;name="self"
-resolve.effective: active
-tester: biz.aQute.tester.junit-platform
# Run all integration tests which are named xyzTest
Test-Cases: ${classes;CONCRETE;PUBLIC;NAMED;*Test}
# Used by Objenesis/Mockito and not actually optional
-runsystempackages: sun.reflect
-runfw: org.eclipse.osgi
-runee: JavaSE-21
# An unused random HTTP port is used during tests to prevent resource conflicts
# This property is set by the build-helper-maven-plugin in the itests pom.xml
-runvm: \
-Djdk.util.zip.disableZip64ExtraFieldValidation=true,\
-Dorg.osgi.service.http.port=${org.osgi.service.http.port},\
-DJETTY_AVAILABLE_PROCESSORS=4
# The integration test itself does not export anything.
Export-Package:
-exportcontents:
-runrequires.ee: \
bnd.identity;id='org.apache.servicemix.specs.activation-api-1.2.1',\
bnd.identity;id='org.apache.servicemix.specs.annotation-api-1.3',\
bnd.identity;id='org.glassfish.hk2.osgi-resource-locator',\
bnd.identity;id='com.sun.xml.bind.jaxb-osgi'
-runrequires.junit: \
bnd.identity;id='biz.aQute.tester.junit-platform',\
bnd.identity;id='junit-jupiter-engine'
# Defining the proprerty bootdelegation is a necessary workaround for junit-jupiter>=5.12
# on OSGI, otherwise itests would not run.
-runproperties: \
org.ops4j.pax.logging.DefaultServiceLog.level=WARN,\
org.osgi.framework.bootdelegation=org.mockito.internal.creation.bytebuddy.inject
-runvm.java9plus: \
--add-opens=java.base/java.io=ALL-UNNAMED,\
--add-opens=java.base/java.lang=ALL-UNNAMED,\
--add-opens=java.base/java.lang.reflect=ALL-UNNAMED,\
--add-opens=java.base/java.net=ALL-UNNAMED,\
--add-opens=java.base/java.security=ALL-UNNAMED,\
--add-opens=java.base/java.text=ALL-UNNAMED,\
--add-opens=java.base/java.time=ALL-UNNAMED,\
--add-opens=java.base/java.util=ALL-UNNAMED,\
--add-opens=java.desktop/java.awt.font=ALL-UNNAMED,\
--add-opens=java.naming/javax.naming.spi=ALL-UNNAMED,\
--add-opens=java.rmi/sun.rmi.transport.tcp=ALL-UNNAMED,\
-javaagent:${settings.localRepository}/org/mockito/mockito-core/${mockito.version}/mockito-core-${mockito.version}.jar,\
-Xshare:off
-runblacklist.itest-include: \
bnd.identity;id='slf4j.api'