diff --git a/pom.xml b/pom.xml index 79dc1a3a05c0ff63a74a5ad20fbc700f4e88f038..01fdb17d89c6b0de05a32e72193d382c82d7c22d 100644 --- a/pom.xml +++ b/pom.xml @@ -1,9 +1,53 @@ -<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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> - <groupId>git_tp_qualite_logicielle</groupId> - <artifactId>git_tp_qualite_logicielle</artifactId> - <version>0.0.1-SNAPSHOT</version> - <properties> - <sonar.qualitygate.wait>true</sonar.qualitygate.wait> - </properties> +<?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> + + <groupId>tp_qualite_logicielle</groupId> + <artifactId>tp_qualite_logicielle</artifactId> + <version>1.0</version> + + <properties> + <java.version>1.8</java.version> + <junit-jupiter.version>5.5.2</junit-jupiter.version> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + </properties> + + <dependencies> + + <!-- junit 5 --> + <dependency> + <groupId>org.junit.jupiter</groupId> + <artifactId>junit-jupiter-engine</artifactId> + <version>${junit-jupiter.version}</version> + <scope>test</scope> + </dependency> + + </dependencies> + + <build> + <plugins> + + <!-- Need at least 2.22.0 to support JUnit 5 --> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <version>3.0.0-M3</version> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>3.8.1</version> + <configuration> + <source>1.8</source> + <target>1.8</target> + </configuration> + </plugin> + + </plugins> + </build> + </project> \ No newline at end of file