Files
osgi-training/cnf/features/blueprint/Dania/testing.bnd
2021-09-28 11:17:52 +02:00

40 lines
1.0 KiB
Plaintext

#
# Amdatu Blueprint testing feature
#
blueprint-feature.testing: testing
blueprint-repo.testing: https://repository.amdatu.org/amdatu-testing/r11/repo/index.xml.gz
#
# Build
#
# Junit and mockito are added to the testpath in the base feature, add them to the buildpath
# when the testing run feature is enabled to allow using these dependencies from the src folder.
-buildpath.blueprint-testing: \
${if;(|(buildfeaturesMerged[]=testing)(runfeaturesMerged[]=testing)); \
org.amdatu.testing.configurator,\
org.apache.servicemix.bundles.junit,\
org.mockito.mockito-core,\
org.objenesis,\
net.bytebuddy.byte-buddy,\
net.bytebuddy.byte-buddy-agent\
}
#
# Run
#
-runbundles.blueprint-testing: \
${if;(runfeaturesMerged[]=testing); \
org.amdatu.testing.configurator,\
org.apache.servicemix.bundles.junit,\
org.mockito.mockito-core,\
org.objenesis,\
net.bytebuddy.byte-buddy,\
net.bytebuddy.byte-buddy-agent\
}
-runsystempackages.blueprint-testing: \
${if;(runfeaturesMerged[]=testing); \
sun.misc,\
sun.reflect\
}