-
Notifications
You must be signed in to change notification settings - Fork 1
/
pom.xml
109 lines (100 loc) · 3.94 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
<?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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<!-- Ce projet n'utilise pas Spring. Il hérite de spring-boot-dependencies uniquement pour simplifier la -->
<!-- gestion des versions des plugins et des dépendances. -->
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>2.0.5.RELEASE</version>
</parent>
<groupId>ch.ge.cti.ct</groupId>
<artifactId>jours-feries</artifactId>
<version>1.0.5-SNAPSHOT</version>
<description>Application fournissant les jours fériés à l'État de Genève</description>
<scm>
<connection>scm:git:${env.GITLAB_URL}/Communs/jours-feries.git</connection>
<developerConnection>scm:git:${env.GITLAB_URL}/Communs/jours-feries.git</developerConnection>
<url>${env.GITLAB_URL}/Communs/jours-feries.git</url>
<tag>HEAD</tag>
</scm>
<distributionManagement>
<repository>
<id>internal.project.release</id>
<url>${maven2Repository_projet}/project_release</url>
</repository>
<snapshotRepository>
<id>internal.project.snapshot</id>
<url>${maven2Repository_projet}/project_snapshot</url>
</snapshotRepository>
</distributionManagement>
<properties>
<jacoco-maven-plugin.version>0.8.7</jacoco-maven-plugin.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
<version>1.3.2</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<!-- Génération du fichier src.jar -->
<plugin>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Couverture de code par les tests unitaires, pour SonarQube -->
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco-maven-plugin.version}</version>
<executions>
<execution>
<id>jacoco-prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>jacoco-report</id>
<phase>verify</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>