![JAR search and dependency download from the Maven repository](/logo.png)
archetype-resources.pom.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of global-configuration-plugin
Show all versions of global-configuration-plugin
Skeleton of a Jenkins plugin with a POM and an example piece of global configuration.
<?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.32</version> <relativePath /> </parent> <groupId>io.jenkins.plugins</groupId> <artifactId>${artifactId}</artifactId> <version>${revision}${changelist}</version> <packaging>hpi</packaging> <name>TODO Plugin</name> #if( $hostOnJenkinsGitHub == "true" )<url>https://github.com/jenkinsci/${project.artifactId}-plugin</url>#end #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 child.scm.connection.inherit.append.path="false" child.scm.developerConnection.inherit.append.path="false" child.scm.url.inherit.append.path="false"> <connection>scm:git:https://github.com/${gitHubRepo}</connection> <developerConnection>scm:git:https://github.com/${gitHubRepo}</developerConnection> <tag>${scmTag}</tag> <url>https://github.com/${gitHubRepo}</url> </scm>#end <properties> <revision>1.0</revision> <changelist>-SNAPSHOT</changelist> <jenkins.version>2.277.1</jenkins.version> <java.level>8</java.level> #if( $hostOnJenkinsGitHub == "true" )<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>#end </properties> <dependencyManagement> <dependencies> <dependency> <groupId>io.jenkins.tools.bom</groupId> <artifactId>bom-2.277.x</artifactId> <version>961.vf0c9f6f59827</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement> <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>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy