added profiles

This commit is contained in:
Francesco Mangiacrapa 2024-09-24 12:43:36 +02:00
parent d137de58d3
commit 36d3aa6c1e
1 changed files with 30 additions and 2 deletions

32
pom.xml
View File

@ -47,7 +47,7 @@
<dependency>
<groupId>org.gcube.distribution</groupId>
<artifactId>gcube-smartgears-bom</artifactId>
<version>2.5.1-SNAPSHOT</version>
<version>${gcube-smartgears-bom-version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
@ -55,6 +55,34 @@
</dependencyManagement>
<profiles>
<!-- PROD profile -->
<profile>
<id>workspace-explorer-app-release-profile</id>
<activation>
<property>
<name>Release</name>
</property>
</activation>
<properties>
<gcube-smartgears-bom-version>2.5.1</gcube-smartgears-bom-version>
</properties>
</profile>
<!-- DEV profile -->
<profile>
<id>workspace-explorer-app-snapshot-profile</id>
<activation>
<property>
<name>!Release</name>
</property>
</activation>
<properties>
<gcube-smartgears-bom-version>2.5.1-SNAPSHOT</gcube-smartgears-bom-version>
</properties>
</profile>
</profiles>
<dependencies>
<!-- TO RUN BY ECLIPSE SET THE FOLLOWING SCOPE AT COMPILE -->
@ -125,7 +153,7 @@
<version>1.21</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.gcube.common</groupId>
<artifactId>storagehub-client-wrapper</artifactId>