|
17 | 17 |
|
18 | 18 | <packaging>war</packaging> |
19 | 19 |
|
| 20 | + <properties> |
| 21 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 22 | + <hibernate.version>5.2.13.Final</hibernate.version> |
| 23 | + <kotlin.version>1.2.21</kotlin.version> |
| 24 | + <spring.version>4.3.10.RELEASE</spring.version> |
| 25 | + <thymeleaf.version>3.0.7.RELEASE</thymeleaf.version> |
| 26 | + <h2.version>1.4.196</h2.version> |
| 27 | + </properties> |
| 28 | + |
20 | 29 | <dependencies> |
21 | 30 | <dependency> |
22 | 31 | <groupId>org.jetbrains.kotlin</groupId> |
23 | | - <artifactId>kotlin-stdlib-jre8</artifactId> |
24 | | - <version>1.1.4</version> |
| 32 | + <artifactId>kotlin-stdlib-jdk8</artifactId> |
| 33 | + <version>${kotlin.version}</version> |
25 | 34 | </dependency> |
26 | 35 |
|
27 | 36 | <dependency> |
28 | 37 | <groupId>org.springframework</groupId> |
29 | 38 | <artifactId>spring-web</artifactId> |
30 | | - <version>4.3.10.RELEASE</version> |
| 39 | + <version>${spring.version}</version> |
31 | 40 | </dependency> |
32 | 41 | <dependency> |
33 | 42 | <groupId>org.springframework</groupId> |
34 | 43 | <artifactId>spring-webmvc</artifactId> |
35 | | - <version>4.3.10.RELEASE</version> |
| 44 | + <version>${spring.version}</version> |
36 | 45 | </dependency> |
37 | 46 | <dependency> |
38 | 47 | <groupId>org.thymeleaf</groupId> |
39 | 48 | <artifactId>thymeleaf</artifactId> |
40 | | - <version>3.0.7.RELEASE</version> |
| 49 | + <version>${thymeleaf.version}</version> |
41 | 50 | </dependency> |
42 | 51 |
|
43 | 52 | <dependency> |
44 | 53 | <groupId>org.thymeleaf</groupId> |
45 | 54 | <artifactId>thymeleaf-spring4</artifactId> |
46 | | - <version>3.0.7.RELEASE</version> |
| 55 | + <version>${thymeleaf.version}</version> |
| 56 | + </dependency> |
| 57 | + <dependency> |
| 58 | + <groupId>org.hibernate</groupId> |
| 59 | + <artifactId>hibernate-core</artifactId> |
| 60 | + <version>${hibernate.version}</version> |
| 61 | + </dependency> |
| 62 | + <dependency> |
| 63 | + <groupId>org.hibernate</groupId> |
| 64 | + <artifactId>hibernate-testing</artifactId> |
| 65 | + <version>${hibernate.version}</version> |
| 66 | + <scope>test</scope> |
| 67 | + </dependency> |
| 68 | + <dependency> |
| 69 | + <groupId>com.h2database</groupId> |
| 70 | + <artifactId>h2</artifactId> |
| 71 | + <version>${h2.version}</version> |
| 72 | + <scope>test</scope> |
47 | 73 | </dependency> |
48 | 74 | <dependency> |
49 | 75 | <groupId>org.springframework</groupId> |
50 | 76 | <artifactId>spring-test</artifactId> |
51 | | - <version>4.3.10.RELEASE</version> |
| 77 | + <version>${spring.version}</version> |
52 | 78 | <scope>test</scope> |
53 | 79 | </dependency> |
54 | 80 | </dependencies> |
|
60 | 86 | <plugin> |
61 | 87 | <artifactId>kotlin-maven-plugin</artifactId> |
62 | 88 | <groupId>org.jetbrains.kotlin</groupId> |
63 | | - <version>1.1.4</version> |
| 89 | + <version>${kotlin.version}</version> |
64 | 90 | <configuration> |
65 | 91 | <compilerPlugins> |
66 | 92 | <plugin>spring</plugin> |
| 93 | + <plugin>jpa</plugin> |
67 | 94 | </compilerPlugins> |
68 | 95 | <jvmTarget>1.8</jvmTarget> |
69 | 96 | </configuration> |
|
87 | 114 | <dependency> |
88 | 115 | <groupId>org.jetbrains.kotlin</groupId> |
89 | 116 | <artifactId>kotlin-maven-allopen</artifactId> |
90 | | - <version>1.1.4-3</version> |
| 117 | + <version>${kotlin.version}</version> |
| 118 | + </dependency> |
| 119 | + <dependency> |
| 120 | + <groupId>org.jetbrains.kotlin</groupId> |
| 121 | + <artifactId>kotlin-maven-noarg</artifactId> |
| 122 | + <version>${kotlin.version}</version> |
91 | 123 | </dependency> |
92 | 124 | </dependencies> |
93 | 125 | </plugin> |
|
0 commit comments