erights/pom.xml

110 lines
4.2 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
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>eu.europa.eeas</groupId>
<artifactId>ananke-tools</artifactId>
<version>1.9.1</version>
</parent>
<artifactId>e-rights</artifactId>
<version>5.0.1</version>
<packaging>pom</packaging>
<name>e-RIGHTS</name>
<description>EEAS' e-RIGHTS</description>
<properties>
<e-rights.version>5.0.1</e-rights.version>
<serenity.version>3.6.21</serenity.version>
<lombok.version>1.18.28</lombok.version>
<swagger-annotations.version>2.2.37</swagger-annotations.version>
<hypersistence-utils-hibernate-63.version>3.11.0</hypersistence-utils-hibernate-63.version>
<!-- sonarqube -->
<sonar.projectKey>e-rights</sonar.projectKey>
<sonar.moduleKey>${project.artifactId}</sonar.moduleKey>
<sonar.login>821955959eb00338d87fa854d4b985a009db79df</sonar.login>
</properties>
<modules>
<module>e-rights-common</module>
<module>e-rights-front-office</module>
<module>e-rights-back-office</module>
</modules>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>eu.europa.eeas</groupId>
<artifactId>e-rights-common</artifactId>
<version>${e-rights.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.yaml</groupId>
<artifactId>snakeyaml</artifactId>
<version>1.33</version> <!-- or 2.0 for Spring Boot 3.x -->
</dependency>
</dependencies>
</dependencyManagement>
<profiles>
<profile>
<id>set-e-rights-version</id>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<executions>
<execution>
<id>set-version</id>
<phase>initialize</phase>
<goals>
<goal>set</goal>
</goals>
<configuration>
<allowSnapshots>true</allowSnapshots>
<generateBackupPoms>false</generateBackupPoms>
<newVersion>${e-rights-version}</newVersion>
<processPlugins>false</processPlugins>
</configuration>
</execution>
<execution>
<id>set-property</id>
<phase>initialize</phase>
<goals>
<goal>set-property</goal>
</goals>
<configuration>
<allowSnapshots>true</allowSnapshots>
<autoLinkItems>false</autoLinkItems>
<generateBackupPoms>false</generateBackupPoms>
<newVersion>${e-rights-version}</newVersion>
<property>${project.artifactId}.version</property>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>