/ pom.xml
pom.xml
 1  <?xml version="1.0" encoding="UTF-8"?>
 2  <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">
 3    <modelVersion>4.0.0</modelVersion>
 4    <parent>
 5      <groupId>org.jenkins-ci.plugins</groupId>
 6      <artifactId>plugin</artifactId>
 7      <version>4.75</version>
 8      <relativePath />
 9    </parent>
10    <groupId>io.jenkins.plugins</groupId>
11    <artifactId>builder</artifactId>
12    <version>${revision}${changelist}</version>
13    <packaging>hpi</packaging>
14    <name>TODO Plugin</name>
15    <url>https://github.com/jenkinsci/${project.artifactId}-plugin</url>
16    <licenses>
17      <license>
18        <name>MIT License</name>
19        <url>https://opensource.org/license/mit/</url>
20      </license>
21    </licenses>
22    <scm child.scm.connection.inherit.append.path="false" child.scm.developerConnection.inherit.append.path="false" child.scm.url.inherit.append.path="false">
23      <connection>scm:git:https://github.com/${gitHubRepo}</connection>
24      <developerConnection>scm:git:https://github.com/${gitHubRepo}</developerConnection>
25      <tag>${scmTag}</tag>
26      <url>https://github.com/${gitHubRepo}</url>
27    </scm>
28    <properties>
29      <revision>1.0</revision>
30      <changelist>-SNAPSHOT</changelist>
31  
32      <!-- https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ -->
33      <jenkins.version>2.387.3</jenkins.version>
34      <gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
35      <spotless.check.skip>false</spotless.check.skip>
36    </properties>
37  
38    <dependencyManagement>
39      <dependencies>
40        <dependency>
41          <!-- Pick up common dependencies for the selected LTS line: https://github.com/jenkinsci/bom#usage -->
42          <groupId>io.jenkins.tools.bom</groupId>
43          <artifactId>bom-2.387.x</artifactId>
44          <version>2543.vfb_1a_5fb_9496d</version>
45          <type>pom</type>
46          <scope>import</scope>
47        </dependency>
48      </dependencies>
49    </dependencyManagement>
50    <dependencies>
51      <dependency>
52        <groupId>org.jenkins-ci.plugins</groupId>
53        <artifactId>structs</artifactId>
54      </dependency>
55      <dependency>
56        <groupId>org.jenkins-ci.plugins.workflow</groupId>
57        <artifactId>workflow-basic-steps</artifactId>
58        <scope>test</scope>
59      </dependency>
60      <dependency>
61        <groupId>org.jenkins-ci.plugins.workflow</groupId>
62        <artifactId>workflow-cps</artifactId>
63        <scope>test</scope>
64      </dependency>
65      <dependency>
66        <groupId>org.jenkins-ci.plugins.workflow</groupId>
67        <artifactId>workflow-durable-task-step</artifactId>
68        <scope>test</scope>
69      </dependency>
70      <dependency>
71        <groupId>org.jenkins-ci.plugins.workflow</groupId>
72        <artifactId>workflow-job</artifactId>
73        <scope>test</scope>
74      </dependency>
75    </dependencies>
76  
77    <repositories>
78      <repository>
79        <id>repo.jenkins-ci.org</id>
80        <url>https://repo.jenkins-ci.org/public/</url>
81      </repository>
82    </repositories>
83    <pluginRepositories>
84      <pluginRepository>
85        <id>repo.jenkins-ci.org</id>
86        <url>https://repo.jenkins-ci.org/public/</url>
87      </pluginRepository>
88    </pluginRepositories>
89  </project>