File tree Expand file tree Collapse file tree 2 files changed +51
-0
lines changed Expand file tree Collapse file tree 2 files changed +51
-0
lines changed Original file line number Diff line number Diff line change 8
8
<properties >
9
9
<jetty .version>9.3.5.v20151012</jetty .version>
10
10
<places .appkey>YOUR_PLACES_APP_KEY</places .appkey>
11
+ <jetty .version>9.3.7.RC1</jetty .version>
12
+ <docker .label.prefix>async-</docker .label.prefix>
11
13
</properties >
12
14
<build >
13
15
<plugins >
42
44
<log_level >debug</log_level >
43
45
</configuration >
44
46
</plugin >
47
+
48
+ <plugin >
49
+ <groupId >com.spotify</groupId >
50
+ <artifactId >docker-maven-plugin</artifactId >
51
+ <version >0.3.2</version >
52
+ <executions >
53
+ <execution >
54
+ <id >build-docker-image</id >
55
+ <phase >package</phase >
56
+ <goals >
57
+ <goal >build</goal >
58
+ </goals >
59
+ <configuration >
60
+ <baseImage >jetty9:${docker.label.prefix}${jetty.version} </baseImage >
61
+ <forceTags >true</forceTags >
62
+ <imageName >jetty9-async-rest</imageName >
63
+ <imageTags >
64
+ <imageTag >${docker.label.prefix}${project.version} </imageTag >
65
+ </imageTags >
66
+ <resources >
67
+ <resource >
68
+ <targetPath >/var/lib/jetty/webapps</targetPath >
69
+ <directory >${project.build.directory} </directory >
70
+ <include >${project.build.finalName} .war</include >
71
+ </resource >
72
+ </resources >
73
+ </configuration >
74
+ </execution >
75
+ <execution >
76
+ <id >clean-docker</id >
77
+ <phase >clean</phase >
78
+ <goals >
79
+ <goal >removeImage</goal >
80
+ </goals >
81
+ <configuration >
82
+ <imageName >jetty9-async-rest</imageName >
83
+ <imageTags >
84
+ <imageTag >${docker.label.prefix}${project.version} </imageTag >
85
+ </imageTags >
86
+ </configuration >
87
+ </execution >
88
+ </executions >
89
+ </plugin >
45
90
</plugins >
46
91
</build >
47
92
<dependencies >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://www.eclipse.org/jetty/configure_9_3.dtd">
3
+
4
+ <Configure class =" org.eclipse.jetty.webapp.WebAppContext" >
5
+ <Set name =" contextPath" >/</Set >
6
+ </Configure >
You can’t perform that action at this time.
0 commit comments