Advertisement
Guest User

Untitled

a guest
Jul 17th, 2015
327
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 27.01 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3.   <!--
  4.    Licensed to the Apache Software Foundation (ASF) under one or more
  5.    contributor license agreements. See the NOTICE file distributed with
  6.    this work for additional information regarding copyright ownership.
  7.    The ASF licenses this file to you under the Apache License, Version
  8.    2.0 (the "License"); you may not use this file except in compliance
  9.    with the License. You may obtain a copy of the License at
  10.    http://www.apache.org/licenses/LICENSE-2.0 Unless required by
  11.    applicable law or agreed to in writing, software distributed under
  12.    the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
  13.    OR CONDITIONS OF ANY KIND, either express or implied. See the
  14.    License for the specific language governing permissions and
  15.    limitations under the License.
  16.  -->
  17.  
  18. <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/xsd/maven-4.0.0.xsd">
  19.   <modelVersion>4.0.0</modelVersion>
  20.  
  21.  
  22.  
  23.   <parent>
  24.     <groupId>org.apache.maven</groupId>
  25.     <artifactId>maven-parent</artifactId>
  26.     <version>24</version>
  27.     <relativePath>../pom/maven/pom.xml</relativePath>
  28.   </parent>
  29.  
  30.   <artifactId>maven</artifactId>
  31.   <version>3.2.3</version>
  32.   <packaging>pom</packaging>
  33.  
  34.   <name>Apache Maven</name>
  35.   <description>Maven is a software build management and
  36.     comprehension tool. Based on the concept of a project object model:
  37.     builds, dependency management, documentation creation, site
  38.     publication, and distribution publication are all controlled from
  39.     the declarative file. Maven can be extended by plugins to utilise a
  40.     number of other development tools for reporting or the build
  41.     process.
  42.   </description>
  43.   <url>http://maven.apache.org/ref/${project.version}</url>
  44.   <inceptionYear>2001</inceptionYear>
  45.  
  46.   <properties>
  47.     <maven.compiler.source>1.6</maven.compiler.source>
  48.     <maven.compiler.target>1.6</maven.compiler.target>    
  49.     <classWorldsVersion>2.5.1</classWorldsVersion>
  50.     <commonsCliVersion>1.2</commonsCliVersion>
  51.     <easyMockVersion>1.2_Java1.3</easyMockVersion>
  52.     <junitVersion>3.8.2</junitVersion>
  53.     <plexusVersion>1.5.5</plexusVersion>
  54.     <plexusInterpolationVersion>1.19</plexusInterpolationVersion>
  55.     <plexusUtilsVersion>3.0.17</plexusUtilsVersion>
  56.     <!-- Latest version of Guava that works with Sisu -->
  57.     <guavaVersion>14.0.1</guavaVersion>
  58.     <guiceVersion>3.1.3</guiceVersion>
  59.     <sisuInjectVersion>0.0.0.M5</sisuInjectVersion>
  60.     <wagonVersion>2.6</wagonVersion>
  61.     <securityDispatcherVersion>1.3</securityDispatcherVersion>
  62.     <cipherVersion>1.7</cipherVersion>
  63.     <modelloVersion>1.8.1</modelloVersion>
  64.     <jxpathVersion>1.3</jxpathVersion>
  65.     <aetherVersion>0.9.0.M2</aetherVersion>
  66.     <slf4jVersion>1.7.5</slf4jVersion>
  67.     <maven.test.redirectTestOutputToFile>true</maven.test.redirectTestOutputToFile>
  68.     <!-- Control the name of the distribution and information output by mvn -->
  69.     <distributionId>apache-maven</distributionId>
  70.     <distributionShortName>Maven</distributionShortName>
  71.     <distributionName>Apache Maven</distributionName>
  72.     <maven.site.path>ref/3-LATEST</maven.site.path>
  73.   </properties>
  74.  
  75.   <modules>
  76.     <module>maven-plugin-api</module>
  77.     <module>maven-model</module>
  78.     <module>maven-model-builder</module>
  79.     <module>maven-core</module>
  80.     <module>maven-settings</module>
  81.     <module>maven-settings-builder</module>
  82.     <module>maven-artifact</module>
  83.     <module>maven-aether-provider</module>
  84.     <module>maven-repository-metadata</module>
  85.     <module>maven-embedder</module>
  86.     <module>maven-compat</module>
  87.     <module>apache-maven</module>
  88.   </modules>
  89.  
  90.   <scm>
  91.     <connection>scm:git:https://git-wip-us.apache.org/repos/asf/maven.git</connection>
  92.     <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/maven.git</developerConnection>
  93.     <url>https://github.com/apache/maven/tree/${project.scm.tag}</url>
  94.     <tag>maven-3.2.3</tag>
  95.   </scm>
  96.   <issueManagement>
  97.     <system>jira</system>
  98.     <url>http://jira.codehaus.org/browse/MNG</url>
  99.   </issueManagement>
  100.   <ciManagement>
  101.     <system>Jenkins</system>
  102.     <url>https://builds.apache.org/job/maven-3.x/</url>
  103.   </ciManagement>
  104.   <distributionManagement>
  105.     <downloadUrl>http://maven.apache.org/download.html</downloadUrl>
  106.     <site>
  107.       <id>apache.website</id>
  108.       <url>scm:svn:https://svn.apache.org/repos/infra/websites/production/maven/content/${maven.site.path}</url>
  109.     </site>
  110.   </distributionManagement>
  111.  
  112.   <contributors>
  113.     <contributor>
  114.       <name>Stuart McCulloch</name>
  115.     </contributor>
  116.     <contributor>
  117.       <name>Christian Schulte (MNG-2199)</name>
  118.     </contributor>
  119.     <contributor>
  120.       <name>Christopher Tubbs (MNG-4226)</name>
  121.     </contributor>
  122.     <contributor>
  123.       <name>Konstantin Perikov (MNG-4565)</name>
  124.     </contributor>
  125.     <contributor>
  126.       <name>Sébastian Le Merdy (MNG-5613)</name>
  127.     </contributor>
  128.     <contributor>
  129.       <name>Mark Ingram (MNG-5639)</name>
  130.     </contributor>
  131.     <contributor>
  132.       <name>Phil Pratt-Szeliga (MNG-5645)</name>
  133.     </contributor>
  134.   </contributors>
  135.  
  136.   <prerequisites>
  137.     <maven>2.2.1</maven>
  138.   </prerequisites>
  139.  
  140.   <!--bootstrap-start-comment-->
  141.   <dependencyManagement>
  142.     <!--bootstrap-end-comment-->
  143.     <dependencies>
  144.       <!--  Maven Modules -->
  145.       <!--bootstrap-start-comment-->
  146.       <dependency>
  147.         <groupId>org.apache.maven</groupId>
  148.         <artifactId>maven-model</artifactId>
  149.         <version>${project.version}</version>
  150.       </dependency>
  151.       <dependency>
  152.         <groupId>org.apache.maven</groupId>
  153.         <artifactId>maven-settings</artifactId>
  154.         <version>${project.version}</version>
  155.       </dependency>
  156.       <dependency>
  157.         <groupId>org.apache.maven</groupId>
  158.         <artifactId>maven-settings-builder</artifactId>
  159.         <version>${project.version}</version>
  160.       </dependency>
  161.       <dependency>
  162.         <groupId>org.apache.maven</groupId>
  163.         <artifactId>maven-plugin-api</artifactId>
  164.         <version>${project.version}</version>
  165.       </dependency>
  166.       <dependency>
  167.         <groupId>org.apache.maven</groupId>
  168.         <artifactId>maven-embedder</artifactId>
  169.         <version>${project.version}</version>
  170.       </dependency>
  171.       <dependency>
  172.         <groupId>org.apache.maven</groupId>
  173.         <artifactId>maven-core</artifactId>
  174.         <version>${project.version}</version>
  175.       </dependency>
  176.       <dependency>
  177.         <groupId>org.apache.maven</groupId>
  178.         <artifactId>maven-model-builder</artifactId>
  179.         <version>${project.version}</version>
  180.       </dependency>
  181.       <dependency>
  182.         <groupId>org.apache.maven</groupId>
  183.         <artifactId>maven-compat</artifactId>
  184.         <version>${project.version}</version>
  185.       </dependency>
  186.       <dependency>
  187.         <groupId>org.apache.maven</groupId>
  188.         <artifactId>maven-artifact</artifactId>
  189.         <version>${project.version}</version>
  190.       </dependency>
  191.       <dependency>
  192.         <groupId>org.apache.maven</groupId>
  193.         <artifactId>maven-aether-provider</artifactId>
  194.         <version>${project.version}</version>
  195.       </dependency>
  196.       <dependency>
  197.         <groupId>org.apache.maven</groupId>
  198.         <artifactId>maven-repository-metadata</artifactId>
  199.         <version>${project.version}</version>
  200.       </dependency>
  201.       <!--bootstrap-end-comment-->
  202.       <!--  Plexus -->
  203.       <dependency>
  204.         <groupId>org.codehaus.plexus</groupId>
  205.         <artifactId>plexus-utils</artifactId>
  206.         <version>${plexusUtilsVersion}</version>
  207.       </dependency>
  208.       <dependency>
  209.         <groupId>com.google.guava</groupId>
  210.         <artifactId>guava</artifactId>
  211.         <version>${guavaVersion}</version>
  212.       </dependency>
  213.       <dependency>
  214.         <groupId>org.sonatype.sisu</groupId>
  215.         <artifactId>sisu-guice</artifactId>
  216.         <version>${guiceVersion}</version>
  217.       </dependency>
  218.       <dependency>
  219.         <groupId>org.sonatype.sisu</groupId>
  220.         <artifactId>sisu-guice</artifactId>
  221.         <version>${guiceVersion}</version>
  222.         <classifier>no_aop</classifier>
  223.       </dependency>
  224.       <dependency>
  225.         <groupId>org.eclipse.sisu</groupId>
  226.         <artifactId>org.eclipse.sisu.plexus</artifactId>
  227.         <version>${sisuInjectVersion}</version>
  228.       </dependency>
  229.       <dependency>
  230.         <groupId>org.codehaus.plexus</groupId>
  231.         <artifactId>plexus-component-annotations</artifactId>
  232.         <version>${plexusVersion}</version>
  233.         <exclusions>
  234.           <exclusion>
  235.             <groupId>junit</groupId>
  236.             <artifactId>junit</artifactId>
  237.           </exclusion>
  238.         </exclusions>
  239.       </dependency>
  240.       <dependency>
  241.         <groupId>org.codehaus.plexus</groupId>
  242.         <artifactId>plexus-classworlds</artifactId>
  243.         <version>${classWorldsVersion}</version>
  244.       </dependency>
  245.       <dependency>
  246.         <groupId>org.codehaus.plexus</groupId>
  247.         <artifactId>plexus-interpolation</artifactId>
  248.         <version>${plexusInterpolationVersion}</version>
  249.       </dependency>
  250.       <dependency>
  251.         <groupId>org.slf4j</groupId>
  252.         <artifactId>slf4j-api</artifactId>
  253.         <version>${slf4jVersion}</version>
  254.       </dependency>
  255.       <dependency>
  256.         <groupId>org.slf4j</groupId>
  257.         <artifactId>slf4j-simple</artifactId>
  258.         <version>${slf4jVersion}</version>
  259.         <optional>true</optional>
  260.       </dependency>
  261.       <dependency>
  262.         <groupId>ch.qos.logback</groupId>
  263.         <artifactId>logback-classic</artifactId>
  264.         <version>1.0.7</version>
  265.         <optional>true</optional>
  266.       </dependency>
  267.       <!--  Wagon -->
  268.       <dependency>
  269.         <groupId>org.apache.maven.wagon</groupId>
  270.         <artifactId>wagon-provider-api</artifactId>
  271.         <version>${wagonVersion}</version>
  272.       </dependency>
  273.       <dependency>
  274.         <groupId>org.apache.maven.wagon</groupId>
  275.         <artifactId>wagon-file</artifactId>
  276.         <version>${wagonVersion}</version>
  277.       </dependency>
  278.       <dependency>
  279.         <groupId>org.apache.maven.wagon</groupId>
  280.         <artifactId>wagon-http</artifactId>
  281.         <version>${wagonVersion}</version>
  282.         <classifier>shaded</classifier>
  283.         <exclusions>
  284.           <exclusion>
  285.             <groupId>commons-logging</groupId>
  286.             <artifactId>commons-logging</artifactId>
  287.           </exclusion>
  288.         </exclusions>
  289.       </dependency>
  290.       <!--  Repository -->
  291.       <dependency>
  292.         <groupId>org.eclipse.aether</groupId>
  293.         <artifactId>aether-api</artifactId>
  294.         <version>${aetherVersion}</version>
  295.       </dependency>
  296.       <dependency>
  297.         <groupId>org.eclipse.aether</groupId>
  298.         <artifactId>aether-spi</artifactId>
  299.         <version>${aetherVersion}</version>
  300.       </dependency>
  301.       <dependency>
  302.         <groupId>org.eclipse.aether</groupId>
  303.         <artifactId>aether-impl</artifactId>
  304.         <version>${aetherVersion}</version>
  305.       </dependency>
  306.       <dependency>
  307.         <groupId>org.eclipse.aether</groupId>
  308.         <artifactId>aether-util</artifactId>
  309.         <version>${aetherVersion}</version>
  310.       </dependency>
  311.       <dependency>
  312.         <groupId>org.eclipse.aether</groupId>
  313.         <artifactId>aether-connector-wagon</artifactId>
  314.         <version>${aetherVersion}</version>
  315.       </dependency>
  316.       <!--  Commons -->
  317.       <dependency>
  318.         <groupId>commons-cli</groupId>
  319.         <artifactId>commons-cli</artifactId>
  320.         <version>${commonsCliVersion}</version>
  321.         <exclusions>
  322.           <exclusion>
  323.             <groupId>commons-lang</groupId>
  324.             <artifactId>commons-lang</artifactId>
  325.           </exclusion>
  326.           <exclusion>
  327.             <groupId>commons-logging</groupId>
  328.             <artifactId>commons-logging</artifactId>
  329.           </exclusion>
  330.         </exclusions>
  331.       </dependency>
  332.       <dependency>
  333.         <groupId>commons-jxpath</groupId>
  334.         <artifactId>commons-jxpath</artifactId>
  335.         <version>${jxpathVersion}</version>
  336.       </dependency>
  337.       <dependency>
  338.         <groupId>org.sonatype.plexus</groupId>
  339.         <artifactId>plexus-sec-dispatcher</artifactId>
  340.         <version>${securityDispatcherVersion}</version>
  341.       </dependency>
  342.       <dependency>
  343.         <groupId>org.sonatype.plexus</groupId>
  344.         <artifactId>plexus-cipher</artifactId>
  345.         <version>${cipherVersion}</version>
  346.       </dependency>
  347.       <!--bootstrap-start-comment-->
  348.       <dependency>
  349.         <groupId>easymock</groupId>
  350.         <artifactId>easymock</artifactId>
  351.         <version>${easyMockVersion}</version>
  352.         <scope>test</scope>
  353.       </dependency>
  354.       <!--bootstrap-end-comment-->
  355.     </dependencies>
  356.     <!--bootstrap-start-comment-->
  357.   </dependencyManagement>
  358.   <!--bootstrap-end-comment-->
  359.   <!--bootstrap-start-comment-->
  360.   <dependencies>
  361.     <dependency>
  362.       <groupId>junit</groupId>
  363.       <artifactId>junit</artifactId>
  364.       <version>${junitVersion}</version>
  365.       <scope>test</scope>
  366.     </dependency>
  367.   </dependencies>
  368.   <!--bootstrap-end-comment-->
  369.  
  370.   <build>
  371.     <pluginManagement>
  372.       <plugins>
  373.         <plugin>
  374.           <groupId>org.codehaus.plexus</groupId>
  375.           <artifactId>plexus-component-metadata</artifactId>
  376.           <version>${plexusVersion}</version>
  377.           <executions>
  378.             <execution>
  379.               <goals>
  380.                 <goal>generate-metadata</goal>
  381.                 <goal>generate-test-metadata</goal>
  382.               </goals>
  383.             </execution>
  384.           </executions>
  385.         </plugin>
  386.         <plugin>
  387.           <groupId>org.apache.maven.plugins</groupId>
  388.           <artifactId>maven-release-plugin</artifactId>
  389.           <configuration>
  390.             <autoVersionSubmodules>true</autoVersionSubmodules>
  391.           </configuration>
  392.         </plugin>
  393.         <plugin>
  394.           <groupId>org.apache.maven.plugins</groupId>
  395.           <artifactId>maven-surefire-plugin</artifactId>
  396.           <configuration>
  397.             <argLine>-Xmx256m</argLine>
  398.           </configuration>
  399.         </plugin>
  400.         <plugin>
  401.           <groupId>org.codehaus.modello</groupId>
  402.           <artifactId>modello-maven-plugin</artifactId>
  403.           <version>${modelloVersion}</version>
  404.           <executions>
  405.             <execution>
  406.               <id>site-docs</id>
  407.               <phase>pre-site</phase>
  408.               <goals>
  409.                 <goal>xdoc</goal>
  410.                 <goal>xsd</goal>
  411.               </goals>
  412.             </execution>
  413.             <execution>
  414.               <id>standard</id>
  415.               <goals>
  416.                 <goal>java</goal>
  417.                 <goal>xpp3-reader</goal>
  418.                 <goal>xpp3-writer</goal>
  419.               </goals>
  420.             </execution>
  421.           </executions>
  422.         </plugin>
  423.         <plugin>
  424.           <groupId>org.apache.felix</groupId>
  425.           <artifactId>maven-bundle-plugin</artifactId>
  426.           <version>1.0.0</version>
  427.         </plugin>
  428.         <plugin>
  429.           <groupId>org.codehaus.mojo</groupId>
  430.           <artifactId>buildnumber-maven-plugin</artifactId>
  431.           <version>1.2</version>
  432.         </plugin>
  433.         <plugin>
  434.           <groupId>org.apache.maven.plugins</groupId>
  435.           <artifactId>maven-site-plugin</artifactId>
  436.           <configuration>
  437.             <topSiteURL>scm:svn:https://svn.apache.org/repos/infra/websites/production/maven/content/${maven.site.path}</topSiteURL>
  438.           </configuration>
  439.           <dependencies>
  440.             <dependency>
  441.               <groupId>org.apache.maven.doxia</groupId>
  442.               <artifactId>doxia-module-markdown</artifactId>
  443.               <version>1.5</version>
  444.             </dependency>
  445.           </dependencies>
  446.         </plugin>
  447.         <plugin>
  448.           <groupId>org.apache.maven.plugins</groupId>
  449.           <artifactId>maven-scm-publish-plugin</artifactId>
  450.           <version>1.1</version>
  451.         </plugin>
  452.         <plugin>
  453.           <groupId>org.apache.rat</groupId>
  454.           <artifactId>apache-rat-plugin</artifactId>
  455.           <configuration>
  456.             <excludes>
  457.               <exclude>src/test/resources*/**</exclude>
  458.               <exclude>src/test/projects/**</exclude>
  459.               <exclude>src/test/remote-repo/**</exclude>
  460.               <exclude>**/*.odg</exclude>
  461.             </excludes>
  462.           </configuration>
  463.           <executions>
  464.             <execution>
  465.               <id>check</id>
  466.               <goals>
  467.                 <goal>check</goal>
  468.               </goals>
  469.             </execution>
  470.           </executions>
  471.         </plugin>
  472.         <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
  473.         <plugin>
  474.           <groupId>org.eclipse.m2e</groupId>
  475.           <artifactId>lifecycle-mapping</artifactId>
  476.           <version>1.0.0</version>
  477.           <configuration>
  478.             <lifecycleMappingMetadata>
  479.               <pluginExecutions>
  480.                 <pluginExecution>
  481.                   <pluginExecutionFilter>
  482.                     <groupId>org.apache.rat</groupId>
  483.                     <artifactId>apache-rat-plugin</artifactId>
  484.                     <versionRange>[0.10,)</versionRange>
  485.                     <goals>
  486.                       <goal>check</goal>
  487.                     </goals>
  488.                   </pluginExecutionFilter>
  489.                   <action>
  490.                     <ignore />
  491.                   </action>
  492.                 </pluginExecution>
  493.               </pluginExecutions>
  494.             </lifecycleMappingMetadata>
  495.           </configuration>
  496.         </plugin>
  497.       </plugins>
  498.     </pluginManagement>
  499.     <finalName>findbugs</finalName>
  500.         <resources>
  501.             <resource>
  502.                 <filtering>true</filtering>
  503.                 <directory>src/main/resources</directory>
  504.             </resource>
  505.         </resources>
  506.     <plugins>
  507.       <plugin>
  508.                 <groupId>org.apache.maven.plugins</groupId>
  509.                 <artifactId>maven-compiler-plugin</artifactId>
  510.                 <version>3.1</version>
  511.                 <configuration>
  512.                     <source>${jdk.version}</source>
  513.                     <target>${jdk.version}</target>
  514.                     <encoding>${project.build.sourceEncoding}</encoding>
  515.                 </configuration>
  516.             </plugin>
  517.             <plugin>
  518.                 <groupId>org.apache.maven.plugins</groupId>
  519.                 <artifactId>maven-resources-plugin</artifactId>
  520.                 <version>2.6</version>
  521.                 <configuration>
  522.                     <encoding>${project.build.sourceEncoding}</encoding>
  523.                 </configuration>
  524.             </plugin>
  525.             <plugin>
  526.                 <groupId>org.codehaus.mojo</groupId>
  527.                 <artifactId>findbugs-maven-plugin</artifactId>
  528.                 <version>2.5.2</version>
  529.                 <configuration>
  530.                     <effort>Max</effort>
  531.                     <failOnError>false</failOnError>
  532.                     <findbugsXmlOutputDirectory>${project.build.directory}/findbugs</findbugsXmlOutputDirectory>
  533.                     <threshold>Low</threshold>
  534.                     <xmlOutput>true</xmlOutput>
  535.                 </configuration>
  536.                 <executions>
  537.                     <execution>
  538.                         <id>analyze-compile</id>
  539.                         <phase>compile</phase>
  540.                         <goals>
  541.                             <goal>check</goal>
  542.                         </goals>
  543.                     </execution>
  544.                 </executions>
  545.             </plugin>
  546.             <plugin>
  547.                 <groupId>org.codehaus.mojo</groupId>
  548.                 <artifactId>xml-maven-plugin</artifactId>
  549.                 <version>1.0</version>
  550.                 <configuration>
  551.                     <transformationSets>
  552.                         <transformationSet>
  553.                             <dir>${project.build.directory}/findbugs</dir>
  554.                             <outputDir>${project.build.directory}/findbugs</outputDir>
  555.                             <!-- <stylesheet>fancy-hist.xsl</stylesheet> -->
  556.                             <stylesheet>default.xsl</stylesheet>
  557.                             <!--<stylesheet>plain.xsl</stylesheet>-->
  558.                             <!--<stylesheet>fancy.xsl</stylesheet>-->
  559.                             <!--<stylesheet>summary.xsl</stylesheet>-->
  560.                             <fileMappers>
  561.                                 <fileMapper
  562.                                       implementation="org.codehaus.plexus.components.io.filemappers.FileExtensionMapper">
  563.                                     <targetExtension>.html</targetExtension>
  564.                                 </fileMapper>
  565.                             </fileMappers>
  566.                         </transformationSet>
  567.                     </transformationSets>
  568.                 </configuration>
  569.                 <executions>
  570.                     <execution>
  571.                         <phase>compile</phase>
  572.                         <goals>
  573.                             <goal>transform</goal>
  574.                         </goals>
  575.                     </execution>
  576.                 </executions>
  577.                 <dependencies>
  578.                     <dependency>
  579.                         <groupId>com.google.code.findbugs</groupId>
  580.                         <artifactId>findbugs</artifactId>
  581.                         <version>2.0.1</version>
  582.                     </dependency>
  583.                 </dependencies>
  584.             </plugin>
  585.       <plugin>
  586.         <groupId>org.codehaus.mojo</groupId>
  587.         <artifactId>animal-sniffer-maven-plugin</artifactId>
  588.         <version>1.10</version>
  589.         <configuration>
  590.           <signature>
  591.             <groupId>org.codehaus.mojo.signature</groupId>
  592.             <artifactId>java16</artifactId>
  593.             <version>1.1</version>
  594.           </signature>
  595.         </configuration>
  596.         <executions>
  597.           <execution>
  598.             <id>check-java-1.6-compat</id>
  599.             <phase>process-classes</phase>
  600.             <goals>
  601.               <goal>check</goal>
  602.             </goals>
  603.           </execution>
  604.         </executions>
  605.       </plugin>
  606.       <plugin><!-- TODO remove when upgrading to maven-parent 25 -->
  607.         <artifactId>maven-enforcer-plugin</artifactId>
  608.         <executions>
  609.           <execution>
  610.             <id>enforce-bytecode-version</id>
  611.             <goals>
  612.               <goal>enforce</goal>
  613.             </goals>
  614.             <configuration>
  615.               <rules>
  616.                 <enforceBytecodeVersion>
  617.                   <maxJdkVersion>${maven.compiler.target}</maxJdkVersion>
  618.                 </enforceBytecodeVersion>
  619.               </rules>
  620.               <fail>true</fail>
  621.             </configuration>
  622.           </execution>
  623.         </executions>
  624.       </plugin>
  625.       <plugin>
  626.         <groupId>org.apache.maven.plugins</groupId>
  627.         <artifactId>maven-doap-plugin</artifactId>
  628.         <version>1.1</version>
  629.         <configuration>
  630.           <asfExtOptions>
  631.             <charter>The mission of the Apache Maven project is to create and maintain software
  632.             libraries that provide a widely-used project build tool, targeting mainly Java
  633.             development. Apache Maven promotes the use of dependencies via a
  634.             standardized coordinate system, binary plugins, and a standard build
  635.             lifecycle.</charter>
  636.           </asfExtOptions>
  637.         </configuration>
  638.       </plugin>
  639.       <plugin>
  640.         <groupId>org.apache.rat</groupId>
  641.         <artifactId>apache-rat-plugin</artifactId>
  642.         <configuration>
  643.           <excludes combine.children="append">
  644.             <exclude>bootstrap/**</exclude>
  645.             <exclude>README.bootstrap.txt</exclude>
  646.             <exclude>.repository/**</exclude> <!-- jenkins with local maven repository -->
  647.             <exclude>.maven/spy.log</exclude> <!-- hudson maven3 integration log -->
  648.           </excludes>
  649.           <!-- maven-parent:24 sets ignore errors, but core is ahead -->
  650.           <ignoreErrors>false</ignoreErrors>
  651.         </configuration>
  652.       </plugin>
  653.     </plugins>
  654.   </build>
  655.  
  656.   <profiles>
  657.     <profile>
  658.       <id>apache-release</id>
  659.       <build>
  660.         <plugins>
  661.           <plugin>
  662.             <artifactId>maven-assembly-plugin</artifactId>
  663.             <executions>
  664.               <execution>
  665.                 <id>source-release-assembly</id>
  666.                 <configuration>
  667.                   <!-- we have a dedicated distribution module -->
  668.                   <skipAssembly>true</skipAssembly>
  669.                 </configuration>
  670.               </execution>
  671.             </executions>
  672.           </plugin>
  673.         </plugins>
  674.       </build>
  675.     </profile>
  676.     <profile>
  677.       <id>reporting</id>
  678.       <reporting>
  679.         <plugins>
  680.           <plugin>
  681.             <groupId>org.apache.maven.plugins</groupId>
  682.             <artifactId>maven-javadoc-plugin</artifactId>
  683.             <configuration>
  684.               <linksource>true</linksource>
  685.               <notimestamp>true</notimestamp>
  686.               <quiet>true</quiet>
  687.               <links combine.children="append">
  688.                 <link>http://download.eclipse.org/aether/aether-core/${aetherVersion}/apidocs/</link>
  689.                 <link>http://plexus.codehaus.org/plexus-containers/plexus-container-default/apidocs/</link>
  690.               </links>
  691.             </configuration>
  692.             <reportSets>
  693.               <reportSet>
  694.                 <id>aggregate</id>
  695.                 <inherited>false</inherited>
  696.                 <reports>
  697.                   <report>aggregate</report>
  698.                 </reports>
  699.               </reportSet>
  700.             </reportSets>
  701.           </plugin>
  702.           <plugin>
  703.             <groupId>org.apache.maven.plugins</groupId>
  704.             <artifactId>maven-jxr-plugin</artifactId>
  705.             <reportSets>
  706.               <reportSet>
  707.                 <id>aggregate</id>
  708.                 <inherited>false</inherited>
  709.                 <reports>
  710.                   <report>aggregate</report>
  711.                 </reports>
  712.               </reportSet>
  713.             </reportSets>
  714.           </plugin>
  715.         </plugins>
  716.       </reporting>
  717.     </profile>
  718.     <profile>
  719.       <id>maven-repo-local</id>
  720.       <activation>
  721.         <property>
  722.           <name>maven.repo.local</name>
  723.         </property>
  724.       </activation>
  725.       <build>
  726.         <plugins>
  727.           <plugin>
  728.             <groupId>org.apache.maven.plugins</groupId>
  729.             <artifactId>maven-surefire-plugin</artifactId>
  730.             <configuration>
  731.               <systemProperties combine.children="append">
  732.                 <property>
  733.                   <!-- Pass this through to the tests (if set!) to have them pick the right repository -->
  734.                   <name>maven.repo.local</name>
  735.                   <value>${maven.repo.local}</value>
  736.                 </property>
  737.               </systemProperties>
  738.             </configuration>
  739.           </plugin>
  740.         </plugins>
  741.       </build>
  742.     </profile>
  743.   </profiles>
  744. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement