forked from splunk/splunkforjenkins
-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy pathpom.xml
179 lines (169 loc) · 6.95 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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
<?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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>4.52</version>
<relativePath />
</parent>
<groupId>com.splunk.splunkins</groupId>
<artifactId>pom</artifactId>
<version>1.10.3-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Splunk Plugin Main Module</name>
<description>The module that constitutes the main module of Splunk Plugin</description>
<url>https://wiki.jenkins-ci.org/display/JENKINS/Splunk+plugin+for+Jenkins</url>
<licenses>
<license>
<name>The MIT license</name>
<url>https://opensource.org/licenses/MIT</url>
<distribution>repo</distribution>
</license>
</licenses>
<modules>
<module>splunk-devops-shaded</module>
<module>splunk-devops</module>
<module>splunk-devops-extend</module>
</modules>
<scm>
<connection>scm:git:git://github.com/jenkinsci/splunk-devops-plugin.git</connection>
<developerConnection>scm:git:ssh://git@github.com/jenkinsci/splunk-devops-plugin.git</developerConnection>
<url>https://github.com/jenkinsci/splunk-devops-plugin</url>
<tag>pom-1.3</tag>
</scm>
<properties>
<!-- *.html files are in UTF-8, and *.properties are in iso-8859-1, so this configuration is acturally incorrect,
but this suppresses a warning from Maven, and as long as we don't do filtering we should be OK. -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<build.type>private</build.type>
<!-- configuration for patch tracker plugin -->
<project.patchManagement.system>github</project.patchManagement.system>
<patch.request.organisation>jenkinsci</patch.request.organisation>
<patch.request.repository>jenkins</patch.request.repository>
<project.patchManagement.url>https://api.github.com</project.patchManagement.url>
<patch.tracker.serverId>jenkins-jira</patch.tracker.serverId>
<findbugs-maven-plugin.version>3.0.1</findbugs-maven-plugin.version>
<java.level>11</java.level>
<!-- jenkins requirement -->
<jenkins.version>2.387.3</jenkins.version> <!-- plugin script-security and workflow-cps requirement -->
<spotbugs.failOnError>false</spotbugs.failOnError>
<surefire.timeout>600</surefire.timeout>
</properties>
<repositories>
<repository>
<id>repo.jenkins-ci.org</id>
<url>https://repo.jenkins-ci.org/public/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>splunk-artifactory</id>
<name>Splunk Releases</name>
<url>https://splunk.jfrog.io/splunk/ext-releases-local</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>repo.jenkins-ci.org</id>
<url>https://repo.jenkins-ci.org/public/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
<dependencies>
<dependency>
<groupId>com.splunk</groupId>
<artifactId>splunk</artifactId>
<version>1.6.5.0</version>
<scope>test</scope> <!--only used to setup token and execute search-->
</dependency>
</dependencies>
<profiles>
<profile>
<!--to use this profile, pass mvn -Plocal -Drepos.url=xx deploy-->
<id>local</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<distributionManagement>
<repository>
<id>local-artifactory</id>
<name>Local Repository</name>
<url>${repos.url}</url>
</repository>
<snapshotRepository>
<id>local-artifactory</id>
<name>Local Repository Snapshots</name>
<url>${repos.url}</url>
</snapshotRepository>
</distributionManagement>
</profile>
<profile>
<id>jenkins-2</id>
<properties>
<jenkins.version>2.346.1</jenkins.version>
<java.level>8</java.level>
</properties>
</profile>
<profile>
<id>coverage</id>
<activation>
<!-- cobertura-maven-plugin doesn't support jdk11 yet -->
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>2.7</version>
<configuration>
<instrumentation>
<excludes>
<exclude>com/splunk/splunkjenkins/utils/LogFileCallable.class</exclude>
</excludes>
</instrumentation>
<formats>
<format>xml</format>
</formats>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>cobertura</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M5</version>
<configuration>
<forkCount>2</forkCount>
<useFile>false</useFile>
<systemPropertyVariables>
<!--speed up teardown, TcpSlaveAgentListener.shutdown is slow sometimes-->
<jenkins.model.Jenkins.slaveAgentPort>-1</jenkins.model.Jenkins.slaveAgentPort>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</build>
</project>