~ubuntu-branches/ubuntu/trusty/jenkins/trusty

« back to all changes in this revision

Viewing changes to .pc/dependency-upgrades/jnr-posix-upgrade.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.480.3</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.198</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-1</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.0.7-1</version>
168
 
    </dependency>
169
 
    <dependency>
170
 
      <groupId>org.kohsuke.stapler</groupId>
171
 
      <artifactId>stapler-adjunct-timeline</artifactId>
172
 
      <version>1.3</version>
173
 
    </dependency>
174
 
    <dependency>
175
 
      <groupId>org.kohsuke.stapler</groupId>
176
 
      <artifactId>stapler-adjunct-codemirror</artifactId>
177
 
      <version>1.1</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.0</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.1-rev7</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.16</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.3.1-jenkins-11</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.4</version>
261
 
    </dependency>
262
 
    <dependency>
263
 
      <groupId>commons-digester</groupId>
264
 
      <artifactId>commons-digester</artifactId>
265
 
      <version>1.7</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.0</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
 
      <exclusions>
330
 
        <exclusion>
331
 
          <groupId>commons-jelly</groupId>
332
 
          <artifactId>commons-jelly</artifactId>
333
 
        </exclusion>
334
 
        <exclusion>
335
 
          <groupId>commons-jexl</groupId>
336
 
          <artifactId>commons-jexl</artifactId>
337
 
        </exclusion>
338
 
      </exclusions>
339
 
    </dependency>
340
 
    <dependency>
341
 
      <groupId>commons-jelly</groupId>
342
 
      <artifactId>commons-jelly-tags-xml</artifactId>
343
 
      <version>1.1</version>
344
 
      <exclusions>
345
 
        <exclusion>
346
 
          <groupId>commons-jelly</groupId>
347
 
          <artifactId>commons-jelly</artifactId>
348
 
        </exclusion>
349
 
        <exclusion>
350
 
          <groupId>commons-jexl</groupId>
351
 
          <artifactId>commons-jexl</artifactId>
352
 
        </exclusion>
353
 
        <exclusion>
354
 
          <groupId>commons-jelly</groupId>
355
 
          <artifactId>commons-jelly-tags-junit</artifactId>
356
 
        </exclusion>
357
 
        <exclusion>
358
 
          <groupId>xml-apis</groupId>
359
 
          <artifactId>xml-apis</artifactId>
360
 
        </exclusion>
361
 
        <exclusion>
362
 
          <groupId>xalan</groupId>
363
 
          <artifactId>xalan</artifactId>
364
 
        </exclusion>
365
 
        <exclusion>
366
 
          <groupId>xerces</groupId>
367
 
          <artifactId>xercesImpl</artifactId>
368
 
        </exclusion>
369
 
        <exclusion>
370
 
          <groupId>dom4j</groupId>
371
 
          <artifactId>dom4j</artifactId>
372
 
        </exclusion>
373
 
      </exclusions>
374
 
    </dependency>
375
 
    <dependency>
376
 
      <groupId>org.jvnet.hudson</groupId>
377
 
      <artifactId>commons-jelly-tags-define</artifactId>
378
 
      <version>1.0.1-hudson-20071021</version>
379
 
      <exclusions>
380
 
        <exclusion>
381
 
          <groupId>dom4j</groupId>
382
 
          <artifactId>dom4j</artifactId>
383
 
        </exclusion>
384
 
        <exclusion>
385
 
          <groupId>commons-cli</groupId>
386
 
          <artifactId>commons-cli</artifactId>
387
 
        </exclusion>
388
 
        <exclusion>
389
 
          <groupId>org.jvnet.hudson</groupId>
390
 
          <artifactId>commons-jelly</artifactId>
391
 
        </exclusion>
392
 
      </exclusions>
393
 
    </dependency>
394
 
    <dependency>
395
 
      <groupId>org.jenkins-ci</groupId>
396
 
      <artifactId>commons-jexl</artifactId>
397
 
      <version>1.1-jenkins-20111212</version>
398
 
    </dependency>
399
 
    <dependency>
400
 
      <groupId>org.acegisecurity</groupId>
401
 
      <artifactId>acegi-security</artifactId>
402
 
      <version>1.0.5</version>
403
 
      <exclusions>
404
 
        <exclusion>
405
 
          <groupId>org.springframework</groupId>
406
 
          <artifactId>spring-remoting</artifactId>
407
 
        </exclusion>
408
 
        <exclusion>
409
 
          <groupId>org.springframework</groupId>
410
 
          <artifactId>spring-support</artifactId>
411
 
        </exclusion>
412
 
      </exclusions>
413
 
    </dependency>
414
 
    <dependency>
415
 
      <groupId>org.codehaus.groovy</groupId>
416
 
      <artifactId>groovy-all</artifactId>
417
 
      <version>1.8.5</version>
418
 
    </dependency>
419
 
    <dependency><!-- groovy shell uses this but it doesn't declare this dependency -->
420
 
      <groupId>jline</groupId>
421
 
      <artifactId>jline</artifactId>
422
 
      <version>0.9.94</version>
423
 
      <scope>compile</scope>
424
 
    </dependency>
425
 
    <dependency><!-- groovy shell uses this but it doesn't declare this dependency -->
426
 
      <groupId>org.fusesource.jansi</groupId>
427
 
      <artifactId>jansi</artifactId>
428
 
      <version>1.6</version>
429
 
    </dependency>
430
 
    <dependency>
431
 
      <!--
432
 
        for Grails spring bean builder.
433
 
        Ideally we should be able to modify BeanBuilder so as not to depend on this.
434
 
      -->
435
 
      <groupId>org.springframework</groupId>
436
 
      <artifactId>spring-webmvc</artifactId>
437
 
      <version>${spring.version}</version>
438
 
    </dependency>
439
 
    <dependency>
440
 
      <groupId>org.springframework</groupId>
441
 
      <artifactId>spring-core</artifactId>
442
 
      <version>${spring.version}</version>
443
 
    </dependency>
444
 
    <dependency><!-- Jenkins core doesn't use it but HUDSON-3811 requires us to put it. -->
445
 
      <groupId>org.springframework</groupId>
446
 
      <artifactId>spring-aop</artifactId>
447
 
      <version>${spring.version}</version>
448
 
    </dependency>
449
 
    <dependency>
450
 
      <groupId>xpp3</groupId>
451
 
      <artifactId>xpp3</artifactId>
452
 
      <version>1.1.4c</version>
453
 
    </dependency>
454
 
    <dependency>
455
 
      <groupId>junit</groupId>
456
 
      <artifactId>junit-dep</artifactId>
457
 
      <scope>test</scope>
458
 
    </dependency>
459
 
    <dependency>
460
 
      <groupId>org.mockito</groupId>
461
 
      <artifactId>mockito-core</artifactId>
462
 
      <scope>test</scope>
463
 
    </dependency>
464
 
    <dependency>
465
 
      <groupId>org.powermock</groupId>
466
 
      <artifactId>powermock-module-junit4</artifactId>
467
 
      <scope>test</scope>
468
 
    </dependency>
469
 
    <dependency>
470
 
      <groupId>org.powermock</groupId>
471
 
      <artifactId>powermock-api-mockito</artifactId>
472
 
      <scope>test</scope>
473
 
    </dependency>
474
 
    <dependency><!-- needed by Jelly -->
475
 
      <groupId>javax.servlet</groupId>
476
 
      <artifactId>jstl</artifactId>
477
 
      <version>1.1.0</version>
478
 
    </dependency>
479
 
    <dependency>
480
 
      <groupId>commons-logging</groupId>
481
 
      <artifactId>commons-logging</artifactId>
482
 
      <version>1.1.1</version>
483
 
    </dependency>
484
 
    <dependency>
485
 
      <groupId>com.sun.xml.txw2</groupId>
486
 
      <artifactId>txw2</artifactId>
487
 
      <version>20070624</version>
488
 
    </dependency>
489
 
    <dependency>
490
 
      <groupId>commons-collections</groupId>
491
 
      <artifactId>commons-collections</artifactId>
492
 
      <version>3.2</version>
493
 
    </dependency>
494
 
    <dependency>
495
 
      <groupId>org.jvnet.winp</groupId>
496
 
      <artifactId>winp</artifactId>
497
 
      <version>1.14</version>
498
 
    </dependency>
499
 
    <dependency>
500
 
      <groupId>org.jenkins-ci</groupId>
501
 
      <artifactId>memory-monitor</artifactId>
502
 
      <version>1.7</version>
503
 
    </dependency>
504
 
    <dependency><!-- StAX implementation. See HUDSON-2547. -->
505
 
      <groupId>org.codehaus.woodstox</groupId>
506
 
      <artifactId>wstx-asl</artifactId>
507
 
      <version>3.2.7</version>
508
 
    </dependency>
509
 
    <dependency>
510
 
      <groupId>org.jenkins-ci</groupId>
511
 
      <artifactId>jmdns</artifactId>
512
 
      <version>3.4.0-jenkins-3</version>
513
 
    </dependency>
514
 
    <dependency>
515
 
      <groupId>com.sun.winsw</groupId>
516
 
      <artifactId>winsw</artifactId>
517
 
      <version>1.10</version>
518
 
      <classifier>bin</classifier>
519
 
      <type>exe</type>
520
 
      <scope>provided</scope><!-- this isn't really a dependency that Maven should care about, so putting 'provided' -->
521
 
    </dependency>
522
 
    <dependency>
523
 
      <groupId>net.java.dev.jna</groupId>
524
 
      <artifactId>jna</artifactId>
525
 
      <version>3.3.0-jenkins-3</version>
526
 
    </dependency>
527
 
    <dependency>
528
 
      <groupId>org.kohsuke</groupId>
529
 
      <artifactId>akuma</artifactId>
530
 
      <version>1.7</version>
531
 
    </dependency>
532
 
    <dependency>
533
 
      <groupId>org.kohsuke</groupId>
534
 
      <artifactId>libpam4j</artifactId>
535
 
      <version>1.6</version>
536
 
    </dependency>
537
 
    <dependency>
538
 
      <groupId>org.jvnet.libzfs</groupId>
539
 
      <artifactId>libzfs</artifactId>
540
 
      <version>0.5</version>
541
 
    </dependency>
542
 
    <dependency>
543
 
      <groupId>com.sun.solaris</groupId>
544
 
      <artifactId>embedded_su4j</artifactId>
545
 
      <version>1.1</version>
546
 
    </dependency>
547
 
    <dependency>
548
 
      <groupId>net.java.sezpoz</groupId>
549
 
      <artifactId>sezpoz</artifactId>
550
 
      <version>1.9</version>
551
 
    </dependency>
552
 
    <dependency>
553
 
      <groupId>org.jenkins-ci</groupId>
554
 
      <artifactId>jinterop-wmi</artifactId>
555
 
      <version>1.1</version>
556
 
    </dependency>
557
 
    <dependency>
558
 
      <groupId>org.jenkins-ci</groupId>
559
 
      <artifactId>windows-remote-command</artifactId>
560
 
      <version>1.3</version>
561
 
    </dependency>
562
 
    <dependency>
563
 
      <groupId>org.kohsuke.metainf-services</groupId>
564
 
      <artifactId>metainf-services</artifactId>
565
 
      <version>1.4</version>
566
 
      <scope>provided</scope>
567
 
      <optional>true</optional>
568
 
    </dependency>
569
 
    <dependency>
570
 
      <groupId>org.jvnet.robust-http-client</groupId>
571
 
      <artifactId>robust-http-client</artifactId>
572
 
      <version>1.2</version>
573
 
    </dependency>
574
 
 
575
 
    <dependency><!-- Jenkins doesn't depend on it but some plugin wants the latest version. Bundling 1.4 until we figure out a mechanism to let plugins load its own -->
576
 
      <groupId>commons-codec</groupId>
577
 
      <artifactId>commons-codec</artifactId>
578
 
      <version>1.4</version>
579
 
    </dependency>
580
 
 
581
 
    <dependency>
582
 
      <groupId>org.kohsuke</groupId>
583
 
      <artifactId>access-modifier-annotation</artifactId>
584
 
      <version>1.0</version>
585
 
    </dependency>
586
 
 
587
 
    <dependency>
588
 
      <groupId>findbugs</groupId>
589
 
      <artifactId>annotations</artifactId>
590
 
      <version>1.0.0</version>
591
 
      <scope>provided</scope>
592
 
    </dependency>
593
 
 
594
 
    <dependency>
595
 
      <groupId>org.kohsuke</groupId>
596
 
      <artifactId>owasp-html-sanitizer</artifactId>
597
 
      <version>r88</version>
598
 
    </dependency>
599
 
 
600
 
    <dependency>
601
 
        <groupId>org.mindrot</groupId>
602
 
        <artifactId>jbcrypt</artifactId>
603
 
        <version>0.3m</version>
604
 
    </dependency>
605
 
 
606
 
    <!-- offline profiler API to put in the classpath if we need it -->
607
 
    <!--dependency>
608
 
      <groupId>com.yourkit.api</groupId>
609
 
      <artifactId>yjp</artifactId>
610
 
      <version>dontcare</version>
611
 
      <scope>system</scope>
612
 
      <systemPath>/usr/local/yjp/lib/yjp.jar</systemPath>
613
 
    </dependency-->
614
 
  </dependencies>
615
 
 
616
 
  <build>
617
 
    <plugins>
618
 
      <plugin>
619
 
        <groupId>org.jenkins-ci.tools</groupId>
620
 
        <artifactId>maven-hpi-plugin</artifactId>
621
 
        <executions>
622
 
          <execution>
623
 
            <goals>
624
 
              <goal>generate-taglib-interface</goal>
625
 
            </goals>
626
 
          </execution>
627
 
        </executions>
628
 
      </plugin>
629
 
      <plugin>
630
 
        <groupId>org.jvnet.hudson.tools</groupId>
631
 
        <artifactId>maven-encoding-plugin</artifactId>
632
 
        <!-- version specified in grandparent pom -->
633
 
        <executions>
634
 
          <execution>
635
 
            <goals>
636
 
              <goal>check-encoding</goal>
637
 
            </goals>
638
 
            <phase>compile</phase>
639
 
          </execution>
640
 
        </executions>
641
 
      </plugin>
642
 
      <plugin>
643
 
        <groupId>com.infradna.tool</groupId>
644
 
        <artifactId>bridge-method-injector</artifactId>
645
 
        <!-- version specified in grandparent pom -->
646
 
        <executions>
647
 
          <execution>
648
 
            <goals>
649
 
              <goal>process</goal>
650
 
            </goals>
651
 
          </execution>
652
 
        </executions>
653
 
      </plugin>
654
 
      <plugin>
655
 
        <groupId>org.apache.maven.plugins</groupId>
656
 
        <artifactId>maven-compiler-plugin</artifactId>
657
 
        <version>2.3.2</version>
658
 
        <configuration>
659
 
          <excludes>
660
 
             <exclude>**/os/solaris/*</exclude>
661
 
             <exclude>**/os/windows/*</exclude>
662
 
             <exclude>**/DCOMSandbox.java</exclude>
663
 
             <exclude>**/DotNet.java</exclude>
664
 
             <exclude>**/WindowsSlaveInstaller.java</exclude>
665
 
             <exclude>**/WindowsInstallerLink.java</exclude>
666
 
          </excludes>
667
 
          <testExcludes>
668
 
             <exclude>**/DCOMSandbox.java</exclude>
669
 
          </testExcludes>
670
 
        </configuration>
671
 
      </plugin>
672
 
      <plugin>
673
 
        <groupId>org.kohsuke.stapler</groupId>
674
 
        <artifactId>maven-stapler-plugin</artifactId>
675
 
        <version>1.16</version>
676
 
        <!-- version specified in grandparent pom -->
677
 
        <configuration>
678
 
          <fork>${staplerFork}</fork><!-- the source code is big enough now that otherwise it fails with OutOfMemoryError -->
679
 
          <maxmem>128m</maxmem>
680
 
          <excludes>
681
 
             <exclude>**/os/solaris/*</exclude>
682
 
             <exclude>**/os/windows/*</exclude>
683
 
             <exclude>**/DCOMSandbox.java</exclude>
684
 
             <exclude>**/DotNet.java</exclude>
685
 
             <exclude>**/WindowsSlaveInstaller.java</exclude>
686
 
             <exclude>**/WindowsInstallerLink.java</exclude>
687
 
          </excludes>
688
 
          <testExcludes>
689
 
             <exclude>**/DCOMSandbox.java</exclude>
690
 
          </testExcludes>
691
 
        </configuration>
692
 
      </plugin>
693
 
      <plugin>
694
 
        <groupId>org.jvnet.localizer</groupId>
695
 
        <artifactId>maven-localizer-plugin</artifactId>
696
 
        <!-- version specified in grandparent pom -->
697
 
        <executions>
698
 
          <execution>
699
 
            <goals>
700
 
              <goal>generate</goal>
701
 
            </goals>
702
 
            <configuration>
703
 
              <fileMask>Messages.properties</fileMask>
704
 
              <outputDirectory>target/generated-sources/localizer</outputDirectory>
705
 
            </configuration>
706
 
          </execution>
707
 
        </executions>
708
 
      </plugin>
709
 
      <plugin>
710
 
        <groupId>org.kohsuke</groupId>
711
 
        <artifactId>access-modifier-checker</artifactId>
712
 
        <!-- version specified in grandparent pom -->
713
 
        <executions>
714
 
          <execution>
715
 
            <goals>
716
 
              <goal>enforce</goal>
717
 
            </goals>
718
 
          </execution>
719
 
        </executions>
720
 
      </plugin>
721
 
      <plugin>
722
 
        <groupId>org.codehaus.mojo</groupId>
723
 
        <artifactId>antlr-maven-plugin</artifactId>
724
 
        <!-- version specified in grandparent pom -->
725
 
        <executions>
726
 
          <execution>
727
 
            <id>cron</id>
728
 
            <goals>
729
 
              <goal>generate</goal>
730
 
            </goals>
731
 
            <configuration>
732
 
              <sourceDirectory>${basedir}/src/main/grammar</sourceDirectory>
733
 
              <grammars>crontab.g</grammars>
734
 
            </configuration>
735
 
          </execution>
736
 
          <execution>
737
 
            <id>labelExpr</id>
738
 
            <goals>
739
 
              <goal>generate</goal>
740
 
            </goals>
741
 
            <configuration>
742
 
              <sourceDirectory>${basedir}/src/main/grammar</sourceDirectory>
743
 
              <grammars>labelExpr.g</grammars>
744
 
            </configuration>
745
 
          </execution>
746
 
        </executions>
747
 
      </plugin>
748
 
      <plugin><!-- set main class -->
749
 
        <artifactId>maven-jar-plugin</artifactId>
750
 
        <!-- version specified in grandparent pom -->
751
 
        <configuration>
752
 
          <archive>
753
 
            <manifest>
754
 
              <mainClass>hudson.Main</mainClass>
755
 
              <addClasspath>true</addClasspath>
756
 
              <classpathPrefix />
757
 
            </manifest>
758
 
          </archive>
759
 
        </configuration>
760
 
      </plugin>
761
 
      <plugin><!-- run unit test in src/test/java -->
762
 
        <groupId>org.kohsuke.gmaven</groupId>
763
 
        <artifactId>gmaven-plugin</artifactId>
764
 
        <!-- version specified in grandparent pom -->
765
 
        <executions>
766
 
          <execution>
767
 
            <goals>
768
 
              <goal>testCompile</goal>
769
 
            </goals>
770
 
            <configuration>
771
 
              <sources>
772
 
                <fileset>
773
 
                  <directory>${project.basedir}/src/test/java</directory>
774
 
                  <includes>
775
 
                    <include>**/*.groovy</include>
776
 
                  </includes>
777
 
                </fileset>
778
 
              </sources>
779
 
            </configuration>
780
 
          </execution>
781
 
        </executions>
782
 
        <dependencies>
783
 
          <dependency>
784
 
            <groupId>org.codehaus.groovy</groupId>
785
 
            <artifactId>groovy-all</artifactId>
786
 
            <version>1.8.5</version>
787
 
          </dependency>
788
 
        </dependencies>
789
 
      </plugin>
790
 
    </plugins>
791
 
  </build>
792
 
 
793
 
  <reporting>
794
 
    <plugins>
795
 
      <plugin><!-- generate Jelly tag lib documentation -->
796
 
        <groupId>org.kohsuke.stapler</groupId>
797
 
        <artifactId>maven-stapler-plugin</artifactId>
798
 
        <version>1.15</version>
799
 
        <configuration>
800
 
          <patterns>
801
 
            <pattern>/lib/.*</pattern>
802
 
          </patterns>
803
 
        </configuration>
804
 
      </plugin>
805
 
      <plugin><!-- skip slow dependency analysis -->
806
 
        <artifactId>maven-project-info-reports-plugin</artifactId>
807
 
        <version>2.4</version>
808
 
        <configuration>
809
 
          <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
810
 
        </configuration>
811
 
      </plugin>
812
 
    </plugins>
813
 
  </reporting>
814
 
 
815
 
  <profiles>
816
 
    <profile>
817
 
      <id>debug</id>
818
 
      <activation>
819
 
        <activeByDefault>true</activeByDefault>
820
 
      </activation>
821
 
    </profile>
822
 
    <profile>
823
 
      <id>release</id>
824
 
      <build>
825
 
        <plugins>
826
 
          <plugin><!-- execute apt:process for "Extension points" Wiki page generation -->
827
 
            <groupId>org.codehaus.mojo</groupId>
828
 
            <artifactId>apt-maven-plugin</artifactId>
829
 
            <!-- version specified in grandparent pom -->
830
 
            <executions>
831
 
              <execution>
832
 
                <goals>
833
 
                  <goal>process</goal>
834
 
                </goals>
835
 
              </execution>
836
 
            </executions>
837
 
          </plugin>
838
 
          <plugin>
839
 
            <!--
840
 
              generate jelly taglib docs from src/main/resoruces.
841
 
              this is necessary in addition to the <reporting> configuration
842
 
              to get the results deployed.
843
 
            -->
844
 
            <groupId>org.kohsuke.stapler</groupId>
845
 
            <artifactId>maven-stapler-plugin</artifactId>
846
 
            <!-- version specified in grandparent pom -->
847
 
            <executions>
848
 
              <execution>
849
 
                <goals>
850
 
                  <goal>jelly-taglibdoc</goal>
851
 
                </goals>
852
 
                <configuration>
853
 
                  <patterns>
854
 
                    <pattern>/lib/.*</pattern>
855
 
                  </patterns>
856
 
                </configuration>
857
 
              </execution>
858
 
            </executions>
859
 
          </plugin>
860
 
        </plugins>
861
 
      </build>
862
 
    </profile>
863
 
    <profile>
864
 
      <!-- run FindBugs for better error detection. run as "mvn -Pfindbugs install site" -->
865
 
      <id>findbugs</id>
866
 
      <reporting>
867
 
        <plugins>
868
 
          <plugin>
869
 
            <groupId>org.codehaus.mojo</groupId>
870
 
            <artifactId>findbugs-maven-plugin</artifactId>
871
 
            <version>2.3.2</version>
872
 
            <configuration>
873
 
              <effort>Max</effort>
874
 
              <threshold>High</threshold>
875
 
              <excludeFilterFile>src/findbugs-filter.xml</excludeFilterFile>
876
 
            </configuration>
877
 
          </plugin>
878
 
        </plugins>
879
 
      </reporting>
880
 
    </profile>
881
 
    <profile>
882
 
      <!--
883
 
        Obtain code coverage report. This is done by running Unit tests on our own and suppressing surefire.
884
 
      -->
885
 
      <id>cobertura</id>
886
 
      <build>
887
 
        <plugins>
888
 
          <plugin>
889
 
            <groupId>org.kohsuke.gmaven</groupId>
890
 
            <artifactId>gmaven-plugin</artifactId>
891
 
            <!-- version specified in grandparent pom -->
892
 
            <executions>
893
 
              <!-- run unit test -->
894
 
              <execution>
895
 
                <phase>test</phase>
896
 
                <goals>
897
 
                  <goal>execute</goal>
898
 
                </goals>
899
 
                <configuration>
900
 
                  <scriptpath>
901
 
                    <element>${project.basedir}/src/build-script</element>
902
 
                  </scriptpath>
903
 
                  <source>${project.basedir}/src/build-script/unitTest.groovy</source>
904
 
                </configuration>
905
 
              </execution>
906
 
            </executions>
907
 
          </plugin>
908
 
          <plugin>
909
 
            <!-- unit tests are run by GMaven through Ant. -->
910
 
            <artifactId>maven-surefire-plugin</artifactId>
911
 
            <!-- version specified in grandparent pom -->
912
 
            <configuration>
913
 
              <skipTests>true</skipTests>
914
 
            </configuration>
915
 
          </plugin>
916
 
        </plugins>
917
 
      </build>
918
 
    </profile>
919
 
  </profiles>
920
 
</project>