~ubuntu-branches/ubuntu/saucy/jenkins/saucy-proposed

« back to all changes in this revision

Viewing changes to .pc/build/0001-build.patch/core/pom.xml

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2013-08-13 12:35:19 UTC
  • mfrom: (1.1.13)
  • Revision ID: package-import@ubuntu.com-20130813123519-tizgfxcr70trl7r0
Tags: 1.509.2+dfsg-1
* New upstream release (Closes: #706725):
  - d/control: Update versioned BD's:
    * jenkins-executable-war >= 1.28.
    * jenkins-instance-identity >= 1.3.
    * libjenkins-remoting-java >= 2.23.
    * libjenkins-winstone-java >= 0.9.10-jenkins-44.
    * libstapler-java >= 1.207.
    * libjenkins-json-java >= 2.4-jenkins-1.
    * libstapler-adjunct-timeline-java >= 1.4.
    * libstapler-adjunct-codemirror-java >= 1.2.
    * libmaven-hpi-plugin-java >= 1.93.
    * libjenkins-xstream-java >= 1.4.4-jenkins-3.
  - d/maven.rules: Map to older version of animal-sniffer-maven-plugin.
  - Add patch for compatibility with guava >= 0.14.
  - Add patch to exclude asm4 dependency via jnr-posix.
  - Fixes the following security vulnerabilities:
    CVE-2013-2034, CVE-2013-2033, CVE-2013-2034, CVE-2013-1808
* d/patches/*: Switch to using git patch-queue for managing patches.
* De-duplicate jars between libjenkins-java and jenkins-external-job-monitor
  (Closes: #701163):
  - d/control: Add dependency between jenkins-external-job-monitor ->
    libjenkins-java.
  - d/rules: 
    Drop installation of jenkins-core in jenkins-external-job-monitor.
  - d/jenkins-external-job-monitor.{links,install}: Link to jenkins-core
    in /usr/share/java instead of included version.
* Wait longer for jenkins to stop during restarts (Closes: #704848):
  - d/jenkins.init: Re-sync init script from upstream codebase.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!--
 
2
The MIT License
 
3
 
 
4
Copyright (c) 2004-2010, Sun Microsystems, Inc., Kohsuke Kawaguchi,
 
5
Daniel Dyer, Erik Ramfelt, Stephen Connolly, Tom Huybrechts, Alan Harder
 
6
 
 
7
Permission is hereby granted, free of charge, to any person obtaining a copy
 
8
of this software and associated documentation files (the "Software"), to deal
 
9
in the Software without restriction, including without limitation the rights
 
10
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 
11
copies of the Software, and to permit persons to whom the Software is
 
12
furnished to do so, subject to the following conditions:
 
13
 
 
14
The above copyright notice and this permission notice shall be included in
 
15
all copies or substantial portions of the Software.
 
16
 
 
17
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 
18
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 
19
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 
20
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 
21
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 
22
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 
23
THE SOFTWARE.
 
24
-->
 
25
 
 
26
<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">
 
27
  <modelVersion>4.0.0</modelVersion>
 
28
 
 
29
  <parent>
 
30
    <groupId>org.jenkins-ci.main</groupId>
 
31
    <artifactId>pom</artifactId>
 
32
    <version>1.509.2</version>
 
33
    <relativePath>../pom.xml</relativePath>
 
34
  </parent>
 
35
 
 
36
  <artifactId>jenkins-core</artifactId>
 
37
 
 
38
  <name>Jenkins core</name>
 
39
  <description>
 
40
    Contains the core Jenkins code and view files to render HTML.
 
41
  </description>
 
42
 
 
43
  <properties>
 
44
    <staplerFork>true</staplerFork>
 
45
    <stapler.version>1.207</stapler.version>
 
46
    <spring.version>2.5.6.SEC03</spring.version>
 
47
  </properties>
 
48
 
 
49
  <dependencies>
 
50
    <dependency>
 
51
      <groupId>${project.groupId}</groupId>
 
52
      <artifactId>remoting</artifactId>
 
53
      <!-- specified in the parent -->
 
54
    </dependency>
 
55
    <dependency>
 
56
      <groupId>${project.groupId}</groupId>
 
57
      <artifactId>cli</artifactId>
 
58
      <version>${project.version}</version>
 
59
    </dependency>
 
60
    <dependency>
 
61
      <groupId>org.jenkins-ci</groupId>
 
62
      <artifactId>version-number</artifactId>
 
63
      <version>1.1</version>
 
64
    </dependency>
 
65
    <dependency>
 
66
      <groupId>org.jenkins-ci</groupId>
 
67
      <artifactId>crypto-util</artifactId>
 
68
      <version>1.1</version>
 
69
    </dependency>
 
70
    <dependency>
 
71
      <groupId>org.jvnet.hudson</groupId>
 
72
      <artifactId>jtidy</artifactId>
 
73
      <version>4aug2000r7-dev-hudson-1</version>
 
74
      <exclusions>
 
75
        <exclusion>
 
76
          <groupId>jdom</groupId>
 
77
          <artifactId>jdom</artifactId>
 
78
        </exclusion>
 
79
      </exclusions>
 
80
    </dependency>
 
81
 
 
82
    <dependency><!-- working around MCOMPILER-97 -->
 
83
      <groupId>org.jenkins-ci</groupId>
 
84
      <artifactId>core-annotation-processors</artifactId>
 
85
      <version>1.0</version>
 
86
      <scope>provided</scope>
 
87
      <optional>true</optional>
 
88
    </dependency>
 
89
 
 
90
    <!--
 
91
    <dependency>
 
92
      <groupId>com.google.inject</groupId>
 
93
      <artifactId>guice</artifactId>
 
94
      <version>3.0</version>
 
95
    </dependency>
 
96
    -->
 
97
    <dependency>
 
98
      <!-- we'd like to use stock Guice, but that breaks Maven embedder
 
99
           because it uses a modified Guice called Sisu -->
 
100
      <groupId>org.sonatype.sisu</groupId>
 
101
      <artifactId>sisu-guice</artifactId>
 
102
      <exclusions>
 
103
        <!--
 
104
             sisu-guice wants a patched version of guava, which is old.
 
105
             but from what I can tell from changes, it's GWT related
 
106
             and we don't care. So let's stick to the proper guava
 
107
        -->
 
108
        <exclusion>
 
109
          <groupId>org.sonatype.sisu</groupId>
 
110
          <artifactId>sisu-guava</artifactId>
 
111
        </exclusion>
 
112
      </exclusions>
 
113
    </dependency>
 
114
 
 
115
    <dependency>
 
116
      <groupId>org.jruby.ext.posix</groupId>
 
117
      <artifactId>jna-posix</artifactId>
 
118
      <version>1.0.3</version>
 
119
    </dependency>
 
120
    <dependency>
 
121
      <groupId>org.kohsuke</groupId>
 
122
      <artifactId>trilead-putty-extension</artifactId>
 
123
      <version>1.2</version>
 
124
    </dependency>
 
125
    <dependency>
 
126
      <groupId>org.jenkins-ci</groupId>
 
127
      <artifactId>trilead-ssh2</artifactId>
 
128
      <version>build214-jenkins-2</version>
 
129
    </dependency>
 
130
    <dependency>
 
131
      <groupId>org.kohsuke.stapler</groupId>
 
132
      <artifactId>stapler-groovy</artifactId>
 
133
      <version>${stapler.version}</version>
 
134
      <exclusions>
 
135
        <exclusion>
 
136
          <groupId>commons-jelly</groupId>
 
137
          <artifactId>commons-jelly</artifactId>
 
138
        </exclusion>
 
139
        <exclusion>
 
140
          <groupId>commons-jexl</groupId>
 
141
          <artifactId>commons-jexl</artifactId>
 
142
        </exclusion>
 
143
        <exclusion>
 
144
          <groupId>org.jvnet.hudson</groupId>
 
145
          <artifactId>commons-jexl</artifactId>
 
146
        </exclusion>
 
147
        <exclusion>
 
148
          <!-- we bundle groovy-all -->
 
149
          <groupId>org.codehaus.groovy</groupId>
 
150
          <artifactId>groovy</artifactId>
 
151
        </exclusion>
 
152
      </exclusions>
 
153
    </dependency>
 
154
    <dependency>
 
155
      <groupId>org.kohsuke.stapler</groupId>
 
156
      <artifactId>stapler-jrebel</artifactId>
 
157
      <version>${stapler.version}</version>
 
158
    </dependency>
 
159
    <dependency>
 
160
      <groupId>org.kohsuke</groupId>
 
161
      <artifactId>windows-package-checker</artifactId>
 
162
      <version>1.0</version>
 
163
    </dependency>
 
164
    <dependency>
 
165
      <groupId>org.kohsuke.stapler</groupId>
 
166
      <artifactId>stapler-adjunct-zeroclipboard</artifactId>
 
167
      <version>1.1.7-1</version>
 
168
    </dependency>
 
169
    <dependency>
 
170
      <groupId>org.kohsuke.stapler</groupId>
 
171
      <artifactId>stapler-adjunct-timeline</artifactId>
 
172
      <version>1.4</version>
 
173
    </dependency>
 
174
    <dependency>
 
175
      <groupId>org.kohsuke.stapler</groupId>
 
176
      <artifactId>stapler-adjunct-codemirror</artifactId>
 
177
      <version>1.2</version>
 
178
    </dependency>
 
179
    <dependency><!-- this helps us see the source code of the control while we edit Jenkins. -->
 
180
      <groupId>org.kohsuke.stapler</groupId>
 
181
      <artifactId>stapler-adjunct-timeline</artifactId>
 
182
      <version>1.4</version>
 
183
      <classifier>tests</classifier>
 
184
      <scope>test</scope>
 
185
    </dependency>
 
186
 
 
187
    <dependency>
 
188
      <groupId>com.infradna.tool</groupId>
 
189
      <artifactId>bridge-method-annotation</artifactId>
 
190
      <version>1.4</version>
 
191
      <exclusions> <!-- https://github.com/infradna/bridge-method-injector/issues/1 -->
 
192
        <exclusion>
 
193
          <artifactId>annotation-indexer</artifactId>
 
194
          <groupId>org.jvnet.hudson</groupId>
 
195
        </exclusion>
 
196
      </exclusions>
 
197
    </dependency>
 
198
 
 
199
    <dependency><!-- until we get this version through Stapler -->
 
200
      <groupId>org.kohsuke.stapler</groupId>
 
201
      <artifactId>json-lib</artifactId>
 
202
      <version>2.4-jenkins-1</version>
 
203
    </dependency>
 
204
    <dependency>
 
205
      <groupId>commons-httpclient</groupId>
 
206
      <artifactId>commons-httpclient</artifactId>
 
207
    </dependency>
 
208
    <dependency>
 
209
      <groupId>args4j</groupId>
 
210
      <artifactId>args4j</artifactId>
 
211
      <version>2.0.21</version>
 
212
    </dependency>
 
213
    <dependency>
 
214
      <groupId>org.jenkins-ci</groupId>
 
215
      <artifactId>annotation-indexer</artifactId>
 
216
      <version>1.4</version>
 
217
    </dependency>
 
218
    <dependency>
 
219
      <groupId>org.jvnet.hudson</groupId>
 
220
      <artifactId>task-reactor</artifactId>
 
221
      <version>1.2</version>
 
222
    </dependency>
 
223
    <dependency>
 
224
      <groupId>org.jvnet.localizer</groupId>
 
225
      <artifactId>localizer</artifactId>
 
226
      <version>1.10</version>
 
227
    </dependency>
 
228
    <dependency>
 
229
      <groupId>antlr</groupId>
 
230
      <artifactId>antlr</artifactId>
 
231
      <version>2.7.6</version>
 
232
    </dependency>
 
233
    <dependency>
 
234
      <groupId>org.jvnet.hudson</groupId>
 
235
      <artifactId>xstream</artifactId>
 
236
      <version>1.4.4-jenkins-3</version>
 
237
    </dependency>
 
238
    <dependency>
 
239
      <groupId>jfree</groupId>
 
240
      <artifactId>jfreechart</artifactId>
 
241
      <version>1.0.9</version>
 
242
    </dependency>
 
243
    <dependency>
 
244
      <groupId>org.apache.ant</groupId>
 
245
      <artifactId>ant</artifactId>
 
246
    </dependency>
 
247
    <dependency>
 
248
      <groupId>javax.servlet</groupId>
 
249
      <artifactId>servlet-api</artifactId>
 
250
      <version>2.4</version>
 
251
      <scope>provided</scope>
 
252
    </dependency>
 
253
    <dependency>
 
254
      <groupId>commons-io</groupId>
 
255
      <artifactId>commons-io</artifactId>
 
256
    </dependency>
 
257
    <dependency><!-- hudson doesn't use this directly, but some plugins wanted to use the latest -->
 
258
      <groupId>commons-lang</groupId>
 
259
      <artifactId>commons-lang</artifactId>
 
260
      <version>2.6</version>
 
261
    </dependency>
 
262
    <dependency>
 
263
      <groupId>commons-digester</groupId>
 
264
      <artifactId>commons-digester</artifactId>
 
265
      <version>2.1</version>
 
266
      <exclusions>
 
267
        <exclusion>
 
268
          <groupId>xml-apis</groupId>
 
269
          <artifactId>xml-apis</artifactId>
 
270
        </exclusion>
 
271
      </exclusions>
 
272
    </dependency>
 
273
    <dependency>
 
274
      <!--
 
275
        The version included in the transitive dependency doesn't have the source zip,
 
276
        so explicitly using the newer version.
 
277
      -->
 
278
      <groupId>commons-beanutils</groupId>
 
279
      <artifactId>commons-beanutils</artifactId>
 
280
      <version>1.8.3</version>
 
281
    </dependency>
 
282
    <dependency>
 
283
      <groupId>javax.mail</groupId>
 
284
      <artifactId>mail</artifactId>
 
285
      <version>1.4.4</version>
 
286
      <exclusions>
 
287
        <exclusion><!-- using a patched version -->
 
288
          <groupId>javax.activation</groupId>
 
289
          <artifactId>activation</artifactId>
 
290
        </exclusion>
 
291
      </exclusions>
 
292
    </dependency>
 
293
    <dependency>
 
294
      <groupId>org.jvnet.hudson</groupId>
 
295
      <artifactId>activation</artifactId>
 
296
      <version>1.1.1-hudson-1</version>
 
297
    </dependency>
 
298
    <dependency>
 
299
      <groupId>jaxen</groupId>
 
300
      <artifactId>jaxen</artifactId>
 
301
      <version>1.1-beta-11</version>
 
302
      <exclusions>
 
303
        <exclusion>
 
304
          <groupId>dom4j</groupId>
 
305
          <artifactId>dom4j</artifactId>
 
306
        </exclusion>
 
307
        <exclusion>
 
308
          <groupId>xom</groupId>
 
309
          <artifactId>xom</artifactId>
 
310
        </exclusion>
 
311
        <exclusion>
 
312
          <groupId>xml-apis</groupId>
 
313
          <artifactId>xml-apis</artifactId>
 
314
        </exclusion>
 
315
        <exclusion>
 
316
          <groupId>xerces</groupId>
 
317
          <artifactId>xercesImpl</artifactId>
 
318
        </exclusion>
 
319
        <exclusion>
 
320
          <groupId>jdom</groupId>
 
321
          <artifactId>jdom</artifactId>
 
322
        </exclusion>
 
323
      </exclusions>
 
324
    </dependency>
 
325
    <dependency>
 
326
      <groupId>commons-jelly</groupId>
 
327
      <artifactId>commons-jelly-tags-fmt</artifactId>
 
328
      <version>1.0</version>
 
329
    </dependency>
 
330
    <dependency>
 
331
      <groupId>commons-jelly</groupId>
 
332
      <artifactId>commons-jelly-tags-xml</artifactId>
 
333
      <version>1.1</version>
 
334
      <exclusions>
 
335
        <exclusion>
 
336
          <groupId>commons-jelly</groupId>
 
337
          <artifactId>commons-jelly</artifactId>
 
338
        </exclusion>
 
339
        <exclusion>
 
340
          <groupId>commons-jexl</groupId>
 
341
          <artifactId>commons-jexl</artifactId>
 
342
        </exclusion>
 
343
        <exclusion>
 
344
          <groupId>commons-jelly</groupId>
 
345
          <artifactId>commons-jelly-tags-junit</artifactId>
 
346
        </exclusion>
 
347
        <exclusion>
 
348
          <groupId>xml-apis</groupId>
 
349
          <artifactId>xml-apis</artifactId>
 
350
        </exclusion>
 
351
        <exclusion>
 
352
          <groupId>xalan</groupId>
 
353
          <artifactId>xalan</artifactId>
 
354
        </exclusion>
 
355
        <exclusion>
 
356
          <groupId>xerces</groupId>
 
357
          <artifactId>xercesImpl</artifactId>
 
358
        </exclusion>
 
359
        <exclusion>
 
360
          <groupId>dom4j</groupId>
 
361
          <artifactId>dom4j</artifactId>
 
362
        </exclusion>
 
363
      </exclusions>
 
364
    </dependency>
 
365
    <dependency>
 
366
      <groupId>org.jvnet.hudson</groupId>
 
367
      <artifactId>commons-jelly-tags-define</artifactId>
 
368
      <version>1.0.1-hudson-20071021</version>
 
369
      <exclusions>
 
370
        <exclusion>
 
371
          <groupId>dom4j</groupId>
 
372
          <artifactId>dom4j</artifactId>
 
373
        </exclusion>
 
374
        <exclusion>
 
375
          <groupId>commons-cli</groupId>
 
376
          <artifactId>commons-cli</artifactId>
 
377
        </exclusion>
 
378
        <exclusion>
 
379
          <groupId>org.jvnet.hudson</groupId>
 
380
          <artifactId>commons-jelly</artifactId>
 
381
        </exclusion>
 
382
      </exclusions>
 
383
    </dependency>
 
384
    <dependency>
 
385
      <groupId>org.jenkins-ci</groupId>
 
386
      <artifactId>commons-jexl</artifactId>
 
387
      <version>1.1-jenkins-20111212</version>
 
388
    </dependency>
 
389
    <dependency>
 
390
      <groupId>org.acegisecurity</groupId>
 
391
      <artifactId>acegi-security</artifactId>
 
392
      <version>1.0.7</version>
 
393
      <exclusions>
 
394
        <exclusion>
 
395
          <groupId>org.springframework</groupId>
 
396
          <artifactId>spring-remoting</artifactId>
 
397
        </exclusion>
 
398
        <exclusion>
 
399
          <groupId>org.springframework</groupId>
 
400
          <artifactId>spring-support</artifactId>
 
401
        </exclusion>
 
402
      </exclusions>
 
403
    </dependency>
 
404
    <dependency>
 
405
      <groupId>org.codehaus.groovy</groupId>
 
406
      <artifactId>groovy-all</artifactId>
 
407
      <version>1.8.5</version>
 
408
    </dependency>
 
409
    <dependency><!-- groovy shell uses this but it doesn't declare this dependency -->
 
410
      <groupId>jline</groupId>
 
411
      <artifactId>jline</artifactId>
 
412
      <version>0.9.94</version>
 
413
      <scope>compile</scope>
 
414
    </dependency>
 
415
    <dependency><!-- groovy shell uses this but it doesn't declare this dependency -->
 
416
      <groupId>org.fusesource.jansi</groupId>
 
417
      <artifactId>jansi</artifactId>
 
418
      <version>1.9</version>
 
419
    </dependency>
 
420
    <dependency>
 
421
      <!--
 
422
        for Grails spring bean builder.
 
423
        Ideally we should be able to modify BeanBuilder so as not to depend on this.
 
424
      -->
 
425
      <groupId>org.springframework</groupId>
 
426
      <artifactId>spring-webmvc</artifactId>
 
427
      <version>${spring.version}</version>
 
428
    </dependency>
 
429
    <dependency>
 
430
      <groupId>org.springframework</groupId>
 
431
      <artifactId>spring-core</artifactId>
 
432
      <version>${spring.version}</version>
 
433
    </dependency>
 
434
    <dependency><!-- Jenkins core doesn't use it but HUDSON-3811 requires us to put it. -->
 
435
      <groupId>org.springframework</groupId>
 
436
      <artifactId>spring-aop</artifactId>
 
437
      <version>${spring.version}</version>
 
438
    </dependency>
 
439
    <dependency>
 
440
      <groupId>xpp3</groupId>
 
441
      <artifactId>xpp3</artifactId>
 
442
      <version>1.1.4c</version>
 
443
    </dependency>
 
444
    <dependency>
 
445
      <groupId>junit</groupId>
 
446
      <artifactId>junit</artifactId>
 
447
      <scope>test</scope>
 
448
    </dependency>
 
449
    <dependency>
 
450
      <groupId>org.mockito</groupId>
 
451
      <artifactId>mockito-core</artifactId>
 
452
      <scope>test</scope>
 
453
    </dependency>
 
454
    <dependency>
 
455
      <groupId>org.powermock</groupId>
 
456
      <artifactId>powermock-module-junit4</artifactId>
 
457
      <scope>test</scope>
 
458
    </dependency>
 
459
    <dependency>
 
460
      <groupId>org.powermock</groupId>
 
461
      <artifactId>powermock-api-mockito</artifactId>
 
462
      <scope>test</scope>
 
463
    </dependency>
 
464
    <dependency><!-- needed by Jelly -->
 
465
      <groupId>javax.servlet</groupId>
 
466
      <artifactId>jstl</artifactId>
 
467
      <version>1.1.0</version>
 
468
    </dependency>
 
469
    <dependency>
 
470
      <groupId>commons-logging</groupId>
 
471
      <artifactId>commons-logging</artifactId>
 
472
      <version>1.1.1</version>
 
473
    </dependency>
 
474
    <dependency>
 
475
      <groupId>com.sun.xml.txw2</groupId>
 
476
      <artifactId>txw2</artifactId>
 
477
      <version>20110809</version>
 
478
    </dependency>
 
479
    <dependency>
 
480
      <groupId>commons-collections</groupId>
 
481
      <artifactId>commons-collections</artifactId>
 
482
      <version>3.2.1</version>
 
483
    </dependency>
 
484
    <dependency>
 
485
      <groupId>org.jvnet.winp</groupId>
 
486
      <artifactId>winp</artifactId>
 
487
      <version>1.16</version>
 
488
    </dependency>
 
489
    <dependency>
 
490
      <groupId>org.jenkins-ci</groupId>
 
491
      <artifactId>memory-monitor</artifactId>
 
492
      <version>1.7</version>
 
493
    </dependency>
 
494
    <dependency><!-- StAX implementation. See HUDSON-2547. -->
 
495
      <groupId>org.codehaus.woodstox</groupId>
 
496
      <artifactId>wstx-asl</artifactId>
 
497
      <version>3.2.9</version>
 
498
    </dependency>
 
499
    <dependency>
 
500
      <groupId>org.jenkins-ci</groupId>
 
501
      <artifactId>jmdns</artifactId>
 
502
      <version>3.4.0-jenkins-3</version>
 
503
    </dependency>
 
504
    <dependency>
 
505
      <groupId>com.sun.winsw</groupId>
 
506
      <artifactId>winsw</artifactId>
 
507
      <version>1.10</version>
 
508
      <classifier>bin</classifier>
 
509
      <type>exe</type>
 
510
      <scope>provided</scope><!-- this isn't really a dependency that Maven should care about, so putting 'provided' -->
 
511
    </dependency>
 
512
    <dependency>
 
513
      <groupId>net.java.dev.jna</groupId>
 
514
      <artifactId>jna</artifactId>
 
515
      <version>3.3.0-jenkins-3</version>
 
516
    </dependency>
 
517
    <dependency>
 
518
      <groupId>org.kohsuke</groupId>
 
519
      <artifactId>akuma</artifactId>
 
520
      <version>1.9</version>
 
521
    </dependency>
 
522
    <dependency>
 
523
      <groupId>org.kohsuke</groupId>
 
524
      <artifactId>libpam4j</artifactId>
 
525
      <version>1.6</version>
 
526
    </dependency>
 
527
    <dependency>
 
528
      <groupId>org.jvnet.libzfs</groupId>
 
529
      <artifactId>libzfs</artifactId>
 
530
      <version>0.5</version>
 
531
    </dependency>
 
532
    <dependency>
 
533
      <groupId>com.sun.solaris</groupId>
 
534
      <artifactId>embedded_su4j</artifactId>
 
535
      <version>1.1</version>
 
536
    </dependency>
 
537
    <dependency>
 
538
      <groupId>net.java.sezpoz</groupId>
 
539
      <artifactId>sezpoz</artifactId>
 
540
      <version>1.9</version>
 
541
    </dependency>
 
542
    <dependency>
 
543
      <groupId>org.jenkins-ci</groupId>
 
544
      <artifactId>jinterop-wmi</artifactId>
 
545
      <version>1.1</version>
 
546
    </dependency>
 
547
    <dependency>
 
548
      <groupId>org.jenkins-ci</groupId>
 
549
      <artifactId>windows-remote-command</artifactId>
 
550
      <version>1.3</version>
 
551
    </dependency>
 
552
    <dependency>
 
553
      <groupId>org.kohsuke.metainf-services</groupId>
 
554
      <artifactId>metainf-services</artifactId>
 
555
      <version>1.4</version>
 
556
      <scope>provided</scope>
 
557
      <optional>true</optional>
 
558
    </dependency>
 
559
    <dependency>
 
560
      <groupId>org.jvnet.robust-http-client</groupId>
 
561
      <artifactId>robust-http-client</artifactId>
 
562
      <version>1.2</version>
 
563
    </dependency>
 
564
 
 
565
    <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 -->
 
566
      <groupId>commons-codec</groupId>
 
567
      <artifactId>commons-codec</artifactId>
 
568
      <!--  NOTE: 1.7 requires Java 6, so don't use it! -->
 
569
      <version>1.6</version>
 
570
    </dependency>
 
571
 
 
572
    <dependency>
 
573
      <groupId>org.kohsuke</groupId>
 
574
      <artifactId>access-modifier-annotation</artifactId>
 
575
      <version>1.4</version>
 
576
    </dependency>
 
577
 
 
578
    <dependency>
 
579
      <groupId>findbugs</groupId>
 
580
      <artifactId>annotations</artifactId>
 
581
      <version>1.0.0</version>
 
582
      <scope>provided</scope>
 
583
    </dependency>
 
584
 
 
585
    <dependency>
 
586
      <groupId>org.kohsuke</groupId>
 
587
      <artifactId>owasp-html-sanitizer</artifactId>
 
588
      <version>r88</version>
 
589
    </dependency>
 
590
 
 
591
    <dependency>
 
592
        <groupId>org.mindrot</groupId>
 
593
        <artifactId>jbcrypt</artifactId>
 
594
        <version>0.3m</version>
 
595
    </dependency>
 
596
 
 
597
    <!-- offline profiler API to put in the classpath if we need it -->
 
598
    <!--dependency>
 
599
      <groupId>com.yourkit.api</groupId>
 
600
      <artifactId>yjp</artifactId>
 
601
      <version>dontcare</version>
 
602
      <scope>system</scope>
 
603
      <systemPath>/usr/local/yjp/lib/yjp.jar</systemPath>
 
604
    </dependency-->
 
605
 
 
606
      <dependency>
 
607
        <groupId>com.google.guava</groupId>
 
608
        <artifactId>guava</artifactId>
 
609
      </dependency>
 
610
  </dependencies>
 
611
 
 
612
  <build>
 
613
    <plugins>
 
614
        <plugin>
 
615
         <groupId>org.codehaus.mojo</groupId>
 
616
         <artifactId>build-helper-maven-plugin</artifactId>
 
617
         <executions>
 
618
             <execution>
 
619
                 <id>add-source</id>
 
620
                 <phase>generate-sources</phase>
 
621
                 <goals>
 
622
                     <goal>add-source</goal>
 
623
                 </goals>
 
624
                 <configuration>
 
625
                     <sources>
 
626
                         <source>${project.build.directory}/generated-sources/antlr</source>
 
627
                         <source>${project.build.directory}/generated-sources/localizer</source>
 
628
                         <source>${project.build.directory}/generated-sources/taglib-interface</source>
 
629
                     </sources>
 
630
                 </configuration>
 
631
             </execution>
 
632
         </executions>
 
633
      </plugin>    
 
634
      <plugin>
 
635
        <groupId>org.jenkins-ci.tools</groupId>
 
636
        <artifactId>maven-hpi-plugin</artifactId>
 
637
        <executions>
 
638
          <execution>
 
639
            <goals>
 
640
              <goal>generate-taglib-interface</goal>
 
641
            </goals>
 
642
          </execution>
 
643
        </executions>
 
644
      </plugin>
 
645
      <plugin>
 
646
        <groupId>org.jvnet.hudson.tools</groupId>
 
647
        <artifactId>maven-encoding-plugin</artifactId>
 
648
        <!-- version specified in grandparent pom -->
 
649
        <executions>
 
650
          <execution>
 
651
            <goals>
 
652
              <goal>check-encoding</goal>
 
653
            </goals>
 
654
            <phase>compile</phase>
 
655
          </execution>
 
656
        </executions>
 
657
      </plugin>
 
658
      <plugin>
 
659
        <groupId>com.infradna.tool</groupId>
 
660
        <artifactId>bridge-method-injector</artifactId>
 
661
        <!-- version specified in grandparent pom -->
 
662
        <executions>
 
663
          <execution>
 
664
            <goals>
 
665
              <goal>process</goal>
 
666
            </goals>
 
667
          </execution>
 
668
        </executions>
 
669
      </plugin>
 
670
      <plugin>
 
671
        <groupId>org.kohsuke.stapler</groupId>
 
672
        <artifactId>maven-stapler-plugin</artifactId>
 
673
        <!-- version specified in grandparent pom -->
 
674
        <configuration>
 
675
          <fork>${staplerFork}</fork><!-- the source code is big enough now that otherwise it fails with OutOfMemoryError -->
 
676
          <maxmem>128m</maxmem>
 
677
        </configuration>
 
678
      </plugin>
 
679
      <plugin>
 
680
        <groupId>org.jvnet.localizer</groupId>
 
681
        <artifactId>maven-localizer-plugin</artifactId>
 
682
        <!-- version specified in grandparent pom -->
 
683
        <executions>
 
684
          <execution>
 
685
            <goals>
 
686
              <goal>generate</goal>
 
687
            </goals>
 
688
            <configuration>
 
689
              <fileMask>Messages.properties</fileMask>
 
690
              <outputDirectory>target/generated-sources/localizer</outputDirectory>
 
691
            </configuration>
 
692
          </execution>
 
693
        </executions>
 
694
      </plugin>
 
695
      <plugin>
 
696
        <groupId>org.kohsuke</groupId>
 
697
        <artifactId>access-modifier-checker</artifactId>
 
698
        <!-- version specified in grandparent pom -->
 
699
        <executions>
 
700
          <execution>
 
701
            <goals>
 
702
              <goal>enforce</goal>
 
703
            </goals>
 
704
          </execution>
 
705
        </executions>
 
706
      </plugin>
 
707
      <plugin>
 
708
        <groupId>org.codehaus.mojo</groupId>
 
709
        <artifactId>antlr-maven-plugin</artifactId>
 
710
        <!-- version specified in grandparent pom -->
 
711
        <executions>
 
712
          <execution>
 
713
            <id>cron</id>
 
714
            <goals>
 
715
              <goal>generate</goal>
 
716
            </goals>
 
717
            <configuration>
 
718
              <sourceDirectory>${basedir}/src/main/grammar</sourceDirectory>
 
719
              <grammars>crontab.g</grammars>
 
720
            </configuration>
 
721
          </execution>
 
722
          <execution>
 
723
            <id>labelExpr</id>
 
724
            <goals>
 
725
              <goal>generate</goal>
 
726
            </goals>
 
727
            <configuration>
 
728
              <sourceDirectory>${basedir}/src/main/grammar</sourceDirectory>
 
729
              <grammars>labelExpr.g</grammars>
 
730
            </configuration>
 
731
          </execution>
 
732
        </executions>
 
733
      </plugin>
 
734
      <plugin>
 
735
        <artifactId>maven-dependency-plugin</artifactId>
 
736
        <executions>
 
737
          <execution>
 
738
            <id>winsw</id>
 
739
            <phase>generate-resources</phase>
 
740
            <goals>
 
741
              <!-- we use copy as this is a dependency from outside the reactor -->
 
742
              <goal>copy</goal>
 
743
            </goals>
 
744
            <configuration>
 
745
              <artifactItems>
 
746
                <artifactItem>
 
747
                  <groupId>com.sun.winsw</groupId>
 
748
                  <artifactId>winsw</artifactId>
 
749
                  <version>1.10</version>
 
750
                  <classifier>bin</classifier>
 
751
                  <type>exe</type>
 
752
                  <outputDirectory>${project.build.outputDirectory}/windows-service</outputDirectory>
 
753
                  <destFileName>jenkins.exe</destFileName>
 
754
                </artifactItem>
 
755
              </artifactItems>
 
756
            </configuration>
 
757
          </execution>
 
758
        </executions>
 
759
      </plugin>
 
760
      <plugin><!-- set main class -->
 
761
        <artifactId>maven-jar-plugin</artifactId>
 
762
        <!-- version specified in grandparent pom -->
 
763
        <configuration>
 
764
          <archive>
 
765
            <manifest>
 
766
              <mainClass>hudson.Main</mainClass>
 
767
              <addClasspath>true</addClasspath>
 
768
              <classpathPrefix />
 
769
            </manifest>
 
770
          </archive>
 
771
        </configuration>
 
772
      </plugin>
 
773
      <plugin><!-- run unit test in src/test/java -->
 
774
        <groupId>org.kohsuke.gmaven</groupId>
 
775
        <artifactId>gmaven-plugin</artifactId>
 
776
        <!-- version specified in grandparent pom -->
 
777
        <executions>
 
778
          <execution>
 
779
            <goals>
 
780
              <goal>testCompile</goal>
 
781
            </goals>
 
782
            <configuration>
 
783
              <sources>
 
784
                <fileset>
 
785
                  <directory>${project.basedir}/src/test/java</directory>
 
786
                  <includes>
 
787
                    <include>**/*.groovy</include>
 
788
                  </includes>
 
789
                </fileset>
 
790
              </sources>
 
791
            </configuration>
 
792
          </execution>
 
793
        </executions>
 
794
        <dependencies>
 
795
          <dependency>
 
796
            <groupId>org.codehaus.groovy</groupId>
 
797
            <artifactId>groovy-all</artifactId>
 
798
            <version>1.8.5</version>
 
799
          </dependency>
 
800
        </dependencies>
 
801
      </plugin>
 
802
    </plugins>
 
803
  </build>
 
804
 
 
805
  <reporting>
 
806
    <plugins>
 
807
      <plugin><!-- generate Jelly tag lib documentation -->
 
808
        <groupId>org.kohsuke.stapler</groupId>
 
809
        <artifactId>maven-stapler-plugin</artifactId>
 
810
        <version>1.16</version>
 
811
        <configuration>
 
812
          <patterns>
 
813
            <pattern>/lib/.*</pattern>
 
814
          </patterns>
 
815
        </configuration>
 
816
      </plugin>
 
817
      <plugin><!-- skip slow dependency analysis -->
 
818
        <artifactId>maven-project-info-reports-plugin</artifactId>
 
819
        <version>2.6</version>
 
820
        <configuration>
 
821
          <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
 
822
        </configuration>
 
823
      </plugin>
 
824
    </plugins>
 
825
  </reporting>
 
826
 
 
827
  <profiles>
 
828
    <profile>
 
829
      <id>debug</id>
 
830
      <activation>
 
831
        <activeByDefault>true</activeByDefault>
 
832
      </activation>
 
833
    </profile>
 
834
    <profile>
 
835
      <id>release</id>
 
836
      <build>
 
837
        <plugins>
 
838
          <plugin><!-- execute apt:process for "Extension points" Wiki page generation -->
 
839
            <groupId>org.codehaus.mojo</groupId>
 
840
            <artifactId>apt-maven-plugin</artifactId>
 
841
            <!-- version specified in grandparent pom -->
 
842
            <executions>
 
843
              <execution>
 
844
                <goals>
 
845
                  <goal>process</goal>
 
846
                </goals>
 
847
              </execution>
 
848
            </executions>
 
849
          </plugin>
 
850
          <plugin>
 
851
            <!--
 
852
              generate jelly taglib docs from src/main/resoruces.
 
853
              this is necessary in addition to the <reporting> configuration
 
854
              to get the results deployed.
 
855
            -->
 
856
            <groupId>org.kohsuke.stapler</groupId>
 
857
            <artifactId>maven-stapler-plugin</artifactId>
 
858
            <!-- version specified in grandparent pom -->
 
859
            <executions>
 
860
              <execution>
 
861
                <goals>
 
862
                  <goal>jelly-taglibdoc</goal>
 
863
                </goals>
 
864
                <configuration>
 
865
                  <patterns>
 
866
                    <pattern>/lib/.*</pattern>
 
867
                  </patterns>
 
868
                </configuration>
 
869
              </execution>
 
870
            </executions>
 
871
          </plugin>
 
872
        </plugins>
 
873
      </build>
 
874
    </profile>
 
875
    <profile>
 
876
      <!-- run FindBugs for better error detection. run as "mvn -Pfindbugs install site" -->
 
877
      <id>findbugs</id>
 
878
      <reporting>
 
879
        <plugins>
 
880
          <plugin>
 
881
            <groupId>org.codehaus.mojo</groupId>
 
882
            <artifactId>findbugs-maven-plugin</artifactId>
 
883
            <version>2.5.2</version>
 
884
            <configuration>
 
885
              <effort>Max</effort>
 
886
              <threshold>High</threshold>
 
887
              <excludeFilterFile>src/findbugs-filter.xml</excludeFilterFile>
 
888
            </configuration>
 
889
          </plugin>
 
890
        </plugins>
 
891
      </reporting>
 
892
    </profile>
 
893
    <profile>
 
894
      <!--
 
895
        Obtain code coverage report. This is done by running Unit tests on our own and suppressing surefire.
 
896
      -->
 
897
      <id>cobertura</id>
 
898
      <build>
 
899
        <plugins>
 
900
          <plugin>
 
901
            <groupId>org.kohsuke.gmaven</groupId>
 
902
            <artifactId>gmaven-plugin</artifactId>
 
903
            <!-- version specified in grandparent pom -->
 
904
            <executions>
 
905
              <!-- run unit test -->
 
906
              <execution>
 
907
                <phase>test</phase>
 
908
                <goals>
 
909
                  <goal>execute</goal>
 
910
                </goals>
 
911
                <configuration>
 
912
                  <scriptpath>
 
913
                    <element>${project.basedir}/src/build-script</element>
 
914
                  </scriptpath>
 
915
                  <source>${project.basedir}/src/build-script/unitTest.groovy</source>
 
916
                </configuration>
 
917
              </execution>
 
918
            </executions>
 
919
          </plugin>
 
920
          <plugin>
 
921
            <!-- unit tests are run by GMaven through Ant. -->
 
922
            <artifactId>maven-surefire-plugin</artifactId>
 
923
            <!-- version specified in grandparent pom -->
 
924
            <configuration>
 
925
              <skipTests>true</skipTests>
 
926
            </configuration>
 
927
          </plugin>
 
928
        </plugins>
 
929
      </build>
 
930
    </profile>
 
931
  </profiles>
 
932
</project>