|
18 | 18 | <dependency> |
19 | 19 | <groupId>org.apache.logging.log4j</groupId> |
20 | 20 | <artifactId>log4j-core</artifactId> |
21 | | - <version>2.7</version> |
| 21 | + <version>${log4j-core.version}</version> |
22 | 22 | </dependency> |
23 | 23 |
|
24 | 24 | <!-- This is used by JSONLayout. --> |
25 | 25 | <dependency> |
26 | 26 | <groupId>com.fasterxml.jackson.core</groupId> |
27 | 27 | <artifactId>jackson-databind</artifactId> |
28 | | - <version>2.8.4</version> |
| 28 | + <version>${jackson.version}</version> |
29 | 29 | </dependency> |
30 | 30 |
|
31 | 31 | <!-- This is used by XMLLayout. --> |
32 | 32 | <dependency> |
33 | 33 | <groupId>com.fasterxml.jackson.dataformat</groupId> |
34 | 34 | <artifactId>jackson-dataformat-xml</artifactId> |
35 | | - <version>2.8.4</version> |
| 35 | + <version>${jackson.version}</version> |
36 | 36 | </dependency> |
37 | 37 |
|
38 | 38 | <!-- This is used by JDBC Appender. --> |
39 | 39 | <dependency> |
40 | 40 | <groupId>com.h2database</groupId> |
41 | 41 | <artifactId>h2</artifactId> |
42 | | - <version>1.4.192</version> |
| 42 | + <version>${h2.version}</version> |
43 | 43 | </dependency> |
44 | 44 | <dependency> |
45 | 45 | <groupId>org.apache.commons</groupId> |
46 | 46 | <artifactId>commons-dbcp2</artifactId> |
47 | | - <version>2.1.1</version> |
| 47 | + <version>${commons-dbcp2.version}</version> |
48 | 48 | </dependency> |
49 | 49 |
|
50 | 50 | <!-- This is used for testing only. --> |
51 | 51 | <dependency> |
52 | 52 | <groupId>org.apache.logging.log4j</groupId> |
53 | 53 | <artifactId>log4j-core</artifactId> |
54 | | - <version>2.7</version> |
| 54 | + <version>${log4j-core.version}</version> |
55 | 55 | <type>test-jar</type> |
56 | 56 | <scope>test</scope> |
57 | 57 | </dependency> |
58 | 58 | <dependency> |
59 | 59 | <groupId>junit</groupId> |
60 | 60 | <artifactId>junit</artifactId> |
61 | | - <version>4.12</version> |
| 61 | + <version>${junit.version}</version> |
62 | 62 | <scope>test</scope> |
63 | 63 | </dependency> |
64 | 64 | </dependencies> |
|
68 | 68 | <plugin> |
69 | 69 | <groupId>org.apache.maven.plugins</groupId> |
70 | 70 | <artifactId>maven-compiler-plugin</artifactId> |
71 | | - <version>3.5.1</version> |
| 71 | + <version>${maven-compiler-plugin.version}</version> |
72 | 72 | <configuration> |
73 | 73 | <source>1.8</source> |
74 | 74 | <target>1.8</target> |
75 | 75 | </configuration> |
76 | 76 | </plugin> |
77 | 77 | </plugins> |
78 | 78 | </build> |
| 79 | + |
| 80 | + <properties> |
| 81 | + <jackson.version>2.8.5</jackson.version> |
| 82 | + <h2.version>1.4.193</h2.version> |
| 83 | + <commons-dbcp2.version>2.1.1</commons-dbcp2.version> |
| 84 | + <log4j-core.version>2.7</log4j-core.version> |
| 85 | + <junit.version>4.12</junit.version> |
| 86 | + <maven-compiler-plugin.version>3.6.0</maven-compiler-plugin.version> |
| 87 | + </properties> |
79 | 88 | </project> |
0 commit comments