pom.xml 25.2 KB
Newer Older
K
kohsuke 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
<!--
The MIT License

Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, Daniel Dyer, Erik Ramfelt, Stephen Connolly, Tom Huybrechts

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 已提交
25 26 27
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <parent>
28
    <groupId>org.jvnet.hudson.main</groupId>
K
TAB->WS  
kohsuke 已提交
29
    <artifactId>pom</artifactId>
30
    <version>1.294-SNAPSHOT</version>
K
TAB->WS  
kohsuke 已提交
31 32
    <relativePath>../pom.xml</relativePath>
  </parent>
33

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

K
TAB->WS  
kohsuke 已提交
41 42
  <build>
    <plugins>
43 44 45
      <plugin>
        <groupId>org.jvnet.hudson.tools</groupId>
        <artifactId>maven-encoding-plugin</artifactId>
K
kohsuke 已提交
46
        <version>1.1</version>
47 48 49 50 51 52 53 54 55
        <executions>
          <execution>
            <goals>
              <goal>check-encoding</goal>
            </goals>
            <phase>compile</phase>
          </execution>
        </executions>
      </plugin>
K
TAB->WS  
kohsuke 已提交
56 57 58
      <plugin>
        <groupId>org.kohsuke.stapler</groupId>
        <artifactId>maven-stapler-plugin</artifactId>
K
kohsuke 已提交
59
        <version>1.12</version>
K
TAB->WS  
kohsuke 已提交
60
        <extensions>true</extensions>
K
kohsuke 已提交
61 62 63 64 65 66 67
        <dependencies>
          <dependency>
            <groupId>org.jvnet.maven-jellydoc-plugin</groupId>
            <artifactId>maven-jellydoc-plugin</artifactId>
            <version>1.4</version>
          </dependency>
        </dependencies>
K
TAB->WS  
kohsuke 已提交
68 69 70 71
      </plugin>
      <plugin>
        <groupId>org.jvnet.localizer</groupId>
        <artifactId>maven-localizer-plugin</artifactId>
72
        <version>1.9</version>
K
TAB->WS  
kohsuke 已提交
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
        <executions>
          <execution>
            <goals>
              <goal>generate</goal>
            </goals>
            <configuration>
              <fileMask>Messages.properties</fileMask>
              <outputDirectory>target/generated-sources/localizer</outputDirectory>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <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>
100 101
        <groupId>org.jvnet.maven-antrun-extended-plugin</groupId>
        <artifactId>maven-antrun-extended-plugin</artifactId>
102
        <version>1.36</version>
K
TAB->WS  
kohsuke 已提交
103 104 105 106 107 108
        <executions>
          <execution>
            <phase>generate-resources</phase>
            <configuration>
              <tasks>
                <tstamp>
109
                  <format property="now" pattern="MM/dd/yyyy hh:mm" unit="hour" />
K
TAB->WS  
kohsuke 已提交
110
                </tstamp>
111
                <property name="build.version" value="${version} (private-${now}-${user.name})" />
K
TAB->WS  
kohsuke 已提交
112 113
                <!-- default to release version -->
                <!-- put the version file -->
114
                <echo message="The build id is: ${build.version}" />
K
kohsuke 已提交
115
                <mkdir dir="target/classes/hudson/model" />
116
                <echo file="target/classes/hudson/model/hudson-version.properties">version=${build.version}
K
TAB->WS  
kohsuke 已提交
117
                </echo>
118 119 120 121

                <!-- download winsw.exe -->
                <mkdir dir="target/classes/windows-service" />
                <resolveArtifact artifactId="winsw" tofile="target/classes/windows-service/hudson.exe" />
K
TAB->WS  
kohsuke 已提交
122 123 124 125 126 127 128 129
              </tasks>
            </configuration>
            <goals>
              <goal>run</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
130
      <plugin><!-- set main class -->
K
TAB->WS  
kohsuke 已提交
131 132 133 134 135 136
        <artifactId>maven-jar-plugin</artifactId>
        <configuration>
          <archive>
            <manifest>
              <mainClass>hudson.Main</mainClass>
              <addClasspath>true</addClasspath>
137
              <classpathPrefix />
K
TAB->WS  
kohsuke 已提交
138 139 140 141
            </manifest>
          </archive>
        </configuration>
      </plugin>
142 143 144 145 146 147 148 149 150 151 152 153 154
      <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>
        <version>1.0-alpha-2</version>
        <configuration>
          <force>true</force><!-- disable staleness check -->
          <factory>org.jvnet.hudson.tools.ExtensionPointListerFactory</factory>
          <options>
            <option>page=Extension points</option>
K
kohsuke 已提交
155
            <option>target=${project.basedir}/target/extension-points.wiki</option>
156 157 158 159 160 161
          </options>
        </configuration>
        <dependencies>
          <dependency>
            <groupId>org.jvnet.hudson.tools</groupId>
            <artifactId>extension-point-lister</artifactId>
162
            <version>1.2</version>
163 164 165 166 167 168 169 170 171 172 173 174 175
            <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 已提交
176 177 178 179 180 181 182 183 184 185 186
    </plugins>
  </build>

  <profiles>
    <profile>
      <id>debug</id>
      <activation>
        <activeByDefault>true</activeByDefault>
      </activation>
    </profile>
    <profile>
K
kohsuke 已提交
187
      <id>release</id>
K
TAB->WS  
kohsuke 已提交
188 189 190 191
      <properties>
        <!-- for releases, just use the POM version. See above ant-run plugin for how this gets used. -->
        <build.version>${version}</build.version>
      </properties>
192 193
      <build>
        <plugins>
K
kohsuke 已提交
194
          <plugin><!-- execute apt:process for "Extension points" Wiki page generation -->
195 196 197 198 199 200 201 202 203 204 205
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>apt-maven-plugin</artifactId>
            <version>1.0-alpha-2</version>
            <executions>
              <execution>
                <goals>
                  <goal>process</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
K
kohsuke 已提交
206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226
          <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>
227 228
        </plugins>
      </build>
K
TAB->WS  
kohsuke 已提交
229
    </profile>
230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248
    <profile>
      <!-- run findbugs for better error detection -->
      <id>findbugs</id>
      <reporting>
        <plugins>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>findbugs-maven-plugin</artifactId>
            <version>1.2</version>
            <configuration>
              <effort>Max</effort>
              <threshold>Normal</threshold>
              <onlyAnalyze>hudson.-</onlyAnalyze>
              <excludeFilterFile>src/findbugs-filter.xml</excludeFilterFile>
            </configuration>
          </plugin>
        </plugins>
      </reporting>
    </profile>
249 250 251 252 253 254 255 256
    <profile>
      <!--
        Obtain code coverage report. This is done by running Unit tests on our own and suppressing surefire.
      -->
      <id>cobertura</id>
      <build>
        <plugins>
          <plugin>
257
            <groupId>org.kohsuke.gmaven</groupId>
258 259 260 261 262 263 264 265 266
            <artifactId>gmaven-plugin</artifactId>
            <executions>
              <!-- run unit test -->
              <execution>
                <phase>test</phase>
                <goals>
                  <goal>execute</goal>
                </goals>
                <configuration>
267 268 269
                  <scriptpath>
                    <element>${project.basedir}/src/build-script</element>
                  </scriptpath>
270 271 272 273 274 275 276 277 278 279 280 281 282 283 284
                  <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
kohsuke 已提交
285 286 287 288 289 290
    <profile>
      <id>sorcerer</id>
      <reporting>
        <plugins>
          <plugin>
            <groupId>org.jvnet.sorcerer</groupId>
K
kohsuke 已提交
291
            <artifactId>maven-sorcerer-plugin</artifactId>
K
kohsuke 已提交
292
            <version>0.7-SNAPSHOT</version>
K
kohsuke 已提交
293 294
          </plugin>
        </plugins>
K
kohsuke 已提交
295 296
      </reporting>
    </profile>
K
TAB->WS  
kohsuke 已提交
297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327
  </profiles>

  <dependencies>
    <dependency>
      <groupId>org.jvnet.hudson.main</groupId>
      <artifactId>remoting</artifactId>
      <version>${project.version}</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-embedder</artifactId>
      <version>${maven.version}</version>
      <!--exclusions>   These are needed for Maven embedder to resolve parent POMs in remote repositories
        <exclusion>
          <groupId>org.apache.maven.wagon</groupId>
          <artifactId>wagon-file</artifactId>
        </exclusion>
        <exclusion>t r
          <groupId>org.apache.maven.wagon</groupId>
          <artifactId>wagon-http-lightweight</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.apache.maven.wagon</groupId>
          <artifactId>wagon-ssh-external</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.apache.maven.wagon</groupId>
          <artifactId>wagon-ssh</artifactId>
        </exclusion>
      </exclusions-->
    </dependency>
328 329 330 331
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-core</artifactId>
      <version>2.0.9</version>
K
kohsuke 已提交
332 333 334 335 336
      <exclusions>
        <exclusion><!-- we'll add our own patched version. see http://www.nabble.com/Issue-1680-td18383889.html -->
          <groupId>jtidy</groupId>
          <artifactId>jtidy</artifactId>
        </exclusion>
337 338 339 340 341 342 343 344
        <exclusion>
          <groupId>commons-cli</groupId>
          <artifactId>commons-cli</artifactId>
        </exclusion>
        <exclusion>
          <groupId>xml-apis</groupId>
          <artifactId>xml-apis</artifactId>
        </exclusion>
K
kohsuke 已提交
345 346 347 348 349 350
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.jvnet.hudson</groupId>
      <artifactId>jtidy</artifactId>
      <version>4aug2000r7-dev-hudson-1</version>
351 352 353 354 355 356
      <exclusions>
        <exclusion>
          <groupId>jdom</groupId>
          <artifactId>jdom</artifactId>
        </exclusion>
      </exclusions>
357
    </dependency>
358

359 360
    <dependency>
      <!-- commonly used wagon provider -->
361
      <groupId>org.jvnet.hudson</groupId>
362
      <artifactId>wagon-webdav</artifactId>
363
      <version>1.0-beta-2-hudson-1</version>
364 365 366 367 368 369
      <exclusions>
        <exclusion>
          <groupId>jdom</groupId>
          <artifactId>jdom</artifactId>
        </exclusion>
      </exclusions>
370
    </dependency>
371

K
TAB->WS  
kohsuke 已提交
372 373 374
    <dependency>
      <groupId>org.jvnet.hudson.svnkit</groupId>
      <artifactId>svnkit</artifactId>
K
kohsuke 已提交
375
      <version>1.2.2-hudson-3</version>
K
TAB->WS  
kohsuke 已提交
376
    </dependency>
K
kohsuke 已提交
377 378 379 380 381
    <dependency>
      <groupId>org.kohsuke</groupId>
      <artifactId>trilead-putty-extension</artifactId>
      <version>1.0</version>
    </dependency>
K
TAB->WS  
kohsuke 已提交
382 383 384 385 386 387 388
    <dependency>
      <groupId>${groupId}</groupId>
      <artifactId>maven-agent</artifactId>
      <version>${project.version}</version>
    </dependency>
    <dependency>
      <groupId>org.kohsuke.stapler</groupId>
389
      <artifactId>stapler-jelly</artifactId>
K
kohsuke 已提交
390
      <version>1.100</version>
391 392 393 394 395 396 397 398 399 400 401 402 403 404
      <exclusions>
        <exclusion>
          <groupId>dom4j</groupId>
          <artifactId>dom4j</artifactId>
        </exclusion>
        <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 已提交
405
    </dependency>
K
kohsuke 已提交
406 407 408
    <dependency>
      <groupId>org.jvnet.localizer</groupId>
      <artifactId>localizer</artifactId>
409
      <version>1.9</version>
K
kohsuke 已提交
410
    </dependency>
411 412 413 414 415 416
    <dependency>
      <groupId>org.kohsuke</groupId>
      <artifactId>graph-layouter</artifactId>
      <classifier>jdk14</classifier>
      <version>1.0</version>
    </dependency>
K
kohsuke 已提交
417 418 419 420 421 422
    <dependency>
      <groupId>antlr</groupId>
      <artifactId>antlr</artifactId>
      <version>2.7.6</version>
    </dependency>
    <dependency>
423
      <groupId>org.jvnet.hudson</groupId>
K
kohsuke 已提交
424
      <artifactId>xstream</artifactId>
K
kohsuke 已提交
425
      <version>1.3.1-hudson-1</version>
K
kohsuke 已提交
426 427 428 429
    </dependency>
    <dependency>
      <groupId>jfree</groupId>
      <artifactId>jfreechart</artifactId>
430
      <version>1.0.9</version>
K
kohsuke 已提交
431 432
    </dependency>
    <dependency>
433
      <groupId>org.apache.ant</groupId>
K
kohsuke 已提交
434
      <artifactId>ant-junit</artifactId>
435
      <version>1.7.0</version>
K
kohsuke 已提交
436 437
    </dependency>
    <dependency>
438
      <groupId>org.apache.ant</groupId>
K
kohsuke 已提交
439
      <artifactId>ant</artifactId>
440
      <version>1.7.0</version>
K
kohsuke 已提交
441 442 443 444 445
    </dependency>
    <dependency>
      <groupId>javax.servlet</groupId>
      <artifactId>servlet-api</artifactId>
      <version>2.4</version>
446
      <scope>provided</scope>
K
kohsuke 已提交
447 448 449 450
    </dependency>
    <dependency>
      <groupId>commons-io</groupId>
      <artifactId>commons-io</artifactId>
451
      <version>1.3.1</version>
K
kohsuke 已提交
452
    </dependency>
453 454 455 456 457
    <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 已提交
458 459 460 461
    <dependency>
      <groupId>commons-digester</groupId>
      <artifactId>commons-digester</artifactId>
      <version>1.7</version>
462 463 464 465 466 467
      <exclusions>
        <exclusion>
          <groupId>xml-apis</groupId>
          <artifactId>xml-apis</artifactId>
        </exclusion>
      </exclusions>
K
kohsuke 已提交
468
    </dependency>
K
kohsuke 已提交
469 470 471 472 473 474 475
    <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>
476
      <version>1.8.0</version>
K
kohsuke 已提交
477 478
    </dependency>
    <dependency>
K
kohsuke 已提交
479 480 481 482 483 484 485 486 487 488
      <groupId>javax.mail</groupId>
      <artifactId>mail</artifactId>
      <version>1.4</version>
    </dependency>
    <dependency>
      <groupId>javax.activation</groupId>
      <artifactId>activation</artifactId>
      <version>1.1</version>
    </dependency>
    <dependency>
K
kohsuke 已提交
489
      <groupId>org.jvnet.hudson.dom4j</groupId>
K
kohsuke 已提交
490
      <artifactId>dom4j</artifactId>
K
kohsuke 已提交
491
      <version>1.6.1-hudson-1</version>
492 493 494 495 496 497
      <exclusions>
        <exclusion>
          <groupId>xml-apis</groupId>
          <artifactId>xml-apis</artifactId>
        </exclusion>
      </exclusions>
K
kohsuke 已提交
498
    </dependency>
499 500 501 502
    <dependency>
      <groupId>jaxen</groupId>
      <artifactId>jaxen</artifactId>
      <version>1.1-beta-11</version>
K
kohsuke 已提交
503 504 505 506 507
      <exclusions>
        <exclusion>
          <groupId>dom4j</groupId>
          <artifactId>dom4j</artifactId>
        </exclusion>
508 509 510 511
        <exclusion>
          <groupId>xom</groupId>
          <artifactId>xom</artifactId>
        </exclusion>
512 513 514 515 516 517 518 519 520 521 522 523
        <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 已提交
524
      </exclusions>
525
    </dependency>
K
kohsuke 已提交
526 527 528 529 530 531 532 533 534
    <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>
535 536 537 538 539 540 541 542 543 544 545 546 547
      <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>
548 549 550 551
        <exclusion>
          <groupId>xml-apis</groupId>
          <artifactId>xml-apis</artifactId>
        </exclusion>
552 553 554 555
        <exclusion>
          <groupId>xalan</groupId>
          <artifactId>xalan</artifactId>
        </exclusion>
556 557 558 559 560 561 562 563
        <exclusion>
          <groupId>xerces</groupId>
          <artifactId>xercesImpl</artifactId>
        </exclusion>
        <exclusion>
          <groupId>dom4j</groupId>
          <artifactId>dom4j</artifactId>
        </exclusion>
564
      </exclusions>
K
kohsuke 已提交
565 566
    </dependency>
    <dependency>
567
      <groupId>org.jvnet.hudson</groupId>
K
kohsuke 已提交
568
      <artifactId>commons-jelly-tags-define</artifactId>
569
      <version>1.0.1-hudson-20071021</version>
570 571 572 573 574 575 576 577 578 579
      <exclusions>
        <exclusion>
          <groupId>dom4j</groupId>
          <artifactId>dom4j</artifactId>
        </exclusion>
        <exclusion>
          <groupId>commons-cli</groupId>
          <artifactId>commons-cli</artifactId>
        </exclusion>
      </exclusions>
K
kohsuke 已提交
580 581
    </dependency>
    <dependency>
582
      <groupId>org.jvnet.hudson</groupId>
K
kohsuke 已提交
583
      <artifactId>commons-jexl</artifactId>
584
      <version>1.1-hudson-20090322</version>
K
kohsuke 已提交
585 586
    </dependency>
    <dependency>
587
      <groupId>org.jvnet.hudson</groupId>
K
kohsuke 已提交
588
      <artifactId>commons-jelly</artifactId>
589
      <version>1.1-hudson-20090227</version>
K
kohsuke 已提交
590 591
    </dependency>
    <dependency>
592 593 594
      <groupId>org.acegisecurity</groupId>
      <artifactId>acegi-security</artifactId>
      <version>1.0.5</version>
K
kohsuke 已提交
595
      <exclusions>
K
kohsuke 已提交
596
        <exclusion>
597 598
          <groupId>org.springframework</groupId>
          <artifactId>spring-remoting</artifactId>
K
kohsuke 已提交
599
        </exclusion>
600 601 602 603
        <exclusion>
          <groupId>org.springframework</groupId>
          <artifactId>spring-support</artifactId>
        </exclusion>
K
kohsuke 已提交
604
      </exclusions>
K
kohsuke 已提交
605
    </dependency>
606 607
    <dependency>
      <groupId>org.codehaus.groovy</groupId>
608 609
      <artifactId>groovy-all</artifactId>
      <version>1.6.0</version>
610 611 612 613 614 615 616 617 618 619 620 621 622 623 624
    </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>
      <version>2.5</version>
    </dependency>
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-core</artifactId>
      <version>2.5</version>
    </dependency>
625 626 627 628 629
    <dependency>
      <groupId>xpp3</groupId>
      <artifactId>xpp3</artifactId>
      <version>1.1.3.3</version>
    </dependency>
K
kohsuke 已提交
630 631 632
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
K
kohsuke 已提交
633
      <version>4.3.1</version>
K
kohsuke 已提交
634
    </dependency>
K
kohsuke 已提交
635
    <dependency><!-- needed by Jelly -->
636
      <groupId>javax.servlet</groupId>
K
kohsuke 已提交
637 638 639
      <artifactId>jstl</artifactId>
      <version>1.1.0</version>
    </dependency>
640 641 642 643 644
    <dependency>
      <groupId>commons-logging</groupId>
      <artifactId>commons-logging</artifactId>
      <version>1.1</version>
    </dependency>
645 646 647
    <dependency>
      <groupId>com.sun.xml.txw2</groupId>
      <artifactId>txw2</artifactId>
K
kohsuke 已提交
648
      <version>20070624</version>
649
    </dependency>
650 651 652 653 654
    <dependency>
      <groupId>commons-collections</groupId>
      <artifactId>commons-collections</artifactId>
      <version>3.2</version>
    </dependency>
655 656 657
    <dependency>
      <groupId>org.jvnet.winp</groupId>
      <artifactId>winp</artifactId>
K
kohsuke 已提交
658
      <version>1.10</version>
659
    </dependency>
660 661 662 663 664
    <dependency>
      <groupId>org.jvnet.hudson</groupId>
      <artifactId>memory-monitor</artifactId>
      <version>1.1</version>
    </dependency>
K
kohsuke 已提交
665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707
    <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>
708 709 710 711 712
    <dependency><!-- StAX implementation. See HUDSON-2547. -->
      <groupId>org.codehaus.woodstox</groupId>
      <artifactId>wstx-asl</artifactId>
      <version>3.2.7</version>
    </dependency>
713 714 715
    <dependency>
      <groupId>com.sun.winsw</groupId>
      <artifactId>winsw</artifactId>
716
      <version>1.5</version>
717 718 719 720
      <classifier>bin</classifier>
      <type>exe</type>
      <scope>provided</scope><!-- this isn't really a dependency that Maven should care about, so putting 'provided' -->
    </dependency>
721 722 723
    <dependency>
      <groupId>net.java.dev.jna</groupId>
      <artifactId>jna</artifactId>
724
      <version>3.0.9</version><!-- executabe-war hardcodes this version, so when you change this, update executable-war as well -->
725
    </dependency>
726 727 728 729 730
    <dependency>
      <groupId>com.sun.akuma</groupId>
      <artifactId>akuma</artifactId>
      <version>1.1</version><!-- executabe-war hardcodes this version, so when you change this, update executable-war as well -->
    </dependency>
K
kohsuke 已提交
731 732 733 734 735
    <dependency>
      <groupId>org.jvnet.libpam4j</groupId>
      <artifactId>libpam4j</artifactId>
      <version>1.1</version>
    </dependency>
736 737 738
    <dependency>
      <groupId>org.jvnet.libzfs</groupId>
      <artifactId>libzfs</artifactId>
739
      <version>0.4</version>
740 741 742 743
    </dependency>
    <dependency>
      <groupId>com.sun.solaris</groupId>
      <artifactId>embedded_su4j</artifactId>
K
bug fix  
kohsuke 已提交
744
      <version>1.1</version>
745
    </dependency>
746 747 748
    <dependency>
      <groupId>net.java.sezpoz</groupId>
      <artifactId>sezpoz</artifactId>
749
      <version>1.2</version>
750
    </dependency>
751 752 753
    <dependency>
      <groupId>org.jvnet.hudson</groupId>
      <artifactId>jinterop-wmi</artifactId>
K
kohsuke 已提交
754
      <version>1.0</version>
755
    </dependency>
K
kohsuke 已提交
756

757 758 759 760 761 762 763 764
    <!-- 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 已提交
765
  </dependencies>
K
kohsuke 已提交
766

K
kohsuke 已提交
767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785
  <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>
786
</project>