added maven profiles

This commit is contained in:
Francesco Mangiacrapa 2024-02-20 17:50:17 +01:00
parent eb12960ecc
commit 54cc49e012
1 changed files with 29 additions and 8 deletions

37
pom.xml
View File

@ -30,7 +30,7 @@
<webappDirectory>${project.build.directory}/${project.build.finalName}</webappDirectory> <webappDirectory>${project.build.directory}/${project.build.finalName}</webappDirectory>
<additionalparam>-Xdoclint:none</additionalparam> <additionalparam>-Xdoclint:none</additionalparam>
<jackson.version>2.8.11</jackson.version> <jackson.version>2.8.11</jackson.version>
<gcube-portal-bom-version>3.8.0-SNAPSHOT</gcube-portal-bom-version> <gcube-portal-bom-version>3.7.0</gcube-portal-bom-version>
<gxt2.2.5-gwt2.X-version>2.7.0</gxt2.2.5-gwt2.X-version> <gxt2.2.5-gwt2.X-version>2.7.0</gxt2.2.5-gwt2.X-version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@ -55,6 +55,34 @@
</dependencies> </dependencies>
</dependencyManagement> </dependencyManagement>
<profiles>
<!-- PROD profile -->
<profile>
<id>workspace-release-profile</id>
<activation>
<property>
<name>Release</name>
</property>
</activation>
<properties>
<gcube-portal-bom-version>3.7.0</gcube-portal-bom-version>
</properties>
</profile>
<!-- DEV profile -->
<profile>
<id>workspace-snapshot-profile</id>
<activation>
<property>
<name>!Release</name>
</property>
</activation>
<properties>
<gcube-portal-bom-version>3.8.0-SNAPSHOT</gcube-portal-bom-version>
</properties>
</profile>
</profiles>
<dependencies> <dependencies>
<dependency> <dependency>
@ -127,13 +155,6 @@
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<!-- Remove this indirect dependency -->
<dependency>
<groupId>org.gcube.data.analysis</groupId>
<artifactId>data-miner-manager-cl</artifactId>
<version>[1.0.0, 1.11.0-SNAPSHOT)</version>
</dependency>
<dependency> <dependency>
<groupId>org.projectlombok</groupId> <groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId> <artifactId>lombok</artifactId>