forked from ikmdev/jpms-deps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest-builds.sh
executable file
·70 lines (50 loc) · 1.6 KB
/
test-builds.sh
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
#!/usr/bin/env bash
set -euxo pipefail
## Script useful in testing order of releases
function exec_mvn_build() {
cd $1
../mvnw clean install -Dmaven.build.cache.enabled=false --batch-mode -e \
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
size=$(find ./target -maxdepth 1 -type f -name '*[!-javadoc][!-sources].jar' -exec jar tf {} \; | grep -c 'dev.ikm.jpms' | xargs )
if [ "$size" -lt "2" ]; then
echo "ERROR: jar does not contain ikmdev packages"
exit 1
fi
cd ..
}
# Required for activej-bytebuf
exec_mvn_build activej-common
exec_mvn_build activej-bytebuf
exec_mvn_build auto-service
exec_mvn_build bugsplat
exec_mvn_build directory-watcher
# Required for Eclipse collections
exec_mvn_build eclipse-collections-api
exec_mvn_build eclipse-collections
# Required for Guava and Hapi projects
exec_mvn_build jsr305
# Required by hapi-fhir-base
exec_mvn_build guava
# required by all hapi-fhir projects
exec_mvn_build hapi-fhir-base
# Required by hapi-fhir-structures-r4
exec_mvn_build hapi-fhir-utilities
# Required by hapi-fhir-structures-r4
exec_mvn_build hapi-fhir-r4
# Required by hapi-fhir-structures-r4
exec_mvn_build hapi-fhir-caching-api
exec_mvn_build hapi-fhir-structures-r4
# Required for httpmime
exec_mvn_build httpclient
exec_mvn_build httpcore
exec_mvn_build httpmime
exec_mvn_build javax-inject
exec_mvn_build jgit
exec_mvn_build jheaps
exec_mvn_build mvstore
# Required for snorocket
exec_mvn_build ontology-model
exec_mvn_build protobuf-java
exec_mvn_build record-builder-core
exec_mvn_build roaringbitmap
exec_mvn_build snorocket