github.com/noqcks/syft@v0.0.0-20230920222752-a9e2c4e288e5/syft/pkg/cataloger/java/test-fixtures/java-builds/example-jenkins-plugin/pom.xml (about) 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.46</version> 8 <relativePath /> 9 </parent> 10 <groupId>io.jenkins.plugins</groupId> 11 <artifactId>example-jenkins-plugin</artifactId> 12 <version>1.0-SNAPSHOT</version> 13 <packaging>hpi</packaging> 14 <properties> 15 <!-- Baseline Jenkins version you use to build the plugin. Users must have this version or newer to run. --> 16 <jenkins.version>2.204</jenkins.version> 17 <java.level>8</java.level> 18 <!-- Other properties you may want to use: 19 ~ jenkins-test-harness.version: Jenkins Test Harness version you use to test the plugin. For Jenkins version >= 1.580.1 use JTH 2.0 or higher. 20 ~ hpi-plugin.version: The HPI Maven Plugin version used by the plugin.. 21 ~ stapler-plugin.version: The Stapler Maven plugin version required by the plugin. 22 --> 23 </properties> 24 <name>Example Jenkins Plugin</name> 25 <!-- The default licence for Jenkins OSS Plugins is MIT. Substitute for the applicable one if needed. --> 26 <licenses> 27 <license> 28 <name>MIT License</name> 29 <url>https://opensource.org/licenses/MIT</url> 30 </license> 31 </licenses> 32 <dependencyManagement> 33 <dependencies> 34 <dependency> 35 <!-- Pick up common dependencies for 2.164.x: https://github.com/jenkinsci/bom#usage --> 36 <groupId>io.jenkins.tools.bom</groupId> 37 <artifactId>bom-2.164.x</artifactId> 38 <version>3</version> 39 <scope>import</scope> 40 <type>pom</type> 41 </dependency> 42 </dependencies> 43 </dependencyManagement> 44 <dependencies> 45 <dependency> 46 <groupId>org.jenkins-ci.plugins</groupId> 47 <artifactId>structs</artifactId> 48 </dependency> 49 <dependency> 50 <groupId>org.jenkins-ci.plugins.workflow</groupId> 51 <artifactId>workflow-cps</artifactId> 52 <scope>test</scope> 53 </dependency> 54 <dependency> 55 <groupId>org.jenkins-ci.plugins.workflow</groupId> 56 <artifactId>workflow-job</artifactId> 57 <scope>test</scope> 58 </dependency> 59 <dependency> 60 <groupId>org.jenkins-ci.plugins.workflow</groupId> 61 <artifactId>workflow-basic-steps</artifactId> 62 <scope>test</scope> 63 </dependency> 64 <dependency> 65 <groupId>org.jenkins-ci.plugins.workflow</groupId> 66 <artifactId>workflow-durable-task-step</artifactId> 67 <scope>test</scope> 68 </dependency> 69 </dependencies> 70 71 <!-- If you want this to appear on the wiki page: 72 <developers> 73 <developer> 74 <id>bhacker</id> 75 <name>Bob Q. Hacker</name> 76 <email>bhacker@nowhere.net</email> 77 </developer> 78 </developers> --> 79 80 <!-- Assuming you want to host on @jenkinsci: 81 <url>https://github.com/jenkinsci/${project.artifactId}-plugin</url> 82 <scm> 83 <connection>scm:git:git://github.com/jenkinsci/${project.artifactId}-plugin.git</connection> 84 <developerConnection>scm:git:git@github.com:jenkinsci/${project.artifactId}-plugin.git</developerConnection> 85 <url>https://github.com/jenkinsci/${project.artifactId}-plugin</url> 86 </scm> 87 --> 88 <repositories> 89 <repository> 90 <id>repo.jenkins-ci.org</id> 91 <url>https://repo.jenkins-ci.org/public/</url> 92 </repository> 93 </repositories> 94 <pluginRepositories> 95 <pluginRepository> 96 <id>repo.jenkins-ci.org</id> 97 <url>https://repo.jenkins-ci.org/public/</url> 98 </pluginRepository> 99 </pluginRepositories> 100 </project>