archetype-resources.pom.xml Maven / Gradle / Ivy
<?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.12</version> <relativePath /> </parent> <groupId>io.jenkins.plugins</groupId> <artifactId>${artifactId}</artifactId> <version>${revision}${changelist}</version> <packaging>hpi</packaging> <properties> <revision>1.0</revision> <changelist>-SNAPSHOT</changelist> <!-- Baseline Jenkins version you use to build the plugin. Users must have this version or newer to run. --> <jenkins.version>2.235.1</jenkins.version> <java.level>8</java.level> #if( $hostOnJenkinsGitHub == "true" )<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>#end </properties> <name>TODO Plugin</name> #if( $hostOnJenkinsGitHub == "true" )<url>https://github.com/jenkinsci/${project.artifactId}-plugin</url>#end <dependencyManagement> <dependencies> <dependency> <!-- Pick up common dependencies for the selected LTS line: https://github.com/jenkinsci/bom#usage --> <groupId>io.jenkins.tools.bom</groupId> <artifactId>bom-2.235.x</artifactId> <version>16</version> <scope>import</scope> <type>pom</type> </dependency> </dependencies> </dependencyManagement> <dependencies> <dependency> <groupId>org.jenkins-ci.plugins</groupId> <artifactId>structs</artifactId> </dependency> <dependency> <groupId>org.jenkins-ci.plugins.workflow</groupId> <artifactId>workflow-cps</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.jenkins-ci.plugins.workflow</groupId> <artifactId>workflow-job</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.jenkins-ci.plugins.workflow</groupId> <artifactId>workflow-basic-steps</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.jenkins-ci.plugins.workflow</groupId> <artifactId>workflow-durable-task-step</artifactId> <scope>test</scope> </dependency> </dependencies> #if( $hostOnJenkinsGitHub == "true" )<licenses> <license> <name>MIT License</name> <url>https://opensource.org/licenses/MIT</url> </license> </licenses>#end <!-- If you want this to appear on the plugin site page: <developers> <developer> <id>bhacker</id> <name>Bob Q. Hacker</name> <email>[email protected]</email> </developer> </developers> --> #if( $hostOnJenkinsGitHub == "true" )<scm> <connection>scm:git:git://github.com/${gitHubRepo}.git</connection> <developerConnection>scm:git:[email protected]:${gitHubRepo}.git</developerConnection> <url>https://github.com/${gitHubRepo}</url> <tag>${scmTag}</tag> </scm>#end <repositories> <repository> <id>repo.jenkins-ci.org</id> <url>https://repo.jenkins-ci.org/public/</url> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>repo.jenkins-ci.org</id> <url>https://repo.jenkins-ci.org/public/</url> </pluginRepository> </pluginRepositories> </project>