<?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>