Mercurial > hg > SpringPlayground
annotate spring-boot-playground/pom.xml @ 11:f3f9102ef7c0
Noch ein Test mit der in-memory Datenbank: diesmal wird ein Testdatensatz vorher rein geladen, der dann im Test geholt wird.
author | Dirk Olmes <dirk.olmes@codedo.de> |
---|---|
date | Thu, 13 Aug 2020 17:33:20 +0200 |
parents | d57d0c6a841b |
children | 0b52fb868607 |
rev | line source |
---|---|
1
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
1 <project xmlns="http://maven.apache.org/POM/4.0.0" |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
4 <modelVersion>4.0.0</modelVersion> |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
5 <parent> |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
6 <groupId>org.springframework.boot</groupId> |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
7 <artifactId>spring-boot-starter-parent</artifactId> |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
8 <version>2.1.13.RELEASE</version> |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
9 <relativePath/> |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
10 </parent> |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
11 <groupId>de.comline</groupId> |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
12 <artifactId>spring-boot-playground</artifactId> |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
13 <version>0.0.1-SNAPSHOT</version> |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
14 <name>Spring boot playground</name> |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
15 |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
16 <properties> |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
17 <jdk.version.source>1.8</jdk.version.source> |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
18 <jdk.version.target>1.8</jdk.version.target> |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
19 <java.version>${jdk.version.source}</java.version> |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
20 </properties> |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
21 |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
22 <build> |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
23 <plugins> |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
24 <plugin> |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
25 <groupId>org.apache.maven.plugins</groupId> |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
26 <artifactId>maven-compiler-plugin</artifactId> |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
27 <configuration> |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
28 <verbose>true</verbose> |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
29 <source>${jdk.version.source}</source> |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
30 <target>${jdk.version.target}</target> |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
31 </configuration> |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
32 </plugin> |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
33 <plugin> |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
34 <groupId>org.springframework.boot</groupId> |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
35 <artifactId>spring-boot-maven-plugin</artifactId> |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
36 </plugin> |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
37 </plugins> |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
38 </build> |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
39 |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
40 <dependencies> |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
41 <dependency> |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
42 <groupId>org.springframework.boot</groupId> |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
43 <artifactId>spring-boot-starter-web</artifactId> |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
44 </dependency> |
4 | 45 <dependency> |
46 <groupId>org.springframework.boot</groupId> | |
47 <artifactId>spring-boot-starter-data-jpa</artifactId> | |
48 </dependency> | |
6
d57d0c6a841b
Einbau von liquibase zum Erzeugen des Schemas
Dirk Olmes <dirk.olmes@codedo.de>
parents:
5
diff
changeset
|
49 <dependency> |
d57d0c6a841b
Einbau von liquibase zum Erzeugen des Schemas
Dirk Olmes <dirk.olmes@codedo.de>
parents:
5
diff
changeset
|
50 <groupId>org.liquibase</groupId> |
d57d0c6a841b
Einbau von liquibase zum Erzeugen des Schemas
Dirk Olmes <dirk.olmes@codedo.de>
parents:
5
diff
changeset
|
51 <artifactId>liquibase-core</artifactId> |
d57d0c6a841b
Einbau von liquibase zum Erzeugen des Schemas
Dirk Olmes <dirk.olmes@codedo.de>
parents:
5
diff
changeset
|
52 </dependency> |
4 | 53 <dependency> |
54 <groupId>com.h2database</groupId> | |
55 <artifactId>h2</artifactId> | |
56 </dependency> | |
57 | |
1
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
58 <dependency> |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
59 <groupId>org.springframework.boot</groupId> |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
60 <artifactId>spring-boot-starter-test</artifactId> |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
61 <scope>test</scope> |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
62 <exclusions> |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
63 <exclusion> |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
64 <groupId>org.junit.vintage</groupId> |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
65 <artifactId>junit-vintage-engine</artifactId> |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
66 </exclusion> |
5
227f3105fedd
Erster Unit Test, der das repository einfach nur mockt
Dirk Olmes <dirk.olmes@codedo.de>
parents:
4
diff
changeset
|
67 <exclusion> |
227f3105fedd
Erster Unit Test, der das repository einfach nur mockt
Dirk Olmes <dirk.olmes@codedo.de>
parents:
4
diff
changeset
|
68 <groupId>junit</groupId> |
227f3105fedd
Erster Unit Test, der das repository einfach nur mockt
Dirk Olmes <dirk.olmes@codedo.de>
parents:
4
diff
changeset
|
69 <artifactId>junit</artifactId> |
227f3105fedd
Erster Unit Test, der das repository einfach nur mockt
Dirk Olmes <dirk.olmes@codedo.de>
parents:
4
diff
changeset
|
70 </exclusion> |
1
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
71 </exclusions> |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
72 </dependency> |
5
227f3105fedd
Erster Unit Test, der das repository einfach nur mockt
Dirk Olmes <dirk.olmes@codedo.de>
parents:
4
diff
changeset
|
73 <dependency> |
227f3105fedd
Erster Unit Test, der das repository einfach nur mockt
Dirk Olmes <dirk.olmes@codedo.de>
parents:
4
diff
changeset
|
74 <groupId>org.junit.jupiter</groupId> |
227f3105fedd
Erster Unit Test, der das repository einfach nur mockt
Dirk Olmes <dirk.olmes@codedo.de>
parents:
4
diff
changeset
|
75 <artifactId>junit-jupiter</artifactId> |
227f3105fedd
Erster Unit Test, der das repository einfach nur mockt
Dirk Olmes <dirk.olmes@codedo.de>
parents:
4
diff
changeset
|
76 <version>5.6.2</version> |
227f3105fedd
Erster Unit Test, der das repository einfach nur mockt
Dirk Olmes <dirk.olmes@codedo.de>
parents:
4
diff
changeset
|
77 <scope>test</scope> |
227f3105fedd
Erster Unit Test, der das repository einfach nur mockt
Dirk Olmes <dirk.olmes@codedo.de>
parents:
4
diff
changeset
|
78 </dependency> |
1
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
79 <dependency> |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
80 <groupId>org.hamcrest</groupId> |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
81 <artifactId>hamcrest</artifactId> |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
82 <version>2.2</version> |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
83 <scope>test</scope> |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
84 </dependency> |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
85 </dependencies> |
60afb461bf6c
Import des Spring boot playground
Dirk Olmes <dirk.olmes@codedo.de>
parents:
diff
changeset
|
86 </project> |