sonar-quality-gates-maven-plugin
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.hack23.maven</groupId> <artifactId>sonar-quality-gates-maven-plugin</artifactId> <version>1.0.5</version> </dependency>
<?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>com.hack23.maven</groupId> <artifactId>sonar-quality-gates-maven-plugin</artifactId> <version>1.0.5</version> <packaging>maven-plugin</packaging> <name>sonar-quality-gates-maven-plugin</name> <description>This plugin will break the maven build if the project fails the sonarqube quality gate</description> <url>https://github.com/Hack23/sonar-quality-gates-maven-plugin</url> <organization> <name>www.hack23.com</name> <url>http://www.hack23.com</url> </organization> <licenses> <license> <name>The Apache Software License, Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> </license> </licenses> <developers> <developer> <id>pethers</id> <name>James Pether Sörling</name> <organization>Hack23</organization> <roles> <role>dev</role> </roles> <timezone>+1</timezone> </developer> <developer> <id>slam-it</id> <name>Sander Lammertink</name> <roles> <role>original author</role> </roles> </developer> </developers> <scm> <connection>scm:git:https://github.com/Hack23/sonar-quality-gates-maven-plugin.git</connection> <developerConnection>scm:git:https://github.com/Hack23/sonar-quality-gates-maven-plugin.git</developerConnection> <tag>sonar-quality-gates-maven-plugin-1.0.5</tag> <url>https://github.com/Hack23/sonar-quality-gates-maven-plugin</url> </scm> <issueManagement> <system>github</system> <url>https://github.com/Hack23/sonar-quality-gates-maven-plugin</url> </issueManagement> <ciManagement> <system>jenkins</system> <url>https://www.hack23.com/jenkins/view/Tools/job/sonar-quality-gates-maven-plugin/</url> </ciManagement> <distributionManagement> <repository> <uniqueVersion>false</uniqueVersion> <id>cia-releases</id> <name>CIA Staging Repository</name> <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> </repository> <snapshotRepository> <uniqueVersion>false</uniqueVersion> <id>hack23nexus</id> <name>CIA hack23 Snapshot Repository</name> <url>https://www.hack23.com/nexus/repository/maven-snapshots/</url> </snapshotRepository> <site> <id>github</id> <url>github:http://hack23.github.io/sonar-quality-gates-maven-plugin/</url> </site> </distributionManagement> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin> <sonar.coverage.jacoco.xmlReportPaths>${project.build.directory}/site/jacoco/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths> <surefire.version>3.0.0-M4</surefire.version> <scm-publish.scmBranch>gh-pages</scm-publish.scmBranch> <scm-publish.pubScmUrl>scm:git:https://github.com/Hack23/sonar-quality-gates-maven-plugin.git</scm-publish.pubScmUrl> <scm-publish.siteDocOuputDirectory>${project.build.directory}/site</scm-publish.siteDocOuputDirectory> <jackson-annotations.version>2.10.3</jackson-annotations.version> <jackson-databind.version>2.10.3</jackson-databind.version> <javax.inject.version>1</javax.inject.version> <junit.version>4.13</junit.version> <maven.version>3.6.3</maven.version> <maven-plugin-annotations.version>3.6.0</maven-plugin-annotations.version> <maven-plugin-testing-harness.version>3.3.0</maven-plugin-testing-harness.version> <unirest-java.version>1.4.9</unirest-java.version> <maven-compiler-plugin.version>3.8.1-jboss-1</maven-compiler-plugin.version> </properties> <dependencies> <dependency> <groupId>com.mashape.unirest</groupId> <artifactId>unirest-java</artifactId> <version>${unirest-java.version}</version> </dependency> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>28.2-jre</version> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> <version>4.5.12</version> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpasyncclient</artifactId> <version>4.1.4</version> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpmime</artifactId> <version>4.5.12</version> </dependency> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-utils</artifactId> <version>3.3.0</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <version>3.9</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>${jackson-databind.version}</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-annotations</artifactId> <version>${jackson-annotations.version}</version> </dependency> <!-- Provided Dependencies --> <dependency> <groupId>javax.inject</groupId> <artifactId>javax.inject</artifactId> <version>${javax.inject.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-plugin-api</artifactId> <version>${maven.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven.plugin-tools</groupId> <artifactId>maven-plugin-annotations</artifactId> <version>${maven-plugin-annotations.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-core</artifactId> <version>${maven.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.13</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.maven.plugin-testing</groupId> <artifactId>maven-plugin-testing-harness</artifactId> <version>${maven-plugin-testing-harness.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-compat</artifactId> <version>${maven.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>com.openpojo</groupId> <artifactId>openpojo</artifactId> <version>0.8.13</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <version>3.3.3</version> <scope>test</scope> </dependency> </dependencies> <repositories> <repository> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> <id>hack23.public</id> <url>https://www.hack23.com/nexus/repository/maven-public/</url> </repository> </repositories> <pluginRepositories> <pluginRepository> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> <id>hack23.public</id> <url>https://www.hack23.com/nexus/repository/maven-public/</url> </pluginRepository> </pluginRepositories> <build> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-plugin-plugin</artifactId> <version>3.6.0</version> </plugin> <plugin> <groupId>org.owasp</groupId> <artifactId>dependency-check-maven</artifactId> <version>5.3.1</version> <dependencies> <dependency> <groupId>com.h2database</groupId> <artifactId>h2</artifactId> <version>1.4.200</version> </dependency> </dependencies> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <version>3.1.2</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.8.1-jboss-1</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>3.2.0</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>1.6</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>3.1.0</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.2.1</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-clean-plugin</artifactId> <version>3.1.0</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>2.5.3</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <version>3.0.0-M1</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-install-plugin</artifactId> <version>3.0.0-M1</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-scm-publish-plugin</artifactId> <version>3.0.0</version> <dependencies> <dependency> <groupId>org.apache.maven.scm</groupId> <artifactId>maven-scm-api</artifactId> <version>1.11.2</version> </dependency> <dependency> <groupId>org.apache.maven.scm</groupId> <artifactId>maven-scm-provider-gitexe</artifactId> <version>1.11.2</version> </dependency> <dependency> <groupId>org.apache.maven.scm</groupId> <artifactId>maven-scm-provider-svn-commons</artifactId> <version>1.11.2</version> </dependency> <dependency> <groupId>org.apache.maven.scm</groupId> <artifactId>maven-scm-provider-svnexe</artifactId> <version>1.11.2</version> </dependency> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <version>2.6</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <version>3.9</version> </dependency> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-utils</artifactId> <version>3.3.0</version> </dependency> </dependencies> <inherited>true</inherited> <configuration> <checkoutDirectory>${scmPublish.checkoutDirectory}</checkoutDirectory> <checkinComment>Publishing Site Docs for ${project.artifactId}:${project.version}</checkinComment> <content>${project.build.directory}/site</content> <skipDeletedFiles>true</skipDeletedFiles> <pubScmUrl>${scm-publish.pubScmUrl}</pubScmUrl> <scmBranch>${scm-publish.scmBranch}</scmBranch> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-site-plugin</artifactId> <version>3.9.0</version> <dependencies> <dependency> <groupId>xml-apis</groupId> <artifactId>xml-apis</artifactId> <version>1.4.01</version> </dependency> <dependency> <groupId>net.trajano.wagon</groupId> <artifactId>wagon-git</artifactId> <version>2.0.4</version> </dependency> <dependency> <groupId>com.jcraft</groupId> <artifactId>jsch</artifactId> <version>0.1.55</version> </dependency> </dependencies> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>${maven-compiler-plugin.version}</version> <configuration> <source>1.8</source> <target>1.8</target> </configuration> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.8.5</version> <executions> <execution> <id>pre-unit-test</id> <goals> <goal>prepare-agent</goal> </goals> <configuration> <append>true</append> <propertyName>surefireArgLine</propertyName> </configuration> </execution> <execution> <id>post-unit-test</id> <phase>test</phase> <goals> <goal>report</goal> </goals> </execution> </executions> <configuration> <includes> <include>com.hack23.*</include> </includes> <excludes> <exclude>module-info.*</exclude> <exclude>*.module-info.*</exclude> </excludes> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>3.0.0-M4</version> <configuration> <argLine>${surefireArgLine}</argLine> <disableModules>false</disableModules> <useModulePath>false</useModulePath> </configuration> </plugin> </plugins> </build> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.2.0</version> <inherited>true</inherited> <configuration> <source>8</source> <release>8</release> <includeDependencySources>true</includeDependencySources> <detectOfflineLinks>false</detectOfflineLinks> <dependencySourceIncludes> <dependencySourceInclude>com.hack23.maven:*</dependencySourceInclude> </dependencySourceIncludes> <doclet>nl.talsmasoftware.umldoclet.UMLDoclet</doclet> <docletArtifact> <groupId>nl.talsmasoftware</groupId> <artifactId>umldoclet</artifactId> <version>2.0.8</version> </docletArtifact> <useStandardDocletOptions>true</useStandardDocletOptions> <charset>UTF-8</charset> <encoding>UTF-8</encoding> <sourcepath>${basedir}/src/main/java</sourcepath> <docencoding>UTF-8</docencoding> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-project-info-reports-plugin</artifactId> <version>3.0.0</version> <inherited>true</inherited> <configuration> <dependencyLocationsEnabled>false</dependencyLocationsEnabled> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>${surefire.version}</version> <inherited>true</inherited> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.8.5</version> <inherited>true</inherited> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-report-plugin</artifactId> <version>${surefire.version}</version> <reportSets> <reportSet> <reports> <report>report-only</report> </reports> </reportSet> </reportSets> <inherited>true</inherited> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jxr-plugin</artifactId> <version>3.0.0</version> <inherited>true</inherited> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>versions-maven-plugin</artifactId> <version>2.7</version> <reportSets> <reportSet> <reports> <report>dependency-updates-report</report> <report>plugin-updates-report</report> <report>property-updates-report</report> </reports> </reportSet> </reportSets> <inherited>true</inherited> <configuration> <allowSnapshots>true</allowSnapshots> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-changelog-plugin</artifactId> <version>2.3</version> <inherited>true</inherited> <configuration> <type>range</type> <range>30</range> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-plugin-plugin</artifactId> <version>3.6.0</version> </plugin> </plugins> </reporting> <profiles> <profile> <id>release-sign-artifacts</id> <activation> <property> <name>performRelease</name> <value>true</value> </property> </activation> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.2.0</version> <executions> <execution> <id>attach-javadocs</id> <phase>verify</phase> <goals> <goal>jar</goal> <goal>resource-bundle</goal> </goals> </execution> </executions> <inherited>true</inherited> <configuration> <source>8</source> <release>8</release> <debug>true</debug> <detectJavaApiLink>true</detectJavaApiLink> <linksource>true</linksource> <includeDependencySources>true</includeDependencySources> <dependencySourceIncludes> <dependencySourceInclude>com.hack23.maven:*</dependencySourceInclude> </dependencySourceIncludes> <doclet>nl.talsmasoftware.umldoclet.UMLDoclet</doclet> <docletArtifact> <groupId>nl.talsmasoftware</groupId> <artifactId>umldoclet</artifactId> <version>2.0.8</version> </docletArtifact> <useStandardDocletOptions>true</useStandardDocletOptions> <charset>UTF-8</charset> <encoding>UTF-8</encoding> <sourcepath>src/main/java</sourcepath> <docencoding>UTF-8</docencoding> </configuration> </plugin> <plugin> <artifactId>maven-source-plugin</artifactId> <version>3.0.1</version> <executions> <execution> <id>bundle-sources</id> <phase>package</phase> <goals> <goal>jar-no-fork</goal> <goal>test-jar-no-fork</goal> </goals> </execution> </executions> <inherited>true</inherited> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> <inherited>true</inherited> </plugin> </plugins> </build> </profile> </profiles> </project>