|
| 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.plugins.openstack-cloud</groupId> |
| 6 | + <artifactId>parent</artifactId> |
| 7 | + <version>${changelist}</version> |
| 8 | + </parent> |
| 9 | + |
| 10 | + <groupId>org.jenkins.plugins</groupId> |
| 11 | + <artifactId>openstack-cloud</artifactId> |
| 12 | + <version>${changelist}</version> |
| 13 | + <packaging>hpi</packaging> |
| 14 | + |
| 15 | + <name>Jenkins Openstack Cloud plugin</name> |
| 16 | + <url>https://github.com/jenkinsci/${project.artifactId}-plugin</url> |
| 17 | + |
| 18 | + <scm> |
| 19 | + <connection>scm:git:https://github.com/${gitHubRepo}.git</connection> |
| 20 | + <developerConnection>scm:git:https://github.com/${gitHubRepo}.git</developerConnection> |
| 21 | + <tag>${scmTag}</tag> |
| 22 | + <url>https://github.com/${gitHubRepo}</url> |
| 23 | + </scm> |
| 24 | + |
| 25 | + <dependencyManagement> |
| 26 | + <dependencies> |
| 27 | + <dependency> |
| 28 | + <groupId>io.jenkins.tools.bom</groupId> |
| 29 | + <artifactId>bom-${jenkins.baseline}.x</artifactId> |
| 30 | + <version>4740.v75a_90f6fefb_7</version> |
| 31 | + <type>pom</type> |
| 32 | + <scope>import</scope> |
| 33 | + </dependency> |
| 34 | + <dependency> |
| 35 | + <groupId>com.squareup.okhttp3</groupId> |
| 36 | + <artifactId>mockwebserver</artifactId> |
| 37 | + <!-- transitive dep of io.fabric8:kubernetes-server-mock, needs alignment with okhttp-api --> |
| 38 | + <version>3.14.9</version> |
| 39 | + </dependency> |
| 40 | + </dependencies> |
| 41 | + </dependencyManagement> |
| 42 | + |
| 43 | + <dependencies> |
| 44 | + <dependency> |
| 45 | + <groupId>com.github.openstack4j.core</groupId> |
| 46 | + <artifactId>openstack4j-core</artifactId> |
| 47 | + <version>${openstack4j.version}</version> |
| 48 | + </dependency> |
| 49 | + <dependency> |
| 50 | + <groupId>com.github.openstack4j.core.connectors</groupId> |
| 51 | + <artifactId>openstack4j-okhttp</artifactId> |
| 52 | + <version>${openstack4j.version}</version> |
| 53 | + </dependency> |
| 54 | + |
| 55 | + <dependency> |
| 56 | + <groupId>com.google.guava</groupId> |
| 57 | + <artifactId>guava</artifactId> |
| 58 | + <version>${guava.version}</version> |
| 59 | + </dependency> |
| 60 | + <dependency> |
| 61 | + <groupId>com.squareup.okhttp3</groupId> |
| 62 | + <artifactId>logging-interceptor</artifactId> |
| 63 | + <version>${okhttp.version}</version> |
| 64 | + </dependency> |
| 65 | + <dependency> |
| 66 | + <groupId>com.squareup.okhttp3</groupId> |
| 67 | + <artifactId>okhttp</artifactId> |
| 68 | + <version>${okhttp.version}</version> |
| 69 | + </dependency> |
| 70 | + <dependency> |
| 71 | + <groupId>io.jenkins.plugins</groupId> |
| 72 | + <artifactId>caffeine-api</artifactId> |
| 73 | + </dependency> |
| 74 | + <dependency> |
| 75 | + <groupId>org.codehaus.plexus</groupId> |
| 76 | + <artifactId>plexus-classworlds</artifactId> |
| 77 | + <version>2.4.2</version> |
| 78 | + </dependency> |
| 79 | + <dependency> |
| 80 | + <groupId>org.codehaus.plexus</groupId> |
| 81 | + <artifactId>plexus-utils</artifactId> |
| 82 | + <version>3.5.1</version> |
| 83 | + </dependency> |
| 84 | + |
| 85 | + <!-- Hardcoding upper-bound versions of dependencies --> |
| 86 | + <dependency> |
| 87 | + <groupId>org.jenkins-ci</groupId> |
| 88 | + <artifactId>annotation-indexer</artifactId> |
| 89 | + </dependency> |
| 90 | + |
| 91 | + <dependency> |
| 92 | + <groupId>org.jenkins-ci</groupId> |
| 93 | + <artifactId>symbol-annotation</artifactId> |
| 94 | + </dependency> |
| 95 | + <dependency> |
| 96 | + <groupId>org.jenkins-ci.modules</groupId> |
| 97 | + <artifactId>instance-identity</artifactId> |
| 98 | + </dependency> |
| 99 | + <dependency> |
| 100 | + <groupId>org.jenkins-ci.plugins</groupId> |
| 101 | + <artifactId>cloud-stats</artifactId> |
| 102 | + <version>377.vd8a_6c953e98e</version> |
| 103 | + </dependency> |
| 104 | + <dependency> |
| 105 | + <groupId>org.jenkins-ci.plugins</groupId> |
| 106 | + <artifactId>config-file-provider</artifactId> |
| 107 | + <version>3.7.1</version> |
| 108 | + </dependency> |
| 109 | + <dependency> |
| 110 | + <groupId>org.jenkins-ci.plugins</groupId> |
| 111 | + <artifactId>credentials</artifactId> |
| 112 | + <!-- |
| 113 | + <version>1305.v04f5ec1f3743</version> |
| 114 | + --> |
| 115 | + </dependency> |
| 116 | + <dependency> |
| 117 | + <groupId>org.jenkins-ci.plugins</groupId> |
| 118 | + <artifactId>jdk-tool</artifactId> |
| 119 | + <!-- actually used from production source of ssh-slaves so cannot be test scoped --> |
| 120 | + </dependency> |
| 121 | + <dependency> |
| 122 | + <groupId>org.jenkins-ci.plugins</groupId> |
| 123 | + <artifactId>resource-disposer</artifactId> |
| 124 | + </dependency> |
| 125 | + <dependency> |
| 126 | + <groupId>org.jenkins-ci.plugins</groupId> |
| 127 | + <artifactId>script-security</artifactId> |
| 128 | + </dependency> |
| 129 | + <dependency> |
| 130 | + <groupId>org.jenkins-ci.plugins</groupId> |
| 131 | + <artifactId>ssh-credentials</artifactId> |
| 132 | + </dependency> |
| 133 | + |
| 134 | + <!-- Jenkins plugins --> |
| 135 | + <dependency> |
| 136 | + <groupId>org.jenkins-ci.plugins</groupId> |
| 137 | + <artifactId>ssh-slaves</artifactId> |
| 138 | + </dependency> |
| 139 | + <dependency> |
| 140 | + <groupId>org.jenkins-ci.plugins.workflow</groupId> |
| 141 | + <artifactId>workflow-durable-task-step</artifactId> |
| 142 | + <optional>true</optional> |
| 143 | + </dependency> |
| 144 | + <dependency> |
| 145 | + <groupId>org.yaml</groupId> |
| 146 | + <artifactId>snakeyaml</artifactId> |
| 147 | + <version>2.2</version> |
| 148 | + </dependency> |
| 149 | + <!-- SEL --> |
| 150 | + <dependency> |
| 151 | + <groupId>jakarta.servlet</groupId> |
| 152 | + <artifactId>jakarta.servlet-api</artifactId> |
| 153 | + <version>5.0.0</version> |
| 154 | + <scope>provided</scope> |
| 155 | + </dependency> |
| 156 | + |
| 157 | + <dependency> |
| 158 | + <groupId>io.jenkins</groupId> |
| 159 | + <artifactId>configuration-as-code</artifactId> |
| 160 | + <version>1967.va_968e15fd05b_</version> |
| 161 | + <scope>test</scope> |
| 162 | + </dependency> |
| 163 | + <dependency> |
| 164 | + <groupId>io.jenkins.configuration-as-code</groupId> |
| 165 | + <artifactId>test-harness</artifactId> |
| 166 | + <version>1967.va_968e15fd05b_</version> |
| 167 | + <scope>test</scope> |
| 168 | + <exclusions> |
| 169 | + <exclusion> |
| 170 | + <groupId>org.jenkins-ci.plugins</groupId> |
| 171 | + <artifactId>jackson2-api</artifactId> |
| 172 | + </exclusion> |
| 173 | + </exclusions> |
| 174 | + </dependency> |
| 175 | + <!-- |
| 176 | + <dependency> |
| 177 | + <groupId>org.jenkins-ci.plugins</groupId> |
| 178 | + <artifactId>jackson2-api</artifactId> |
| 179 | + <version>2.13.4.20221013-295.v8e29ea_354141</version> |
| 180 | + </dependency> |
| 181 | + --> |
| 182 | + |
| 183 | + <!-- Test Dependencies --> |
| 184 | + <dependency> |
| 185 | + <groupId>org.hamcrest</groupId> |
| 186 | + <artifactId>hamcrest</artifactId> |
| 187 | + <version>2.2</version> |
| 188 | + <scope>test</scope> |
| 189 | + </dependency> |
| 190 | + |
| 191 | + <!-- Plugins split from core --> |
| 192 | + <dependency> |
| 193 | + <groupId>org.jenkins-ci.plugins</groupId> |
| 194 | + <artifactId>command-launcher</artifactId> |
| 195 | + <scope>test</scope> |
| 196 | + </dependency> |
| 197 | + <dependency> |
| 198 | + <groupId>org.jenkins-ci.plugins.workflow</groupId> |
| 199 | + <artifactId>workflow-basic-steps</artifactId> |
| 200 | + <scope>test</scope> |
| 201 | + </dependency> |
| 202 | + |
| 203 | + <dependency> |
| 204 | + <groupId>org.jenkins-ci.plugins.workflow</groupId> |
| 205 | + <artifactId>workflow-cps</artifactId> |
| 206 | + <scope>test</scope> |
| 207 | + </dependency> |
| 208 | + <dependency> |
| 209 | + <groupId>org.jenkins-ci.plugins.workflow</groupId> |
| 210 | + <artifactId>workflow-job</artifactId> |
| 211 | + <scope>test</scope> |
| 212 | + </dependency> |
| 213 | + <dependency> |
| 214 | + <groupId>org.jenkins-ci.plugins.workflow</groupId> |
| 215 | + <artifactId>workflow-support</artifactId> |
| 216 | + <classifier>tests</classifier> |
| 217 | + <scope>test</scope> |
| 218 | + </dependency> |
| 219 | + <dependency> |
| 220 | + <groupId>org.mockito</groupId> |
| 221 | + <artifactId>mockito-all</artifactId> |
| 222 | + <version>1.9.5</version> |
| 223 | + <scope>test</scope> |
| 224 | + </dependency> |
| 225 | + </dependencies> |
| 226 | + |
| 227 | + <!-- |
| 228 | + Skip the injected test to avoid: |
| 229 | + |
| 230 | + org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite(org.jvnet.hudson.test.junit.FailedTest) Time elapsed: 0.023 sec <<< ERROR! |
| 231 | +java.lang.NoClassDefFoundError: org/apache/http/cookie/CookieSpecProvider --> |
| 232 | + <build> |
| 233 | + <plugins> |
| 234 | + <plugin> |
| 235 | + <groupId>org.apache.maven.plugins</groupId> |
| 236 | + <artifactId>maven-surefire-plugin</artifactId> |
| 237 | + <configuration> |
| 238 | + <excludes> |
| 239 | + <exclude>InjectedTest.java</exclude> |
| 240 | + </excludes> |
| 241 | + <systemPropertyVariables> |
| 242 | + <hudson.slaves.NodeProvisioner.initialDelay>0</hudson.slaves.NodeProvisioner.initialDelay> |
| 243 | + <hudson.slaves.NodeProvisioner.recurrencePeriod>3000</hudson.slaves.NodeProvisioner.recurrencePeriod> |
| 244 | + <org.jenkinsci.plugins.workflow.support.pickles.ExecutorPickle.timeoutForNodeMillis>60000</org.jenkinsci.plugins.workflow.support.pickles.ExecutorPickle.timeoutForNodeMillis> |
| 245 | + <!-- have pods connect to this address for Jenkins --> |
| 246 | + <jenkins.host.address>${jenkins.host.address}</jenkins.host.address> |
| 247 | + <slaveAgentPort>${slaveAgentPort}</slaveAgentPort> |
| 248 | + </systemPropertyVariables> |
| 249 | + </configuration> |
| 250 | + </plugin> |
| 251 | + <plugin> |
| 252 | + <groupId>org.jenkins-ci.tools</groupId> |
| 253 | + <artifactId>maven-hpi-plugin</artifactId> |
| 254 | + <version>3.65</version> |
| 255 | + <configuration> |
| 256 | + <systemProperties> |
| 257 | + <hudson.slaves.NodeProvisioner.initialDelay>0</hudson.slaves.NodeProvisioner.initialDelay> |
| 258 | + <hudson.slaves.NodeProvisioner.MARGIN>50</hudson.slaves.NodeProvisioner.MARGIN> |
| 259 | + <hudson.slaves.NodeProvisioner.MARGIN0>0.85</hudson.slaves.NodeProvisioner.MARGIN0> |
| 260 | + <jenkins.host.address>${jenkins.host.address}</jenkins.host.address> |
| 261 | + <port>${port}</port> |
| 262 | + </systemProperties> |
| 263 | + </configuration> |
| 264 | + </plugin> |
| 265 | + <plugin> |
| 266 | + <artifactId>maven-enforcer-plugin</artifactId> |
| 267 | + <executions> |
| 268 | + <execution> |
| 269 | + <id>enforce-okhttp-consistency</id> |
| 270 | + <goals> |
| 271 | + <goal>enforce</goal> |
| 272 | + </goals> |
| 273 | + <configuration> |
| 274 | + <rules> |
| 275 | + <requireSameVersions> |
| 276 | + <dependencies> |
| 277 | + <dependency>com.squareup.okhttp3:mockwebserver</dependency> |
| 278 | + <dependency>com.squareup.okhttp3:okhttp:jar</dependency> |
| 279 | + <dependency>com.squareup.okhttp3:logging-interceptor</dependency> |
| 280 | + </dependencies> |
| 281 | + </requireSameVersions> |
| 282 | + </rules> |
| 283 | + </configuration> |
| 284 | + </execution> |
| 285 | + </executions> |
| 286 | + </plugin> |
| 287 | + </plugins> |
| 288 | + </build> |
| 289 | + |
| 290 | +</project> |
0 commit comments