Automatic-Module-Name:  ${def;bsn}

-sources: true
# Always use contracts
-contract: *

junit: org.apache.servicemix.bundles.junit;version="[4.13,5)"
-testpath.junit: ${junit}

javac.source: 1.11
javac.target: 1.11

# fixup for bundles with improper manifest, e.g. 'No metadata for revision *'
-fixupmessages: \
    "No metadata for revision"; \
    restrict:=error;\
    is:=warning


eclipse.version				= 4.22
eclipse.platform.version	= R-4.22-202111241800

#The original Eclipse p2 repository, cached by our artifactory for faster access:
-plugin.1.eclipse.platform: \
    aQute.bnd.repository.p2.provider.P2Repository; \
        name  		= "Eclipse Platform ${eclipse.version}"; \
        url   		= "http://download.eclipse.org/eclipse/updates/${eclipse.version}/${eclipse.platform.version}"; \
        cache 		= "${build}/cnf/cache"

#The Nexus from Data In Motion, containing bundles to correctly start and export RCP applications
-plugin.2.geckorcp:\
    aQute.bnd.repository.maven.pom.provider.BndPomRepository;\
        name="Gecko Equinox RCP BOM";\
        releaseUrls="https://repo.maven.apache.org/maven2/";\
        revision="org.geckoprojects.equinox:org.gecko.bnd.eclipse.bom:1.1.1"

-plugin.3.central = \
	aQute.bnd.repository.maven.provider.MavenBndRepository; \
		releaseUrl=https://repo.maven.apache.org/maven2/; \
		index=${.}/central.maven; \
		name="Central"