forked from petergeneric/stdlib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
58 lines (41 loc) · 828 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#
# Set up maven binary, also an alias for skipTests.
notest=false
MAVEN_PARALLELISM=4
ifneq ($(notest), false)
MVN=mvn3 -T$(MAVEN_PARALLELISM) -DskipTests
else
MVN=mvn3 -T$(MAVEN_PARALLELISM)
endif
all: install
#
#
# PW Targets
#
#
pwsample: sample
rm -rf /opt/tomcat/webapps/test{,.war}
rsync --partial guice/sample-rest-service/target/*.war /opt/tomcat/webapps/test.war
sample:
$(MVN) clean package -DskipTests=true -am --projects guice/sample-rest-service
#
#
# Standard Maven targets
#
#
compile:
$(MVN) clean compile
dependencies:
$(MVN) clean dependency:tree
package:
$(MVN) clean package
test:
$(MVN) clean test
install:
$(MVN) clean install
eclipse:
$(MVN) eclipse:clean eclipse:eclipse -DdownloadSources=true -DdownloadJavadocs=true
clean:
$(MVN) clean
release:
env MVN=mvn3 ./release.sh