pom.xml 30.1 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>
K
TAB->WS  
kohsuke 已提交
31
    <artifactId>pom</artifactId>
32
    <version>2.80-SNAPSHOT</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.253</stapler.version>
J
Jesse Glick 已提交
43
    <spring.version>2.5.6.SEC03</spring.version>
K
Kamil Szymanski 已提交
44
    <groovy.version>2.4.11</groovy.version>
45 46
    <!-- TODO: Actually many issues are being filtered by src/findbugs/findbugs-excludes.xml -->
    <findbugs.failOnError>true</findbugs.failOnError>
47
  </properties>
48

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

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

K
Kohsuke Kawaguchi 已提交
95
    <dependency>
K
Kohsuke Kawaguchi 已提交
96
      <groupId>com.google.inject</groupId>
K
Kohsuke Kawaguchi 已提交
97
      <artifactId>guice</artifactId>
98 99 100 101 102 103
      <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>
104
    </dependency>
K
Kohsuke Kawaguchi 已提交
105

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

183
    <dependency>
184
      <groupId>com.infradna.tool</groupId>
185
      <artifactId>bridge-method-annotation</artifactId>
K
Kohsuke Kawaguchi 已提交
186
      <version>1.13</version>
187 188
    </dependency>

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

575
    <dependency><!-- Jenkins doesn't depend on it but some plugin wants the latest version. Bundling 1.6 until we figure out a mechanism to let plugins load its own -->
K
...  
kohsuke 已提交
576 577
      <groupId>commons-codec</groupId>
      <artifactId>commons-codec</artifactId>
578
      <version>1.8</version>
K
...  
kohsuke 已提交
579 580
    </dependency>

K
kohsuke 已提交
581 582 583 584 585
    <dependency>
      <groupId>org.kohsuke</groupId>
      <artifactId>access-modifier-annotation</artifactId>
    </dependency>

K
Kohsuke Kawaguchi 已提交
586
    <dependency>
587
      <groupId>com.google.code.findbugs</groupId>
K
Kohsuke Kawaguchi 已提交
588
      <artifactId>annotations</artifactId>
589
      <version>3.0.0</version>
K
Kohsuke Kawaguchi 已提交
590 591 592
      <scope>provided</scope>
    </dependency>

K
Kohsuke Kawaguchi 已提交
593 594 595 596
    <dependency>
      <groupId>commons-fileupload</groupId>
      <artifactId>commons-fileupload</artifactId>
      <version>1.3.1-jenkins-1</version>
597 598
    </dependency>

599 600 601 602 603 604 605 606
    <!-- 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 已提交
607

608 609 610
    <dependency>
      <groupId>com.google.guava</groupId>
      <artifactId>guava</artifactId>
611 612 613 614 615 616
      <exclusions>
        <exclusion> <!-- pick up from Stapler -->
          <groupId>com.google.code.findbugs</groupId>
          <artifactId>jsr305</artifactId>
        </exclusion>
      </exclusions>
617 618 619 620 621 622
    </dependency>
    <dependency>
      <groupId>com.google.guava</groupId>
      <artifactId>guava-testlib</artifactId>
      <scope>test</scope>
    </dependency>
623
    <!-- Overriding Stapler’s 1.1.3 version to diagnose JENKINS-20618: -->
624 625 626
    <dependency>
      <groupId>com.jcraft</groupId>
      <artifactId>jzlib</artifactId>
K
Kohsuke Kawaguchi 已提交
627
      <version>1.1.3-kohsuke-1</version>
628
    </dependency>
K
kohsuke 已提交
629
  </dependencies>
K
kohsuke 已提交
630

631 632
  <build>
    <plugins>
633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651
        <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>
652
      </plugin>
653 654 655 656 657 658 659
      <plugin>
        <groupId>org.jenkins-ci.tools</groupId>
        <artifactId>maven-hpi-plugin</artifactId>
        <executions>
          <execution>
            <goals>
              <goal>generate-taglib-interface</goal>
J
Jesse Glick 已提交
660
              <goal>record-core-location</goal>
661 662 663 664 665 666 667 668 669 670 671 672 673 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
            </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>
710
              <accessModifierAnnotations>true</accessModifierAnnotations>
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 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753
            </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>
754
        <artifactId>maven-dependency-plugin</artifactId>
755 756
        <executions>
          <execution>
757
            <id>winsw</id>
758 759
            <phase>generate-resources</phase>
            <goals>
760 761
              <!-- we use copy as this is a dependency from outside the reactor -->
              <goal>copy</goal>
762
            </goals>
763 764 765 766 767
            <configuration>
              <artifactItems>
                <artifactItem>
                  <groupId>com.sun.winsw</groupId>
                  <artifactId>winsw</artifactId>
768
                  <version>2.1.2</version>
769 770 771 772 773 774 775
                  <classifier>bin</classifier>
                  <type>exe</type>
                  <outputDirectory>${project.build.outputDirectory}/windows-service</outputDirectory>
                  <destFileName>jenkins.exe</destFileName>
                </artifactItem>
              </artifactItems>
            </configuration>
776 777 778
          </execution>
        </executions>
      </plugin>
779 780 781 782 783
      <plugin>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
          <forkCount>0.5C</forkCount>
          <reuseForks>true</reuseForks>
B
Baptiste Mathus 已提交
784
          <argLine>-noverify</argLine> <!-- some versions of JDK7/8 causes VerifyError during mock tests: http://code.google.com/p/powermock/issues/detail?id=504 -->
785 786
        </configuration>
      </plugin>
787 788 789 790 791 792 793 794 795 796 797 798 799
      <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>
800
      <plugin><!-- run unit test in src/test/java -->
801
        <groupId>org.codehaus.gmaven</groupId>
802 803 804 805 806 807 808 809 810 811 812 813 814
        <artifactId>gmaven-plugin</artifactId>
        <!-- version specified in grandparent pom -->
        <executions>
          <execution>
            <goals>
              <goal>testCompile</goal>
            </goals>
          </execution>
        </executions>
        <dependencies>
          <dependency>
            <groupId>org.codehaus.groovy</groupId>
            <artifactId>groovy-all</artifactId>
815
            <version>${groovy.version}</version>
816 817 818
          </dependency>
        </dependencies>
      </plugin>
819 820 821 822
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>findbugs-maven-plugin</artifactId>
      </plugin>
823 824 825
    </plugins>
  </build>

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

  <profiles>
    <profile>
      <id>debug</id>
      <activation>
        <activeByDefault>true</activeByDefault>
      </activation>
    </profile>
    <profile>
      <id>release</id>
      <build>
        <plugins>
          <plugin>
            <!--
861
              generate jelly taglib docs from src/main/resources.
862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884
              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>
885
      <!-- Run FindBugs for better error detection. Run as "mvn -Pfindbugs install site". -->
886
      <!-- FindBugs has been moved to the default build flow, but here we fail the build on errors-->
887
      <id>findbugs</id>
888 889 890 891
      <properties>
        <!-- In the default profile we always fail the build if there FindBugs errors -->
        <findbugs.failOnError>true</findbugs.failOnError>
      </properties>
892 893
    </profile>
    <profile>
894
      <!-- Obtain code coverage report. This is done by running Unit tests on our own and suppressing surefire. -->
895 896 897 898
      <id>cobertura</id>
      <build>
        <plugins>
          <plugin>
899
            <groupId>org.codehaus.gmaven</groupId>
900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929
            <artifactId>gmaven-plugin</artifactId>
            <!-- version specified in grandparent pom -->
            <executions>
              <!-- run unit test -->
              <execution>
                <phase>test</phase>
                <goals>
                  <goal>execute</goal>
                </goals>
                <configuration>
                  <scriptpath>
                    <element>${project.basedir}/src/build-script</element>
                  </scriptpath>
                  <source>${project.basedir}/src/build-script/unitTest.groovy</source>
                </configuration>
              </execution>
            </executions>
          </plugin>
          <plugin>
            <!-- unit tests are run by GMaven through Ant. -->
            <artifactId>maven-surefire-plugin</artifactId>
            <!-- version specified in grandparent pom -->
            <configuration>
              <skipTests>true</skipTests>
            </configuration>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>
930
</project>