From 4341d7019daff668c63d96b32109c63349954d3a Mon Sep 17 00:00:00 2001 From: Malo <mtc@kereval.com> Date: Wed, 19 Aug 2020 14:13:35 +0200 Subject: [PATCH] fix gitlaci --- pom.xml | 21 +++++++++++++++++++++ settings.xml | 21 +++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 settings.xml diff --git a/pom.xml b/pom.xml index 2ec16fd1..a5fb64f7 100644 --- a/pom.xml +++ b/pom.xml @@ -59,6 +59,7 @@ <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <sonar.web.sourceDirectory>GazelleHL7v2Validation-ui/src/main/webapp</sonar.web.sourceDirectory> <sonar.exclusions>file:**/generated-sources/**</sonar.exclusions> + <sonar.maven.plugin.version>3.7.0.1746</sonar.maven.plugin.version> </properties> <dependencyManagement> <dependencies> @@ -247,6 +248,26 @@ false </hibernate.show_sql> </properties> + </profile> + <profile> + <id>sonar</id> + <build> + <plugins> + <plugin> + <groupId>org.sonarsource.scanner.maven</groupId> + <artifactId>sonar-maven-plugin</artifactId> + <version>${sonar.maven.plugin.version}</version> + <executions> + <execution> + <phase>verify</phase> + <goals> + <goal>sonar</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> </profile> </profiles> diff --git a/settings.xml b/settings.xml new file mode 100644 index 00000000..915d9020 --- /dev/null +++ b/settings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> + <servers> + <server> + <id>crowdin-gazelle</id> + <username>${CS_SVC_ARTIFACT_REPOSITORY_USER}</username> + <password>${CS_SVC_ARTIFACT_REPOSITORY_PASS}</password> + </server> + <server> + <id>nexus-releases</id> + <username>${CS_SVC_ARTIFACT_DISTRIBUTION_REPOSITORY_USER}</username> + <password>${CS_SVC_ARTIFACT_DISTRIBUTION_REPOSITORY_PASS}</password> + </server> + </servers> + + <pluginGroups> + <pluginGroup>com.googlecode.crowdin-maven</pluginGroup> + <pluginGroup>org.flyway</pluginGroup> + <pluginGroup>org.jboss.tattletale</pluginGroup> + </pluginGroups> +</settings> -- GitLab