pom.xml 28.6 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>
J
Jeff Thompson 已提交
42
    <stapler.version>1.259</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

47 48 49 50 51 52 53 54 55 56 57 58 59
  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>org.jenkins-ci.main</groupId>
        <artifactId>jenkins-bom</artifactId>
        <version>${project.version}</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
    </dependencies>
  </dependencyManagement>


K
TAB->WS  
kohsuke 已提交
60 61
  <dependencies>
    <dependency>
62 63
      <groupId>org.jenkins-ci.plugins.icon-shim</groupId>
      <artifactId>icon-set</artifactId>
64
      <version>1.0.5</version>
T
tfennelly 已提交
65 66 67
    </dependency>
    <dependency>
      <groupId>${project.groupId}</groupId>
K
TAB->WS  
kohsuke 已提交
68 69
      <artifactId>remoting</artifactId>
    </dependency>
70 71 72 73 74
    <dependency>
      <groupId>${project.groupId}</groupId>
      <artifactId>cli</artifactId>
      <version>${project.version}</version>
    </dependency>
75 76 77
    <dependency>
      <groupId>org.jenkins-ci</groupId>
      <artifactId>version-number</artifactId>
78
      <version>1.7</version>
79
    </dependency>
K
kohsuke 已提交
80
    <dependency>
81
      <groupId>org.jenkins-ci</groupId>
82
      <artifactId>crypto-util</artifactId>
83
      <version>1.1</version>
84 85 86
    </dependency>
    <dependency>
      <groupId>org.jvnet.hudson</groupId>
K
kohsuke 已提交
87 88
      <artifactId>jtidy</artifactId>
      <version>4aug2000r7-dev-hudson-1</version>
89 90 91 92 93 94
      <exclusions>
        <exclusion>
          <groupId>jdom</groupId>
          <artifactId>jdom</artifactId>
        </exclusion>
      </exclusions>
95
    </dependency>
96

97 98 99 100
    <dependency><!-- working around MCOMPILER-97 -->
      <groupId>org.jenkins-ci</groupId>
      <artifactId>core-annotation-processors</artifactId>
      <version>1.0</version>
101
      <scope>provided</scope>
102 103 104
      <optional>true</optional>
    </dependency>

K
Kohsuke Kawaguchi 已提交
105
    <dependency>
K
Kohsuke Kawaguchi 已提交
106
      <groupId>com.google.inject</groupId>
K
Kohsuke Kawaguchi 已提交
107
      <artifactId>guice</artifactId>
108 109 110 111 112 113
      <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>
114
    </dependency>
K
Kohsuke Kawaguchi 已提交
115

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

199
    <dependency>
200
      <groupId>com.infradna.tool</groupId>
201
      <artifactId>bridge-method-annotation</artifactId>
K
Kohsuke Kawaguchi 已提交
202
      <version>1.13</version>
203 204
    </dependency>

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

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

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

K
Kohsuke Kawaguchi 已提交
598
    <dependency>
B
Basil Crow 已提交
599 600 601
      <groupId>com.github.spotbugs</groupId>
      <artifactId>spotbugs-annotations</artifactId>
      <optional>true</optional>
K
Kohsuke Kawaguchi 已提交
602
    </dependency>
603 604 605 606 607
    <dependency>
      <groupId>net.jcip</groupId>
      <artifactId>jcip-annotations</artifactId>
      <optional>true</optional>
    </dependency>
K
Kohsuke Kawaguchi 已提交
608

K
Kohsuke Kawaguchi 已提交
609 610 611
    <dependency>
      <groupId>commons-fileupload</groupId>
      <artifactId>commons-fileupload</artifactId>
612
      <version>1.3.1-jenkins-2</version> 
613 614
    </dependency>

615 616 617 618 619 620 621 622
    <!-- 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 已提交
623

624 625 626
    <dependency>
      <groupId>com.google.guava</groupId>
      <artifactId>guava</artifactId>
627 628 629 630 631 632
      <exclusions>
        <exclusion> <!-- pick up from Stapler -->
          <groupId>com.google.code.findbugs</groupId>
          <artifactId>jsr305</artifactId>
        </exclusion>
      </exclusions>
633 634 635 636 637 638
    </dependency>
    <dependency>
      <groupId>com.google.guava</groupId>
      <artifactId>guava-testlib</artifactId>
      <scope>test</scope>
    </dependency>
639
    <!-- Overriding Stapler’s 1.1.3 version to diagnose JENKINS-20618: -->
640 641 642
    <dependency>
      <groupId>com.jcraft</groupId>
      <artifactId>jzlib</artifactId>
K
Kohsuke Kawaguchi 已提交
643
      <version>1.1.3-kohsuke-1</version>
C
contextshuffling 已提交
644 645 646 647 648 649 650 651 652 653 654 655
    </dependency>
    <dependency>
      <groupId>org.xmlunit</groupId>
      <artifactId>xmlunit-core</artifactId>
      <version>2.2.1</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.xmlunit</groupId>
      <artifactId>xmlunit-matchers</artifactId>
      <version>2.2.1</version>
      <scope>test</scope>
656
    </dependency>
K
kohsuke 已提交
657
  </dependencies>
K
kohsuke 已提交
658

659 660
  <build>
    <plugins>
661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679
        <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>
680
      </plugin>
681 682 683 684 685 686 687
      <plugin>
        <groupId>org.jenkins-ci.tools</groupId>
        <artifactId>maven-hpi-plugin</artifactId>
        <executions>
          <execution>
            <goals>
              <goal>generate-taglib-interface</goal>
J
Jesse Glick 已提交
688
              <goal>record-core-location</goal>
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 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737
            </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>
738
              <accessModifierAnnotations>true</accessModifierAnnotations>
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 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781
            </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>
782
        <artifactId>maven-dependency-plugin</artifactId>
783 784
        <executions>
          <execution>
785
            <id>winsw</id>
786 787
            <phase>generate-resources</phase>
            <goals>
788 789
              <!-- we use copy as this is a dependency from outside the reactor -->
              <goal>copy</goal>
790
            </goals>
791 792 793 794 795
            <configuration>
              <artifactItems>
                <artifactItem>
                  <groupId>com.sun.winsw</groupId>
                  <artifactId>winsw</artifactId>
796
                  <version>2.3.0</version>
797 798 799 800 801 802 803
                  <classifier>bin</classifier>
                  <type>exe</type>
                  <outputDirectory>${project.build.outputDirectory}/windows-service</outputDirectory>
                  <destFileName>jenkins.exe</destFileName>
                </artifactItem>
              </artifactItems>
            </configuration>
804 805 806
          </execution>
        </executions>
      </plugin>
807 808 809 810 811
      <plugin>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
          <forkCount>0.5C</forkCount>
          <reuseForks>true</reuseForks>
B
Baptiste Mathus 已提交
812
          <argLine>-noverify</argLine> <!-- some versions of JDK7/8 causes VerifyError during mock tests: http://code.google.com/p/powermock/issues/detail?id=504 -->
813 814
        </configuration>
      </plugin>
815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830
      <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>
    </plugins>
  </build>

K
kohsuke 已提交
831 832 833 834 835
  <reporting>
    <plugins>
      <plugin><!-- generate Jelly tag lib documentation -->
        <groupId>org.kohsuke.stapler</groupId>
        <artifactId>maven-stapler-plugin</artifactId>
J
Jesse Glick 已提交
836
        <version>${maven-stapler-plugin.version}</version>
K
kohsuke 已提交
837 838 839 840 841 842 843 844
        <configuration>
          <patterns>
            <pattern>/lib/.*</pattern>
          </patterns>
        </configuration>
      </plugin>
      <plugin><!-- skip slow dependency analysis -->
        <artifactId>maven-project-info-reports-plugin</artifactId>
C
Christoph Kutzinski 已提交
845
        <version>2.6</version>
K
kohsuke 已提交
846 847 848
        <configuration>
          <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
        </configuration>
849
      </plugin>
K
kohsuke 已提交
850 851
    </plugins>
  </reporting>
852 853 854 855 856 857 858 859 860 861 862 863 864 865

  <profiles>
    <profile>
      <id>debug</id>
      <activation>
        <activeByDefault>true</activeByDefault>
      </activation>
    </profile>
    <profile>
      <id>release</id>
      <build>
        <plugins>
          <plugin>
            <!--
866
              generate jelly taglib docs from src/main/resources.
867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889
              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>
B
Basil Crow 已提交
890 891 892
      <!-- Run SpotBugs for better error detection. Run as "mvn -Pspotbugs install site". -->
      <!-- SpotBugs has been moved to the default build flow, but here we fail the build on errors-->
      <id>spotbugs</id>
893
      <properties>
B
Basil Crow 已提交
894
        <!-- In the default profile we always fail the build if there SpotBugs errors -->
895 896
        <findbugs.failOnError>true</findbugs.failOnError>
      </properties>
897 898
    </profile>
  </profiles>
899
</project>