Generalized 'scm' section

This commit is contained in:
Luca Frosini 2019-10-03 12:51:31 +02:00
parent 6d6211c2b2
commit 1c13a898d8
1 changed files with 18 additions and 23 deletions

41
pom.xml
View File

@ -18,6 +18,21 @@
This service allows any client to publish on the gCube Catalogue.
</description>
<properties>
<version.jersey>2.24.1</version.jersey>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<webappDirectory>${project.basedir}/src/main/webapp/WEB-INF</webappDirectory>
<!-- webappDirectory>${project.build.directory}/${project.build.finalName}</webappDirectory -->
<distroDirectory>${project.basedir}/distro</distroDirectory>
<serviceClass>DataPublishing</serviceClass>
</properties>
<scm>
<connection>scm:git:https://code-repo.d4science.org/gCubeSystem/${project.artifactId}.git</connection>
<developerConnection>scm:git:https://code-repo.d4science.org/gCubeSystem/${project.artifactId}.git</developerConnection>
<url>https://code-repo.d4science.org/gCubeSystem/${project.artifactId}</url>
</scm>
<dependencyManagement>
<dependencies>
<dependency>
@ -37,22 +52,6 @@
</dependencies>
</dependencyManagement>
<properties>
<version.jersey>2.24.1</version.jersey>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<webappDirectory>${project.basedir}/src/main/webapp/WEB-INF</webappDirectory>
<!-- webappDirectory>${project.build.directory}/${project.build.finalName}</webappDirectory -->
<distroDirectory>${project.basedir}/distro</distroDirectory>
<serviceClass>DataPublishing</serviceClass>
</properties>
<scm>
<connection>scm::git:https://code-repo.d4science.org/gCubeSystem/gcat.git</connection>
<developerConnection>scm::git:https://code-repo.d4science.org/gCubeSystem/gcat.git</developerConnection>
<url>https://code-repo.d4science.org/gCubeSystem/gcat.git</url>
</scm>
<dependencies>
<dependency>
<groupId>org.gcube.data-publishing</groupId>
@ -92,13 +91,9 @@
<groupId>org.glassfish.jersey.containers</groupId>
<artifactId>jersey-container-servlet</artifactId>
</dependency>
<!-- Required with jersey 2.27
<dependency>
<groupId>org.glassfish.jersey.inject</groupId>
<artifactId>jersey-hk2</artifactId>
</dependency>
-->
<!-- Required with jersey 2.27 <dependency> <groupId>org.glassfish.jersey.inject</groupId>
<artifactId>jersey-hk2</artifactId> </dependency> -->
<dependency>
<groupId>org.glassfish.jersey.media</groupId>