Commit 5397e8fe authored by soulseen's avatar soulseen

add sonarqube

parent 848d253f
...@@ -34,6 +34,18 @@ pipeline { ...@@ -34,6 +34,18 @@ pipeline {
} }
} }
stage('sonarqube analysis') {
steps {
withCredentials([string(credentialsId: 'sonar-token', variable: 'SONAR_TOKEN')]) {
withSonarQubeEnv('sonar') {
sh "mvn -Dsonar.branch=$BRANCH_NAME -Dsonar.sources=. -Dsonar.login=$SONAR_TOKEN"
}
}
timeout(time: 1, unit: 'HOURS') {
waitForQualityGate abortPipeline: true
}
}
stage ('build & push') { stage ('build & push') {
steps { steps {
container ('maven') { container ('maven') {
......
...@@ -13,8 +13,8 @@ pipeline { ...@@ -13,8 +13,8 @@ pipeline {
HARBOR_CREDENTIAL_ID = 'harbor-id' HARBOR_CREDENTIAL_ID = 'harbor-id'
GITLAB_CREDENTIAL_ID = 'gitlab-id' GITLAB_CREDENTIAL_ID = 'gitlab-id'
KUBECONFIG_CREDENTIAL_ID = 'demo-kubeconfig' KUBECONFIG_CREDENTIAL_ID = 'demo-kubeconfig'
REDISTRY = 'harbor.devops.kubesphere.local:30280' REDISTRY = 'docker.io'
NAMESPACE = 'library' NAMESPACE = 'docker_username'
GITLAB_ACCOUNT = 'admin1' GITLAB_ACCOUNT = 'admin1'
APP_NAME = 'devops-sample-s2i' APP_NAME = 'devops-sample-s2i'
} }
......
#NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice. #NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice.
#Wed Mar 27 14:14:40 CST 2019 #Thu Apr 04 10:32:45 CST 2019
plexus-utils-3.0.22.jar>repo.jenkins-ci.org= plexus-utils-3.0.22.jar>repo.jenkins-ci.org=
plexus-utils-3.0.22.pom>repo.jenkins-ci.org=
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright The Codehaus Foundation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<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>
<parent>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus</artifactId>
<version>3.3.1</version>
</parent>
<artifactId>plexus-utils</artifactId>
<version>3.0.22</version>
<name>Plexus Common Utilities</name>
<description>A collection of various utility classes to ease working with strings, files, command lines, XML and
more.
</description>
<url>http://plexus.codehaus.org/plexus-utils</url>
<scm>
<connection>scm:git:git@github.com:codehaus-plexus/plexus-utils.git</connection>
<developerConnection>scm:git:git@github.com:codehaus-plexus/plexus-utils.git</developerConnection>
<url>http://github.com/codehaus-plexus/plexus-utils</url>
<tag>plexus-utils-3.0.22</tag>
</scm>
<issueManagement>
<system>JIRA</system>
<url>http://jira.codehaus.org/browse/PLXUTILS</url>
</issueManagement>
<dependencies>
<dependency>
<groupId>org.apache.maven.shared</groupId>
<artifactId>maven-plugin-testing-harness</artifactId>
<version>1.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<!-- required to ensure the test classes are used, not surefire's plexus-utils -->
<childDelegation>true</childDelegation>
<excludes>
<exclude>org/codehaus/plexus/util/FileBasedTestCase.java</exclude>
<exclude>**/Test*.java</exclude>
</excludes>
<systemProperties>
<property>
<name>JAVA_HOME</name>
<value>${JAVA_HOME}</value>
</property>
<property>
<name>M2_HOME</name>
<value>${M2_HOME}</value>
</property>
</systemProperties>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.1.1</version>
<executions>
<execution>
<id>enforce-java</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireJavaVersion>
<version>1.7.0</version>
</requireJavaVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.1</version>
</plugin>
</plugins>
</build>
</project>
553c5a129da11f6d56a2599ad0b21649a6d6de08
\ No newline at end of file
#NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice.
#Thu Apr 04 10:32:47 CST 2019
parent-48.pom>repo.jenkins-ci.org=
<?xml version="1.0" encoding="UTF-8"?>
<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>
<groupId>org.sonarsource.parent</groupId>
<artifactId>parent</artifactId>
<version>48</version>
<packaging>pom</packaging>
<name>SonarSource OSS parent</name>
<description>Parent pom of SonarSource public projects</description>
<url>http://docs.sonarqube.org/display/PLUG/Plugin+Library</url>
<inceptionYear>2009</inceptionYear>
<!-- License defined here, because most of projects uses this license. Can be overridden in children POMs. -->
<licenses>
<license>
<name>GNU LGPL 3</name>
<url>http://www.gnu.org/licenses/lgpl.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<developers>
<developer>
<id>ehartmann</id>
<name>Eric Hartmann</name>
<organization>SonarSource</organization>
<timezone>+1</timezone>
</developer>
<developer>
<id>henryju</id>
<name>Julien Henry</name>
<organization>SonarSource</organization>
<timezone>+1</timezone>
</developer>
<developer>
<id>Godin</id>
<name>Evgeny Mandrikov</name>
<organization>SonarSource</organization>
<timezone>+1</timezone>
</developer>
<developer>
<id>olivier.gaudin</id>
<name>Olivier Gaudin</name>
<organization>SonarSource</organization>
<timezone>+1</timezone>
</developer>
<developer>
<id>simonbrandhof</id>
<name>Simon Brandhof</name>
<organization>SonarSource</organization>
<timezone>+1</timezone>
</developer>
</developers>
<mailingLists>
<mailingList>
<name>SonarQue mailing list</name>
<subscribe>sonarqube+subscribe@googlegroups.com</subscribe>
<unsubscribe>sonarqube+unsubscribe@googlegroups.com</unsubscribe>
<post>sonarqube@googlegroups.com</post>
</mailingList>
</mailingLists>
<prerequisites>
<!-- Note that "prerequisites" not inherited, but used by versions-maven-plugin -->
<maven>${maven.min.version}</maven>
</prerequisites>
<scm>
<connection>scm:git:https://github.com/SonarSource/parent-oss.git</connection>
<developerConnection>scm:git:git@github.com:SonarSource/parent-oss.git</developerConnection>
<url>https://github.com/SonarSource/parent-oss</url>
<tag>HEAD</tag>
</scm>
<issueManagement>
<system>jira</system>
<url>http://jira.sonarsource.com</url>
</issueManagement>
<ciManagement>
<system>travis-ci</system>
<url>https://travis-ci.org/SonarSource/</url>
</ciManagement>
<distributionManagement>
<repository>
<id>bintray</id>
<url>https://api.bintray.com/maven/sonarsource/SonarQube/${project.groupId}/;publish=1</url>
</repository>
<snapshotRepository>
<id>${sonar.snapshotRepository.id}</id>
<name>Sonar plugins snapshot repository</name>
<uniqueVersion>false</uniqueVersion>
<url>${sonar.snapshotRepository.url}</url>
</snapshotRepository>
</distributionManagement>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.min.version>3.0.5</maven.min.version>
<jdk.min.version>1.8</jdk.min.version>
<timestamp>${maven.build.timestamp}</timestamp>
<maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ssZ</maven.build.timestamp.format>
<sonar.snapshotRepository.id>snapshot</sonar.snapshotRepository.id>
<sonar.snapshotRepository.url />
<!-- ================ -->
<!-- Plugins versions -->
<!-- ================ -->
<version.assembly.plugin>3.1.0</version.assembly.plugin>
<version.clean.plugin>3.0.0</version.clean.plugin>
<version.compiler.plugin>3.7.0</version.compiler.plugin>
<version.dependency.plugin>3.0.2</version.dependency.plugin>
<version.deploy.plugin>2.8.2</version.deploy.plugin>
<version.enforcer.plugin>3.0.0-M1</version.enforcer.plugin>
<version.surefire.plugin>2.22.0</version.surefire.plugin>
<version.failsafe.plugin>${version.surefire.plugin}</version.failsafe.plugin>
<version.install.plugin>2.5.2</version.install.plugin>
<version.beanshell.plugin>1.4</version.beanshell.plugin>
<version.jar.plugin>3.0.2</version.jar.plugin>
<version.jarjar.plugin>1.9</version.jarjar.plugin>
<version.javadoc.plugin>3.0.0-M1</version.javadoc.plugin>
<version.plugin.plugin>3.5</version.plugin.plugin>
<version.resources.plugin>3.0.2</version.resources.plugin>
<version.shade.plugin>3.1.0</version.shade.plugin>
<version.source.plugin>3.0.1</version.source.plugin>
<version.site.plugin>3.7</version.site.plugin>
<version.artifactory.plugin>2.6.1</version.artifactory.plugin>
<version.animal-sniffer.plugin>1.14</version.animal-sniffer.plugin>
<version.buildnumber.plugin>1.4</version.buildnumber.plugin>
<version.native2ascii.plugin>1.0-beta-1</version.native2ascii.plugin>
<version.sonar-packaging.plugin>1.18.0.372</version.sonar-packaging.plugin>
<version.sonar-dev.plugin>1.8</version.sonar-dev.plugin>
<version.codehaus.license.plugin>1.16</version.codehaus.license.plugin>
<version.mycila.license.plugin>3.0</version.mycila.license.plugin>
<!-- ===================== -->
<!-- Dependencies versions -->
<!-- ===================== -->
<version.sonar-jacoco-listeners>4.14.0.11784</version.sonar-jacoco-listeners>
<!-- To configure maven-license-plugin to check license headers -->
<license.name>GNU LGPL v3</license.name>
<license.owner>SonarSource SA</license.owner>
<license.title>${project.name}</license.title>
<license.years>${project.inceptionYear}-2018</license.years>
<license.mailto>mailto:info AT sonarsource DOT com</license.mailto>
<gitRepositoryName>parent-oss</gitRepositoryName>
</properties>
<build>
<extensions>
<!-- See SONARPLUGINS-839 and SONARPLUGINS-840 -->
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-webdav</artifactId>
<version>1.0-beta-2</version>
</extension>
</extensions>
<pluginManagement>
<plugins>
<!-- Plugins ordered by shortname (archetype, assembly ...) -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>${version.assembly.plugin}</version>
<configuration>
<archiverConfig>
<!-- Workaround for http://jira.codehaus.org/browse/MASSEMBLY-422 -->
<!-- 420(dec) = 644(oct) -->
<fileMode>420</fileMode>
<!-- 493(dec) = 755(oct) -->
<directoryMode>493</directoryMode>
<defaultDirectoryMode>493</defaultDirectoryMode>
</archiverConfig>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>${version.buildnumber.plugin}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>${version.clean.plugin}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${version.compiler.plugin}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>${version.dependency.plugin}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>${version.deploy.plugin}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>${version.enforcer.plugin}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>${version.failsafe.plugin}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>${version.install.plugin}</version>
</plugin>
<plugin>
<!--
This plugin is used to list the licenses of Maven dependencies.
Command-line is: mvn license:aggregate-add-third-party
-->
<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>${version.codehaus.license.plugin}</version>
<configuration>
<failOnBlacklist>true</failOnBlacklist>
<failOnMissing>true</failOnMissing>
<includedScopes>compile</includedScopes>
<includedLicenses>apache_v2|bouncy_castle|bsd|cddl_gpl|cddl_v1|epl_v1|h2|jaxen|lgpl_v2_1|lgpl_v3|mit|public_domain|tmate</includedLicenses>
<licenseMerges>
<!-- keep values on a single line -->
<licenseMerge>agpl_v3|AGPL 3|GNU Affero General Public License (AGPL) version 3.0|AGPL 3.0</licenseMerge>
<licenseMerge>apache_v2|Apache 2|Apache 2.0|Apache Public License 2.0|The Apache Software License, Version 2.0|Apache License, Version 2.0|Apache License, version 2.0|Apache Software Licenses|Apache License Version 2.0|ASF 2.0|ASL, version 2|The Apache License, Version 2.0</licenseMerge>
<licenseMerge>bouncy_castle|Bouncy Castle Licence</licenseMerge>
<licenseMerge>bsd|BSD|BSD License|The BSD License|3-Clause BSD License|The BSD 3-Clause License|New BSD License|New BSD license|BSD 3-Clause|BSD-style license|Trilead Library License (BSD-Like)|Revised BSD|BSD style</licenseMerge>
<licenseMerge>cddl_gpl|Dual license: CDDL 1.0 and GPL v2|Dual license consisting of the CDDL v1.0 and GPL v2|CDDL+GPLv2|CDDL+GPL|CDDL+GPL License|Dual license: CDDL 1.1 and GPL v2|Dual license consisting of the CDDL v1.1 and GPL v2|CDDL1_1+GPLv2|Dual License: CDDL 1.0 and GPL V2 with Classpath Exception|CDDL + GPLv2 with classpath exception|CDDL/GPLv2+CE</licenseMerge>
<licenseMerge>cddl_v1|CDDL|CDDL 1.0|CDDL 1.1|COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0|Common Development and Distribution License (CDDL) v1.0</licenseMerge>
<licenseMerge>epl_v1|EPL 1.0|Eclipse Public License 1.0|Eclipse Public License - v 1.0|Eclipse Public License, Version 1.0|Eclipse Public License v1.0|EPL</licenseMerge>
<licenseMerge>gpl_v2|GPL 2|GNU General Public License (GPL) version 2.0|GPL 2.0|GNU General Public License (GPL)|GNU General Public Library</licenseMerge>
<licenseMerge>gpl_v2_cpe|GPL2 w/ CPE</licenseMerge>
<licenseMerge>gpl_v3|GPL 3|GNU General Public License (GPL) version 3.0|GNU General Public License, Version 3|GPL 3.0</licenseMerge>
<licenseMerge>h2|The H2 License, Version 1.0</licenseMerge>
<licenseMerge>jaxen|http://jaxen.codehaus.org/license.html|Jaxen</licenseMerge>
<licenseMerge>lgpl_v2|LGPL 2.0|GNU LGPL 2.0|GNU Lesser General Public License (LGPL), Version 2.0|GNU Lesser General Public License, version 2.0</licenseMerge>
<licenseMerge>lgpl_v2_1|LGPL 2.1|GNU LGPL 2.1|GNU Lesser General Public License (LGPL), Version 2.1|GNU Lesser General Public License, version 2.1|LGPL, version 2.1</licenseMerge>
<licenseMerge>lgpl_v3|LGPL 3|GNU LGPL 3|GNU LGPL v3|LGPL v.3|GNU LESSER GENERAL PUBLIC LICENSE, Version 3|GNU Lesser General Public Licence|GNU Lesser General Public License|GNU LESSER GENERAL PUBLIC LICENSE</licenseMerge>
<licenseMerge>mit|MIT|MIT License|MIT license|The MIT License|The MIT license</licenseMerge>
<licenseMerge>public_domain|Public Domain|Public Domain, per Creative Commons CC0|Common Public License Version 1.0</licenseMerge>
<licenseMerge>sonarsource|SonarSource|Commercial</licenseMerge>
<licenseMerge>tmate|TMate Open Source License</licenseMerge>
</licenseMerges>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>jarjar-maven-plugin</artifactId>
<version>${version.jarjar.plugin}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${version.jar.plugin}</version>
<configuration>
<archive>
<manifestEntries>
<Version>${project.version}</Version>
<!-- ${buildNumber} is the svn revision generated by the buildnumber-maven-plugin -->
<Implementation-Build>${buildNumber}</Implementation-Build>
<Build-Time>${timestamp}</Build-Time>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${version.javadoc.plugin}</version>
<configuration>
<quiet>true</quiet>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
<version>${version.plugin.plugin}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>${version.resources.plugin}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>${version.shade.plugin}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${version.source.plugin}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${version.surefire.plugin}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>${version.site.plugin}</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>native2ascii-maven-plugin</artifactId>
<version>${version.native2ascii.plugin}</version>
</plugin>
<plugin>
<groupId>org.sonarsource.sonar-packaging-maven-plugin</groupId>
<artifactId>sonar-packaging-maven-plugin</artifactId>
<version>${version.sonar-packaging.plugin}</version>
</plugin>
<plugin>
<groupId>org.codehaus.sonar</groupId>
<artifactId>sonar-dev-maven-plugin</artifactId>
<version>${version.sonar-dev.plugin}</version>
</plugin>
<plugin>
<groupId>com.github.genthaler</groupId>
<artifactId>beanshell-maven-plugin</artifactId>
<version>${version.beanshell.plugin}</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>create</goal>
</goals>
</execution>
</executions>
<configuration>
<doCheck>false</doCheck>
<doUpdate>false</doUpdate>
<getRevisionOnlyOnce>true</getRevisionOnlyOnce>
<revisionOnScmFailure>0</revisionOnScmFailure>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>${jdk.min.version}</source>
<target>${jdk.min.version}</target>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<runOrder>random</runOrder>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireProperty>
<property>project.description</property>
<message>Project description must be specified (requirement for OSSRH).</message>
</requireProperty>
<requireProperty>
<property>project.name</property>
<message>Project name must be specified (requirement for OSSRH).</message>
</requireProperty>
<requireProperty>
<property>project.url</property>
<message>Project url must be specified (requirement for OSSRH).</message>
</requireProperty>
<requireProperty>
<property>project.licenses</property>
<message>At least on license must be specified (requirement for OSSRH).</message>
</requireProperty>
<requireProperty>
<property>project.developers</property>
<message>At least one developer must be specified (requirement for OSSRH).</message>
</requireProperty>
<requireProperty>
<property>project.scm.connection</property>
<message>scm section should be defined in project (requirement for OSSRH).</message>
</requireProperty>
<requireMavenVersion>
<message>To build this project Maven ${maven.min.version} (or upper) is required. Please install it.
</message>
<version>${maven.min.version}</version>
</requireMavenVersion>
<requireJavaVersion>
<message>To build this project JDK ${jdk.min.version} (or upper) is required. Please install it.
</message>
<version>${jdk.min.version}</version>
</requireJavaVersion>
<requirePluginVersions>
<!--
This rule produces warning under Maven 3.0 :
"This rule is not compatible with the current version of Maven."
-->
<message>Build reproducibility : always define plugin versions!</message>
<banLatest>true</banLatest>
<banRelease>true</banRelease>
<phases>clean,deploy</phases>
</requirePluginVersions>
<bannedDependencies>
<!-- See SONARPLUGINS-506 -->
<message>Animal-sniffer throws exception when icu4j version 2.6.1 used.</message>
<searchTransitive>true</searchTransitive>
<excludes>
<exclude>com.ibm.icu:icu4j:[2.6.1]</exclude>
</excludes>
</bannedDependencies>
<!-- TODO SONARPLUGINS-797
<DependencyConvergence />
-->
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<phase>verify</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonarsource.sonar-packaging-maven-plugin</groupId>
<artifactId>sonar-packaging-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<archive>
<manifestEntries>
<!-- ${buildNumber} is the svn revision generated by the buildnumber-maven-plugin -->
<Implementation-Build>${buildNumber}</Implementation-Build>
<Build-Time>${timestamp}</Build-Time>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>${version.mycila.license.plugin}</version>
<dependencies>
<dependency>
<groupId>org.sonarsource.license-headers</groupId>
<artifactId>license-headers</artifactId>
<version>1.3</version>
</dependency>
</dependencies>
<configuration>
<header>sonarsource/licenseheaders/${license.name}.txt</header>
<failIfMissing>true</failIfMissing>
<strictCheck>true</strictCheck>
<encoding>${project.build.sourceEncoding}</encoding>
<properties>
<license.owner>${license.owner}</license.owner>
<license.title>${license.title}</license.title>
<license.years>${license.years}</license.years>
<license.mailto>${license.mailto}</license.mailto>
</properties>
<mapping>
<java>SLASHSTAR_STYLE</java>
<js>SLASHSTAR_STYLE</js>
<ts>SLASHSTAR_STYLE</ts>
<tsx>SLASHSTAR_STYLE</tsx>
<css>SLASHSTAR_STYLE</css>
<less>SLASHSTAR_STYLE</less>
</mapping>
<includes>
<include>src/*/java/**/*.java</include>
<include>src/**/*.js</include>
<include>src/**/*.ts</include>
<include>src/**/*.tsx</include>
<include>src/**/*.css</include>
<include>src/**/*.less</include>
</includes>
<excludes>
<exclude>src/test/resources/**</exclude>
</excludes>
</configuration>
<executions>
<execution>
<id>enforce-license-headers</id>
<phase>validate</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.github.genthaler</groupId>
<artifactId>beanshell-maven-plugin</artifactId>
<executions>
<execution>
<id>compute-artifact-display-version</id>
<phase>generate-resources</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<script><![CDATA[
if (! "${project.version}".endsWith("-SNAPSHOT")) {
// example: "6.3.0.1234".
fields = "${project.version}".split("\\.");
if (fields.length == 4) {
digitsCountToDisplay = 0;
if ("0".equals(fields[2])) {
digitsCountToDisplay = 2;
} else {
digitsCountToDisplay = 3;
}
sj = new StringJoiner(".");
for (int i = 0; i < digitsCountToDisplay; ++i) { sj.add(fields[i]); }
project.getProperties().setProperty("sonar.pluginDisplayVersion", sj.toString() + " (build " + fields[3] + ")");
}
}
]]>
</script>
<quiet>true</quiet>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>skipSanityChecks</id>
<activation>
<property>
<name>skipSanityChecks</name>
<value>true</value>
</property>
</activation>
<properties>
<animal.sniffer.skip>true</animal.sniffer.skip>
<license.skip>true</license.skip>
<enforcer.skip>true</enforcer.skip>
</properties>
</profile>
<!-- This profile is activated when a project is released. -->
<profile>
<id>release</id>
<build>
<plugins>
<!-- Generates Javadoc -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>coverage-per-test</id>
<dependencies>
<dependency>
<groupId>org.sonarsource.java</groupId>
<artifactId>sonar-jacoco-listeners</artifactId>
<version>${version.sonar-jacoco-listeners}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<properties>
<property>
<name>listener</name>
<value>org.sonar.java.jacoco.JUnitListener</value>
</property>
</properties>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>integration-tests</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<executions>
<execution>
<id>integration-test</id>
<phase>integration-test</phase>
<goals>
<goal>integration-test</goal>
</goals>
</execution>
<execution>
<id>verify</id>
<phase>verify</phase>
<goals>
<goal>verify</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>deploy-sonarsource</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce-deploy-settings</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireProperty>
<property>gitRepositoryName</property>
<message>You must set name of Git repository in your pom</message>
</requireProperty>
<requireEnvironmentVariable>
<variableName>ARTIFACTORY_URL</variableName>
</requireEnvironmentVariable>
<requireEnvironmentVariable>
<variableName>ARTIFACTORY_DEPLOY_REPO</variableName>
</requireEnvironmentVariable>
<requireEnvironmentVariable>
<variableName>ARTIFACTORY_DEPLOY_USERNAME</variableName>
</requireEnvironmentVariable>
<requireEnvironmentVariable>
<variableName>ARTIFACTORY_DEPLOY_PASSWORD</variableName>
</requireEnvironmentVariable>
</rules>
<fail>true</fail>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<!-- this maven plugin is not deployed in Maven Central. It should be downloaded
from JFrog JCenter or from SonarSource repositories -->
<groupId>org.jfrog.buildinfo</groupId>
<artifactId>artifactory-maven-plugin</artifactId>
<version>${version.artifactory.plugin}</version>
<executions>
<execution>
<id>build-info</id>
<goals>
<goal>publish</goal>
</goals>
<configuration>
<artifactory>
<envVarsExcludePatterns>
*password*,*PASSWORD*,*secret*,*MAVEN_CMD_LINE_ARGS*,sun.java.command,*token*,*TOKEN*,*LOGIN*,*login*
</envVarsExcludePatterns>
<includeEnvVars>true</includeEnvVars>
<timeoutSec>60</timeoutSec>
</artifactory>
<deployProperties>
<vcs.revision>{{GIT_COMMIT|TRAVIS_COMMIT|APPVEYOR_REPO_COMMIT}}</vcs.revision>
<vcs.branch>{{GIT_BRANCH|TRAVIS_BRANCH|APPVEYOR_REPO_BRANCH}}</vcs.branch>
<build.name>${gitRepositoryName}</build.name>
<build.number>{{BUILD_ID|TRAVIS_BUILD_NUMBER|APPVEYOR_BUILD_NUMBER}}</build.number>
</deployProperties>
<licenses>
<autoDiscover>true</autoDiscover>
<includePublishedArtifacts>false</includePublishedArtifacts>
<runChecks>true</runChecks>
<scopes>project,provided</scopes>
<violationRecipients>licences-control@sonarsource.com</violationRecipients>
</licenses>
<publisher>
<contextUrl>${env.ARTIFACTORY_URL}</contextUrl>
<repoKey>${env.ARTIFACTORY_DEPLOY_REPO}</repoKey>
<username>${env.ARTIFACTORY_DEPLOY_USERNAME}</username>
<password>${env.ARTIFACTORY_DEPLOY_PASSWORD}</password>
<publishBuildInfo>true</publishBuildInfo>
<publishArtifacts>true</publishArtifacts>
</publisher>
<buildInfo>
<buildName>${gitRepositoryName}</buildName>
<buildNumber>{{BUILD_ID|TRAVIS_BUILD_NUMBER|APPVEYOR_BUILD_NUMBER}}</buildNumber>
<buildUrl>{{CI_BUILD_URL|BUILD_URL}}</buildUrl>
<vcsRevision>{{GIT_COMMIT|TRAVIS_COMMIT|APPVEYOR_REPO_COMMIT}}</vcsRevision>
</buildInfo>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
93e26efa92213bd4fd1339331d6d6b40c15d2a6c
\ No newline at end of file
#NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice.
#Thu Apr 04 10:32:30 CST 2019
parent-49.pom>repo.jenkins-ci.org=
<?xml version="1.0" encoding="UTF-8"?>
<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>
<groupId>org.sonarsource.parent</groupId>
<artifactId>parent</artifactId>
<version>49</version>
<packaging>pom</packaging>
<name>SonarSource OSS parent</name>
<description>Parent pom of SonarSource public projects</description>
<url>http://docs.sonarqube.org/display/PLUG/Plugin+Library</url>
<inceptionYear>2009</inceptionYear>
<!-- License defined here, because most of projects uses this license. Can be overridden in children POMs. -->
<licenses>
<license>
<name>GNU LGPL 3</name>
<url>http://www.gnu.org/licenses/lgpl.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<developers>
<developer>
<id>ehartmann</id>
<name>Eric Hartmann</name>
<organization>SonarSource</organization>
<timezone>+1</timezone>
</developer>
<developer>
<id>henryju</id>
<name>Julien Henry</name>
<organization>SonarSource</organization>
<timezone>+1</timezone>
</developer>
<developer>
<id>Godin</id>
<name>Evgeny Mandrikov</name>
<organization>SonarSource</organization>
<timezone>+1</timezone>
</developer>
<developer>
<id>olivier.gaudin</id>
<name>Olivier Gaudin</name>
<organization>SonarSource</organization>
<timezone>+1</timezone>
</developer>
<developer>
<id>simonbrandhof</id>
<name>Simon Brandhof</name>
<organization>SonarSource</organization>
<timezone>+1</timezone>
</developer>
</developers>
<mailingLists>
<mailingList>
<name>SonarQue mailing list</name>
<subscribe>sonarqube+subscribe@googlegroups.com</subscribe>
<unsubscribe>sonarqube+unsubscribe@googlegroups.com</unsubscribe>
<post>sonarqube@googlegroups.com</post>
</mailingList>
</mailingLists>
<prerequisites>
<!-- Note that "prerequisites" not inherited, but used by versions-maven-plugin -->
<maven>${maven.min.version}</maven>
</prerequisites>
<scm>
<connection>scm:git:https://github.com/SonarSource/parent-oss.git</connection>
<developerConnection>scm:git:git@github.com:SonarSource/parent-oss.git</developerConnection>
<url>https://github.com/SonarSource/parent-oss</url>
<tag>HEAD</tag>
</scm>
<issueManagement>
<system>jira</system>
<url>http://jira.sonarsource.com</url>
</issueManagement>
<ciManagement>
<system>travis-ci</system>
<url>https://travis-ci.org/SonarSource/</url>
</ciManagement>
<distributionManagement>
<repository>
<id>bintray</id>
<url>https://api.bintray.com/maven/sonarsource/SonarQube/${project.groupId}/;publish=1</url>
</repository>
<snapshotRepository>
<id>${sonar.snapshotRepository.id}</id>
<name>Sonar plugins snapshot repository</name>
<uniqueVersion>false</uniqueVersion>
<url>${sonar.snapshotRepository.url}</url>
</snapshotRepository>
</distributionManagement>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.min.version>3.0.5</maven.min.version>
<jdk.min.version>1.8</jdk.min.version>
<timestamp>${maven.build.timestamp}</timestamp>
<maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ssZ</maven.build.timestamp.format>
<sonar.snapshotRepository.id>snapshot</sonar.snapshotRepository.id>
<sonar.snapshotRepository.url />
<!-- ================ -->
<!-- Plugins versions -->
<!-- ================ -->
<version.assembly.plugin>3.1.0</version.assembly.plugin>
<version.clean.plugin>3.0.0</version.clean.plugin>
<version.compiler.plugin>3.7.0</version.compiler.plugin>
<version.dependency.plugin>3.0.2</version.dependency.plugin>
<version.deploy.plugin>2.8.2</version.deploy.plugin>
<version.enforcer.plugin>3.0.0-M1</version.enforcer.plugin>
<version.surefire.plugin>2.22.0</version.surefire.plugin>
<version.failsafe.plugin>${version.surefire.plugin}</version.failsafe.plugin>
<version.install.plugin>2.5.2</version.install.plugin>
<version.beanshell.plugin>1.4</version.beanshell.plugin>
<version.jar.plugin>3.0.2</version.jar.plugin>
<version.jarjar.plugin>1.9</version.jarjar.plugin>
<version.javadoc.plugin>3.0.0-M1</version.javadoc.plugin>
<version.plugin.plugin>3.5</version.plugin.plugin>
<version.resources.plugin>3.0.2</version.resources.plugin>
<version.shade.plugin>3.1.0</version.shade.plugin>
<version.source.plugin>3.0.1</version.source.plugin>
<version.site.plugin>3.7</version.site.plugin>
<version.artifactory.plugin>2.6.1</version.artifactory.plugin>
<version.animal-sniffer.plugin>1.14</version.animal-sniffer.plugin>
<version.buildnumber.plugin>1.4</version.buildnumber.plugin>
<version.native2ascii.plugin>1.0-beta-1</version.native2ascii.plugin>
<version.sonar-packaging.plugin>1.18.0.372</version.sonar-packaging.plugin>
<version.sonar-dev.plugin>1.8</version.sonar-dev.plugin>
<version.codehaus.license.plugin>1.16</version.codehaus.license.plugin>
<version.mycila.license.plugin>3.0</version.mycila.license.plugin>
<!-- ===================== -->
<!-- Dependencies versions -->
<!-- ===================== -->
<version.sonar-jacoco-listeners>4.14.0.11784</version.sonar-jacoco-listeners>
<!-- To configure maven-license-plugin to check license headers -->
<license.name>GNU LGPL v3</license.name>
<license.owner>SonarSource SA</license.owner>
<license.title>${project.name}</license.title>
<license.years>${project.inceptionYear}-2019</license.years>
<license.mailto>mailto:info AT sonarsource DOT com</license.mailto>
<gitRepositoryName>parent-oss</gitRepositoryName>
</properties>
<build>
<extensions>
<!-- See SONARPLUGINS-839 and SONARPLUGINS-840 -->
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-webdav</artifactId>
<version>1.0-beta-2</version>
</extension>
</extensions>
<pluginManagement>
<plugins>
<!-- Plugins ordered by shortname (archetype, assembly ...) -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>${version.assembly.plugin}</version>
<configuration>
<archiverConfig>
<!-- Workaround for http://jira.codehaus.org/browse/MASSEMBLY-422 -->
<!-- 420(dec) = 644(oct) -->
<fileMode>420</fileMode>
<!-- 493(dec) = 755(oct) -->
<directoryMode>493</directoryMode>
<defaultDirectoryMode>493</defaultDirectoryMode>
</archiverConfig>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>${version.buildnumber.plugin}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>${version.clean.plugin}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${version.compiler.plugin}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>${version.dependency.plugin}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>${version.deploy.plugin}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>${version.enforcer.plugin}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>${version.failsafe.plugin}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>${version.install.plugin}</version>
</plugin>
<plugin>
<!--
This plugin is used to list the licenses of Maven dependencies.
Command-line is: mvn license:aggregate-add-third-party
-->
<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>${version.codehaus.license.plugin}</version>
<configuration>
<failOnBlacklist>true</failOnBlacklist>
<failOnMissing>true</failOnMissing>
<includedScopes>compile</includedScopes>
<includedLicenses>apache_v2|bouncy_castle|bsd|cddl_gpl|cddl_v1|epl_v1|h2|jaxen|lgpl_v2_1|lgpl_v3|mit|public_domain|tmate</includedLicenses>
<licenseMerges>
<!-- keep values on a single line -->
<licenseMerge>agpl_v3|AGPL 3|GNU Affero General Public License (AGPL) version 3.0|AGPL 3.0</licenseMerge>
<licenseMerge>apache_v2|Apache 2|Apache 2.0|Apache Public License 2.0|The Apache Software License, Version 2.0|Apache License, Version 2.0|Apache License, version 2.0|Apache Software Licenses|Apache License Version 2.0|ASF 2.0|ASL, version 2|The Apache License, Version 2.0</licenseMerge>
<licenseMerge>bouncy_castle|Bouncy Castle Licence</licenseMerge>
<licenseMerge>bsd|BSD|BSD License|The BSD License|3-Clause BSD License|The BSD 3-Clause License|New BSD License|New BSD license|BSD 3-Clause|BSD-style license|Trilead Library License (BSD-Like)|Revised BSD|BSD style</licenseMerge>
<licenseMerge>cddl_gpl|Dual license: CDDL 1.0 and GPL v2|Dual license consisting of the CDDL v1.0 and GPL v2|CDDL+GPLv2|CDDL+GPL|CDDL+GPL License|Dual license: CDDL 1.1 and GPL v2|Dual license consisting of the CDDL v1.1 and GPL v2|CDDL1_1+GPLv2|Dual License: CDDL 1.0 and GPL V2 with Classpath Exception|CDDL + GPLv2 with classpath exception|CDDL/GPLv2+CE</licenseMerge>
<licenseMerge>cddl_v1|CDDL|CDDL 1.0|CDDL 1.1|COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0|Common Development and Distribution License (CDDL) v1.0</licenseMerge>
<licenseMerge>epl_v1|EPL 1.0|Eclipse Public License 1.0|Eclipse Public License - v 1.0|Eclipse Public License, Version 1.0|Eclipse Public License v1.0|EPL</licenseMerge>
<licenseMerge>gpl_v2|GPL 2|GNU General Public License (GPL) version 2.0|GPL 2.0|GNU General Public License (GPL)|GNU General Public Library</licenseMerge>
<licenseMerge>gpl_v2_cpe|GPL2 w/ CPE</licenseMerge>
<licenseMerge>gpl_v3|GPL 3|GNU General Public License (GPL) version 3.0|GNU General Public License, Version 3|GPL 3.0</licenseMerge>
<licenseMerge>h2|The H2 License, Version 1.0</licenseMerge>
<licenseMerge>jaxen|http://jaxen.codehaus.org/license.html|Jaxen</licenseMerge>
<licenseMerge>lgpl_v2|LGPL 2.0|GNU LGPL 2.0|GNU Lesser General Public License (LGPL), Version 2.0|GNU Lesser General Public License, version 2.0</licenseMerge>
<licenseMerge>lgpl_v2_1|LGPL 2.1|GNU LGPL 2.1|GNU Lesser General Public License (LGPL), Version 2.1|GNU Lesser General Public License, version 2.1|LGPL, version 2.1</licenseMerge>
<licenseMerge>lgpl_v3|LGPL 3|GNU LGPL 3|GNU LGPL v3|LGPL v.3|GNU LESSER GENERAL PUBLIC LICENSE, Version 3|GNU Lesser General Public Licence|GNU Lesser General Public License|GNU LESSER GENERAL PUBLIC LICENSE</licenseMerge>
<licenseMerge>mit|MIT|MIT License|MIT license|The MIT License|The MIT license</licenseMerge>
<licenseMerge>public_domain|Public Domain|Public Domain, per Creative Commons CC0|Common Public License Version 1.0</licenseMerge>
<licenseMerge>sonarsource|SonarSource|Commercial</licenseMerge>
<licenseMerge>tmate|TMate Open Source License</licenseMerge>
</licenseMerges>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>jarjar-maven-plugin</artifactId>
<version>${version.jarjar.plugin}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${version.jar.plugin}</version>
<configuration>
<archive>
<manifestEntries>
<Version>${project.version}</Version>
<!-- ${buildNumber} is the svn revision generated by the buildnumber-maven-plugin -->
<Implementation-Build>${buildNumber}</Implementation-Build>
<Build-Time>${timestamp}</Build-Time>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${version.javadoc.plugin}</version>
<configuration>
<quiet>true</quiet>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
<version>${version.plugin.plugin}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>${version.resources.plugin}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>${version.shade.plugin}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${version.source.plugin}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${version.surefire.plugin}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>${version.site.plugin}</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>native2ascii-maven-plugin</artifactId>
<version>${version.native2ascii.plugin}</version>
</plugin>
<plugin>
<groupId>org.sonarsource.sonar-packaging-maven-plugin</groupId>
<artifactId>sonar-packaging-maven-plugin</artifactId>
<version>${version.sonar-packaging.plugin}</version>
</plugin>
<plugin>
<groupId>org.codehaus.sonar</groupId>
<artifactId>sonar-dev-maven-plugin</artifactId>
<version>${version.sonar-dev.plugin}</version>
</plugin>
<plugin>
<groupId>com.github.genthaler</groupId>
<artifactId>beanshell-maven-plugin</artifactId>
<version>${version.beanshell.plugin}</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>create</goal>
</goals>
</execution>
</executions>
<configuration>
<doCheck>false</doCheck>
<doUpdate>false</doUpdate>
<getRevisionOnlyOnce>true</getRevisionOnlyOnce>
<revisionOnScmFailure>0</revisionOnScmFailure>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>${jdk.min.version}</source>
<target>${jdk.min.version}</target>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<runOrder>random</runOrder>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireProperty>
<property>project.description</property>
<message>Project description must be specified (requirement for OSSRH).</message>
</requireProperty>
<requireProperty>
<property>project.name</property>
<message>Project name must be specified (requirement for OSSRH).</message>
</requireProperty>
<requireProperty>
<property>project.url</property>
<message>Project url must be specified (requirement for OSSRH).</message>
</requireProperty>
<requireProperty>
<property>project.licenses</property>
<message>At least on license must be specified (requirement for OSSRH).</message>
</requireProperty>
<requireProperty>
<property>project.developers</property>
<message>At least one developer must be specified (requirement for OSSRH).</message>
</requireProperty>
<requireProperty>
<property>project.scm.connection</property>
<message>scm section should be defined in project (requirement for OSSRH).</message>
</requireProperty>
<requireMavenVersion>
<message>To build this project Maven ${maven.min.version} (or upper) is required. Please install it.
</message>
<version>${maven.min.version}</version>
</requireMavenVersion>
<requireJavaVersion>
<message>To build this project JDK ${jdk.min.version} (or upper) is required. Please install it.
</message>
<version>${jdk.min.version}</version>
</requireJavaVersion>
<requirePluginVersions>
<!--
This rule produces warning under Maven 3.0 :
"This rule is not compatible with the current version of Maven."
-->
<message>Build reproducibility : always define plugin versions!</message>
<banLatest>true</banLatest>
<banRelease>true</banRelease>
<phases>clean,deploy</phases>
</requirePluginVersions>
<bannedDependencies>
<!-- See SONARPLUGINS-506 -->
<message>Animal-sniffer throws exception when icu4j version 2.6.1 used.</message>
<searchTransitive>true</searchTransitive>
<excludes>
<exclude>com.ibm.icu:icu4j:[2.6.1]</exclude>
</excludes>
</bannedDependencies>
<!-- TODO SONARPLUGINS-797
<DependencyConvergence />
-->
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<phase>verify</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonarsource.sonar-packaging-maven-plugin</groupId>
<artifactId>sonar-packaging-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<archive>
<manifestEntries>
<!-- ${buildNumber} is the svn revision generated by the buildnumber-maven-plugin -->
<Implementation-Build>${buildNumber}</Implementation-Build>
<Build-Time>${timestamp}</Build-Time>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>${version.mycila.license.plugin}</version>
<dependencies>
<dependency>
<groupId>org.sonarsource.license-headers</groupId>
<artifactId>license-headers</artifactId>
<version>1.3</version>
</dependency>
</dependencies>
<configuration>
<header>sonarsource/licenseheaders/${license.name}.txt</header>
<failIfMissing>true</failIfMissing>
<strictCheck>true</strictCheck>
<encoding>${project.build.sourceEncoding}</encoding>
<properties>
<license.owner>${license.owner}</license.owner>
<license.title>${license.title}</license.title>
<license.years>${license.years}</license.years>
<license.mailto>${license.mailto}</license.mailto>
</properties>
<mapping>
<java>SLASHSTAR_STYLE</java>
<js>SLASHSTAR_STYLE</js>
<ts>SLASHSTAR_STYLE</ts>
<tsx>SLASHSTAR_STYLE</tsx>
<css>SLASHSTAR_STYLE</css>
<less>SLASHSTAR_STYLE</less>
</mapping>
<includes>
<include>src/*/java/**/*.java</include>
<include>src/**/*.js</include>
<include>src/**/*.ts</include>
<include>src/**/*.tsx</include>
<include>src/**/*.css</include>
<include>src/**/*.less</include>
</includes>
<excludes>
<exclude>src/test/resources/**</exclude>
</excludes>
</configuration>
<executions>
<execution>
<id>enforce-license-headers</id>
<phase>validate</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.github.genthaler</groupId>
<artifactId>beanshell-maven-plugin</artifactId>
<executions>
<execution>
<id>compute-artifact-display-version</id>
<phase>generate-resources</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<script><![CDATA[
if (! "${project.version}".endsWith("-SNAPSHOT")) {
// example: "6.3.0.1234".
fields = "${project.version}".split("\\.");
if (fields.length == 4) {
digitsCountToDisplay = 0;
if ("0".equals(fields[2])) {
digitsCountToDisplay = 2;
} else {
digitsCountToDisplay = 3;
}
sj = new StringJoiner(".");
for (int i = 0; i < digitsCountToDisplay; ++i) { sj.add(fields[i]); }
project.getProperties().setProperty("sonar.pluginDisplayVersion", sj.toString() + " (build " + fields[3] + ")");
}
}
]]>
</script>
<quiet>true</quiet>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>skipSanityChecks</id>
<activation>
<property>
<name>skipSanityChecks</name>
<value>true</value>
</property>
</activation>
<properties>
<animal.sniffer.skip>true</animal.sniffer.skip>
<license.skip>true</license.skip>
<enforcer.skip>true</enforcer.skip>
</properties>
</profile>
<!-- This profile is activated when a project is released. -->
<profile>
<id>release</id>
<build>
<plugins>
<!-- Generates Javadoc -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>coverage-per-test</id>
<dependencies>
<dependency>
<groupId>org.sonarsource.java</groupId>
<artifactId>sonar-jacoco-listeners</artifactId>
<version>${version.sonar-jacoco-listeners}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<properties>
<property>
<name>listener</name>
<value>org.sonar.java.jacoco.JUnitListener</value>
</property>
</properties>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>integration-tests</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<executions>
<execution>
<id>integration-test</id>
<phase>integration-test</phase>
<goals>
<goal>integration-test</goal>
</goals>
</execution>
<execution>
<id>verify</id>
<phase>verify</phase>
<goals>
<goal>verify</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>deploy-sonarsource</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce-deploy-settings</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireProperty>
<property>gitRepositoryName</property>
<message>You must set name of Git repository in your pom</message>
</requireProperty>
<requireEnvironmentVariable>
<variableName>ARTIFACTORY_URL</variableName>
</requireEnvironmentVariable>
<requireEnvironmentVariable>
<variableName>ARTIFACTORY_DEPLOY_REPO</variableName>
</requireEnvironmentVariable>
<requireEnvironmentVariable>
<variableName>ARTIFACTORY_DEPLOY_USERNAME</variableName>
</requireEnvironmentVariable>
<requireEnvironmentVariable>
<variableName>ARTIFACTORY_DEPLOY_PASSWORD</variableName>
</requireEnvironmentVariable>
</rules>
<fail>true</fail>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<!-- this maven plugin is not deployed in Maven Central. It should be downloaded
from JFrog JCenter or from SonarSource repositories -->
<groupId>org.jfrog.buildinfo</groupId>
<artifactId>artifactory-maven-plugin</artifactId>
<version>${version.artifactory.plugin}</version>
<executions>
<execution>
<id>build-info</id>
<goals>
<goal>publish</goal>
</goals>
<configuration>
<artifactory>
<envVarsExcludePatterns>
*password*,*PASSWORD*,*secret*,*MAVEN_CMD_LINE_ARGS*,sun.java.command,*token*,*TOKEN*,*LOGIN*,*login*
</envVarsExcludePatterns>
<includeEnvVars>true</includeEnvVars>
<timeoutSec>60</timeoutSec>
</artifactory>
<deployProperties>
<vcs.revision>{{GIT_COMMIT|TRAVIS_COMMIT|APPVEYOR_REPO_COMMIT}}</vcs.revision>
<vcs.branch>{{GIT_BRANCH|TRAVIS_BRANCH|APPVEYOR_REPO_BRANCH}}</vcs.branch>
<build.name>${gitRepositoryName}</build.name>
<build.number>{{BUILD_ID|TRAVIS_BUILD_NUMBER|APPVEYOR_BUILD_NUMBER}}</build.number>
</deployProperties>
<licenses>
<autoDiscover>true</autoDiscover>
<includePublishedArtifacts>false</includePublishedArtifacts>
<runChecks>true</runChecks>
<scopes>project,provided</scopes>
<violationRecipients>licences-control@sonarsource.com</violationRecipients>
</licenses>
<publisher>
<contextUrl>${env.ARTIFACTORY_URL}</contextUrl>
<repoKey>${env.ARTIFACTORY_DEPLOY_REPO}</repoKey>
<username>${env.ARTIFACTORY_DEPLOY_USERNAME}</username>
<password>${env.ARTIFACTORY_DEPLOY_PASSWORD}</password>
<publishBuildInfo>true</publishBuildInfo>
<publishArtifacts>true</publishArtifacts>
</publisher>
<buildInfo>
<buildName>${gitRepositoryName}</buildName>
<buildNumber>{{BUILD_ID|TRAVIS_BUILD_NUMBER|APPVEYOR_BUILD_NUMBER}}</buildNumber>
<buildUrl>{{CI_BUILD_URL|BUILD_URL}}</buildUrl>
<vcsRevision>{{GIT_COMMIT|TRAVIS_COMMIT|APPVEYOR_REPO_COMMIT}}</vcsRevision>
</buildInfo>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
60f0fdac5ff52a81f39b68f9a42129df5cb781b6
\ No newline at end of file
#NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice.
#Thu Apr 04 10:32:46 CST 2019
sonar-scanner-api-parent-2.12.0.1661.pom>repo.jenkins-ci.org=
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.sonarsource.parent</groupId>
<artifactId>parent</artifactId>
<version>48</version>
</parent>
<groupId>org.sonarsource.scanner.api</groupId>
<artifactId>sonar-scanner-api-parent</artifactId>
<version>2.12.0.1661</version>
<packaging>pom</packaging>
<name>SonarQube Scanner API - Parent</name>
<description>API used by all SonarQube Scanners (Maven, Gradle, Ant, CLI)</description>
<url>https://github.com/SonarSource/sonar-scanner-api</url>
<inceptionYear>2011</inceptionYear>
<modules>
<module>api</module>
<module>batch</module>
<module>batch-interface</module>
</modules>
<organization>
<name>SonarSource</name>
<url>http://www.sonarsource.com</url>
</organization>
<licenses>
<license>
<name>GNU LGPL 3</name>
<url>http://www.gnu.org/licenses/lgpl.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<connection>scm:git:git@github.com:SonarSource/sonar-scanner-api.git</connection>
<developerConnection>scm:git:git@github.com:SonarSource/sonar-scanner-api.git</developerConnection>
<url>https://github.com/SonarSource/sonar-scanner-api</url>
<tag>HEAD</tag>
</scm>
<issueManagement>
<system>JIRA</system>
<url>https://jira.sonarsource.com/browse/SCANNERAPI</url>
</issueManagement>
<properties>
<maven.test.redirectTestOutputToFile>true</maven.test.redirectTestOutputToFile>
<!-- used for deployment to SonarSource Artifactory -->
<gitRepositoryName>sonar-scanner-api</gitRepositoryName>
<okhttp.version>3.11.0</okhttp.version>
<mockito.version>2.22.0</mockito.version>
</properties>
<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>its</id>
<modules>
<module>its</module>
</modules>
</profile>
</profiles>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>2.6</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.6</version>
</dependency>
<dependency>
<groupId>org.easytesting</groupId>
<artifactId>fest-assert</artifactId>
<version>1.4</version>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
<version>${okhttp.version}</version>
</dependency>
<dependency>
<groupId>com.eclipsesource.minimal-json</groupId>
<artifactId>minimal-json</artifactId>
<version>0.9.5</version>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>mockwebserver</artifactId>
<version>${okhttp.version}</version>
</dependency>
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>3.0.2</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>${mockito.version}</version>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-inline</artifactId>
<version>${mockito.version}</version>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>3.11.1</version>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.11</version>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.10</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.0.0</version>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>
#NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice.
#Thu Apr 04 10:32:49 CST 2019
sonar-scanner-api-2.12.0.1661.jar>repo.jenkins-ci.org=
sonar-scanner-api-2.12.0.1661.pom>repo.jenkins-ci.org=
<?xml version="1.0" encoding="UTF-8"?>
<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/maven-v4_0_0.xsd">
<parent>
<artifactId>sonar-scanner-api-parent</artifactId>
<groupId>org.sonarsource.scanner.api</groupId>
<version>2.12.0.1661</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>sonar-scanner-api</artifactId>
<name>SonarQube Scanner API</name>
<build>
<plugins>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy</id>
<phase>process-resources</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>${project.groupId}</groupId>
<artifactId>sonar-scanner-api-batch</artifactId>
<version>${project.version}</version>
<type>jar</type>
<overWrite>false</overWrite>
<outputDirectory>${project.build.outputDirectory}</outputDirectory>
<destFileName>sonar-scanner-api-batch.jar</destFileName>
</artifactItem>
</artifactItems>
<overWriteReleases>true</overWriteReleases>
<overWriteSnapshots>true</overWriteSnapshots>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<createDependencyReducedPom>true</createDependencyReducedPom>
<minimizeJar>true</minimizeJar>
<relocations>
<relocation>
<pattern>okhttp3</pattern>
<shadedPattern>org.sonarsource.scanner.api.internal.shaded.okhttp</shadedPattern>
</relocation>
<relocation>
<pattern>okio</pattern>
<shadedPattern>org.sonarsource.scanner.api.internal.shaded.okio</shadedPattern>
</relocation>
<relocation>
<pattern>com.eclipsesource.json</pattern>
<shadedPattern>org.sonarsource.scanner.api.internal.shaded.minimaljson</shadedPattern>
</relocation>
</relocations>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>3.0.2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.sonarsource.scanner.api</groupId>
<artifactId>sonar-scanner-api-batch</artifactId>
<version>2.12.0.1661</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
<exclusions>
<exclusion>
<artifactId>hamcrest-core</artifactId>
<groupId>org.hamcrest</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>2.22.0</version>
<scope>test</scope>
<exclusions>
<exclusion>
<artifactId>byte-buddy</artifactId>
<groupId>net.bytebuddy</groupId>
</exclusion>
<exclusion>
<artifactId>byte-buddy-agent</artifactId>
<groupId>net.bytebuddy</groupId>
</exclusion>
<exclusion>
<artifactId>objenesis</artifactId>
<groupId>org.objenesis</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-inline</artifactId>
<version>2.22.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>3.11.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>mockwebserver</artifactId>
<version>3.11.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>2.6</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.11</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.sonarsource.java</groupId>
<artifactId>sonar-jacoco-listeners</artifactId>
<version>4.14.0.11784</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>
#NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice.
#Thu Apr 04 10:32:31 CST 2019
sonar-maven-plugin-3.6.0.1398.jar>repo.jenkins-ci.org=
sonar-maven-plugin-3.6.0.1398.pom>repo.jenkins-ci.org=
<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>
<parent>
<groupId>org.sonarsource.parent</groupId>
<artifactId>parent</artifactId>
<version>49</version>
<relativePath />
</parent>
<groupId>org.sonarsource.scanner.maven</groupId>
<artifactId>sonar-maven-plugin</artifactId>
<version>3.6.0.1398</version>
<packaging>maven-plugin</packaging>
<name>SonarQube Scanner for Maven</name>
<url>http://sonarsource.github.io/sonar-scanner-maven/</url>
<description>Trigger SonarQube analysis on Maven projects</description>
<inceptionYear>2009</inceptionYear>
<licenses>
<license>
<name>GNU LGPL 3</name>
<url>http://www.gnu.org/licenses/lgpl.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<developers>
<developer>
<id>olamy</id>
<name>Olivier Lamy</name>
<email>olamy@apache.org</email>
<timezone>+1</timezone>
</developer>
<developer>
<id>godin</id>
<name>Evgeny Mandrikov</name>
<email>mandrikov@gmail.com</email>
<timezone>+3</timezone>
</developer>
<developer>
<id>simon.brandhof</id>
<name>Simon Brandhof</name>
<email>simon.brandhof@gmail.com</email>
<timezone>+1</timezone>
</developer>
<developer>
<id>henryju</id>
<name>Julien Henry</name>
<email>henryju@yahoo.fr</email>
<timezone>+1</timezone>
</developer>
</developers>
<prerequisites>
<maven>3.0</maven>
</prerequisites>
<scm>
<connection>scm:git:https://github.com/SonarSource/sonar-scanner-maven.git</connection>
<developerConnection>scm:git:ssh://git@github.com/SonarSource/sonar-scanner-maven.git</developerConnection>
<url>https://github.com/SonarSource/sonar-scanner-maven</url>
<tag>HEAD</tag>
</scm>
<issueManagement>
<system>JIRA</system>
<url>http://jira.sonarsource.com/browse/MSONAR</url>
</issueManagement>
<distributionManagement>
<site>
<id>github</id>
<name>GitHub</name>
<url>scm:git:git@github.com:SonarSource/sonar-scanner-maven.git</url>
</site>
</distributionManagement>
<properties>
<mojo.java.target>1.7</mojo.java.target>
<mavenVersion>3.5.2</mavenVersion>
<sonar.exclusions>src/main/java/org/apache/maven/shared/dependency/tree/DependencyTreeResolutionListener.java,target/generated-sources/**/*</sonar.exclusions>
<gitRepositoryName>sonar-scanner-maven</gitRepositoryName>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-api</artifactId>
<version>${mavenVersion}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-model</artifactId>
<version>${mavenVersion}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-compat</artifactId>
<version>${mavenVersion}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-artifact</artifactId>
<version>${mavenVersion}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-core</artifactId>
<version>${mavenVersion}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.sonatype.plexus</groupId>
<artifactId>plexus-sec-dispatcher</artifactId>
<version>1.4</version>
</dependency>
<!-- MSONAR-141 -->
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-utils</artifactId>
<version>3.0.22</version>
</dependency>
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-annotations</artifactId>
<version>3.5</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.sonarsource.scanner.api</groupId>
<artifactId>sonar-scanner-api</artifactId>
<version>2.12.0.1661</version>
</dependency>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>2.6</version>
</dependency>
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>2.0.3</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<version>1.9.5</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>3.6.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.skyscreamer</groupId>
<artifactId>jsonassert</artifactId>
<version>1.2.3</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.maven.plugin-testing</groupId>
<artifactId>maven-plugin-testing-harness</artifactId>
<version>3.3.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty</artifactId>
<version>6.1.25</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
<configuration>
<!-- see http://jira.codehaus.org/browse/MNG-5346 -->
<skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
</configuration>
<executions>
<execution>
<id>mojo-descriptor</id>
<goals>
<goal>descriptor</goal>
</goals>
</execution>
<!-- if you want to generate help goal -->
<execution>
<id>help-goal</id>
<goals>
<goal>helpmojo</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-component-metadata</artifactId>
<version>1.7</version>
<executions>
<execution>
<goals>
<goal>generate-metadata</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.3</version>
<configuration>
<goals>deploy site site:stage</goals>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.4</version>
<executions>
<execution>
<id>stage-for-scm-publish</id>
<phase>post-site</phase>
<goals>
<goal>stage</goal>
</goals>
</execution>
</executions>
<configuration>
<skipDeploy>true</skipDeploy>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-publish-plugin</artifactId>
<version>1.1</version>
<configuration>
<scmBranch>gh-pages</scmBranch>
</configuration>
<executions>
<execution>
<id>scm-publish</id>
<phase>site-deploy</phase>
<goals>
<goal>publish-scm</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
<version>3.4</version>
<configuration>
<requirements>
<jdk>${mojo.java.target}</jdk>
</requirements>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.8.1</version>
<reportSets>
<reportSet>
<reports>
<report>dependency-info</report>
<report>index</report>
<report>issue-tracking</report>
<report>project-team</report>
<report>scm</report>
<report>summary</report>
</reports>
</reportSet>
</reportSets>
</plugin>
</plugins>
</reporting>
</project>
#NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice.
#Thu Apr 04 10:32:49 CST 2019
plexus-sec-dispatcher-1.4.pom>repo.jenkins-ci.org=
plexus-sec-dispatcher-1.4.jar>repo.jenkins-ci.org=
43fde524e9b94c883727a9fddb8669181b890ea7
\ No newline at end of file
<?xml version="1.0"?>
<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/maven-v4_0_0.xsd">
<parent>
<groupId>org.sonatype.spice</groupId>
<artifactId>spice-parent</artifactId>
<version>12</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.sonatype.plexus</groupId>
<artifactId>plexus-sec-dispatcher</artifactId>
<url>http://spice.sonatype.org/${project.artifactId}</url>
<name>Plexus Security Dispatcher Component</name>
<version>1.4</version>
<distributionManagement>
<site>
<id>sonatype.org-sites</id>
<url>${spiceSiteBaseUrl}/${project.artifactId}</url>
</site>
</distributionManagement>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-maven-plugin</artifactId>
<version>1.3.5</version>
<executions>
<execution>
<goals>
<goal>descriptor</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin
</artifactId>
<configuration>
<source>1.4</source>
<target>1.4</target>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.modello</groupId>
<artifactId>modello-maven-plugin</artifactId>
<configuration>
<version>1.0.0</version>
<models>
<model>src/main/mdo/settings-security.mdo</model>
</models>
</configuration>
<executions>
<execution>
<id>standard</id>
<goals>
<goal>java</goal>
<goal>xpp3-reader</goal>
<goal>xpp3-writer</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-utils</artifactId>
</dependency>
<dependency>
<groupId>org.sonatype.plexus</groupId>
<artifactId>plexus-cipher</artifactId>
<version>1.4</version>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-container-default</artifactId>
<version>1.0-alpha-9-stable-1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.2</version>
</dependency>
</dependencies>
<scm>
<connection>scm:svn:http://svn.sonatype.org/spice/tags/plexus-sec-dispatcher-1.4</connection>
<developerConnection>scm:svn:https://svn.sonatype.org/spice/tags/plexus-sec-dispatcher-1.4</developerConnection>
<url>http://svn.sonatype.org/spice/tags/plexus-sec-dispatcher-1.4</url>
</scm>
</project>
18c39936b9da963de44b4d68adf204f7c5df3a45
\ No newline at end of file
#NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice. #NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice.
#Wed Mar 27 14:16:04 CST 2019 #Thu Apr 04 10:32:39 CST 2019
maven-metadata-repo.jenkins-ci.org.xml.lastUpdated=1554345158835
maven-metadata-repo.jenkins-ci.org.xml.error= maven-metadata-repo.jenkins-ci.org.xml.error=
maven-metadata-repo.jenkins-ci.org.xml.lastUpdated=1553667364796 maven-metadata-spring-milestones.xml.lastUpdated=1554345159653
maven-metadata-spring-milestones.xml.lastUpdated=1553667364458 maven-metadata-spring-snapshots.xml.lastUpdated=1554345159862
maven-metadata-spring-milestones.xml.error= maven-metadata-spring-milestones.xml.error=
maven-metadata-spring-snapshots.xml.lastUpdated=1553667364691
#NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice. #NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice.
#Wed Mar 27 14:10:54 CST 2019 #Thu Apr 04 10:32:25 CST 2019
maven-metadata-repo.jenkins-ci.org.xml.lastUpdated=1554345143946
maven-metadata-repo.jenkins-ci.org.xml.error= maven-metadata-repo.jenkins-ci.org.xml.error=
maven-metadata-repo.jenkins-ci.org.xml.lastUpdated=1553667054182 maven-metadata-spring-milestones.xml.lastUpdated=1554345143792
maven-metadata-spring-milestones.xml.lastUpdated=1553667053465 maven-metadata-spring-snapshots.xml.lastUpdated=1554345145322
maven-metadata-spring-milestones.xml.error= maven-metadata-spring-milestones.xml.error=
maven-metadata-spring-snapshots.xml.lastUpdated=1553667053746
#NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice. #NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice.
#Wed Mar 27 14:11:11 CST 2019 #Thu Apr 04 10:32:26 CST 2019
maven-metadata-repo.jenkins-ci.org.xml.lastUpdated=1554345146207
maven-metadata-repo.jenkins-ci.org.xml.error= maven-metadata-repo.jenkins-ci.org.xml.error=
maven-metadata-repo.jenkins-ci.org.xml.lastUpdated=1553667071738 maven-metadata-spring-milestones.xml.lastUpdated=1554345146202
maven-metadata-spring-milestones.xml.lastUpdated=1553667071487 maven-metadata-spring-snapshots.xml.lastUpdated=1554345146550
maven-metadata-spring-milestones.xml.error= maven-metadata-spring-milestones.xml.error=
maven-metadata-spring-snapshots.xml.lastUpdated=1553667071693
#NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice. #NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice.
#Wed Mar 27 14:11:17 CST 2019 #Thu Apr 04 10:32:29 CST 2019
maven-metadata-repo.jenkins-ci.org.xml.lastUpdated=1554345148595
maven-metadata-repo.jenkins-ci.org.xml.error= maven-metadata-repo.jenkins-ci.org.xml.error=
maven-metadata-repo.jenkins-ci.org.xml.lastUpdated=1553667077896 maven-metadata-spring-milestones.xml.lastUpdated=1554345147878
maven-metadata-spring-milestones.xml.lastUpdated=1553667077324 maven-metadata-spring-snapshots.xml.lastUpdated=1554345149316
maven-metadata-spring-milestones.xml.error= maven-metadata-spring-milestones.xml.error=
maven-metadata-spring-snapshots.xml.lastUpdated=1553667077540
#NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice. #NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice.
#Wed Mar 27 14:16:08 CST 2019 #Thu Apr 04 10:32:42 CST 2019
maven-metadata-repo.jenkins-ci.org.xml.lastUpdated=1554345160387
maven-metadata-repo.jenkins-ci.org.xml.error= maven-metadata-repo.jenkins-ci.org.xml.error=
maven-metadata-repo.jenkins-ci.org.xml.lastUpdated=1553667368988 maven-metadata-spring-milestones.xml.lastUpdated=1554345162418
maven-metadata-spring-milestones.xml.lastUpdated=1553667368253 maven-metadata-spring-snapshots.xml.lastUpdated=1554345160667
maven-metadata-spring-milestones.xml.error= maven-metadata-spring-milestones.xml.error=
maven-metadata-spring-snapshots.xml.lastUpdated=1553667368557
#NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice. #NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice.
#Wed Mar 27 14:10:51 CST 2019 #Thu Apr 04 10:32:23 CST 2019
maven-metadata-repo.jenkins-ci.org.xml.lastUpdated=1554345143357
maven-metadata-repo.jenkins-ci.org.xml.error= maven-metadata-repo.jenkins-ci.org.xml.error=
maven-metadata-repo.jenkins-ci.org.xml.lastUpdated=1553667051604 maven-metadata-spring-milestones.xml.lastUpdated=1554345142459
maven-metadata-spring-milestones.xml.lastUpdated=1553667050704 maven-metadata-spring-snapshots.xml.lastUpdated=1554345142834
maven-metadata-spring-milestones.xml.error= maven-metadata-spring-milestones.xml.error=
maven-metadata-spring-snapshots.xml.lastUpdated=1553667051318
#NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice. #NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice.
#Wed Mar 27 14:16:20 CST 2019 #Thu Apr 04 10:32:43 CST 2019
maven-metadata-repo.jenkins-ci.org.xml.lastUpdated=1554345162931
maven-metadata-repo.jenkins-ci.org.xml.error= maven-metadata-repo.jenkins-ci.org.xml.error=
maven-metadata-repo.jenkins-ci.org.xml.lastUpdated=1553667380886 maven-metadata-spring-milestones.xml.lastUpdated=1554345162932
maven-metadata-spring-milestones.xml.lastUpdated=1553667380637 maven-metadata-spring-snapshots.xml.lastUpdated=1554345163461
maven-metadata-spring-milestones.xml.error= maven-metadata-spring-milestones.xml.error=
maven-metadata-spring-snapshots.xml.lastUpdated=1553667380879
#NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice. #NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice.
#Wed Mar 27 14:15:44 CST 2019 #Thu Apr 04 10:32:33 CST 2019
maven-metadata-repo.jenkins-ci.org.xml.lastUpdated=1553667344183
maven-metadata-repo.jenkins-ci.org.xml.error= maven-metadata-repo.jenkins-ci.org.xml.error=
maven-metadata-spring-milestones.xml.lastUpdated=1553667343663 maven-metadata-repo.jenkins-ci.org.xml.lastUpdated=1554345152266
maven-metadata-spring-snapshots.xml.lastUpdated=1553667344493 maven-metadata-spring-milestones.xml.lastUpdated=1554345153041
maven-metadata-spring-milestones.xml.error= maven-metadata-spring-milestones.xml.error=
maven-metadata-spring-snapshots.xml.lastUpdated=1554345153003
#NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice. #NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice.
#Wed Mar 27 14:15:51 CST 2019 #Thu Apr 04 10:32:37 CST 2019
maven-metadata-repo.jenkins-ci.org.xml.lastUpdated=1553667351205
maven-metadata-repo.jenkins-ci.org.xml.error= maven-metadata-repo.jenkins-ci.org.xml.error=
maven-metadata-spring-milestones.xml.lastUpdated=1553667350885 maven-metadata-repo.jenkins-ci.org.xml.lastUpdated=1554345155894
maven-metadata-spring-snapshots.xml.lastUpdated=1553667351592 maven-metadata-spring-milestones.xml.lastUpdated=1554345155925
maven-metadata-spring-milestones.xml.error= maven-metadata-spring-milestones.xml.error=
maven-metadata-spring-snapshots.xml.lastUpdated=1554345157302
#NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice. #NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice.
#Wed Mar 27 14:15:49 CST 2019 #Thu Apr 04 10:32:35 CST 2019
maven-metadata-repo.jenkins-ci.org.xml.lastUpdated=1553667347382
maven-metadata-repo.jenkins-ci.org.xml.error= maven-metadata-repo.jenkins-ci.org.xml.error=
maven-metadata-spring-milestones.xml.lastUpdated=1553667346985 maven-metadata-repo.jenkins-ci.org.xml.lastUpdated=1554345153654
maven-metadata-spring-snapshots.xml.lastUpdated=1553667349178 maven-metadata-spring-milestones.xml.lastUpdated=1554345153787
maven-metadata-spring-milestones.xml.error= maven-metadata-spring-milestones.xml.error=
maven-metadata-spring-snapshots.xml.lastUpdated=1554345155242
#NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice. #NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice.
#Wed Mar 27 14:11:15 CST 2019 #Thu Apr 04 10:32:27 CST 2019
maven-metadata-repo.jenkins-ci.org.xml.lastUpdated=1554345146979
maven-metadata-repo.jenkins-ci.org.xml.error= maven-metadata-repo.jenkins-ci.org.xml.error=
maven-metadata-repo.jenkins-ci.org.xml.lastUpdated=1553667075519 maven-metadata-spring-milestones.xml.lastUpdated=1554345147127
maven-metadata-spring-milestones.xml.lastUpdated=1553667074866 maven-metadata-spring-snapshots.xml.lastUpdated=1554345147400
maven-metadata-spring-milestones.xml.error= maven-metadata-spring-milestones.xml.error=
maven-metadata-spring-snapshots.xml.lastUpdated=1553667075082
#NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice. #NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice.
#Wed Mar 27 14:15:56 CST 2019 #Thu Apr 04 10:32:38 CST 2019
maven-metadata-repo.jenkins-ci.org.xml.lastUpdated=1554345157679
maven-metadata-repo.jenkins-ci.org.xml.error= maven-metadata-repo.jenkins-ci.org.xml.error=
maven-metadata-repo.jenkins-ci.org.xml.lastUpdated=1553667356592 maven-metadata-spring-milestones.xml.lastUpdated=1554345157794
maven-metadata-spring-milestones.xml.lastUpdated=1553667355665 maven-metadata-spring-snapshots.xml.lastUpdated=1554345158429
maven-metadata-spring-milestones.xml.error= maven-metadata-spring-milestones.xml.error=
maven-metadata-spring-snapshots.xml.lastUpdated=1553667355961
<settings> <settings>
<pluginGroups> <pluginGroups>
<pluginGroup>org.jenkins-ci.tools</pluginGroup> <pluginGroup>org.jenkins-ci.tools</pluginGroup>
<pluginGroup>org.sonarsource.scanner.maven</pluginGroup>
</pluginGroups> </pluginGroups>
<localRepository>${PWD}/artifacts/m2</localRepository> <localRepository>${PWD}/artifacts/m2</localRepository>
...@@ -25,6 +26,12 @@ ...@@ -25,6 +26,12 @@
</pluginRepository> </pluginRepository>
</pluginRepositories> </pluginRepositories>
</profile> </profile>
<profile>
<id>sonar</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile>
</profiles> </profiles>
<mirrors> <mirrors>
<mirror> <mirror>
......
...@@ -58,6 +58,11 @@ ...@@ -58,6 +58,11 @@
<fork>true</fork> <fork>true</fork>
</configuration> </configuration>
</plugin> </plugin>
<plugin>
<groupId>org.sonarsource.scanner.maven</groupId>
<artifactId>sonar-maven-plugin</artifactId>
<version>3.6.0.1398</version>
</plugin>
</plugins> </plugins>
</build> </build>
</project> </project>
\ No newline at end of file
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