-
Notifications
You must be signed in to change notification settings - Fork 1
/
pom.xml
114 lines (100 loc) · 3.49 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
<?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>
<parent>
<groupId>com.cosium.maven_oss</groupId>
<artifactId>maven-oss</artifactId>
<version>1.5</version>
</parent>
<name>HAL Mock MVC Parent</name>
<description>MockMvc wrapper allowing to easily test Spring HATEOAS HAL/HAL-FORMS apis</description>
<url>https://github.com/Cosium/hal-mock-mvc</url>
<groupId>com.cosium.hal_mock_mvc</groupId>
<artifactId>hal-mock-mvc-parent</artifactId>
<version>3.3-SNAPSHOT</version>
<packaging>pom</packaging>
<properties>
<spring-boot.version>3.0.0</spring-boot.version>
<jakarta.inject-api.version>2.0.1.MR</jakarta.inject-api.version>
<git-code-format-maven-plugin.version>5.3</git-code-format-maven-plugin.version>
</properties>
<modules>
<module>core</module>
<module>spring-boot-starter</module>
</modules>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${spring-boot.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>jakarta.inject</groupId>
<artifactId>jakarta.inject-api</artifactId>
<version>${jakarta.inject-api.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<plugins>
<plugin>
<groupId>com.cosium.code</groupId>
<artifactId>git-code-format-maven-plugin</artifactId>
<version>${git-code-format-maven-plugin.version}</version>
<executions>
<!-- On commit, format the modified java files -->
<execution>
<id>install-formatter-hook</id>
<goals>
<goal>install-hooks</goal>
</goals>
</execution>
<!-- On Maven verify phase, fail if any file
(including unmodified) is badly formatted -->
<execution>
<id>validate-code-format</id>
<goals>
<goal>validate-code-format</goal>
</goals>
</execution>
</executions>
<dependencies>
<!-- Enable https://github.com/google/google-java-format -->
<dependency>
<groupId>com.cosium.code</groupId>
<artifactId>google-java-format</artifactId>
<version>${git-code-format-maven-plugin.version}</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
<scm>
<connection>scm:git:https://github.com/Cosium/hal-mock-mvc</connection>
<developerConnection>scm:git:https://github.com/Cosium/hal-mock-mvc</developerConnection>
<url>https://github.com/Cosium/hal-mock-mvc</url>
<tag>HEAD</tag>
</scm>
<organization>
<name>Cosium</name>
<url>https://www.cosium.com</url>
</organization>
<developers>
<developer>
<id>reda-alaoui</id>
<name>Réda Housni Alaoui</name>
<email>reda-alaoui@hey.com</email>
<url>https://github.com/reda-alaoui</url>
</developer>
</developers>
<licenses>
<license>
<name>MIT License</name>
<url>https://www.opensource.org/licenses/mit-license.php</url>
<distribution>repo</distribution>
</license>
</licenses>
</project>