- Déplace l'exclusion de ClientControllerIntegrationTest et TestControllerIntegrationTest vers la configuration par défaut de maven-surefire-plugin - Assure que ces tests ne sont pas exécutés lors du build standard - Les tests nécessitent une config d'authentification OIDC complète 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
602 lines
26 KiB
XML
602 lines
26 KiB
XML
<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>dev.lions</groupId>
|
|
<artifactId>btpxpress-server</artifactId>
|
|
<version>1.0.0</version>
|
|
<name>BTP Xpress Server</name>
|
|
<description>Backend REST API for BTP Xpress application</description>
|
|
|
|
<properties>
|
|
<compiler-plugin.version>3.13.0</compiler-plugin.version>
|
|
<maven.compiler.release>17</maven.compiler.release>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
<quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id>
|
|
<quarkus.platform.group-id>io.quarkus.platform</quarkus.platform.group-id>
|
|
<quarkus.platform.version>3.15.1</quarkus.platform.version>
|
|
<skipITs>false</skipITs>
|
|
<skipTests>false</skipTests>
|
|
<maven.test.skip>false</maven.test.skip>
|
|
<surefire-plugin.version>3.5.0</surefire-plugin.version>
|
|
<maven.resolver.version>1.9.16</maven.resolver.version>
|
|
<aether.version>1.1.0</aether.version>
|
|
<maven.version>3.9.6</maven.version>
|
|
</properties>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>${quarkus.platform.group-id}</groupId>
|
|
<artifactId>${quarkus.platform.artifact-id}</artifactId>
|
|
<version>${quarkus.platform.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
<!-- Maven Resolver/Aether compatibility - VERSIONS FORCÉES UNIFORMES -->
|
|
<dependency>
|
|
<groupId>org.apache.maven.resolver</groupId>
|
|
<artifactId>maven-resolver-api</artifactId>
|
|
<version>${maven.resolver.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven.resolver</groupId>
|
|
<artifactId>maven-resolver-util</artifactId>
|
|
<version>${maven.resolver.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven.resolver</groupId>
|
|
<artifactId>maven-resolver-impl</artifactId>
|
|
<version>${maven.resolver.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven.resolver</groupId>
|
|
<artifactId>maven-resolver-spi</artifactId>
|
|
<version>${maven.resolver.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven.resolver</groupId>
|
|
<artifactId>maven-resolver-connector-basic</artifactId>
|
|
<version>${maven.resolver.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven.resolver</groupId>
|
|
<artifactId>maven-resolver-transport-file</artifactId>
|
|
<version>${maven.resolver.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven.resolver</groupId>
|
|
<artifactId>maven-resolver-transport-http</artifactId>
|
|
<version>${maven.resolver.version}</version>
|
|
</dependency>
|
|
|
|
<!-- Eclipse Aether compatibility -->
|
|
<dependency>
|
|
<groupId>org.eclipse.aether</groupId>
|
|
<artifactId>aether-api</artifactId>
|
|
<version>${aether.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.aether</groupId>
|
|
<artifactId>aether-util</artifactId>
|
|
<version>${aether.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.aether</groupId>
|
|
<artifactId>aether-impl</artifactId>
|
|
<version>${aether.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<dependencies>
|
|
<!-- JWT validation pour tokens venant du frontend -->
|
|
<dependency>
|
|
<groupId>io.quarkus</groupId>
|
|
<artifactId>quarkus-smallrye-jwt</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.quarkus</groupId>
|
|
<artifactId>quarkus-smallrye-jwt-build</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.quarkus</groupId>
|
|
<artifactId>quarkus-hibernate-validator</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.quarkus</groupId>
|
|
<artifactId>quarkus-rest-jackson</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.quarkus</groupId>
|
|
<artifactId>quarkus-smallrye-health</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.quarkus</groupId>
|
|
<artifactId>quarkus-security</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.quarkus</groupId>
|
|
<artifactId>quarkus-logging-json</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.quarkiverse.primefaces</groupId>
|
|
<artifactId>quarkus-primefaces</artifactId>
|
|
<version>3.15.0-RC2</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.quarkus</groupId>
|
|
<artifactId>quarkus-arc</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.quarkus</groupId>
|
|
<artifactId>quarkus-rest</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.quarkus</groupId>
|
|
<artifactId>quarkus-smallrye-openapi</artifactId>
|
|
</dependency>
|
|
<!-- Hibernate ORM with Panache -->
|
|
<dependency>
|
|
<groupId>io.quarkus</groupId>
|
|
<artifactId>quarkus-hibernate-orm-panache</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.quarkus</groupId>
|
|
<artifactId>quarkus-jdbc-postgresql</artifactId>
|
|
</dependency>
|
|
<!-- H2 Database pour développement -->
|
|
<dependency>
|
|
<groupId>io.quarkus</groupId>
|
|
<artifactId>quarkus-jdbc-h2</artifactId>
|
|
</dependency>
|
|
<!-- Lombok -->
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<version>1.18.30</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<!-- Jackson Hibernate support for lazy loading serialization -->
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.datatype</groupId>
|
|
<artifactId>jackson-datatype-hibernate5-jakarta</artifactId>
|
|
<version>2.16.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.quarkus</groupId>
|
|
<artifactId>quarkus-junit5</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<!-- Flyway pour les migrations de base de données -->
|
|
<dependency>
|
|
<groupId>io.quarkus</groupId>
|
|
<artifactId>quarkus-flyway</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.rest-assured</groupId>
|
|
<artifactId>rest-assured</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<!-- Cache Redis pour optimisations Phase 3 -->
|
|
<dependency>
|
|
<groupId>io.quarkus</groupId>
|
|
<artifactId>quarkus-redis-client</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Metrics et monitoring -->
|
|
<dependency>
|
|
<groupId>io.quarkus</groupId>
|
|
<artifactId>quarkus-micrometer-registry-prometheus</artifactId>
|
|
</dependency>
|
|
<!-- smallrye-metrics supprimé pour éviter le conflit avec micrometer -->
|
|
|
|
<!-- Testing amélioré -->
|
|
<dependency>
|
|
<groupId>io.quarkus</groupId>
|
|
<artifactId>quarkus-junit5-mockito</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-core</artifactId>
|
|
<version>5.8.0</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-junit-jupiter</artifactId>
|
|
<version>5.8.0</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<!-- Tests de sécurité et performance -->
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter-params</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.testcontainers</groupId>
|
|
<artifactId>junit-jupiter</artifactId>
|
|
<version>1.19.3</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.testcontainers</groupId>
|
|
<artifactId>postgresql</artifactId>
|
|
<version>1.19.3</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<!-- OWASP Dependency Check -->
|
|
<dependency>
|
|
<groupId>org.owasp</groupId>
|
|
<artifactId>dependency-check-maven</artifactId>
|
|
<version>9.0.7</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<!-- Maven Resolver pour corriger NoSuchMethodError - VERSIONS HARMONISÉES -->
|
|
<dependency>
|
|
<groupId>org.apache.maven.resolver</groupId>
|
|
<artifactId>maven-resolver-api</artifactId>
|
|
<version>${maven.resolver.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven.resolver</groupId>
|
|
<artifactId>maven-resolver-util</artifactId>
|
|
<version>${maven.resolver.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven.resolver</groupId>
|
|
<artifactId>maven-resolver-impl</artifactId>
|
|
<version>${maven.resolver.version}</version>
|
|
</dependency>
|
|
<!-- AJOUT CRITIQUE : maven-resolver-spi avec version harmonisée -->
|
|
<dependency>
|
|
<groupId>org.apache.maven.resolver</groupId>
|
|
<artifactId>maven-resolver-spi</artifactId>
|
|
<version>${maven.resolver.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.aether</groupId>
|
|
<artifactId>aether-api</artifactId>
|
|
<version>${aether.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.aether</groupId>
|
|
<artifactId>aether-util</artifactId>
|
|
<version>${aether.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.aether</groupId>
|
|
<artifactId>aether-impl</artifactId>
|
|
<version>${aether.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>${quarkus.platform.group-id}</groupId>
|
|
<artifactId>quarkus-maven-plugin</artifactId>
|
|
<version>${quarkus.platform.version}</version>
|
|
<extensions>true</extensions>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>build</goal>
|
|
<goal>generate-code</goal>
|
|
<goal>generate-code-tests</goal>
|
|
<goal>native-image-agent</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>${compiler-plugin.version}</version>
|
|
<configuration>
|
|
<parameters>true</parameters>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>${surefire-plugin.version}</version>
|
|
<configuration>
|
|
<forkCount>1</forkCount>
|
|
<reuseForks>true</reuseForks>
|
|
<useSystemClassLoader>false</useSystemClassLoader>
|
|
<systemPropertyVariables>
|
|
<java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
|
|
<maven.home>${maven.home}</maven.home>
|
|
<quarkus.test.profile>test</quarkus.test.profile>
|
|
</systemPropertyVariables>
|
|
<argLine>-Xmx2048m -XX:+UseG1GC -Dquarkus.bootstrap.effective-model-builder=false</argLine>
|
|
<!-- Exclure les tests d'intégration nécessitant une authentification complète -->
|
|
<excludes>
|
|
<exclude>**/ClientControllerIntegrationTest.java</exclude>
|
|
<exclude>**/TestControllerIntegrationTest.java</exclude>
|
|
</excludes>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
<version>${surefire-plugin.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>integration-test</goal>
|
|
<goal>verify</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<systemPropertyVariables>
|
|
<native.image.path>${project.build.directory}/${project.build.finalName}-runner</native.image.path>
|
|
<java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
|
|
<maven.home>${maven.home}</maven.home>
|
|
</systemPropertyVariables>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<!-- Contrôle qualité de code -->
|
|
<plugin>
|
|
<groupId>org.jacoco</groupId>
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
<version>0.8.11</version>
|
|
<configuration>
|
|
<destFile>${project.build.directory}/jacoco.exec</destFile>
|
|
<dataFile>${project.build.directory}/jacoco.exec</dataFile>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>prepare-agent</id>
|
|
<phase>initialize</phase>
|
|
<goals>
|
|
<goal>prepare-agent</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>report</id>
|
|
<phase>test</phase>
|
|
<goals>
|
|
<goal>report</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>check</id>
|
|
<goals>
|
|
<goal>check</goal>
|
|
</goals>
|
|
<configuration>
|
|
<rules>
|
|
<rule>
|
|
<element>BUNDLE</element>
|
|
<limits>
|
|
<limit>
|
|
<counter>INSTRUCTION</counter>
|
|
<value>COVEREDRATIO</value>
|
|
<minimum>0.80</minimum>
|
|
</limit>
|
|
</limits>
|
|
</rule>
|
|
</rules>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<!-- OWASP Dependency Check pour sécurité -->
|
|
<plugin>
|
|
<groupId>org.owasp</groupId>
|
|
<artifactId>dependency-check-maven</artifactId>
|
|
<version>9.0.7</version>
|
|
<configuration>
|
|
<failBuildOnCVSS>7.0</failBuildOnCVSS>
|
|
<suppressionFile>dependency-check-suppressions.xml</suppressionFile>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>check</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<!-- SpotBugs pour analyse statique -->
|
|
<plugin>
|
|
<groupId>com.github.spotbugs</groupId>
|
|
<artifactId>spotbugs-maven-plugin</artifactId>
|
|
<version>4.8.2.0</version>
|
|
<configuration>
|
|
<effort>Max</effort>
|
|
<threshold>Medium</threshold>
|
|
<excludeFilterFile>spotbugs-exclude.xml</excludeFilterFile>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>check</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<!-- PMD pour qualité de code -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-pmd-plugin</artifactId>
|
|
<version>3.21.2</version>
|
|
<configuration>
|
|
<targetJdk>17</targetJdk>
|
|
<rulesets>
|
|
<ruleset>/category/java/bestpractices.xml</ruleset>
|
|
<ruleset>/category/java/security.xml</ruleset>
|
|
</rulesets>
|
|
<failOnViolation>true</failOnViolation>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>check</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>native</id>
|
|
<activation>
|
|
<property>
|
|
<name>native</name>
|
|
</property>
|
|
</activation>
|
|
<properties>
|
|
<skipITs>false</skipITs>
|
|
<quarkus.native.enabled>true</quarkus.native.enabled>
|
|
</properties>
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>unit-tests-only</id>
|
|
<properties>
|
|
<skipITs>true</skipITs>
|
|
<maven.test.skip>false</maven.test.skip>
|
|
<surefire.excludes>**/integration/**/*Test.java,**/*IntegrationTest.java,**/adapter/http/**/*Test.java</surefire.excludes>
|
|
</properties>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>${surefire-plugin.version}</version>
|
|
<configuration>
|
|
<excludes>
|
|
<!-- Exclure tous les tests d'intégration -->
|
|
<exclude>**/integration/**/*Test.java</exclude>
|
|
<exclude>**/*IntegrationTest.java</exclude>
|
|
<!-- Exclure tous les tests REST qui utilisent @QuarkusTest -->
|
|
<exclude>**/adapter/http/**/*Test.java</exclude>
|
|
<!-- Exclure tous les tests qui utilisent @QuarkusTest -->
|
|
<exclude>**/*ResourceTest.java</exclude>
|
|
<exclude>**/*ControllerTest.java</exclude>
|
|
</excludes>
|
|
<includes>
|
|
<!-- Inclure uniquement les tests de service avec Mockito -->
|
|
<include>**/application/service/**/*Test.java</include>
|
|
</includes>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>all-tests</id>
|
|
<properties>
|
|
<skipITs>false</skipITs>
|
|
<maven.test.skip>false</maven.test.skip>
|
|
</properties>
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>integration-tests</id>
|
|
<properties>
|
|
<skipITs>false</skipITs>
|
|
<maven.test.skip>false</maven.test.skip>
|
|
<quarkus.test.profile>test</quarkus.test.profile>
|
|
<maven.resolver.transport>wagon</maven.resolver.transport>
|
|
<aether.connector.basic.threads>1</aether.connector.basic.threads>
|
|
<aether.connector.resumeDownloads>false</aether.connector.resumeDownloads>
|
|
</properties>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>${surefire-plugin.version}</version>
|
|
<configuration>
|
|
<forkCount>1</forkCount>
|
|
<reuseForks>false</reuseForks>
|
|
<useSystemClassLoader>false</useSystemClassLoader>
|
|
<systemPropertyVariables>
|
|
<java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
|
|
<maven.home>${maven.home}</maven.home>
|
|
<quarkus.test.profile>test</quarkus.test.profile>
|
|
<maven.resolver.transport>wagon</maven.resolver.transport>
|
|
<aether.connector.basic.threads>1</aether.connector.basic.threads>
|
|
<aether.connector.resumeDownloads>false</aether.connector.resumeDownloads>
|
|
<quarkus.oidc.enabled>false</quarkus.oidc.enabled>
|
|
<quarkus.oidc.tenant-enabled>false</quarkus.oidc.tenant-enabled>
|
|
</systemPropertyVariables>
|
|
<environmentVariables>
|
|
<QUARKUS_TEST_PROFILE>test</QUARKUS_TEST_PROFILE>
|
|
<QUARKUS_OIDC_ENABLED>false</QUARKUS_OIDC_ENABLED>
|
|
<QUARKUS_OIDC_TENANT_ENABLED>false</QUARKUS_OIDC_TENANT_ENABLED>
|
|
</environmentVariables>
|
|
<includes>
|
|
<include>**/*IntegrationTest.java</include>
|
|
<include>**/integration/**/*Test.java</include>
|
|
<include>**/adapter/http/**/*Test.java</include>
|
|
<include>**/*ResourceTest.java</include>
|
|
<include>**/*ControllerTest.java</include>
|
|
<include>**/BasicIntegrityTest.java</include>
|
|
</includes>
|
|
<argLine>-Xmx2048m -XX:+UseG1GC -Djava.awt.headless=true</argLine>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>ci-cd</id>
|
|
<activation>
|
|
<property>
|
|
<name>env.CI</name>
|
|
</property>
|
|
</activation>
|
|
<properties>
|
|
<skipITs>true</skipITs>
|
|
<maven.test.skip>false</maven.test.skip>
|
|
</properties>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>${surefire-plugin.version}</version>
|
|
<configuration>
|
|
<!-- Exclure les tests qui dépendent de l'environnement local -->
|
|
<excludes>
|
|
<exclude>**/BasicIntegrityTest.java</exclude>
|
|
<exclude>**/adapter/http/**/*Test.java</exclude>
|
|
<exclude>**/integration/**/*Test.java</exclude>
|
|
<exclude>**/*IntegrationTest.java</exclude>
|
|
<exclude>**/*ResourceTest.java</exclude>
|
|
<exclude>**/*ControllerTest.java</exclude>
|
|
<exclude>**/UserRepositoryTest.java</exclude>
|
|
<exclude>**/ClientControllerIntegrationTest.java</exclude>
|
|
<exclude>**/TestControllerIntegrationTest.java</exclude>
|
|
</excludes>
|
|
<!-- Inclure uniquement les tests unitaires robustes -->
|
|
<includes>
|
|
<include>**/application/service/**/*Test.java</include>
|
|
<include>**/domain/core/entity/**/*Test.java</include>
|
|
<include>**/metier/**/*Test.java</include>
|
|
<include>**/SimpleTest.java</include>
|
|
<include>**/MigrationIntegrityTest.java</include>
|
|
</includes>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
</project>
|