|
| 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" |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 4 | + <modelVersion>4.0.0</modelVersion> |
| 5 | + |
| 6 | + <parent> |
| 7 | + <groupId>org.jenkins-ci.plugins</groupId> |
| 8 | + <artifactId>plugin</artifactId> |
| 9 | + <version>4.77</version> |
| 10 | + <relativePath/> |
| 11 | + </parent> |
| 12 | + |
| 13 | + <groupId>io.jenkins.plugins</groupId> |
| 14 | + <artifactId>json-editor-parameter</artifactId> |
| 15 | + <version>${revision}${changelist}</version> |
| 16 | + <packaging>hpi</packaging> |
| 17 | + |
| 18 | + <name>Json Editor Parameter</name> |
| 19 | + |
| 20 | + <url>https://github.com/jenkinsci/${project.artifactId}-plugin</url> |
| 21 | + <inceptionYear>2023</inceptionYear> |
| 22 | + |
| 23 | + <licenses> |
| 24 | + <license> |
| 25 | + <name>MIT License</name> |
| 26 | + <url>https://opensource.org/license/mit/</url> |
| 27 | + </license> |
| 28 | + </licenses> |
| 29 | + |
| 30 | + <scm child.scm.connection.inherit.append.path="false" child.scm.developerConnection.inherit.append.path="false" |
| 31 | + child.scm.url.inherit.append.path="false"> |
| 32 | + <connection>scm:git:https://github.com/${gitHubRepo}</connection> |
| 33 | + <developerConnection>scm:git:https://github.com/${gitHubRepo}</developerConnection> |
| 34 | + <tag>${scmTag}</tag> |
| 35 | + <url>https://github.com/${gitHubRepo}</url> |
| 36 | + </scm> |
| 37 | + |
| 38 | + <properties> |
| 39 | + <revision>1.0</revision> |
| 40 | + <changelist>-SNAPSHOT</changelist> |
| 41 | + <maven.version>3.8.1</maven.version> |
| 42 | + |
| 43 | + <!-- https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ --> |
| 44 | + <jenkins.version>2.426.1</jenkins.version> |
| 45 | + <gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo> |
| 46 | + <spotless.check.skip>false</spotless.check.skip> |
| 47 | + </properties> |
| 48 | + |
| 49 | + <dependencyManagement> |
| 50 | + <dependencies> |
| 51 | + <dependency> |
| 52 | + <!-- Pick up common dependencies for the selected LTS line: https://github.com/jenkinsci/bom#usage --> |
| 53 | + <groupId>io.jenkins.tools.bom</groupId> |
| 54 | + <artifactId>bom-2.426.x</artifactId> |
| 55 | + <version>2746.vb_79a_1d3e7b_c8</version> |
| 56 | + <type>pom</type> |
| 57 | + <scope>import</scope> |
| 58 | + </dependency> |
| 59 | + </dependencies> |
| 60 | + </dependencyManagement> |
| 61 | + |
| 62 | + <dependencies> |
| 63 | + |
| 64 | + <dependency> |
| 65 | + <groupId>org.projectlombok</groupId> |
| 66 | + <artifactId>lombok</artifactId> |
| 67 | + <version>1.18.28</version> |
| 68 | + <scope>provided</scope> |
| 69 | + </dependency> |
| 70 | + |
| 71 | + <dependency> |
| 72 | + <groupId>org.htmlunit</groupId> |
| 73 | + <artifactId>htmlunit</artifactId> |
| 74 | + <version>3.10.0</version> |
| 75 | + <scope>test</scope> |
| 76 | + </dependency> |
| 77 | + |
| 78 | + <dependency> |
| 79 | + <groupId>org.jenkins-ci.plugins</groupId> |
| 80 | + <artifactId>pipeline-input-step</artifactId> |
| 81 | + <scope>test</scope> |
| 82 | + </dependency> |
| 83 | + |
| 84 | + <dependency> |
| 85 | + <groupId>org.jenkins-ci.plugins.workflow</groupId> |
| 86 | + <artifactId>workflow-basic-steps</artifactId> |
| 87 | + <scope>test</scope> |
| 88 | + </dependency> |
| 89 | + |
| 90 | + <dependency> |
| 91 | + <groupId>org.jenkins-ci.plugins.workflow</groupId> |
| 92 | + <artifactId>workflow-cps</artifactId> |
| 93 | + <scope>test</scope> |
| 94 | + </dependency> |
| 95 | + |
| 96 | + <dependency> |
| 97 | + <groupId>org.jenkins-ci.plugins.workflow</groupId> |
| 98 | + <artifactId>workflow-durable-task-step</artifactId> |
| 99 | + <scope>test</scope> |
| 100 | + </dependency> |
| 101 | + |
| 102 | + <dependency> |
| 103 | + <groupId>org.jenkins-ci.plugins.workflow</groupId> |
| 104 | + <artifactId>workflow-job</artifactId> |
| 105 | + <scope>test</scope> |
| 106 | + </dependency> |
| 107 | + |
| 108 | + </dependencies> |
| 109 | + |
| 110 | + <repositories> |
| 111 | + <repository> |
| 112 | + <id>repo.jenkins-ci.org</id> |
| 113 | + <url>https://repo.jenkins-ci.org/public/</url> |
| 114 | + </repository> |
| 115 | + </repositories> |
| 116 | + |
| 117 | + <pluginRepositories> |
| 118 | + <pluginRepository> |
| 119 | + <id>repo.jenkins-ci.org</id> |
| 120 | + <url>https://repo.jenkins-ci.org/public/</url> |
| 121 | + </pluginRepository> |
| 122 | + </pluginRepositories> |
| 123 | + |
| 124 | + <build> |
| 125 | + |
| 126 | + <plugins> |
| 127 | + |
| 128 | + <plugin> |
| 129 | + <groupId>com.diffplug.spotless</groupId> |
| 130 | + <artifactId>spotless-maven-plugin</artifactId> |
| 131 | + <version>2.43.0</version> |
| 132 | + <executions> |
| 133 | + <execution> |
| 134 | + <goals> |
| 135 | + <goal>apply</goal> |
| 136 | + </goals> |
| 137 | + <phase>process-sources</phase> |
| 138 | + </execution> |
| 139 | + </executions> |
| 140 | + </plugin> |
| 141 | + |
| 142 | + <plugin> |
| 143 | + <groupId>org.apache.maven.plugins</groupId> |
| 144 | + <artifactId>maven-enforcer-plugin</artifactId> |
| 145 | + <version>3.4.1</version> |
| 146 | + <executions> |
| 147 | + <execution> |
| 148 | + <id>enforce-maven</id> |
| 149 | + <goals> |
| 150 | + <goal>enforce</goal> |
| 151 | + </goals> |
| 152 | + <configuration> |
| 153 | + <rules> |
| 154 | + <requireJavaVersion> |
| 155 | + <version>[${maven.compiler.release},)</version> |
| 156 | + </requireJavaVersion> |
| 157 | + <requireMavenVersion> |
| 158 | + <version>[${maven.version},)</version> |
| 159 | + </requireMavenVersion> |
| 160 | + <dependencyConvergence/> |
| 161 | + </rules> |
| 162 | + </configuration> |
| 163 | + </execution> |
| 164 | + </executions> |
| 165 | + </plugin> |
| 166 | + |
| 167 | + <plugin> |
| 168 | + <groupId>org.apache.maven.plugins</groupId> |
| 169 | + <artifactId>maven-pmd-plugin</artifactId> |
| 170 | + <version>3.21.2</version> |
| 171 | + <configuration> |
| 172 | + <compileSourceRoots>src/main/java</compileSourceRoots> |
| 173 | + </configuration> |
| 174 | + <executions> |
| 175 | + <execution> |
| 176 | + <goals> |
| 177 | + <goal>cpd-check</goal> |
| 178 | + <goal>check</goal> |
| 179 | + </goals> |
| 180 | + <phase>process-classes</phase> |
| 181 | + </execution> |
| 182 | + </executions> |
| 183 | + </plugin> |
| 184 | + |
| 185 | + </plugins> |
| 186 | + </build> |
| 187 | + |
| 188 | +</project> |
0 commit comments