-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathbuild.bnd
104 lines (84 loc) · 5.78 KB
/
build.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
-includeresource.all = -src/main/resources
-donotcopy = \.gitignore|\.DS_Store
javac.source = 21
javac.target = ${javac.source}
javac.compliance = ${javac.source}
javac.debug = on
javac.encoding = UTF-8
-resolve.effective = resolve, active
-x-overwritestrategy = gc
-noee = true
-remoteworkspace = true
-nodefaultversion = true
-sources = ${if;${is;${driver};gradle};false;true}
src = src/main/java, src/main/resources
bin = ${bin.directory}
testsrc = src/test/java
testbin = ${testbin.directory}
target-dir = target
maven.central.url = https://repo.maven.apache.org/maven2/
sonatype.url = https://s01.oss.sonatype.org
sonatype.url.snapshot = ${sonatype.url}/content/repositories/snapshots/
sonatype.url.staging = ${sonatype.url}/service/local/staging/deploy/maven2/
-connection-settings = server;\
id=${sonatype.url};\
username=${env;SONATYPE_USERNAME;};\
password=${env;SONATYPE_PASSWORD;},\
-bnd
efxclipse.version = 3.9.0
efxclipse.url = https://download.eclipse.org/efxclipse/runtime-released/${efxclipse.version}/site/repository.xml.gz
bin.directory = ${if;${is;${driver};gradle};target/gradle/classes;target/classes}
testbin.directory = ${if;${is;${driver};gradle};target/gradle/test-classes;target/test-classes}
bin.testbin.directory = ${if;${is;${driver};gradle};target/classes,target/test-classes;target/gradle/classes,target/gradle/test-classes}
-builderignore = ${bin.testbin.directory}
-noextraheaders = true
-baselinerepo = Baseline
-releaserepo = Release
-diffignore = Bundle-Version
OSGifx-Version = ${cat;${.}/version/app.version}
Bundle-Version = ${trim;${OSGifx-Version}}
baseline.version = ${cat;${.}/version/baseline.version}
is.snapshot = ${endswith;${trim;${OSGifx-Version}};SNAPSHOT}
-snapshot = ${if;${is.snapshot};${tstamp};}
-pom = version=${if;${is.snapshot};${replacestring;${trim;${OSGifx-Version}};\.SNAPSHOT;-SNAPSHOT};${trim;${OSGifx-Version}}}
-groupid = com.osgifx
Git-Descriptor = ${system-allow-fail;git describe --dirty --always --abbrev=9}
Git-SHA = ${system-allow-fail;git rev-list -1 --no-abbrev-commit HEAD}
-plugin.1.Build = \
aQute.bnd.repository.maven.provider.MavenBndRepository;\
snapshotUrl = ${sonatype.url.snapshot};\
releaseUrl = ${maven.central.url};\
readOnly = true;\
name = Build;\
index = ${.}/maven/build.maven
-plugin.2.Runtime = \
aQute.bnd.repository.maven.provider.MavenBndRepository;\
snapshotUrl = ${sonatype.url.snapshot};\
releaseUrl = ${maven.central.url};\
readOnly = true;\
name = Runtime;\
index = ${.}/maven/runtime.maven
-plugin.3.Release = \
aQute.bnd.repository.maven.provider.MavenBndRepository;\
snapshotUrl = ${sonatype.url.snapshot};\
releaseUrl = ${sonatype.url.staging};\
name = Release;\
noupdateOnRelease = true
-plugin.4.Baseline = \
aQute.bnd.repository.maven.provider.MavenBndRepository;\
snapshotUrl = ${sonatype.url.snapshot};\
releaseUrl = ${maven.central.url};\
readOnly = true;\
name = Baseline;\
index = ${.}/maven/baseline.maven
-plugin.5.efxclipse = \
aQute.bnd.repository.osgi.OSGiRepository;\
locations = ${efxclipse.url};\
name = e(fx)clipse
-plugin.6.Local = \
aQute.bnd.deployer.repository.LocalIndexedRepo; \
name = Local; \
pretty = true; \
local = ${build}/local
-plugin.6.osgi.dp.exporter = com.osgifx.console.bnd.dp.packager.DeploymentPackageExporter
-pluginpath = ${build}/plugin/com.osgifx.console.bnd.dp.packager.jar