pom.xml 28.5 KB
Newer Older
1
<?xml version="1.0" encoding="UTF-8"?>
K
kohsuke 已提交
2 3 4
<!--
The MIT License

5 6
Copyright (c) 2004-2010, Sun Microsystems, Inc., Kohsuke Kawaguchi,
Daniel Dyer, Erik Ramfelt, Stephen Connolly, Tom Huybrechts, Alan Harder
K
kohsuke 已提交
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
-->
K
TAB->WS  
kohsuke 已提交
26 27
<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>
28

K
TAB->WS  
kohsuke 已提交
29
  <parent>
30
    <groupId>org.jenkins-ci.main</groupId>
31
    <artifactId>jenkins-parent</artifactId>
32
    <version>${revision}${changelist}</version>
K
TAB->WS  
kohsuke 已提交
33
  </parent>
34

K
Kohsuke Kawaguchi 已提交
35
  <artifactId>jenkins-core</artifactId>
36

37
  <name>Jenkins core</name>
38
  <description>Jenkins core code and view files to render HTML.</description>
39

40 41
  <properties>
    <staplerFork>true</staplerFork>
42
    <stapler.version>1.257-JEP-216-SNAPSHOT</stapler.version>
J
Jesse Glick 已提交
43
    <spring.version>2.5.6.SEC03</spring.version>
44
    <groovy.version>2.4.12</groovy.version>
45
  </properties>
46

K
TAB->WS  
kohsuke 已提交
47 48
  <dependencies>
    <dependency>
49 50
      <groupId>org.jenkins-ci.plugins.icon-shim</groupId>
      <artifactId>icon-set</artifactId>
51
      <version>1.0.5</version>
T
tfennelly 已提交
52 53 54
    </dependency>
    <dependency>
      <groupId>${project.groupId}</groupId>
K
TAB->WS  
kohsuke 已提交
55
      <artifactId>remoting</artifactId>
56
      <!-- specified in the parent -->
K
TAB->WS  
kohsuke 已提交
57
    </dependency>
58 59 60 61 62
    <dependency>
      <groupId>${project.groupId}</groupId>
      <artifactId>cli</artifactId>
      <version>${project.version}</version>
    </dependency>
63 64 65
    <dependency>
      <groupId>org.jenkins-ci</groupId>
      <artifactId>version-number</artifactId>
66
      <version>1.6</version>
67
    </dependency>
K
kohsuke 已提交
68
    <dependency>
69
      <groupId>org.jenkins-ci</groupId>
70
      <artifactId>crypto-util</artifactId>
71
      <version>1.1</version>
72 73 74
    </dependency>
    <dependency>
      <groupId>org.jvnet.hudson</groupId>
K
kohsuke 已提交
75 76
      <artifactId>jtidy</artifactId>
      <version>4aug2000r7-dev-hudson-1</version>
77 78 79 80 81 82
      <exclusions>
        <exclusion>
          <groupId>jdom</groupId>
          <artifactId>jdom</artifactId>
        </exclusion>
      </exclusions>
83
    </dependency>
84

85 86 87 88
    <dependency><!-- working around MCOMPILER-97 -->
      <groupId>org.jenkins-ci</groupId>
      <artifactId>core-annotation-processors</artifactId>
      <version>1.0</version>
89
      <scope>provided</scope>
90 91 92
      <optional>true</optional>
    </dependency>

K
Kohsuke Kawaguchi 已提交
93
    <dependency>
K
Kohsuke Kawaguchi 已提交
94
      <groupId>com.google.inject</groupId>
K
Kohsuke Kawaguchi 已提交
95
      <artifactId>guice</artifactId>
96 97 98 99 100 101
      <exclusions>
        <exclusion> <!-- TODO it seems to want Guava 16; apparently it manages to run against 11 -->
          <groupId>com.google.guava</groupId>
          <artifactId>guava</artifactId>
        </exclusion>
      </exclusions>
102
    </dependency>
K
Kohsuke Kawaguchi 已提交
103

104
    <dependency> <!-- for compatibility only; all new code should use JNR -->
K
kohsuke 已提交
105 106
      <groupId>org.jruby.ext.posix</groupId>
      <artifactId>jna-posix</artifactId>
107
      <version>1.0.3-jenkins-1</version>
K
kohsuke 已提交
108
    </dependency>
109 110 111
    <dependency>
      <groupId>com.github.jnr</groupId>
      <artifactId>jnr-posix</artifactId>
112
      <version>3.0.45</version>
113
    </dependency>
K
kohsuke 已提交
114 115 116
    <dependency>
      <groupId>org.kohsuke</groupId>
      <artifactId>trilead-putty-extension</artifactId>
117
      <version>1.2</version>
K
kohsuke 已提交
118
    </dependency>
119
    <dependency>
120
      <groupId>org.jenkins-ci</groupId>
121
      <artifactId>trilead-ssh2</artifactId>
122
      <version>build-217-jenkins-14</version>
123
    </dependency>
K
TAB->WS  
kohsuke 已提交
124 125
    <dependency>
      <groupId>org.kohsuke.stapler</groupId>
126
      <artifactId>stapler-groovy</artifactId>
K
Kohsuke Kawaguchi 已提交
127
      <version>${stapler.version}</version>
128 129 130 131 132 133 134 135 136
      <exclusions>
        <exclusion>
          <groupId>commons-jelly</groupId>
          <artifactId>commons-jelly</artifactId>
        </exclusion>
        <exclusion>
          <groupId>commons-jexl</groupId>
          <artifactId>commons-jexl</artifactId>
        </exclusion>
137 138 139 140
        <exclusion>
          <groupId>org.jvnet.hudson</groupId>
          <artifactId>commons-jexl</artifactId>
        </exclusion>
141 142 143 144 145
        <exclusion>
          <!-- we bundle groovy-all -->
          <groupId>org.codehaus.groovy</groupId>
          <artifactId>groovy</artifactId>
        </exclusion>
146
      </exclusions>
K
TAB->WS  
kohsuke 已提交
147
    </dependency>
K
Kohsuke Kawaguchi 已提交
148 149 150 151 152
    <dependency>
      <groupId>org.kohsuke.stapler</groupId>
      <artifactId>stapler-jrebel</artifactId>
      <version>${stapler.version}</version>
    </dependency>
153 154 155
    <dependency>
      <groupId>org.kohsuke</groupId>
      <artifactId>windows-package-checker</artifactId>
156
      <version>1.2</version>
157
    </dependency>
158 159 160
    <dependency>
      <groupId>org.kohsuke.stapler</groupId>
      <artifactId>stapler-adjunct-zeroclipboard</artifactId>
K
Kohsuke Kawaguchi 已提交
161
      <version>1.3.5-1</version>
162
    </dependency>
163 164 165
    <dependency>
      <groupId>org.kohsuke.stapler</groupId>
      <artifactId>stapler-adjunct-timeline</artifactId>
D
Daniel Beck 已提交
166
      <version>1.5</version>
167
    </dependency>
168 169 170
    <dependency>
      <groupId>org.kohsuke.stapler</groupId>
      <artifactId>stapler-adjunct-codemirror</artifactId>
K
Kohsuke Kawaguchi 已提交
171
      <version>1.3</version>
172
    </dependency>
173
    <dependency><!-- this helps us see the source code of the control while we edit Jenkins. -->
174 175
      <groupId>org.kohsuke.stapler</groupId>
      <artifactId>stapler-adjunct-timeline</artifactId>
176
      <version>1.4</version>
177 178 179
      <classifier>tests</classifier>
      <scope>test</scope>
    </dependency>
D
Daniel Beck 已提交
180 181 182 183 184
    <dependency>
      <groupId>io.jenkins.stapler</groupId>
      <artifactId>jenkins-stapler-support</artifactId>
      <version>1.0</version>
    </dependency>
185 186 187 188 189 190
    <dependency>
      <groupId>org.hamcrest</groupId>
      <artifactId>hamcrest-library</artifactId>
      <version>1.3</version>
      <scope>test</scope>
    </dependency>
191

192
    <dependency>
193
      <groupId>com.infradna.tool</groupId>
194
      <artifactId>bridge-method-annotation</artifactId>
K
Kohsuke Kawaguchi 已提交
195
      <version>1.13</version>
196 197
    </dependency>

198 199 200
    <dependency><!-- until we get this version through Stapler -->
      <groupId>org.kohsuke.stapler</groupId>
      <artifactId>json-lib</artifactId>
201
      <version>2.4-jenkins-2</version>
202 203
    </dependency>
    <dependency>
204 205
      <groupId>commons-httpclient</groupId>
      <artifactId>commons-httpclient</artifactId>
206
    </dependency>
207
    <dependency><!-- JENKINS-21160: remoting also depends on args4j, please update accordingly -->
208 209
      <groupId>args4j</groupId>
      <artifactId>args4j</artifactId>
210
      <version>2.0.31</version>
211
    </dependency>
212
    <dependency>
J
Jesse Glick 已提交
213
      <groupId>org.jenkins-ci</groupId>
214
      <artifactId>annotation-indexer</artifactId>
K
kohsuke 已提交
215 216
    </dependency>
    <dependency>
K
Kohsuke Kawaguchi 已提交
217 218
      <groupId>org.jenkins-ci</groupId>
      <artifactId>bytecode-compatibility-transformer</artifactId>
219
      <version>2.0-beta-2</version>
K
Kohsuke Kawaguchi 已提交
220 221
    </dependency>
    <dependency>
222
      <groupId>org.jenkins-ci</groupId>
K
kohsuke 已提交
223
      <artifactId>task-reactor</artifactId>
224
      <version>1.5</version>
225
    </dependency>
K
kohsuke 已提交
226 227 228
    <dependency>
      <groupId>org.jvnet.localizer</groupId>
      <artifactId>localizer</artifactId>
D
Daniel Beck 已提交
229
      <version>1.26</version>
K
kohsuke 已提交
230
    </dependency>
K
kohsuke 已提交
231 232 233 234 235 236
    <dependency>
      <groupId>antlr</groupId>
      <artifactId>antlr</artifactId>
      <version>2.7.6</version>
    </dependency>
    <dependency>
237
      <groupId>org.jvnet.hudson</groupId>
K
kohsuke 已提交
238
      <artifactId>xstream</artifactId>
K
Kohsuke Kawaguchi 已提交
239
      <version>1.4.7-jenkins-1</version>
K
Kohsuke Kawaguchi 已提交
240 241 242 243 244 245 246 247 248 249
      <exclusions>
        <exclusion>
          <groupId>xmlpull</groupId>
          <artifactId>xmlpull</artifactId>
        </exclusion>
        <exclusion>
          <groupId>xpp3</groupId>
          <artifactId>xpp3_min</artifactId>
        </exclusion>
      </exclusions>
K
kohsuke 已提交
250
    </dependency>
251 252 253 254
    <!--
    still including the xpp3 driver to ensure backwards compatibilty
    for other plugins that may be depending on it
    -->
255 256 257 258 259
    <dependency>
      <groupId>xpp3</groupId>
      <artifactId>xpp3</artifactId>
      <version>1.1.4c</version>
    </dependency>
260
    <dependency>
261 262 263
      <groupId>net.sf.kxml</groupId>
      <artifactId>kxml2</artifactId>
      <version>2.3.0</version>
264
    </dependency>
K
kohsuke 已提交
265 266 267
    <dependency>
      <groupId>jfree</groupId>
      <artifactId>jfreechart</artifactId>
268
      <version>1.0.9</version>
K
kohsuke 已提交
269 270
    </dependency>
    <dependency>
271
      <groupId>org.apache.ant</groupId>
K
kohsuke 已提交
272 273 274 275
      <artifactId>ant</artifactId>
    </dependency>
    <dependency>
      <groupId>javax.servlet</groupId>
K
Kohsuke Kawaguchi 已提交
276 277
      <artifactId>javax.servlet-api</artifactId>
      <version>3.1.0</version>
278
      <scope>provided</scope>
K
kohsuke 已提交
279 280 281 282 283
    </dependency>
    <dependency>
      <groupId>commons-io</groupId>
      <artifactId>commons-io</artifactId>
    </dependency>
284 285 286 287
    <dependency><!-- hudson doesn't use this directly, but some plugins wanted to use the latest -->
      <groupId>commons-lang</groupId>
      <artifactId>commons-lang</artifactId>
    </dependency>
K
kohsuke 已提交
288 289 290
    <dependency>
      <groupId>commons-digester</groupId>
      <artifactId>commons-digester</artifactId>
291
      <version>2.1</version>
292 293 294 295 296 297
      <exclusions>
        <exclusion>
          <groupId>xml-apis</groupId>
          <artifactId>xml-apis</artifactId>
        </exclusion>
      </exclusions>
K
kohsuke 已提交
298
    </dependency>
K
kohsuke 已提交
299 300 301 302 303 304 305
    <dependency>
      <!--
        The version included in the transitive dependency doesn't have the source zip,
        so explicitly using the newer version.
      -->
      <groupId>commons-beanutils</groupId>
      <artifactId>commons-beanutils</artifactId>
306
      <version>1.8.3</version>
K
kohsuke 已提交
307
    </dependency>
308 309 310
    <dependency>
        <groupId>org.apache.commons</groupId>
        <artifactId>commons-compress</artifactId>
K
Kanstantsin Shautsou 已提交
311
        <version>1.10</version>
312
    </dependency>
K
kohsuke 已提交
313
    <dependency>
K
kohsuke 已提交
314 315
      <groupId>javax.mail</groupId>
      <artifactId>mail</artifactId>
316
      <version>1.4.4</version>
317 318 319 320 321 322
      <exclusions>
        <exclusion><!-- using a patched version -->
          <groupId>javax.activation</groupId>
          <artifactId>activation</artifactId>
        </exclusion>
      </exclusions>
K
kohsuke 已提交
323 324
    </dependency>
    <dependency>
325
      <groupId>org.jvnet.hudson</groupId>
K
kohsuke 已提交
326
      <artifactId>activation</artifactId>
327
      <version>1.1.1-hudson-1</version>
K
kohsuke 已提交
328
    </dependency>
329 330 331 332
    <dependency>
      <groupId>jaxen</groupId>
      <artifactId>jaxen</artifactId>
      <version>1.1-beta-11</version>
K
kohsuke 已提交
333 334 335 336 337
      <exclusions>
        <exclusion>
          <groupId>dom4j</groupId>
          <artifactId>dom4j</artifactId>
        </exclusion>
338 339 340 341
        <exclusion>
          <groupId>xom</groupId>
          <artifactId>xom</artifactId>
        </exclusion>
342 343 344 345 346 347 348 349 350 351 352 353
        <exclusion>
          <groupId>xml-apis</groupId>
          <artifactId>xml-apis</artifactId>
        </exclusion>
        <exclusion>
          <groupId>xerces</groupId>
          <artifactId>xercesImpl</artifactId>
        </exclusion>
        <exclusion>
          <groupId>jdom</groupId>
          <artifactId>jdom</artifactId>
        </exclusion>
K
kohsuke 已提交
354
      </exclusions>
355
    </dependency>
K
kohsuke 已提交
356 357 358 359 360 361 362 363 364
    <dependency>
      <groupId>commons-jelly</groupId>
      <artifactId>commons-jelly-tags-fmt</artifactId>
      <version>1.0</version>
    </dependency>
    <dependency>
      <groupId>commons-jelly</groupId>
      <artifactId>commons-jelly-tags-xml</artifactId>
      <version>1.1</version>
365 366 367 368 369 370 371 372 373 374 375 376 377
      <exclusions>
        <exclusion>
          <groupId>commons-jelly</groupId>
          <artifactId>commons-jelly</artifactId>
        </exclusion>
        <exclusion>
          <groupId>commons-jexl</groupId>
          <artifactId>commons-jexl</artifactId>
        </exclusion>
        <exclusion>
          <groupId>commons-jelly</groupId>
          <artifactId>commons-jelly-tags-junit</artifactId>
        </exclusion>
378 379 380 381
        <exclusion>
          <groupId>xml-apis</groupId>
          <artifactId>xml-apis</artifactId>
        </exclusion>
382 383 384 385
        <exclusion>
          <groupId>xalan</groupId>
          <artifactId>xalan</artifactId>
        </exclusion>
386 387 388 389 390 391 392 393
        <exclusion>
          <groupId>xerces</groupId>
          <artifactId>xercesImpl</artifactId>
        </exclusion>
        <exclusion>
          <groupId>dom4j</groupId>
          <artifactId>dom4j</artifactId>
        </exclusion>
394
      </exclusions>
K
kohsuke 已提交
395 396
    </dependency>
    <dependency>
397
      <groupId>org.jvnet.hudson</groupId>
K
kohsuke 已提交
398
      <artifactId>commons-jelly-tags-define</artifactId>
399
      <version>1.0.1-hudson-20071021</version>
400 401 402 403 404 405 406 407 408
      <exclusions>
        <exclusion>
          <groupId>dom4j</groupId>
          <artifactId>dom4j</artifactId>
        </exclusion>
        <exclusion>
          <groupId>commons-cli</groupId>
          <artifactId>commons-cli</artifactId>
        </exclusion>
P
Paul Weiss 已提交
409 410 411 412
        <exclusion>
          <groupId>org.jvnet.hudson</groupId>
          <artifactId>commons-jelly</artifactId>
        </exclusion>
413
      </exclusions>
K
kohsuke 已提交
414 415
    </dependency>
    <dependency>
416
      <groupId>org.jenkins-ci</groupId>
K
kohsuke 已提交
417
      <artifactId>commons-jexl</artifactId>
418
      <version>1.1-jenkins-20111212</version>
K
kohsuke 已提交
419
    </dependency>
K
kohsuke 已提交
420
    <dependency>
421 422
      <groupId>org.acegisecurity</groupId>
      <artifactId>acegi-security</artifactId>
423
      <version>1.0.7</version>
K
kohsuke 已提交
424
      <exclusions>
K
kohsuke 已提交
425
        <exclusion>
426 427
          <groupId>org.springframework</groupId>
          <artifactId>spring-remoting</artifactId>
K
kohsuke 已提交
428
        </exclusion>
429 430 431 432
        <exclusion>
          <groupId>org.springframework</groupId>
          <artifactId>spring-support</artifactId>
        </exclusion>
K
kohsuke 已提交
433
      </exclusions>
K
kohsuke 已提交
434
    </dependency>
435
    <dependency>
436
      <groupId>org.codehaus.groovy</groupId>
437
      <artifactId>groovy-all</artifactId>
438
      <version>${groovy.version}</version>
K
Kohsuke Kawaguchi 已提交
439
    </dependency>
440
    <dependency><!-- groovy shell uses this but uses an optional dependency -->
K
Kohsuke Kawaguchi 已提交
441 442
      <groupId>jline</groupId>
      <artifactId>jline</artifactId>
D
Daniel Spilker 已提交
443
      <version>2.12</version>
K
Kohsuke Kawaguchi 已提交
444
      <scope>compile</scope>
445
    </dependency>
446 447 448
    <dependency><!-- groovy shell uses this but it doesn't declare this dependency -->
      <groupId>org.fusesource.jansi</groupId>
      <artifactId>jansi</artifactId>
D
Daniel Spilker 已提交
449
      <version>1.11</version>
450
    </dependency>
451 452 453 454 455 456
    <dependency>
      <!--
        for Grails spring bean builder.
        Ideally we should be able to modify BeanBuilder so as not to depend on this.
      -->
      <groupId>org.springframework</groupId>
J
Jesse Glick 已提交
457 458
      <artifactId>spring-webmvc</artifactId>
      <version>${spring.version}</version>
459 460 461 462
    </dependency>
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-core</artifactId>
J
Jesse Glick 已提交
463
      <version>${spring.version}</version>
464
    </dependency>
465
    <dependency><!-- Jenkins core doesn't use it but HUDSON-3811 requires us to put it. -->
466 467
      <groupId>org.springframework</groupId>
      <artifactId>spring-aop</artifactId>
J
Jesse Glick 已提交
468
      <version>${spring.version}</version>
469
    </dependency>
K
kohsuke 已提交
470 471
    <dependency>
      <groupId>junit</groupId>
J
Jesse Glick 已提交
472
      <artifactId>junit</artifactId>
K
Kohsuke Kawaguchi 已提交
473
      <scope>test</scope>
K
kohsuke 已提交
474
    </dependency>
O
OHTAKE Tomohiro 已提交
475 476 477 478 479
    <dependency>
      <groupId>org.mockito</groupId>
      <artifactId>mockito-core</artifactId>
      <scope>test</scope>
    </dependency>
480 481 482 483 484 485 486
    <dependency>
      <groupId>org.powermock</groupId>
      <artifactId>powermock-module-junit4</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.powermock</groupId>
487
      <artifactId>powermock-api-mockito2</artifactId>
488 489
      <scope>test</scope>
    </dependency>
K
kohsuke 已提交
490
    <dependency><!-- needed by Jelly -->
491 492 493
      <groupId>javax.servlet.jsp.jstl</groupId>
      <artifactId>javax.servlet.jsp.jstl-api</artifactId>
      <version>1.2.1</version>
K
kohsuke 已提交
494
    </dependency>
495
    <dependency>
496 497
      <groupId>org.slf4j</groupId>
      <artifactId>jcl-over-slf4j</artifactId>
498
    </dependency>
499 500 501
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>log4j-over-slf4j</artifactId>
502
    </dependency>
503 504 505 506 507
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-jdk14</artifactId>
      <scope>test</scope>
    </dependency>
508 509 510
    <dependency>
      <groupId>com.sun.xml.txw2</groupId>
      <artifactId>txw2</artifactId>
511
      <version>20110809</version>
512
    </dependency>
513 514 515
    <dependency>
      <groupId>commons-collections</groupId>
      <artifactId>commons-collections</artifactId>
516
      <version>3.2.2</version>
517
    </dependency>
518 519 520
    <dependency>
      <groupId>org.jvnet.winp</groupId>
      <artifactId>winp</artifactId>
521
      <version>1.27</version>
522
    </dependency>
523
    <dependency>
524
      <groupId>org.jenkins-ci</groupId>
525
      <artifactId>memory-monitor</artifactId>
526
      <version>1.9</version>
527
    </dependency>
528 529 530
    <dependency><!-- StAX implementation. See HUDSON-2547. -->
      <groupId>org.codehaus.woodstox</groupId>
      <artifactId>wstx-asl</artifactId>
531
      <version>3.2.9</version>
532
    </dependency>
533
    <dependency>
534
      <groupId>org.jenkins-ci</groupId>
535
      <artifactId>jmdns</artifactId>
536
      <version>3.4.0-jenkins-3</version>
537
    </dependency>
538 539 540
    <dependency>
      <groupId>net.java.dev.jna</groupId>
      <artifactId>jna</artifactId>
541
      <version>4.5.2</version>
542
    </dependency>
543
    <dependency>
544
      <groupId>org.kohsuke</groupId>
545
      <artifactId>akuma</artifactId>
546
      <version>1.10</version>
547
    </dependency>
548 549 550
    <dependency>
      <groupId>org.kohsuke</groupId>
      <artifactId>libpam4j</artifactId>
551
      <version>1.11</version>
552
    </dependency>
553
    <dependency>
554
      <groupId>org.kohsuke</groupId>
555
      <artifactId>libzfs</artifactId>
556
      <version>0.8</version>
557 558 559 560
    </dependency>
    <dependency>
      <groupId>com.sun.solaris</groupId>
      <artifactId>embedded_su4j</artifactId>
K
bug fix  
kohsuke 已提交
561
      <version>1.1</version>
562
    </dependency>
563 564 565
    <dependency>
      <groupId>net.java.sezpoz</groupId>
      <artifactId>sezpoz</artifactId>
566
      <version>1.13</version>
567
    </dependency>
568
    <dependency>
J
Jesse Glick 已提交
569 570 571
      <groupId>org.kohsuke.jinterop</groupId>
      <artifactId>j-interop</artifactId>
      <version>2.0.6-kohsuke-1</version>
572
    </dependency>
573 574 575
    <dependency>
      <groupId>org.kohsuke.metainf-services</groupId>
      <artifactId>metainf-services</artifactId>
576
      <version>1.8</version>
577 578
      <optional>true</optional>
    </dependency>
579 580 581
    <dependency>
      <groupId>org.jvnet.robust-http-client</groupId>
      <artifactId>robust-http-client</artifactId>
582
      <version>1.2</version>
583
    </dependency>
584 585 586
    <dependency>
      <groupId>org.jenkins-ci</groupId>
      <artifactId>symbol-annotation</artifactId>
K
Kohsuke Kawaguchi 已提交
587
      <version>1.1</version>
588
    </dependency>
K
kohsuke 已提交
589

J
Jesse Glick 已提交
590
    <dependency>
K
...  
kohsuke 已提交
591 592 593 594
      <groupId>commons-codec</groupId>
      <artifactId>commons-codec</artifactId>
    </dependency>

K
kohsuke 已提交
595 596 597 598 599
    <dependency>
      <groupId>org.kohsuke</groupId>
      <artifactId>access-modifier-annotation</artifactId>
    </dependency>

K
Kohsuke Kawaguchi 已提交
600
    <dependency>
601
      <groupId>com.google.code.findbugs</groupId>
K
Kohsuke Kawaguchi 已提交
602 603 604 605
      <artifactId>annotations</artifactId>
      <scope>provided</scope>
    </dependency>

K
Kohsuke Kawaguchi 已提交
606 607 608
    <dependency>
      <groupId>commons-fileupload</groupId>
      <artifactId>commons-fileupload</artifactId>
609
      <version>1.3.1-jenkins-2</version> 
610 611
    </dependency>

612 613 614 615 616 617 618 619
    <!-- offline profiler API to put in the classpath if we need it -->
    <!--dependency>
      <groupId>com.yourkit.api</groupId>
      <artifactId>yjp</artifactId>
      <version>dontcare</version>
      <scope>system</scope>
      <systemPath>/usr/local/yjp/lib/yjp.jar</systemPath>
    </dependency-->
K
Kohsuke Kawaguchi 已提交
620

621 622 623
    <dependency>
      <groupId>com.google.guava</groupId>
      <artifactId>guava</artifactId>
624 625 626 627 628 629
      <exclusions>
        <exclusion> <!-- pick up from Stapler -->
          <groupId>com.google.code.findbugs</groupId>
          <artifactId>jsr305</artifactId>
        </exclusion>
      </exclusions>
630 631 632 633 634 635
    </dependency>
    <dependency>
      <groupId>com.google.guava</groupId>
      <artifactId>guava-testlib</artifactId>
      <scope>test</scope>
    </dependency>
636
    <!-- Overriding Stapler’s 1.1.3 version to diagnose JENKINS-20618: -->
637 638 639
    <dependency>
      <groupId>com.jcraft</groupId>
      <artifactId>jzlib</artifactId>
K
Kohsuke Kawaguchi 已提交
640
      <version>1.1.3-kohsuke-1</version>
641
    </dependency>
K
kohsuke 已提交
642
  </dependencies>
K
kohsuke 已提交
643

644 645
  <build>
    <plugins>
646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664
        <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>build-helper-maven-plugin</artifactId>
         <executions>
             <execution>
                 <id>add-source</id>
                 <phase>generate-sources</phase>
                 <goals>
                     <goal>add-source</goal>
                 </goals>
                 <configuration>
                     <sources>
                         <source>${project.build.directory}/generated-sources/antlr</source>
                         <source>${project.build.directory}/generated-sources/localizer</source>
                         <source>${project.build.directory}/generated-sources/taglib-interface</source>
                     </sources>
                 </configuration>
             </execution>
         </executions>
665
      </plugin>
666 667 668 669 670 671 672
      <plugin>
        <groupId>org.jenkins-ci.tools</groupId>
        <artifactId>maven-hpi-plugin</artifactId>
        <executions>
          <execution>
            <goals>
              <goal>generate-taglib-interface</goal>
J
Jesse Glick 已提交
673
              <goal>record-core-location</goal>
674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.jvnet.hudson.tools</groupId>
        <artifactId>maven-encoding-plugin</artifactId>
        <!-- version specified in grandparent pom -->
        <executions>
          <execution>
            <goals>
              <goal>check-encoding</goal>
            </goals>
            <phase>compile</phase>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>com.infradna.tool</groupId>
        <artifactId>bridge-method-injector</artifactId>
        <executions>
          <execution>
            <goals>
              <goal>process</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.kohsuke.stapler</groupId>
        <artifactId>maven-stapler-plugin</artifactId>
        <!-- version specified in grandparent pom -->
        <configuration>
          <fork>${staplerFork}</fork><!-- the source code is big enough now that otherwise it fails with OutOfMemoryError -->
          <maxmem>128m</maxmem>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.jvnet.localizer</groupId>
        <artifactId>maven-localizer-plugin</artifactId>
        <!-- version specified in grandparent pom -->
        <executions>
          <execution>
            <goals>
              <goal>generate</goal>
            </goals>
            <configuration>
              <fileMask>Messages.properties</fileMask>
              <outputDirectory>target/generated-sources/localizer</outputDirectory>
723
              <accessModifierAnnotations>true</accessModifierAnnotations>
724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.kohsuke</groupId>
        <artifactId>access-modifier-checker</artifactId>
        <executions>
          <execution>
            <goals>
              <goal>enforce</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>antlr-maven-plugin</artifactId>
        <!-- version specified in grandparent pom -->
        <executions>
          <execution>
            <id>cron</id>
            <goals>
              <goal>generate</goal>
            </goals>
            <configuration>
              <sourceDirectory>${basedir}/src/main/grammar</sourceDirectory>
              <grammars>crontab.g</grammars>
            </configuration>
          </execution>
          <execution>
            <id>labelExpr</id>
            <goals>
              <goal>generate</goal>
            </goals>
            <configuration>
              <sourceDirectory>${basedir}/src/main/grammar</sourceDirectory>
              <grammars>labelExpr.g</grammars>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
767
        <artifactId>maven-dependency-plugin</artifactId>
768 769
        <executions>
          <execution>
770
            <id>winsw</id>
771 772
            <phase>generate-resources</phase>
            <goals>
773 774
              <!-- we use copy as this is a dependency from outside the reactor -->
              <goal>copy</goal>
775
            </goals>
776 777 778 779 780
            <configuration>
              <artifactItems>
                <artifactItem>
                  <groupId>com.sun.winsw</groupId>
                  <artifactId>winsw</artifactId>
781
                  <version>2.2.0</version>
782 783 784 785 786 787 788
                  <classifier>bin</classifier>
                  <type>exe</type>
                  <outputDirectory>${project.build.outputDirectory}/windows-service</outputDirectory>
                  <destFileName>jenkins.exe</destFileName>
                </artifactItem>
              </artifactItems>
            </configuration>
789 790 791
          </execution>
        </executions>
      </plugin>
792 793 794 795 796
      <plugin>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
          <forkCount>0.5C</forkCount>
          <reuseForks>true</reuseForks>
B
Baptiste Mathus 已提交
797
          <argLine>-noverify</argLine> <!-- some versions of JDK7/8 causes VerifyError during mock tests: http://code.google.com/p/powermock/issues/detail?id=504 -->
798 799
        </configuration>
      </plugin>
800 801 802 803 804 805 806 807 808 809 810 811 812
      <plugin><!-- set main class -->
        <artifactId>maven-jar-plugin</artifactId>
        <!-- version specified in grandparent pom -->
        <configuration>
          <archive>
            <manifest>
              <mainClass>hudson.Main</mainClass>
              <addClasspath>true</addClasspath>
              <classpathPrefix />
            </manifest>
          </archive>
        </configuration>
      </plugin>
813 814 815 816
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>findbugs-maven-plugin</artifactId>
      </plugin>
817 818 819
    </plugins>
  </build>

K
kohsuke 已提交
820 821 822 823 824
  <reporting>
    <plugins>
      <plugin><!-- generate Jelly tag lib documentation -->
        <groupId>org.kohsuke.stapler</groupId>
        <artifactId>maven-stapler-plugin</artifactId>
J
Jesse Glick 已提交
825
        <version>${maven-stapler-plugin.version}</version>
K
kohsuke 已提交
826 827 828 829 830 831 832 833
        <configuration>
          <patterns>
            <pattern>/lib/.*</pattern>
          </patterns>
        </configuration>
      </plugin>
      <plugin><!-- skip slow dependency analysis -->
        <artifactId>maven-project-info-reports-plugin</artifactId>
C
Christoph Kutzinski 已提交
834
        <version>2.6</version>
K
kohsuke 已提交
835 836 837
        <configuration>
          <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
        </configuration>
838
      </plugin>
K
kohsuke 已提交
839 840
    </plugins>
  </reporting>
841 842 843 844 845 846 847 848 849 850 851 852 853 854

  <profiles>
    <profile>
      <id>debug</id>
      <activation>
        <activeByDefault>true</activeByDefault>
      </activation>
    </profile>
    <profile>
      <id>release</id>
      <build>
        <plugins>
          <plugin>
            <!--
855
              generate jelly taglib docs from src/main/resources.
856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878
              this is necessary in addition to the <reporting> configuration
              to get the results deployed.
            -->
            <groupId>org.kohsuke.stapler</groupId>
            <artifactId>maven-stapler-plugin</artifactId>
            <!-- version specified in grandparent pom -->
            <executions>
              <execution>
                <goals>
                  <goal>jelly-taglibdoc</goal>
                </goals>
                <configuration>
                  <patterns>
                    <pattern>/lib/.*</pattern>
                  </patterns>
                </configuration>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
    <profile>
879
      <!-- Run FindBugs for better error detection. Run as "mvn -Pfindbugs install site". -->
880
      <!-- FindBugs has been moved to the default build flow, but here we fail the build on errors-->
881
      <id>findbugs</id>
882 883 884 885
      <properties>
        <!-- In the default profile we always fail the build if there FindBugs errors -->
        <findbugs.failOnError>true</findbugs.failOnError>
      </properties>
886 887
    </profile>
  </profiles>
888
</project>