-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
36 lines (29 loc) · 954 Bytes
/
Makefile
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
# These files need to be under the sense-rm build context so they
# are available under the docker mount.
#KEYFILE="certificates/host.key"
#CERTFILE="certificates/host.cer"
#CAFILE="certificates/host.ca"
all: build
.PHONY: build test clean
build:
docker run -it --rm --name dds-build \
-v "$(PWD)":/usr/src/mymaven \
-v "$(HOME)/.m2":/root/.m2 \
-w /usr/src/mymaven \
maven:3.8.1-openjdk-17-slim mvn clean install -DskipTests=true
test:
docker run -it --rm --name dds-build \
-v "$(PWD)":/usr/src/mymaven \
-v "$(HOME)/.m2":/root/.m2 \
-w /usr/src/mymaven \
-p 8801:8801 \
-p 8802:8802 \
maven:3.8.1-openjdk-17-slim mvn clean install
# -Dtest=AgoleManifestReaderTest#loadMasterList
clean:
docker run -it --rm --name dds-clean \
-v "$(PWD)":/usr/src/mymaven \
-v "$(HOME)/.m2":/root/.m2 \
-w /usr/src/mymaven \
maven:3.8.1-openjdk-17-slim mvn clean
docker: