Unverified Commit a02ba709 authored by Martin Raifer's avatar Martin Raifer
Browse files

configure sonarcloud, add scm information to pom

parent f73bf7a0
......@@ -58,6 +58,9 @@ pipeline {
stage ('Reports and Statistics') {
steps {
script {
withSonarQubeEnv('sonarcloud GIScience/ohsome') {
sh "mvn sonar:sonar -Dsonar.branch.name=${env.BRANCH_NAME}"
}
report_basedir = "/srv/reports/${REPO_NAME}/${VERSION}_${env.BRANCH_NAME}/${env.BUILD_NUMBER}_${LATEST_COMMIT_ID}"
// jacoco
......
......@@ -2,26 +2,47 @@
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<modelVersion>4.0.0</modelVersion>
<groupId>org.heigit.ohsome.oshdb.helpers</groupId>
<artifactId>OSHDBDriver</artifactId>
<version>1.0-SNAPSHOT</version>
<groupId>org.heigit.ohsome.oshdb.helpers</groupId>
<artifactId>OSHDBDriver</artifactId>
<version>1.0-SNAPSHOT</version>
<parent>
<groupId>org.heigit.ohsome</groupId>
<artifactId>ohsome-parent</artifactId>
<version>2.8</version>
</parent>
<parent>
<groupId>org.heigit.ohsome</groupId>
<artifactId>ohsome-parent</artifactId>
<version>2.9</version>
</parent>
<dependencies>
<!-- declare the dependency to be set as optional -->
<dependency>
<groupId>org.heigit.bigspatialdata</groupId>
<artifactId>oshdb-api</artifactId>
<version>[0.5,0.6)</version>
<scope>compile</scope>
<optional>true</optional>
</dependency>
</dependencies>
<scm>
<url>https://gitlab.gistools.geog.uni-heidelberg.de/giscience/big-data/ohsome/helpers/oshdb-database-driver</url>
<connection>scm:git:https://gitlab.gistools.geog.uni-heidelberg.de/giscience/big-data/ohsome/helpers/oshdb-database-driver.git</connection>
<developerConnection>scm:git:ssh://git@gitlab.gistools.geog.uni-heidelberg.de:2022/giscience/big-data/ohsome/helpers/oshdb-database-driver.git</developerConnection>
</scm>
<repositories>
<repository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>oshdb-releases</id>
<name>Heigit/GIScience repository (releases)</name>
<url>https://repo.heigit.org/artifactory/libs-release-local</url>
</repository>
</repositories>
<properties>
<oshdb.version>[0.5,0.6-a0)</oshdb.version>
</properties>
<dependencies>
<!-- declare the dependency to be set as optional -->
<dependency>
<groupId>org.heigit.bigspatialdata</groupId>
<artifactId>oshdb-api</artifactId>
<version>${oshdb.version}</version>
<scope>compile</scope>
<optional>true</optional>
</dependency>
</dependencies>
</project>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment