pom.xml 26.2 KB
Newer Older
K
kohsuke 已提交
1 2 3
<!--
The MIT License

4 5
Copyright (c) 2004-2010, Sun Microsystems, Inc., Kohsuke Kawaguchi,
Daniel Dyer, Erik Ramfelt, Stephen Connolly, Tom Huybrechts, Alan Harder
K
kohsuke 已提交
6 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 28
<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>
  <parent>
29
    <groupId>org.jvnet.hudson.main</groupId>
K
TAB->WS  
kohsuke 已提交
30
    <artifactId>pom</artifactId>
K
kohsuke 已提交
31
    <version>1.358-SNAPSHOT</version>
K
TAB->WS  
kohsuke 已提交
32 33
    <relativePath>../pom.xml</relativePath>
  </parent>
34

K
TAB->WS  
kohsuke 已提交
35 36 37
  <artifactId>hudson-core</artifactId>
  <packaging>stapler-jar</packaging>
  <name>Hudson core</name>
38 39 40
  <description>
    Contains the core Hudson code and view files to render HTML.
  </description>
41

K
TAB->WS  
kohsuke 已提交
42 43
  <build>
    <plugins>
44 45 46
      <plugin>
        <groupId>org.jvnet.hudson.tools</groupId>
        <artifactId>maven-encoding-plugin</artifactId>
A
abayer 已提交
47
        <version>1.1</version>
48 49 50 51 52 53 54 55 56
        <executions>
          <execution>
            <goals>
              <goal>check-encoding</goal>
            </goals>
            <phase>compile</phase>
          </execution>
        </executions>
      </plugin>
K
TAB->WS  
kohsuke 已提交
57 58 59
      <plugin>
        <groupId>org.kohsuke.stapler</groupId>
        <artifactId>maven-stapler-plugin</artifactId>
60
        <version>1.15</version>
A
abayer 已提交
61 62 63 64 65 66 67 68
        <extensions>true</extensions>
        <dependencies>
          <dependency>
            <groupId>org.jvnet.maven-jellydoc-plugin</groupId>
            <artifactId>maven-jellydoc-plugin</artifactId>
            <version>1.4</version>
          </dependency>
        </dependencies>
69 70 71 72
        <configuration>
          <fork>true</fork><!-- the source code is big enough now that otherwise it fails with OutOfMemoryError -->
          <maxmem>128m</maxmem>
        </configuration>
K
TAB->WS  
kohsuke 已提交
73 74 75 76
      </plugin>
      <plugin>
        <groupId>org.jvnet.localizer</groupId>
        <artifactId>maven-localizer-plugin</artifactId>
A
abayer 已提交
77
        <version>1.10</version>
K
TAB->WS  
kohsuke 已提交
78 79 80 81 82 83 84 85 86 87 88 89
        <executions>
          <execution>
            <goals>
              <goal>generate</goal>
            </goals>
            <configuration>
              <fileMask>Messages.properties</fileMask>
              <outputDirectory>target/generated-sources/localizer</outputDirectory>
            </configuration>
          </execution>
        </executions>
      </plugin>
K
kohsuke 已提交
90 91 92 93 94 95 96 97 98 99 100 101
      <plugin>
        <groupId>org.kohsuke</groupId>
        <artifactId>access-modifier-checker</artifactId>
        <version>1.0</version>
        <executions>
          <execution>
            <goals>
              <goal>enforce</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
K
TAB->WS  
kohsuke 已提交
102 103 104 105 106 107 108 109 110 111 112 113 114 115 116
      <plugin>
        <artifactId>maven-antlr-plugin</artifactId>
        <configuration>
          <sourceDirectory>${basedir}/src/main/grammar</sourceDirectory>
          <grammars>crontab.g</grammars>
        </configuration>
        <executions>
          <execution>
            <goals>
              <goal>generate</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
117 118
        <groupId>org.jvnet.maven-antrun-extended-plugin</groupId>
        <artifactId>maven-antrun-extended-plugin</artifactId>
K
TAB->WS  
kohsuke 已提交
119 120 121 122 123 124
        <executions>
          <execution>
            <phase>generate-resources</phase>
            <configuration>
              <tasks>
                <tstamp>
125
                  <format property="now" pattern="MM/dd/yyyy hh:mm" unit="hour" />
K
TAB->WS  
kohsuke 已提交
126
                </tstamp>
127
                <property name="build.type" value="private" /> <!-- override for "rc" build -->
128 129 130 131 132 133 134
                <pathconvert property="version.rc">
                  <path path="${version}"/>
                  <chainedmapper><flattenmapper/><globmapper from="*-SNAPSHOT" to="*-RC"/></chainedmapper>
                </pathconvert>
                <condition property="build.version" value="${version.rc} (${now})">
                  <equals arg1="${build.type}" arg2="rc"/>
                </condition>
135
                <property name="build.version" value="${version} (${build.type}-${now}-${user.name})" />
K
TAB->WS  
kohsuke 已提交
136 137
                <!-- default to release version -->
                <!-- put the version file -->
138
                <echo message="The build id is: ${build.version}" />
K
kohsuke 已提交
139
                <mkdir dir="target/classes/hudson/model" />
140
                <echo file="target/classes/hudson/model/hudson-version.properties">version=${build.version}
K
TAB->WS  
kohsuke 已提交
141
                </echo>
142 143 144 145

                <!-- download winsw.exe -->
                <mkdir dir="target/classes/windows-service" />
                <resolveArtifact artifactId="winsw" tofile="target/classes/windows-service/hudson.exe" />
K
TAB->WS  
kohsuke 已提交
146 147 148 149 150 151 152 153
              </tasks>
            </configuration>
            <goals>
              <goal>run</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
154
      <plugin><!-- set main class -->
K
TAB->WS  
kohsuke 已提交
155 156 157 158 159 160
        <artifactId>maven-jar-plugin</artifactId>
        <configuration>
          <archive>
            <manifest>
              <mainClass>hudson.Main</mainClass>
              <addClasspath>true</addClasspath>
161
              <classpathPrefix />
K
TAB->WS  
kohsuke 已提交
162 163 164 165
            </manifest>
          </archive>
        </configuration>
      </plugin>
166 167 168 169 170 171 172
      <plugin>
        <!--
          Configuration for generating Wiki page.
          This kicks in with the release profile, or by manually running "mvn apt:process"
        -->
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>apt-maven-plugin</artifactId>
A
abayer 已提交
173
        <version>1.0-alpha-2</version>
174 175 176 177 178
        <configuration>
          <force>true</force><!-- disable staleness check -->
          <factory>org.jvnet.hudson.tools.ExtensionPointListerFactory</factory>
          <options>
            <option>page=Extension points</option>
K
kohsuke 已提交
179
            <option>target=${project.basedir}/target/extension-points.wiki</option>
180 181 182 183 184 185
          </options>
        </configuration>
        <dependencies>
          <dependency>
            <groupId>org.jvnet.hudson.tools</groupId>
            <artifactId>extension-point-lister</artifactId>
186
            <version>1.5</version>
187 188 189 190 191 192 193 194 195 196 197 198 199
            <exclusions>
               <exclusion>
                 <groupId>com.sun</groupId>
                 <artifactId>tools</artifactId>
               </exclusion>
              <exclusion>
                <groupId>commons-logging</groupId>
                <artifactId>commons-logging</artifactId>
              </exclusion>
             </exclusions>
          </dependency>
        </dependencies>
      </plugin>
K
TAB->WS  
kohsuke 已提交
200 201 202 203 204 205 206 207 208 209 210
    </plugins>
  </build>

  <profiles>
    <profile>
      <id>debug</id>
      <activation>
        <activeByDefault>true</activeByDefault>
      </activation>
    </profile>
    <profile>
K
kohsuke 已提交
211
      <id>release</id>
K
TAB->WS  
kohsuke 已提交
212 213 214 215
      <properties>
        <!-- for releases, just use the POM version. See above ant-run plugin for how this gets used. -->
        <build.version>${version}</build.version>
      </properties>
216 217
      <build>
        <plugins>
K
kohsuke 已提交
218
          <plugin><!-- execute apt:process for "Extension points" Wiki page generation -->
219 220
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>apt-maven-plugin</artifactId>
A
abayer 已提交
221
            <version>1.0-alpha-2</version>
222 223 224 225 226 227 228 229
            <executions>
              <execution>
                <goals>
                  <goal>process</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
K
kohsuke 已提交
230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250
          <plugin>
            <!--
              generate jelly taglib docs from src/main/resoruces.
              this is necessary in addition to the <reporting> configuration
              to get the results deployed.
            -->
            <groupId>org.kohsuke.stapler</groupId>
            <artifactId>maven-stapler-plugin</artifactId>
            <executions>
              <execution>
                <goals>
                  <goal>jelly-taglibdoc</goal>
                </goals>
                <configuration>
                  <patterns>
                    <pattern>/lib/.*</pattern>
                  </patterns>
                </configuration>
              </execution>
            </executions>
          </plugin>
251 252
        </plugins>
      </build>
K
TAB->WS  
kohsuke 已提交
253
    </profile>
254
    <profile>
J
jglick 已提交
255
      <!-- run FindBugs for better error detection -->
256 257 258 259 260 261
      <id>findbugs</id>
      <reporting>
        <plugins>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>findbugs-maven-plugin</artifactId>
A
abayer 已提交
262
            <version>1.2</version>
263 264 265 266 267 268 269 270 271 272
            <configuration>
              <effort>Max</effort>
              <threshold>Normal</threshold>
              <onlyAnalyze>hudson.-</onlyAnalyze>
              <excludeFilterFile>src/findbugs-filter.xml</excludeFilterFile>
            </configuration>
          </plugin>
        </plugins>
      </reporting>
    </profile>
273 274 275 276 277 278 279 280
    <profile>
      <!--
        Obtain code coverage report. This is done by running Unit tests on our own and suppressing surefire.
      -->
      <id>cobertura</id>
      <build>
        <plugins>
          <plugin>
281
            <groupId>org.kohsuke.gmaven</groupId>
282 283 284 285 286 287 288 289 290
            <artifactId>gmaven-plugin</artifactId>
            <executions>
              <!-- run unit test -->
              <execution>
                <phase>test</phase>
                <goals>
                  <goal>execute</goal>
                </goals>
                <configuration>
291 292 293
                  <scriptpath>
                    <element>${project.basedir}/src/build-script</element>
                  </scriptpath>
294 295 296 297 298 299 300 301 302 303 304 305 306 307 308
                  <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>
            <configuration>
              <skipTests>true</skipTests>
            </configuration>
          </plugin>
        </plugins>
      </build>
    </profile>
K
TAB->WS  
kohsuke 已提交
309 310 311 312
  </profiles>

  <dependencies>
    <dependency>
313
      <groupId>${project.groupId}</groupId>
K
TAB->WS  
kohsuke 已提交
314 315 316
      <artifactId>remoting</artifactId>
      <version>${project.version}</version>
    </dependency>
317 318 319 320 321
    <dependency>
      <groupId>${project.groupId}</groupId>
      <artifactId>cli</artifactId>
      <version>${project.version}</version>
    </dependency>
K
kohsuke 已提交
322 323
    <dependency>
      <groupId>org.jvnet.hudson</groupId>
324 325 326 327 328
      <artifactId>crypto-util</artifactId>
      <version>1.0</version>
    </dependency>
    <dependency>
      <groupId>org.jvnet.hudson</groupId>
K
kohsuke 已提交
329 330
      <artifactId>jtidy</artifactId>
      <version>4aug2000r7-dev-hudson-1</version>
331 332 333 334 335 336
      <exclusions>
        <exclusion>
          <groupId>jdom</groupId>
          <artifactId>jdom</artifactId>
        </exclusion>
      </exclusions>
337
    </dependency>
338

K
kohsuke 已提交
339 340 341
    <dependency>
      <groupId>org.jruby.ext.posix</groupId>
      <artifactId>jna-posix</artifactId>
K
kohsuke 已提交
342
      <version>1.0.3</version>
K
kohsuke 已提交
343
    </dependency>
K
kohsuke 已提交
344 345 346 347 348
    <dependency>
      <groupId>org.kohsuke</groupId>
      <artifactId>trilead-putty-extension</artifactId>
      <version>1.0</version>
    </dependency>
349 350 351 352 353
    <dependency>
      <groupId>org.jvnet.hudson</groupId>
      <artifactId>trilead-ssh2</artifactId>
      <version>build212-hudson-5</version>
    </dependency>
K
TAB->WS  
kohsuke 已提交
354 355
    <dependency>
      <groupId>org.kohsuke.stapler</groupId>
356
      <artifactId>stapler-jelly</artifactId>
357
      <version>1.141</version>
358 359 360 361 362 363 364 365 366 367
      <exclusions>
        <exclusion>
          <groupId>commons-jelly</groupId>
          <artifactId>commons-jelly</artifactId>
        </exclusion>
        <exclusion>
          <groupId>commons-jexl</groupId>
          <artifactId>commons-jexl</artifactId>
        </exclusion>
      </exclusions>
K
TAB->WS  
kohsuke 已提交
368
    </dependency>
369 370 371
    <dependency>
      <groupId>org.kohsuke.stapler</groupId>
      <artifactId>stapler-adjunct-timeline</artifactId>
K
kohsuke 已提交
372
      <version>1.1</version>
373 374 375 376 377 378 379 380 381
    </dependency>
    <dependency><!-- this helps us see the source code of the control while we edit Hudson. -->
      <groupId>org.kohsuke.stapler</groupId>
      <artifactId>stapler-adjunct-timeline</artifactId>
      <version>1.0</version>
      <classifier>tests</classifier>
      <scope>test</scope>
    </dependency>

382 383 384
    <dependency><!-- until we get this version through Stapler -->
      <groupId>org.kohsuke.stapler</groupId>
      <artifactId>json-lib</artifactId>
385
      <version>2.1-rev6</version>
386
    </dependency>
387 388 389
    <dependency>
      <groupId>args4j</groupId>
      <artifactId>args4j</artifactId>
390
      <version>2.0.16</version>
391
    </dependency>
392 393 394
    <dependency>
      <groupId>org.jvnet.hudson</groupId>
      <artifactId>annotation-indexer</artifactId>
K
kohsuke 已提交
395 396 397 398 399
      <version>1.2</version>
    </dependency>
    <dependency>
      <groupId>org.jvnet.hudson</groupId>
      <artifactId>task-reactor</artifactId>
400
      <version>1.2</version>
401
    </dependency>
K
kohsuke 已提交
402 403 404
    <dependency>
      <groupId>org.jvnet.localizer</groupId>
      <artifactId>localizer</artifactId>
K
kohsuke 已提交
405
      <version>1.10</version>
K
kohsuke 已提交
406
    </dependency>
407 408 409 410 411
    <dependency>
      <groupId>org.kohsuke</groupId>
      <artifactId>graph-layouter</artifactId>
      <version>1.0</version>
    </dependency>
K
kohsuke 已提交
412 413 414 415 416 417
    <dependency>
      <groupId>antlr</groupId>
      <artifactId>antlr</artifactId>
      <version>2.7.6</version>
    </dependency>
    <dependency>
418
      <groupId>org.jvnet.hudson</groupId>
K
kohsuke 已提交
419
      <artifactId>xstream</artifactId>
420
      <version>1.3.1-hudson-6</version>
K
kohsuke 已提交
421 422 423 424
    </dependency>
    <dependency>
      <groupId>jfree</groupId>
      <artifactId>jfreechart</artifactId>
425
      <version>1.0.9</version>
K
kohsuke 已提交
426 427
    </dependency>
    <dependency>
428
      <groupId>org.apache.ant</groupId>
K
kohsuke 已提交
429
      <artifactId>ant-junit</artifactId>
430
      <version>1.7.0</version>
K
kohsuke 已提交
431 432
    </dependency>
    <dependency>
433
      <groupId>org.apache.ant</groupId>
K
kohsuke 已提交
434
      <artifactId>ant</artifactId>
435
      <version>1.7.0</version>
K
kohsuke 已提交
436 437 438 439 440
    </dependency>
    <dependency>
      <groupId>javax.servlet</groupId>
      <artifactId>servlet-api</artifactId>
      <version>2.4</version>
441
      <scope>provided</scope>
K
kohsuke 已提交
442 443 444 445
    </dependency>
    <dependency>
      <groupId>commons-io</groupId>
      <artifactId>commons-io</artifactId>
K
kohsuke 已提交
446
      <version>1.4</version>
K
kohsuke 已提交
447
    </dependency>
448 449 450 451 452
    <dependency><!-- hudson doesn't use this directly, but some plugins wanted to use the latest -->
      <groupId>commons-lang</groupId>
      <artifactId>commons-lang</artifactId>
      <version>2.4</version>
    </dependency>
K
kohsuke 已提交
453 454 455 456
    <dependency>
      <groupId>commons-digester</groupId>
      <artifactId>commons-digester</artifactId>
      <version>1.7</version>
457 458 459 460 461 462
      <exclusions>
        <exclusion>
          <groupId>xml-apis</groupId>
          <artifactId>xml-apis</artifactId>
        </exclusion>
      </exclusions>
K
kohsuke 已提交
463
    </dependency>
K
kohsuke 已提交
464 465 466 467 468 469 470
    <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>
471
      <version>1.8.0</version>
K
kohsuke 已提交
472 473
    </dependency>
    <dependency>
K
kohsuke 已提交
474 475 476
      <groupId>javax.mail</groupId>
      <artifactId>mail</artifactId>
      <version>1.4</version>
477 478 479 480 481 482
      <exclusions>
        <exclusion><!-- using a patched version -->
          <groupId>javax.activation</groupId>
          <artifactId>activation</artifactId>
        </exclusion>
      </exclusions>
K
kohsuke 已提交
483 484
    </dependency>
    <dependency>
485
      <groupId>org.jvnet.hudson</groupId>
K
kohsuke 已提交
486
      <artifactId>activation</artifactId>
487
      <version>1.1.1-hudson-1</version>
K
kohsuke 已提交
488
    </dependency>
489 490 491 492
    <dependency>
      <groupId>jaxen</groupId>
      <artifactId>jaxen</artifactId>
      <version>1.1-beta-11</version>
K
kohsuke 已提交
493 494 495 496 497
      <exclusions>
        <exclusion>
          <groupId>dom4j</groupId>
          <artifactId>dom4j</artifactId>
        </exclusion>
498 499 500 501
        <exclusion>
          <groupId>xom</groupId>
          <artifactId>xom</artifactId>
        </exclusion>
502 503 504 505 506 507 508 509 510 511 512 513
        <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 已提交
514
      </exclusions>
515
    </dependency>
K
kohsuke 已提交
516 517 518 519 520 521 522 523 524
    <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>
525 526 527 528 529 530 531 532 533 534 535 536 537
      <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>
538 539 540 541
        <exclusion>
          <groupId>xml-apis</groupId>
          <artifactId>xml-apis</artifactId>
        </exclusion>
542 543 544 545
        <exclusion>
          <groupId>xalan</groupId>
          <artifactId>xalan</artifactId>
        </exclusion>
546 547 548 549 550 551 552 553
        <exclusion>
          <groupId>xerces</groupId>
          <artifactId>xercesImpl</artifactId>
        </exclusion>
        <exclusion>
          <groupId>dom4j</groupId>
          <artifactId>dom4j</artifactId>
        </exclusion>
554
      </exclusions>
K
kohsuke 已提交
555 556
    </dependency>
    <dependency>
557
      <groupId>org.jvnet.hudson</groupId>
K
kohsuke 已提交
558
      <artifactId>commons-jelly-tags-define</artifactId>
559
      <version>1.0.1-hudson-20071021</version>
560 561 562 563 564 565 566 567 568 569
      <exclusions>
        <exclusion>
          <groupId>dom4j</groupId>
          <artifactId>dom4j</artifactId>
        </exclusion>
        <exclusion>
          <groupId>commons-cli</groupId>
          <artifactId>commons-cli</artifactId>
        </exclusion>
      </exclusions>
K
kohsuke 已提交
570 571
    </dependency>
    <dependency>
572
      <groupId>org.jvnet.hudson</groupId>
K
kohsuke 已提交
573
      <artifactId>commons-jexl</artifactId>
574
      <version>1.1-hudson-20090508</version>
K
kohsuke 已提交
575
    </dependency>
K
kohsuke 已提交
576
    <dependency>
577 578 579
      <groupId>org.acegisecurity</groupId>
      <artifactId>acegi-security</artifactId>
      <version>1.0.5</version>
K
kohsuke 已提交
580
      <exclusions>
K
kohsuke 已提交
581
        <exclusion>
582 583
          <groupId>org.springframework</groupId>
          <artifactId>spring-remoting</artifactId>
K
kohsuke 已提交
584
        </exclusion>
585 586 587 588
        <exclusion>
          <groupId>org.springframework</groupId>
          <artifactId>spring-support</artifactId>
        </exclusion>
K
kohsuke 已提交
589
      </exclusions>
K
kohsuke 已提交
590
    </dependency>
591 592
    <dependency>
      <groupId>org.codehaus.groovy</groupId>
593 594
      <artifactId>groovy-all</artifactId>
      <version>1.6.0</version>
595 596 597 598 599 600 601 602
    </dependency>
    <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>
      <artifactId>spring-web</artifactId>
603
      <version>2.5</version>
604 605 606 607
    </dependency>
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-core</artifactId>
608
      <version>2.5</version>
609 610 611 612
    </dependency>
    <dependency><!-- Hudson core doesn't use it but HUDSON-3811 requires us to put it. -->
      <groupId>org.springframework</groupId>
      <artifactId>spring-aop</artifactId>
613
      <version>2.5</version>
614
    </dependency>
615 616 617
    <dependency>
      <groupId>xpp3</groupId>
      <artifactId>xpp3</artifactId>
618
      <version>1.1.4c</version>
619
    </dependency>
K
kohsuke 已提交
620 621 622
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
K
kohsuke 已提交
623
      <version>4.3.1</version>
K
kohsuke 已提交
624
    </dependency>
K
kohsuke 已提交
625
    <dependency><!-- needed by Jelly -->
626
      <groupId>javax.servlet</groupId>
K
kohsuke 已提交
627 628 629
      <artifactId>jstl</artifactId>
      <version>1.1.0</version>
    </dependency>
630 631 632 633 634
    <dependency>
      <groupId>commons-logging</groupId>
      <artifactId>commons-logging</artifactId>
      <version>1.1</version>
    </dependency>
635 636 637
    <dependency>
      <groupId>com.sun.xml.txw2</groupId>
      <artifactId>txw2</artifactId>
K
kohsuke 已提交
638
      <version>20070624</version>
639
    </dependency>
640 641 642 643 644
    <dependency>
      <groupId>commons-collections</groupId>
      <artifactId>commons-collections</artifactId>
      <version>3.2</version>
    </dependency>
645 646 647
    <dependency>
      <groupId>org.jvnet.winp</groupId>
      <artifactId>winp</artifactId>
648
      <version>1.14</version>
649
    </dependency>
650 651 652
    <dependency>
      <groupId>org.jvnet.hudson</groupId>
      <artifactId>memory-monitor</artifactId>
653
      <version>1.2</version>
654
    </dependency>
K
kohsuke 已提交
655 656 657 658 659 660 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
    <dependency>
      <groupId>com.octo.captcha</groupId>
      <artifactId>jcaptcha-all</artifactId>
      <version>1.0-RC6</version>
      <exclusions>
        <exclusion>
          <groupId>hsqldb</groupId>
          <artifactId>hsqldb</artifactId>
        </exclusion>
        <exclusion>
          <groupId>hsqldb</groupId>
          <artifactId>hsqldb</artifactId>
        </exclusion>
        <exclusion>
          <groupId>net.sf.ehcache</groupId>
          <artifactId>ehcache</artifactId>
        </exclusion>
        <exclusion>
          <groupId>quartz</groupId>
          <artifactId>quartz</artifactId>
        </exclusion>
        <exclusion>
          <groupId>xerces</groupId>
          <artifactId>xercesImpl</artifactId>
        </exclusion>
        <exclusion>
          <groupId>xerces</groupId>
          <artifactId>xmlParserAPIs</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.springframework</groupId>
          <artifactId>spring</artifactId>
        </exclusion>
        <exclusion>
          <groupId>commons-dbcp</groupId>
          <artifactId>commons-dbcp</artifactId>
        </exclusion>
        <exclusion>
          <groupId>concurrent</groupId>
          <artifactId>concurrent</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
698 699 700 701 702
    <dependency><!-- StAX implementation. See HUDSON-2547. -->
      <groupId>org.codehaus.woodstox</groupId>
      <artifactId>wstx-asl</artifactId>
      <version>3.2.7</version>
    </dependency>
703 704 705 706 707
    <dependency>
      <groupId>org.jvnet.hudson</groupId>
      <artifactId>jmdns</artifactId>
      <version>3.1.6</version>
    </dependency>
708 709 710
    <dependency>
      <groupId>com.sun.winsw</groupId>
      <artifactId>winsw</artifactId>
711
      <version>1.8</version>
712 713 714 715
      <classifier>bin</classifier>
      <type>exe</type>
      <scope>provided</scope><!-- this isn't really a dependency that Maven should care about, so putting 'provided' -->
    </dependency>
716 717 718
    <dependency>
      <groupId>net.java.dev.jna</groupId>
      <artifactId>jna</artifactId>
719
      <version>3.2.4</version>
720
    </dependency>
721 722 723
    <dependency>
      <groupId>com.sun.akuma</groupId>
      <artifactId>akuma</artifactId>
K
kohsuke 已提交
724
      <version>1.2</version>
725
    </dependency>
K
kohsuke 已提交
726 727 728
    <dependency>
      <groupId>org.jvnet.libpam4j</groupId>
      <artifactId>libpam4j</artifactId>
K
kohsuke 已提交
729
      <version>1.2</version>
K
kohsuke 已提交
730
    </dependency>
731 732 733
    <dependency>
      <groupId>org.jvnet.libzfs</groupId>
      <artifactId>libzfs</artifactId>
K
kohsuke 已提交
734
      <version>0.5</version>
735 736 737 738
    </dependency>
    <dependency>
      <groupId>com.sun.solaris</groupId>
      <artifactId>embedded_su4j</artifactId>
K
bug fix  
kohsuke 已提交
739
      <version>1.1</version>
740
    </dependency>
741 742 743
    <dependency>
      <groupId>net.java.sezpoz</groupId>
      <artifactId>sezpoz</artifactId>
744
      <version>1.7</version>
745
    </dependency>
746 747 748
    <dependency>
      <groupId>org.jvnet.hudson</groupId>
      <artifactId>jinterop-wmi</artifactId>
K
kohsuke 已提交
749
      <version>1.0</version>
750
    </dependency>
751 752 753 754 755 756
    <dependency>
      <groupId>org.kohsuke.metainf-services</groupId>
      <artifactId>metainf-services</artifactId>
      <version>1.1</version>
      <optional>true</optional>
    </dependency>
757 758 759 760 761
    <dependency>
      <groupId>org.jvnet.robust-http-client</groupId>
      <artifactId>robust-http-client</artifactId>
      <version>1.0</version>
    </dependency>
K
kohsuke 已提交
762

K
...  
kohsuke 已提交
763 764 765 766 767 768
    <dependency><!-- Hudson 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 -->
      <groupId>commons-codec</groupId>
      <artifactId>commons-codec</artifactId>
      <version>1.4</version>
    </dependency>

769 770 771 772 773 774 775
    <dependency>
      <!-- with this, stapler can load parameter names from the debug info -->
      <groupId>asm</groupId>
      <artifactId>asm-commons</artifactId>
      <version>2.2.3</version>
    </dependency>

K
kohsuke 已提交
776 777 778 779 780 781
    <dependency>
      <groupId>org.kohsuke</groupId>
      <artifactId>access-modifier-annotation</artifactId>
      <version>1.0</version>
    </dependency>

782 783 784 785 786 787 788 789
    <!-- 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 已提交
790
  </dependencies>
K
kohsuke 已提交
791

K
kohsuke 已提交
792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810
  <reporting>
    <plugins>
      <plugin><!-- generate Jelly tag lib documentation -->
        <groupId>org.kohsuke.stapler</groupId>
        <artifactId>maven-stapler-plugin</artifactId>
        <configuration>
          <patterns>
            <pattern>/lib/.*</pattern>
          </patterns>
        </configuration>
      </plugin>
      <plugin><!-- skip slow dependency analysis -->
        <artifactId>maven-project-info-reports-plugin</artifactId>
        <configuration>
          <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
        </configuration>
      </plugin> 
    </plugins>
  </reporting>
811
</project>