|
18 | 18 | <dependency> |
19 | 19 | <groupId>javax.servlet</groupId> |
20 | 20 | <artifactId>javax.servlet-api</artifactId> |
21 | | - <version>3.1.0</version> |
| 21 | + <version>${javax.servlet.version}</version> |
22 | 22 | <scope>provided</scope> |
23 | 23 | </dependency> |
24 | 24 | <dependency> |
25 | 25 | <groupId>org.springframework</groupId> |
26 | 26 | <artifactId>spring-webmvc</artifactId> |
27 | | - <version>4.3.3.RELEASE</version> |
| 27 | + <version>${org.springframework.version}</version> |
28 | 28 | </dependency> |
29 | 29 | <dependency> |
30 | 30 | <groupId>org.thymeleaf</groupId> |
31 | 31 | <artifactId>thymeleaf-spring4</artifactId> |
32 | | - <version>3.0.2.RELEASE</version> |
| 32 | + <version>${thymeleaf.version}</version> |
33 | 33 | </dependency> |
34 | 34 | <dependency> |
35 | 35 | <groupId>org.slf4j</groupId> |
36 | 36 | <artifactId>slf4j-api</artifactId> |
37 | | - <version>1.7.21</version> |
| 37 | + <version>${org.slf4j.version}</version> |
38 | 38 | </dependency> |
39 | 39 | <dependency> |
40 | 40 | <groupId>org.apache.logging.log4j</groupId> |
41 | 41 | <artifactId>log4j-core</artifactId> |
42 | | - <version>2.7</version> |
| 42 | + <version>${log4j.version}</version> |
43 | 43 | </dependency> |
44 | 44 | <dependency> |
45 | 45 | <groupId>org.apache.logging.log4j</groupId> |
46 | 46 | <artifactId>log4j-slf4j-impl</artifactId> |
47 | | - <version>2.7</version> |
| 47 | + <version>${log4j.version}</version> |
48 | 48 | </dependency> |
49 | 49 | </dependencies> |
50 | 50 |
|
|
53 | 53 | <plugin> |
54 | 54 | <groupId>org.apache.maven.plugins</groupId> |
55 | 55 | <artifactId>maven-compiler-plugin</artifactId> |
56 | | - <version>3.5.1</version> |
| 56 | + <version>${maven-compiler-plugin.version}</version> |
57 | 57 | <configuration> |
58 | 58 | <source>1.8</source> |
59 | 59 | <target>1.8</target> |
|
62 | 62 | <plugin> |
63 | 63 | <groupId>org.apache.maven.plugins</groupId> |
64 | 64 | <artifactId>maven-war-plugin</artifactId> |
65 | | - <version>3.0.0</version> |
| 65 | + <version>${maven-war-plugin.version}</version> |
66 | 66 | <configuration> |
67 | 67 | <failOnMissingWebXml>false</failOnMissingWebXml> |
68 | 68 | </configuration> |
69 | 69 | </plugin> |
70 | 70 | <plugin> |
71 | 71 | <groupId>org.eclipse.jetty</groupId> |
72 | 72 | <artifactId>jetty-maven-plugin</artifactId> |
73 | | - <version>9.3.12.v20160915</version> |
| 73 | + <version>${jetty-maven-plugin.version}</version> |
74 | 74 | <configuration> |
75 | 75 | <webApp> |
76 | 76 | <contextPath>/</contextPath> |
|
79 | 79 | </plugin> |
80 | 80 | </plugins> |
81 | 81 | </build> |
| 82 | + |
| 83 | + <properties> |
| 84 | + <!-- Spring --> |
| 85 | + <org.springframework.version>4.3.4.RELEASE</org.springframework.version> |
| 86 | + <thymeleaf.version>3.0.2.RELEASE</thymeleaf.version> |
| 87 | + |
| 88 | + <!-- logging --> |
| 89 | + <org.slf4j.version>1.7.21</org.slf4j.version> |
| 90 | + <log4j.version>2.7</log4j.version> |
| 91 | + |
| 92 | + <!-- various --> |
| 93 | + <javax.servlet.version>3.1.0</javax.servlet.version> |
| 94 | + |
| 95 | + <!-- Maven plugins --> |
| 96 | + <maven-compiler-plugin.version>3.6.0</maven-compiler-plugin.version> |
| 97 | + <maven-war-plugin.version>3.0.0</maven-war-plugin.version> |
| 98 | + <jetty-maven-plugin.version>9.3.14.v20161028</jetty-maven-plugin.version> |
| 99 | + </properties> |
82 | 100 | </project> |
0 commit comments