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> <dependency>
<groupId>org.gcube.distribution</groupId> <groupId>org.gcube.distribution</groupId>
<artifactId>gcube-smartgears-bom</artifactId> <artifactId>gcube-smartgears-bom</artifactId>
<version>2.5.1-SNAPSHOT</version> <version>${gcube-smartgears-bom-version}</version>
<type>pom</type> <type>pom</type>
<scope>import</scope> <scope>import</scope>
</dependency> </dependency>
@ -55,6 +55,34 @@
</dependencyManagement> </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> <dependencies>
<!-- TO RUN BY ECLIPSE SET THE FOLLOWING SCOPE AT COMPILE --> <!-- TO RUN BY ECLIPSE SET THE FOLLOWING SCOPE AT COMPILE -->
@ -125,7 +153,7 @@
<version>1.21</version> <version>1.21</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.gcube.common</groupId> <groupId>org.gcube.common</groupId>
<artifactId>storagehub-client-wrapper</artifactId> <artifactId>storagehub-client-wrapper</artifactId>