|
|
@@ -65,18 +65,27 @@
|
|
65
|
65
|
<url>https://github.com/citerus/dddsample-core</url>
|
|
66
|
66
|
</scm>
|
|
67
|
67
|
<properties>
|
|
|
68
|
+ <java.version>1.8</java.version>
|
|
|
69
|
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
70
|
+ <!-- Dependencies -->
|
|
68
|
71
|
<spring.version>4.2.1.RELEASE</spring.version>
|
|
69
|
72
|
<cxf.version>3.0.3</cxf.version>
|
|
|
73
|
+ <!-- Plugin versions -->
|
|
|
74
|
+ <maven-jetty-plugin.version>8.1.16.v20140903</maven-jetty-plugin.version>
|
|
|
75
|
+ <maven-compiler-plugin.version>3.3</maven-compiler-plugin.version>
|
|
|
76
|
+ <maven-jar-plugin.version>2.6</maven-jar-plugin.version>
|
|
|
77
|
+ <maven-assembly-plugin.version>2.5.5</maven-assembly-plugin.version>
|
|
70
|
78
|
</properties>
|
|
71
|
79
|
<build>
|
|
72
|
80
|
<plugins>
|
|
73
|
81
|
<!-- Compiler -->
|
|
74
|
82
|
<plugin>
|
|
75
|
83
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
84
|
+ <version>${maven-compiler-plugin.version}</version>
|
|
76
|
85
|
<configuration>
|
|
77
|
|
- <source>1.8</source>
|
|
78
|
|
- <target>1.8</target>
|
|
79
|
|
- <encoding>UTF-8</encoding>
|
|
|
86
|
+ <source>${java.version}</source>
|
|
|
87
|
+ <target>${java.version}</target>
|
|
|
88
|
+ <encoding>${project.build.sourceEncoding}</encoding>
|
|
80
|
89
|
</configuration>
|
|
81
|
90
|
</plugin>
|
|
82
|
91
|
|
|
|
@@ -84,10 +93,12 @@
|
|
84
|
93
|
<plugin>
|
|
85
|
94
|
<groupId>org.mortbay.jetty</groupId>
|
|
86
|
95
|
<artifactId>maven-jetty-plugin</artifactId>
|
|
|
96
|
+ <version>${maven-jetty-plugin.version}</version>
|
|
87
|
97
|
</plugin>
|
|
88
|
98
|
|
|
89
|
99
|
<plugin>
|
|
90
|
100
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
101
|
+ <version>${maven-jar-plugin.version}</version>
|
|
91
|
102
|
<executions>
|
|
92
|
103
|
|
|
93
|
104
|
<!-- Package booking service facade classes in separate jar -->
|
|
|
@@ -114,6 +125,7 @@
|
|
114
|
125
|
<!-- Assembly -->
|
|
115
|
126
|
<plugin>
|
|
116
|
127
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
128
|
+ <version>${maven-assembly-plugin.version}</version>
|
|
117
|
129
|
<configuration>
|
|
118
|
130
|
<descriptorRefs>
|
|
119
|
131
|
<descriptorRef>src</descriptorRef>
|