1<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"> 2 <modelVersion>4.0.0</modelVersion> 3 <parent> 4 <groupId>org.eclipse.jetty</groupId> 5 <artifactId>jetty-parent</artifactId> 6 <version>20</version> 7 </parent> 8 <artifactId>jetty-project</artifactId> 9 <version>8.1.15.v20140411</version> 10 <name>Jetty :: Project</name> 11 <url>http://www.eclipse.org/jetty</url> 12 <packaging>pom</packaging> 13 <properties> 14 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> 15 <jetty.url>http://www.eclipse.org/jetty</jetty.url> 16 <orbit-servlet-api-version>3.0.0.v201112011016</orbit-servlet-api-version> 17 <build-support-version>1.1</build-support-version> 18 <slf4j-version>1.6.1</slf4j-version> 19 <jetty-test-policy-version>1.2</jetty-test-policy-version> 20 </properties> 21 <scm> 22 <connection>scm:git:http://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project.git</connection> 23 <developerConnection>scm:git:ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project.git</developerConnection> 24 <url>http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/tree</url> 25 </scm> 26 <build> 27 <defaultGoal>install</defaultGoal> 28 <plugins> 29 <plugin> 30 <artifactId>maven-compiler-plugin</artifactId> 31 <configuration> 32 <source>1.6</source> 33 <target>1.6</target> 34 <verbose>false</verbose> 35 </configuration> 36 </plugin> 37 <plugin> 38 <artifactId>maven-release-plugin</artifactId> 39 <configuration> 40 <autoVersionSubmodules>true</autoVersionSubmodules> 41 </configuration> 42 </plugin> 43 <plugin> 44 <groupId>org.apache.maven.plugins</groupId> 45 <artifactId>maven-remote-resources-plugin</artifactId> 46 <executions> 47 <execution> 48 <phase>generate-resources</phase> 49 <goals> 50 <goal>process</goal> 51 </goals> 52 <configuration> 53 <resourceBundles> 54 <resourceBundle>org.eclipse.jetty.toolchain:jetty-artifact-remote-resources:1.1</resourceBundle> 55 </resourceBundles> 56 </configuration> 57 </execution> 58 </executions> 59 </plugin> 60 <!-- source maven plugin creates the source bundle and adds manifest --> 61 <plugin> 62 <inherited>true</inherited> 63 <groupId>org.apache.maven.plugins</groupId> 64 <artifactId>maven-source-plugin</artifactId> 65 <executions> 66 <execution> 67 <id>attach-sources</id> 68 <phase>process-classes</phase> 69 <goals> 70 <goal>jar</goal> 71 </goals> 72 <configuration> 73 <archive> 74 <manifestEntries> 75 <Bundle-ManifestVersion>2</Bundle-ManifestVersion> 76 <Bundle-Name>${project.name}</Bundle-Name> 77 <Bundle-SymbolicName>${bundle-symbolic-name}.source;singleton:=true</Bundle-SymbolicName> 78 <Bundle-Vendor>Eclipse.org - Jetty</Bundle-Vendor> 79 <Bundle-Version>${parsedVersion.osgiVersion}</Bundle-Version> 80 <Eclipse-SourceBundle>${bundle-symbolic-name};version="${parsedVersion.osgiVersion}";roots:="."</Eclipse-SourceBundle> 81 </manifestEntries> 82 </archive> 83 </configuration> 84 </execution> 85 </executions> 86 </plugin> 87 <!-- Build helper maven plugin sets the parsedVersion.osgiVersion property --> 88 <plugin> 89 <groupId>org.codehaus.mojo</groupId> 90 <artifactId>build-helper-maven-plugin</artifactId> 91 <executions> 92 <execution> 93 <id>set-osgi-version</id> 94 <phase>validate</phase> 95 <goals> 96 <goal>parse-version</goal> 97 </goals> 98 </execution> 99 </executions> 100 </plugin> 101 <plugin> 102 <groupId>org.eclipse.jetty.toolchain</groupId> 103 <artifactId>jetty-version-maven-plugin</artifactId> 104 <executions> 105 <execution> 106 <id>attach-version</id> 107 <phase>process-resources</phase> 108 <goals> 109 <goal>attach-version-text</goal> 110 </goals> 111 </execution> 112 </executions> 113 </plugin> 114 <!-- Enforcer Plugin --> 115 <plugin> 116 <groupId>org.apache.maven.plugins</groupId> 117 <artifactId>maven-enforcer-plugin</artifactId> 118 <executions> 119 <execution> 120 <id>enforce-java</id> 121 <goals> 122 <goal>enforce</goal> 123 </goals> 124 <configuration> 125 <rules> 126 <requireMavenVersion> 127 <version>[2.0.6,)</version> 128 </requireMavenVersion> 129 <requireJavaVersion> 130 <version>[1.5,)</version> 131 </requireJavaVersion> 132 <versionTxtRule implementation="org.eclipse.jetty.toolchain.enforcer.rules.VersionTxtRule" /> 133 <versionOsgiRule implementation="org.eclipse.jetty.toolchain.enforcer.rules.RequireOsgiCompatibleVersionRule" /> 134 <versionRedhatRule implementation="org.eclipse.jetty.toolchain.enforcer.rules.RequireRedhatCompatibleVersionRule" /> 135 <versionDebianRule implementation="org.eclipse.jetty.toolchain.enforcer.rules.RequireDebianCompatibleVersionRule" /> 136 </rules> 137 </configuration> 138 </execution> 139 <execution> 140 <id>enforce-orbit-deps</id> 141 <goals> 142 <goal>enforce</goal> 143 </goals> 144 <configuration> 145 <rules> 146 <!-- Banned Dependencies (should use Orbit based versions now) --> 147 <bannedDependencies> 148 <includes> 149 <include>javax.servlet</include> 150 <include>org.apache.geronimo.specs</include> 151 <include>javax.mail</include> 152 <include>javax.activation</include> 153 </includes> 154 <searchTransitive>true</searchTransitive> 155 <message>This dependency is banned, use the ORBIT provided dependency instead.</message> 156 </bannedDependencies> 157 </rules> 158 <fail>true</fail> 159 </configuration> 160 </execution> 161 </executions> 162 <dependencies> 163 <dependency> 164 <groupId>org.eclipse.jetty.toolchain</groupId> 165 <artifactId>jetty-build-support</artifactId> 166 <version>${build-support-version}</version> 167 </dependency> 168 </dependencies> 169 </plugin> 170 <plugin> 171 <groupId>org.apache.maven.plugins</groupId> 172 <artifactId>maven-pmd-plugin</artifactId> 173 <executions> 174 <execution> 175 <id>named-logging-enforcement</id> 176 <phase>compile</phase> 177 <goals> 178 <goal>check</goal> 179 </goals> 180 <configuration> 181 <verbose>true</verbose> 182 </configuration> 183 </execution> 184 </executions> 185 <configuration> 186 <targetJdk>1.6</targetJdk> 187 <rulesets> 188 <ruleset>jetty/pmd_logging_ruleset.xml</ruleset> 189 </rulesets> 190 </configuration> 191 <dependencies> 192 <dependency> 193 <groupId>org.eclipse.jetty.toolchain</groupId> 194 <artifactId>jetty-build-support</artifactId> 195 <version>${build-support-version}</version> 196 </dependency> 197 </dependencies> 198 </plugin> 199 <plugin> 200 <inherited>false</inherited> 201 <groupId>com.mycila.maven-license-plugin</groupId> 202 <artifactId>maven-license-plugin</artifactId> 203 <version>1.10.b1</version> 204 <configuration> 205 <header>header-template.txt</header> 206 <failIfMissing>true</failIfMissing> 207 <aggregate>true</aggregate> 208 <strictCheck>true</strictCheck> 209 <properties> 210 <copyright-range>${project.inceptionYear}-2014</copyright-range> 211 </properties> 212 <mapping> 213 <java>DOUBLESLASH_STYLE</java> 214 </mapping> 215 <includes> 216 <include>**/*.java</include> 217 </includes> 218 <excludes> 219 <exclude>jetty-util/src/main/java/org/eclipse/jetty/util/security/UnixCrypt.java</exclude> 220 <exclude>jetty-policy/src/main/java/org/eclipse/jetty/policy/loader/DefaultPolicyLoader.java</exclude> 221 <exclude>jetty-policy/src/main/java/org/eclipse/jetty/policy/loader/PolicyFileScanner.java</exclude> 222 </excludes> 223 </configuration> 224 <executions> 225 <execution> 226 <id>check-headers</id> 227 <phase>verify</phase> 228 <goals> 229 <goal>check</goal> 230 </goals> 231 </execution> 232 </executions> 233 </plugin> 234 </plugins> 235 <pluginManagement> 236 <plugins> 237 <plugin> 238 <groupId>org.eclipse.jetty.toolchain</groupId> 239 <artifactId>jetty-version-maven-plugin</artifactId> 240 <version>1.0.10</version> 241 </plugin> 242 <plugin> 243 <groupId>org.apache.maven.plugins</groupId> 244 <artifactId>maven-jar-plugin</artifactId> 245 <configuration> 246 <archive> 247 <manifestEntries> 248 <Implementation-Version>${project.version}</Implementation-Version> 249 <Implementation-Vendor>Eclipse.org - Jetty</Implementation-Vendor> 250 <url>${jetty.url}</url> 251 </manifestEntries> 252 </archive> 253 </configuration> 254 </plugin> 255 <plugin> 256 <groupId>org.apache.maven.plugins</groupId> 257 <artifactId>maven-surefire-plugin</artifactId> 258 <configuration> 259 <failIfNoTests>false</failIfNoTests> 260 <!--systemProperties> 261 <property> 262 <name>org.eclipse.jetty.io.AbstractBuffer.boundsChecking</name> 263 <value>true</value> 264 </property> 265 </systemProperties--> 266 </configuration> 267 </plugin> 268 <plugin> 269 <groupId>org.apache.felix</groupId> 270 <artifactId>maven-bundle-plugin</artifactId> 271 <extensions>true</extensions> 272 <configuration> 273 <instructions> 274 <Bundle-RequiredExecutionEnvironment>J2SE-1.5</Bundle-RequiredExecutionEnvironment> 275 <Bundle-DocURL>${jetty.url}</Bundle-DocURL> 276 <Bundle-Vendor>Eclipse Jetty Project</Bundle-Vendor> 277 <Bundle-Classpath>.</Bundle-Classpath> 278 <Export-Package>${bundle-symbolic-name}.*;version="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"</Export-Package> 279 <Bundle-Copyright>Copyright (c) 2008-2014 Mort Bay Consulting Pty. Ltd.</Bundle-Copyright> 280 <_versionpolicy>[$(version;==;$(@)),$(version;+;$(@)))</_versionpolicy> 281 </instructions> 282 </configuration> 283 </plugin> 284 <plugin> 285 <groupId>org.apache.maven.plugins</groupId> 286 <artifactId>maven-assembly-plugin</artifactId> 287 <dependencies> 288 <dependency> 289 <groupId>org.eclipse.jetty.toolchain</groupId> 290 <artifactId>jetty-assembly-descriptors</artifactId> 291 <version>1.0</version> 292 </dependency> 293 </dependencies> 294 </plugin> 295 <plugin> 296 <groupId>org.codehaus.mojo</groupId> 297 <artifactId>findbugs-maven-plugin</artifactId> 298 <configuration> 299 <findbugsXmlOutput>true</findbugsXmlOutput> 300 <xmlOutput>true</xmlOutput> 301 <effort>Max</effort> 302 <onlyAnalyze>org.eclipse.jetty.*</onlyAnalyze> 303 </configuration> 304 </plugin> 305 <plugin> 306 <groupId>org.apache.maven.plugins</groupId> 307 <artifactId>maven-dependency-plugin</artifactId> 308 </plugin> 309 <plugin> 310 <groupId>org.apache.maven.plugins</groupId> 311 <artifactId>maven-jxr-plugin</artifactId> 312 </plugin> 313 <plugin> 314 <groupId>org.apache.maven.plugins</groupId> 315 <artifactId>maven-javadoc-plugin</artifactId> 316 <configuration> 317 <docfilessubdirs>true</docfilessubdirs> 318 <detectLinks>false</detectLinks> 319 <detectJavaApiLink>true</detectJavaApiLink> 320 <excludePackageNames>org.slf4j.*;org.mortbay.*</excludePackageNames> 321 <links> 322 <link>http://download.eclipse.org/jetty/stable-7/apidocs/</link> 323 </links> 324 <tags> 325 <tag> 326 <name>org.apache.xbean.XBean</name> 327 <placement>a</placement> 328 <head>Apache XBean:</head> 329 </tag> 330 </tags> 331 </configuration> 332 </plugin> 333 <plugin> 334 <groupId>org.apache.maven.plugins</groupId> 335 <artifactId>maven-pmd-plugin</artifactId> 336 </plugin> 337 </plugins> 338 </pluginManagement> 339 </build> 340 <reporting> 341 <plugins> 342 <plugin> 343 <groupId>org.apache.maven.plugins</groupId> 344 <artifactId>maven-jxr-plugin</artifactId> 345 <version>2.1</version> 346 </plugin> 347 <plugin> 348 <groupId>org.apache.maven.plugins</groupId> 349 <artifactId>maven-javadoc-plugin</artifactId> 350 <version>2.8</version> 351 <configuration> 352 <maxmemory>512m</maxmemory> 353 <docfilessubdirs>true</docfilessubdirs> 354 <detectLinks>true</detectLinks> 355 <detectJavaApiLink>true</detectJavaApiLink> 356 </configuration> 357 </plugin> 358 <plugin> 359 <groupId>org.apache.maven.plugins</groupId> 360 <artifactId>maven-pmd-plugin</artifactId> 361 <version>2.7.1</version> 362 <configuration> 363 <targetJdk>1.5</targetJdk> 364 <rulesets> 365 <ruleset>jetty/pmd_ruleset.xml</ruleset> 366 </rulesets> 367 </configuration> 368 </plugin> 369 <plugin> 370 <groupId>org.codehaus.mojo</groupId> 371 <artifactId>findbugs-maven-plugin</artifactId> 372 <version>2.3.2</version> 373 </plugin> 374 </plugins> 375 </reporting> 376<!-- 377 <repositories> 378 <repository> 379 <snapshots> 380 <enabled>true</enabled> 381 </snapshots> 382 <id>sonatype-snapshots</id> 383 <name>Sonatype Jetty Snapshots</name> 384 <url>http://oss.sonatype.org/content/groups/jetty</url> 385 </repository> 386 </repositories> 387--> 388 <modules> 389 <module>jetty-util</module> 390 <module>jetty-jmx</module> 391 <module>jetty-io</module> 392 <module>jetty-http</module> 393 <module>jetty-websocket</module> 394 <module>jetty-continuation</module> 395 <module>jetty-server</module> 396 <module>jetty-client</module> 397 <module>jetty-xml</module> 398 <module>jetty-security</module> 399 <module>jetty-jaspi</module> 400 <module>jetty-servlet</module> 401 <module>jetty-webapp</module> 402 <module>jetty-servlets</module> 403 <module>jetty-deploy</module> 404 <module>jetty-ajp</module> 405 <module>jetty-jndi</module> 406 <module>jetty-annotations</module> 407 <module>jetty-plus</module> 408 <module>jetty-rewrite</module> 409 <module>jetty-policy</module> 410 <module>jetty-monitor</module> 411 <module>jetty-start</module> 412 <module>jetty-nested</module> 413 <module>jetty-overlay-deployer</module> 414 <module>jetty-nosql</module> 415 <module>jetty-http-spi</module> 416 <module>jetty-jsp</module> 417 <module>jetty-distribution</module> 418 <!--module>test-continuation-jetty6</module--> 419 </modules> 420 <dependencyManagement> 421 <dependencies> 422 <!-- Orbit Deps --> 423 <dependency> 424 <groupId>org.eclipse.jetty.orbit</groupId> 425 <artifactId>javax.servlet</artifactId> 426 <version>${orbit-servlet-api-version}</version> 427 </dependency> 428 <dependency> 429 <groupId>org.eclipse.jetty.orbit</groupId> 430 <artifactId>javax.annotation</artifactId> 431 <version>1.1.0.v201108011116</version> 432 </dependency> 433 <dependency> 434 <groupId>org.eclipse.jetty.orbit</groupId> 435 <artifactId>org.objectweb.asm</artifactId> 436 <version>3.1.0.v200803061910</version> 437 </dependency> 438 <dependency> 439 <groupId>org.eclipse.jetty.orbit</groupId> 440 <artifactId>javax.activation</artifactId> 441 <version>1.1.0.v201105071233</version> 442 </dependency> 443 <dependency> 444 <groupId>org.eclipse.jetty.orbit</groupId> 445 <artifactId>javax.mail.glassfish</artifactId> 446 <version>1.4.1.v201005082020</version> 447 </dependency> 448 <dependency> 449 <groupId>org.eclipse.jetty.orbit</groupId> 450 <artifactId>javax.transaction</artifactId> 451 <version>1.1.1.v201105210645</version> 452 </dependency> 453 <dependency> 454 <groupId>org.eclipse.jetty.orbit</groupId> 455 <artifactId>javax.security.auth.message</artifactId> 456 <version>1.0.0.v201108011116</version> 457 </dependency> 458 <!-- 459 <dependency> 460 <groupId>org.eclipse.jetty.orbit</groupId> 461 <artifactId>javax.servlet.jsp</artifactId> 462 <version>2.1.0.v201105211820</version> 463 </dependency> 464 <dependency> 465 <groupId>org.eclipse.jetty.orbit</groupId> 466 <artifactId>javax.servlet.jsp.jstl</artifactId> 467 <version>1.2.0.v201105211821</version> 468 </dependency> 469 <dependency> 470 <groupId>org.eclipse.jetty.orbit</groupId> 471 <artifactId>javax.el</artifactId> 472 <version>2.1.0.v201105211819</version> 473 </dependency> 474 <dependency> 475 <groupId>org.eclipse.jetty.orbit</groupId> 476 <artifactId>com.sun.el</artifactId> 477 <version>1.0.0.v201105211818</version> 478 </dependency> 479 <dependency> 480 <groupId>org.eclipse.jetty.orbit</groupId> 481 <artifactId>org.apache.jasper.glassfish</artifactId> 482 <version>2.1.0.v201110031002</version> 483 </dependency> 484 <dependency> 485 <groupId>org.eclipse.jetty.orbit</groupId> 486 <artifactId>org.apache.taglibs.standard.glassfish</artifactId> 487 <version>1.2.0.v201112081803</version> 488 </dependency> 489 <dependency> 490 <groupId>org.eclipse.jetty.orbit</groupId> 491 <artifactId>org.eclipse.jdt.core</artifactId> 492 <version>3.7.1</version> 493 </dependency> 494 --> 495 496 <!-- Old Deps --> 497 <dependency> 498 <groupId>org.apache.maven</groupId> 499 <artifactId>maven-plugin-tools-api</artifactId> 500 <version>2.0</version> 501 </dependency> 502 <dependency> 503 <groupId>org.eclipse.jetty.toolchain</groupId> 504 <artifactId>jetty-test-helper</artifactId> 505 <version>2.5</version> 506 </dependency> 507 <dependency> 508 <groupId>org.slf4j</groupId> 509 <artifactId>jcl104-over-slf4j</artifactId> 510 <version>${slf4j-version}</version> 511 </dependency> 512 <dependency> 513 <groupId>org.slf4j</groupId> 514 <artifactId>log4j-over-slf4j</artifactId> 515 <version>${slf4j-version}</version> 516 </dependency> 517 <dependency> 518 <groupId>org.slf4j</groupId> 519 <artifactId>slf4j-api</artifactId> 520 <version>${slf4j-version}</version> 521 </dependency> 522 <dependency> 523 <groupId>junit</groupId> 524 <artifactId>junit</artifactId> 525 <version>4.11</version> 526 </dependency> 527 <dependency> 528 <groupId>org.hamcrest</groupId> 529 <artifactId>hamcrest-core</artifactId> 530 <version>1.3</version> 531 </dependency> 532 <dependency> 533 <groupId>org.hamcrest</groupId> 534 <artifactId>hamcrest-library</artifactId> 535 <version>1.3</version> 536 </dependency> 537 <dependency> 538 <groupId>org.mockito</groupId> 539 <artifactId>mockito-core</artifactId> 540 <version>1.9.5</version> 541 </dependency> 542 </dependencies> 543 </dependencyManagement> 544 <!-- 545 Usage: 546 configure settings.xml for jetty.eclipse.website server entry 547 > mvn -Paggregate-site javadoc:aggregate jxr:jxr 548 > mvn -N site:deploy 549 or 550 > mvn -N site:sshdeploy (for ssh users w/passphrase and ssh-agent) 551 --> 552 <profiles> 553 <profile> 554 <!-- Modules that are only for JDK7+ builds --> 555 <id>JDK7-plus-modules</id> 556 <activation> 557 <jdk>[1.7,)</jdk> 558 </activation> 559 <modules> 560 <module>jetty-spdy</module> 561 </modules> 562 </profile> 563 <profile> 564 <id>eclipse-release</id> 565 <build> 566 <plugins> 567 <plugin> 568 <groupId>org.apache.maven.plugins</groupId> 569 <artifactId>maven-enforcer-plugin</artifactId> 570 <executions> 571 <execution> 572 <id>enforce-java</id> 573 <goals> 574 <goal>enforce</goal> 575 </goals> 576 <configuration> 577 <rules> 578 <requireJavaVersion> 579 <version>[1.7,)</version> 580 </requireJavaVersion> 581 </rules> 582 </configuration> 583 </execution> 584 </executions> 585 </plugin> 586 </plugins> 587 </build> 588 </profile> 589 <profile> 590 <!-- 591 Moves the jetty-aggregate build tree to a profile called 'aggregates'. 592 It is active by default, but being in a profile allows it to be 593 disabled via the "-P-aggregates" command line on maven. 594 (Useful for running site plugin with deep reporting and avoiding 595 duplicate hits on aggregated classes) --> 596 <id>aggregates</id> 597 <activation> 598 <activeByDefault>true</activeByDefault> 599 <file> 600 <exists>${basedir}/pom.xml</exists> 601 </file> 602 </activation> 603 <modules> 604 <module>jetty-aggregate</module> 605 </modules> 606 </profile> 607 <profile> 608 <!-- 609 Moves the jetty-osgi build tree to a profile called 'osgi'. 610 It is active by default, but being in a profile allows it to be 611 disabled via the "-P-osgi" command line on maven (if need be). 612 --> 613 <id>osgi</id> 614 <activation> 615 <activeByDefault>true</activeByDefault> 616 <file> 617 <exists>${basedir}/pom.xml</exists> 618 </file> 619 </activation> 620 <modules> 621 <module>jetty-osgi</module> 622 </modules> 623 </profile> 624 <profile> 625 <id>update-version</id> 626 <build> 627 <plugins> 628 <plugin> 629 <groupId>org.eclipse.jetty.toolchain</groupId> 630 <artifactId>jetty-version-maven-plugin</artifactId> 631 <executions> 632 <execution> 633 <id>gen-versiontxt</id> 634 <phase>generate-resources</phase> 635 <goals> 636 <goal>update-version-text</goal> 637 </goals> 638 <configuration> 639 <refreshTags>true</refreshTags> 640 <copyGenerated>true</copyGenerated> 641 <attachArtifact>false</attachArtifact> 642 <updateDate>true</updateDate> 643 </configuration> 644 </execution> 645 </executions> 646 </plugin> 647 </plugins> 648 </build> 649 </profile> 650 <profile> 651 <id>cobertura</id> 652 <reporting> 653 <plugins> 654 <plugin> 655 <groupId>org.codehaus.mojo</groupId> 656 <artifactId>cobertura-maven-plugin</artifactId> 657 <configuration> 658 <maxmem>512m</maxmem> 659 </configuration> 660 </plugin> 661 <plugin> 662 <groupId>org.apache.maven.plugins</groupId> 663 <artifactId>maven-javadoc-plugin</artifactId> 664 <reportSets> 665 <reportSet> 666 <id>just-javadoc-no-aggregate</id> 667 <reports> 668 <report>javadoc</report> 669 </reports> 670 <inherited>true</inherited> 671 <configuration> 672 <minmemory>256m</minmemory> 673 <maxmemory>1g</maxmemory> 674 <excludePackageNames>com.acme</excludePackageNames> 675 <links> 676 <link>http://java.sun.com/j2se/1.5.0/docs/api</link> 677 <link>http://java.sun.com/javaee/5/docs/api</link> 678 <link>http://junit.sourceforge.net/javadoc/</link> 679 </links> 680 <tags> 681 <tag> 682 <name>org.apache.xbean.XBean</name> 683 <placement>X</placement> 684 <head /> 685 </tag> 686 </tags> 687 </configuration> 688 </reportSet> 689 </reportSets> 690 </plugin> 691 </plugins> 692 </reporting> 693 <build> 694 <pluginManagement> 695 <plugins> 696 <plugin> 697 <groupId>org.apache.maven.plugins</groupId> 698 <artifactId>maven-surefire-plugin</artifactId> 699 <configuration> 700 <testFailureIgnore>true</testFailureIgnore> 701 </configuration> 702 </plugin> 703 </plugins> 704 </pluginManagement> 705 </build> 706 </profile> 707 <profile> 708 <id>maven-3</id> 709 <activation> 710 <file> 711 <!-- This employs that the basedir expression is only recognized by Maven 3.x (see MNG-2363) --> 712 <exists>${basedir}</exists> 713 </file> 714 </activation> 715 <build> 716 <plugins> 717 <plugin> 718 <artifactId>maven-site-plugin</artifactId> 719 <executions> 720 <execution> 721 <id>attach-descriptor</id> 722 <goals> 723 <goal>attach-descriptor</goal> 724 </goals> 725 </execution> 726 </executions> 727 </plugin> 728 </plugins> 729 </build> 730 </profile> 731 <profile> 732 <id>aggregate-site</id> 733 <build> 734 <plugins> 735 <plugin> 736 <groupId>org.apache.maven.plugins</groupId> 737 <artifactId>maven-jxr-plugin</artifactId> 738 <configuration> 739 <aggregate>true</aggregate> 740 </configuration> 741 </plugin> 742 <plugin> 743 <groupId>org.apache.maven.plugins</groupId> 744 <artifactId>maven-javadoc-plugin</artifactId> 745 <configuration> 746 <excludePackageNames>com.acme</excludePackageNames> 747 <links> 748 <link>http://java.sun.com/javase/6/docs/api/</link> 749 <link>http://java.sun.com/javaee/6/docs/api</link> 750 <link>http://junit.sourceforge.net/javadoc/</link> 751 </links> 752 <tags> 753 <tag> 754 <name>org.apache.xbean.XBean</name> 755 <placement>X</placement> 756 <head /> 757 </tag> 758 </tags> 759 <header> 760 <![CDATA[ 761 <script type="text/javascript"> 762 var _gaq = _gaq || []; 763 _gaq.push(['_setAccount', 'UA-1149868-7']); 764 _gaq.push(['_trackPageview']); 765 (function() { 766 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; 767 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; 768 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); 769 })(); 770 </script> 771 ]]> 772 </header> 773 </configuration> 774 </plugin> 775 </plugins> 776 </build> 777 </profile> 778 </profiles> 779</project> 780