19
|
1 <?xml version="1.0" encoding="UTF-8"?>
|
|
2 <project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
5 <modelVersion>4.0.0</modelVersion>
|
|
6 <groupId>de.comline</groupId>
|
|
7 <artifactId>spring-cloud-config-server</artifactId>
|
|
8 <version>1.0-SNAPSHOT</version>
|
|
9 <packaging>jar</packaging>
|
|
10 <name>Spring Cloud Config Server</name>
|
|
11 <url>http://www.comline.de</url>
|
|
12
|
|
13 <properties>
|
|
14 <maven.compiler.source>1.8</maven.compiler.source>
|
|
15 <maven.compiler.target>1.8</maven.compiler.target>
|
|
16 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
17 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
18 </properties>
|
|
19
|
|
20 <dependencyManagement>
|
|
21 <dependencies>
|
|
22 <dependency>
|
|
23 <groupId>org.springframework.boot</groupId>
|
|
24 <artifactId>spring-boot-starter-parent</artifactId>
|
|
25 <version>2.3.3.RELEASE</version>
|
|
26 <type>pom</type>
|
|
27 <scope>import</scope>
|
|
28 </dependency>
|
|
29 <dependency>
|
|
30 <groupId>org.springframework.cloud</groupId>
|
|
31 <artifactId>spring-cloud-dependencies</artifactId>
|
|
32 <version>Hoxton.SR8</version>
|
|
33 <type>pom</type>
|
|
34 <scope>import</scope>
|
|
35 </dependency>
|
|
36 </dependencies>
|
|
37 </dependencyManagement>
|
|
38
|
|
39 <dependencies>
|
|
40 <dependency>
|
|
41 <groupId>org.springframework.cloud</groupId>
|
|
42 <artifactId>spring-cloud-config-server</artifactId>
|
|
43 <exclusions>
|
|
44 <exclusion>
|
|
45 <groupId>org.eclipse.jgit</groupId>
|
|
46 <artifactId>org.eclipse.jgit</artifactId>
|
|
47 </exclusion>
|
|
48 <exclusion>
|
|
49 <groupId>org.eclipse.jgit</groupId>
|
|
50 <artifactId>org.eclipse.jgit.http.apache</artifactId>
|
|
51 </exclusion>
|
|
52 </exclusions>
|
|
53 </dependency>
|
|
54 <!-- this is a transitive dependency of jgit. The server won't start without jsch, though -->
|
|
55 <dependency>
|
|
56 <groupId>com.jcraft</groupId>
|
|
57 <artifactId>jsch</artifactId>
|
|
58 </dependency>
|
|
59 <dependency>
|
|
60 <groupId>org.springframework.data</groupId>
|
|
61 <artifactId>spring-data-jdbc</artifactId>
|
|
62 </dependency>
|
|
63 <dependency>
|
|
64 <groupId>com.zaxxer</groupId>
|
|
65 <artifactId>HikariCP</artifactId>
|
|
66 </dependency>
|
|
67 <dependency>
|
|
68 <groupId>com.h2database</groupId>
|
|
69 <artifactId>h2</artifactId>
|
|
70 </dependency>
|
|
71
|
|
72 <!-- test dependencies -->
|
|
73 <dependency>
|
|
74 <groupId>org.junit.jupiter</groupId>
|
|
75 <artifactId>junit-jupiter-engine</artifactId>
|
|
76 <scope>test</scope>
|
|
77 </dependency>
|
|
78 <dependency>
|
|
79 <groupId>org.junit.platform</groupId>
|
|
80 <artifactId>junit-platform-launcher</artifactId>
|
|
81 <scope>test</scope>
|
|
82 </dependency>
|
|
83 </dependencies>
|
|
84
|
|
85 <build>
|
|
86 <plugins>
|
|
87 <plugin>
|
|
88 <groupId>org.apache.maven.plugins</groupId>
|
|
89 <artifactId>maven-compiler-plugin</artifactId>
|
|
90 <version>3.8.1</version>
|
|
91 <configuration>
|
|
92 <encoding>${project.build.sourceEncoding}</encoding>
|
|
93 <source>${maven.compiler.source}</source>
|
|
94 <target>${maven.compiler.target}</target>
|
|
95 </configuration>
|
|
96 </plugin>
|
|
97 <plugin>
|
|
98 <groupId>org.apache.maven.plugins</groupId>
|
|
99 <artifactId>maven-surefire-plugin</artifactId>
|
|
100 <version>3.0.0-M5</version>
|
|
101 <configuration>
|
|
102 <!-- produce large stack traces in case something goes wrong for better
|
|
103 debugging from the logs -->
|
|
104 <trimStackTrace>false</trimStackTrace>
|
|
105 <!-- dump the info right into the logfile instead of into separate files -->
|
|
106 <useFile>false</useFile>
|
|
107 </configuration>
|
|
108 </plugin>
|
|
109 <plugin>
|
|
110 <groupId>org.springframework.boot</groupId>
|
|
111 <artifactId>spring-boot-maven-plugin</artifactId>
|
|
112 </plugin>
|
|
113 </plugins>
|
|
114 </build>
|
|
115 </project>
|