forked from adnovum/sonar-build-breaker
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pom.xml
157 lines (146 loc) · 5.21 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
<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>26</version>
</parent>
<groupId>org.sonarqubecommunity.buildbreaker</groupId>
<artifactId>sonar-build-breaker-plugin</artifactId>
<version>2.3-SNAPSHOT</version>
<packaging>sonar-plugin</packaging>
<name>SonarQube Build Breaker Plugin</name>
<description>Break the analyzer if the project does not pass its Quality Gate</description>
<url>https://github.com/SonarQubeCommunity/sonar-build-breaker</url>
<inceptionYear>2009</inceptionYear>
<organization>
<name>Matthew DeTullio and contributors</name>
<url>mailto:[email protected]</url>
</organization>
<developers>
<developer>
<id>mjdetullio</id>
<name>Matthew DeTullio</name>
</developer>
</developers>
<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:[email protected]:SonarQubeCommunity/sonar-build-breaker.git</connection>
<developerConnection>scm:git:[email protected]:SonarQubeCommunity/sonar-build-breaker.git</developerConnection>
<url>https://github.com/SonarQubeCommunity/sonar-build-breaker</url>
<tag>HEAD</tag>
</scm>
<issueManagement>
<system>GitHub</system>
<url>https://github.com/SonarQubeCommunity/sonar-build-breaker/issues</url>
</issueManagement>
<ciManagement>
<system>Travis</system>
<url>https://travis-ci.org/SonarQubeCommunity/sonar-build-breaker</url>
</ciManagement>
<properties>
<license.owner>${project.organization.name}</license.owner>
<license.mailto>${project.organization.url}</license.mailto>
<sonar.version>5.3</sonar.version>
<sonar.pluginName>Build Breaker</sonar.pluginName>
<sonar.pluginClass>org.sonar.plugins.buildbreaker.BuildBreakerPlugin</sonar.pluginClass>
<!-- Last JDK 1.7 compatible packaging plugin version -->
<version.sonar-packaging.plugin>1.16</version.sonar-packaging.plugin>
</properties>
<dependencies>
<dependency>
<groupId>org.sonarsource.sonarqube</groupId>
<artifactId>sonar-plugin-api</artifactId>
<version>${sonar.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.sonarsource.sonarqube</groupId>
<artifactId>sonar-ws</artifactId>
<version>${sonar.version}</version>
</dependency>
<!-- unit tests -->
<dependency>
<groupId>org.powermock</groupId>
<artifactId>powermock-module-junit4</artifactId>
<version>1.6.4</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.powermock</groupId>
<artifactId>powermock-api-mockito</artifactId>
<version>1.6.4</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.4.1</version>
<executions>
<execution>
<id>enforce-java</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireJavaVersion>
<!-- PowerMock doesn't like these versions http://stackoverflow.com/a/25428318 -->
<version>[1.7.0,1.7.0-65),[1.7.0-75,)</version>
</requireJavaVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.7.5.201505241946</version>
<executions>
<execution>
<id>default-prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>default-report</id>
<phase>prepare-package</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<tagNameFormat>@{project.version}</tagNameFormat>
<autoVersionSubmodules>true</autoVersionSubmodules>
<useReleaseProfile>false</useReleaseProfile>
<localCheckout>true</localCheckout>
<pushChanges>false</pushChanges>
<mavenExecutorId>forked-path</mavenExecutorId>
<preparationGoals>clean install</preparationGoals>
<goals>clean install</goals>
<!--
Allows to activate release profile during release.
We don't use releaseProfiles parameter, because it affects only release:perform goal
-->
<arguments>-Prelease</arguments>
</configuration>
</plugin>
</plugins>
</build>
</project>