-
Notifications
You must be signed in to change notification settings - Fork 2
/
maven-rt-build.sh
executable file
·41 lines (31 loc) · 1.21 KB
/
maven-rt-build.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
#!/bin/sh
echo "Checking out modules..."
mvn --non-recursive scm:checkout -Dmodule.name=document-service-client-java
mvn --non-recursive scm:checkout -Dmodule.name=STIXExtractors
mvn --non-recursive scm:checkout -Dmodule.name=entity-extractor -DscmVersion=STIX -DscmVersionType=branch
cd entity-extractor
mvn -e clean install -Dmaven.test.skip=true
cd ..
mvn --non-recursive scm:checkout -Dmodule.name=relation-extractor -DscmVersion=STIX -DscmVersionType=branch
cd relation-extractor
mvn -e clean install -Dmaven.test.skip=true
cd ..
mvn -q --non-recursive scm:checkout -Dmodule.name=graph-db-connection -DscmVersion=feature/bulkLoad -DscmVersionType=branch
cd graph-db-connection
mvn -e clean install -Dmaven.test.skip=true
cd ..
mvn -q --non-recursive scm:checkout -Dmodule.name=graph-alignment -DscmVersion=feature/bulkLoad -DscmVersionType=branch
cd graph-alignment
mvn -e clean install -Dmaven.test.skip=true
cd ..
echo "Building rt..."
mvn -e clean install -Dmaven.test.skip=true
cd streaming-processor
mvn -e clean package -Dmaven.test.skip=true
cd ..
#echo "Cleaning up modules..."
#rm -rf entity-extractor
#rm -rf relation-extractors
#rm -rf graph-alignment
#rm -rf document-service-client-java
#rm -rf STIXExtractor