-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
121 lines (108 loc) · 4.46 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<!-- The micronaut-java-parent module preconfigure all the version and plugins, so you only need to add it as your parent! -->
<parent>
<groupId>com.autentia</groupId>
<artifactId>micronaut-java-parent</artifactId>
<version>1.2.6</version>
</parent>
<groupId>com.autentia.example.micronaut</groupId>
<artifactId>micronaut-java-parent-example</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
<properties>
<assertj.version>3.13.1</assertj.version>
<logback.version>1.2.3</logback.version>
<mockito.version>2.28.2</mockito.version>
<postgresql.version>42.2.5</postgresql.version>
<docker-maven-plugin.version>0.31.0</docker-maven-plugin.version>
</properties>
<modules>
<module>domain</module>
<module>rest</module>
</modules>
<build>
<pluginManagement>
<plugins>
<plugin>
<!-- We will use in domain module to run a dockerized PostgreSQL for integration tests -->
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<version>${docker-maven-plugin.version}</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<!-- Activate integration tests -->
<!-- This plugin is preconfigured in micronaut-java-parent so you only need to declare it -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
</plugin>
</plugins>
</build>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>${postgresql.version}</version>
<scope>runtime</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<!-- Activate integration tests -->
<!-- The annotation processor is preconfigured in micronaut-java-parent so you only need to add this dependency -->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</dependency>
<!-- Add the Micronaut dependencies you want to use -->
<!-- Do not worry about versions, they are preconfigured in micronaut-java-parent that uses Micronaut BOM -->
<dependency>
<groupId>io.micronaut</groupId>
<artifactId>micronaut-runtime</artifactId>
</dependency>
<dependency>
<groupId>io.micronaut.configuration</groupId>
<artifactId>micronaut-hibernate-validator</artifactId>
</dependency>
<!-- Logging system is already integrated with Micronaut so only need to add the dependency to use it -->
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>${logback.version}</version>
<scope>runtime</scope>
</dependency>
<!-- Add typical dependencies for testing with Junit 5 -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>${mockito.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.micronaut.test</groupId>
<artifactId>micronaut-test-junit5</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</project>