Enabled maven profile

This commit is contained in:
Francesco Mangiacrapa 2024-02-26 11:39:48 +01:00
parent 01075df11f
commit bd6705efcd
1 changed files with 26 additions and 7 deletions

33
pom.xml
View File

@ -55,11 +55,30 @@
</dependencies>
</dependencyManagement>
<!-- <profiles> <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> <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> -->
<profiles>
<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>
<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>
@ -131,8 +150,8 @@
<dependency>
<groupId>org.gcube.contentmanagement</groupId>
<artifactId>storage-manager-wrapper</artifactId>
<!-- Resolving conflict (NoSuchMethodError stax2/ri/EmptyIterator) with version stax2-api:jar:4.1
see https://support.d4science.org/issues/26825#note-5 -->
<!-- Resolving conflict (NoSuchMethodError stax2/ri/EmptyIterator) with
version stax2-api:jar:4.1 see https://support.d4science.org/issues/26825#note-5 -->
<exclusions>
<exclusion>
<groupId>org.codehaus.woodstox</groupId>