Home | History | Annotate | Download | only in 3.2.1
      1 <?xml version="1.0" encoding="UTF-8"?>
      2 <!--
      3  Licensed to the Apache Software Foundation (ASF) under one or more
      4  contributor license agreements.  See the NOTICE file distributed with
      5  this work for additional information regarding copyright ownership.
      6  The ASF licenses this file to You under the Apache License, Version 2.0
      7  (the "License"); you may not use this file except in compliance with
      8  the License.  You may obtain a copy of the License at
      9 
     10       http://www.apache.org/licenses/LICENSE-2.0
     11 
     12  Unless required by applicable law or agreed to in writing, software
     13  distributed under the License is distributed on an "AS IS" BASIS,
     14  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     15  See the License for the specific language governing permissions and
     16  limitations under the License.
     17 -->
     18 <project
     19   xmlns="http://maven.apache.org/POM/4.0.0"
     20   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     21   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     22   <parent>
     23     <groupId>org.apache.commons</groupId>
     24     <artifactId>commons-parent</artifactId>
     25     <version>32</version>
     26   </parent>
     27   <modelVersion>4.0.0</modelVersion>
     28   <groupId>org.apache.commons</groupId>
     29   <artifactId>commons-lang3</artifactId>
     30   <version>3.2.1</version>
     31   <name>Apache Commons Lang</name>
     32 
     33   <inceptionYear>2001</inceptionYear>
     34   <description>
     35   Apache Commons Lang, a package of Java utility classes for the
     36   classes that are in java.lang's hierarchy, or are considered to be so
     37   standard as to justify existence in java.lang.
     38 </description>
     39 
     40   <url>http://commons.apache.org/proper/commons-lang/</url>
     41 
     42   <issueManagement>
     43     <system>jira</system>
     44     <url>http://issues.apache.org/jira/browse/LANG</url>
     45   </issueManagement>
     46 
     47   <scm>
     48     <connection>scm:svn:http://svn.apache.org/repos/asf/commons/proper/lang/trunk</connection>
     49     <developerConnection>scm:svn:https://svn.apache.org/repos/asf/commons/proper/lang/trunk</developerConnection>
     50     <url>http://svn.apache.org/viewvc/commons/proper/lang/trunk</url>
     51   </scm>
     52 
     53   <developers>
     54     <developer>
     55       <name>Daniel Rall</name>
     56       <id>dlr</id>
     57       <email>dlr (a] finemaltcoding.com</email>
     58       <organization>CollabNet, Inc.</organization>
     59       <roles>
     60         <role>Java Developer</role>
     61       </roles>
     62     </developer>
     63     <developer>
     64       <name>Stephen Colebourne</name>
     65       <id>scolebourne</id>
     66       <email>scolebourne (a] joda.org</email>
     67       <organization>SITA ATS Ltd</organization>
     68       <timezone>0</timezone>
     69       <roles>
     70         <role>Java Developer</role>
     71       </roles>
     72     </developer>
     73     <developer>
     74       <name>Henri Yandell</name>
     75       <id>bayard</id>
     76       <email>bayard (a] apache.org</email>
     77       <organization />
     78       <roles>
     79         <role>Java Developer</role>
     80       </roles>
     81     </developer>
     82     <developer>
     83       <name>Steven Caswell</name>
     84       <id>scaswell</id>
     85       <email>stevencaswell (a] apache.org</email>
     86       <organization />
     87       <roles>
     88         <role>Java Developer</role>
     89       </roles>
     90       <timezone>-5</timezone>
     91     </developer>
     92     <developer>
     93       <name>Robert Burrell Donkin</name>
     94       <id>rdonkin</id>
     95       <email>rdonkin (a] apache.org</email>
     96       <organization />
     97       <roles>
     98         <role>Java Developer</role>
     99       </roles>
    100     </developer>
    101     <developer>
    102       <name>Gary D. Gregory</name>
    103       <id>ggregory</id>
    104       <email>ggregory (a] apache.org</email>
    105       <timezone>-5</timezone>
    106       <roles>
    107         <role>Java Developer</role>
    108       </roles>
    109     </developer>
    110     <developer>
    111       <name>Fredrik Westermarck</name>
    112       <id>fredrik</id>
    113       <email />
    114       <organization />
    115       <roles>
    116         <role>Java Developer</role>
    117       </roles>
    118     </developer>
    119     <developer>
    120       <name>James Carman</name>
    121       <id>jcarman</id>
    122       <email>jcarman (a] apache.org</email>
    123       <organization>Carman Consulting, Inc.</organization>
    124       <roles>
    125         <role>Java Developer</role>
    126       </roles>
    127     </developer>
    128     <developer>
    129       <name>Niall Pemberton</name>
    130       <id>niallp</id>
    131       <roles>
    132         <role>Java Developer</role>
    133       </roles>
    134     </developer>
    135     <developer>
    136       <name>Matt Benson</name>
    137       <id>mbenson</id>
    138       <roles>
    139         <role>Java Developer</role>
    140       </roles>
    141     </developer>
    142     <developer>
    143       <name>Joerg Schaible</name>
    144       <id>joehni</id>
    145       <email>joerg.schaible (a] gmx.de</email>
    146       <roles>
    147         <role>Java Developer</role>
    148       </roles>
    149       <timezone>+1</timezone>
    150     </developer>
    151     <developer>
    152       <name>Oliver Heger</name>
    153       <id>oheger</id>
    154       <email>oheger (a] apache.org</email>
    155       <timezone>+1</timezone>
    156       <roles>
    157         <role>Java Developer</role>
    158       </roles>
    159     </developer>
    160     <developer>
    161       <name>Paul Benedict</name>
    162       <id>pbenedict</id>
    163       <email>pbenedict (a] apache.org</email>
    164       <roles>
    165         <role>Java Developer</role>
    166       </roles>
    167     </developer>
    168     <developer>
    169       <name>Benedikt Ritter</name>
    170       <id>britter</id>
    171       <email>britter (a] apache.org</email>
    172       <roles>
    173         <role>Java Developer</role>
    174       </roles>
    175     </developer>
    176   </developers>
    177   <contributors>
    178     <contributor>
    179       <name>C. Scott Ananian</name>
    180     </contributor>
    181     <contributor>
    182       <name>Chris Audley</name>
    183     </contributor>
    184     <contributor>
    185       <name>Stephane Bailliez</name>
    186     </contributor>
    187     <contributor>
    188       <name>Michael Becke</name>
    189     </contributor>
    190     <contributor>
    191       <name>Benjamin Bentmann</name>
    192     </contributor>
    193     <contributor>
    194       <name>Ola Berg</name>
    195     </contributor>
    196     <contributor>
    197       <name>Nathan Beyer</name>
    198     </contributor>
    199     <contributor>
    200       <name>Stefan Bodewig</name>
    201     </contributor>
    202     <contributor>
    203       <name>Janek Bogucki</name>
    204     </contributor>
    205     <contributor>
    206       <name>Mike Bowler</name>
    207     </contributor>
    208     <contributor>
    209       <name>Sean Brown</name>
    210     </contributor>
    211     <contributor>
    212       <name>Alexander Day Chaffee</name>
    213     </contributor>
    214     <contributor>
    215       <name>Al Chou</name>
    216     </contributor>
    217     <contributor>
    218       <name>Greg Coladonato</name>
    219     </contributor>
    220     <contributor>
    221       <name>Maarten Coene</name>
    222     </contributor>
    223     <contributor>
    224       <name>Justin Couch</name>
    225     </contributor>
    226     <contributor>
    227       <name>Michael Davey</name>
    228     </contributor>
    229     <contributor>
    230       <name>Norm Deane</name>
    231     </contributor>
    232     <contributor>
    233       <name>Morgan Delagrange</name>
    234     </contributor>
    235     <contributor>
    236       <name>Ringo De Smet</name>
    237     </contributor>
    238     <contributor>
    239       <name>Russel Dittmar</name>
    240     </contributor>
    241     <contributor>
    242       <name>Steve Downey</name>
    243     </contributor>
    244     <contributor>
    245       <name>Matthias Eichel</name>
    246     </contributor>
    247     <contributor>
    248       <name>Christopher Elkins</name>
    249     </contributor>
    250     <contributor>
    251       <name>Chris Feldhacker</name>
    252     </contributor>
    253     <contributor>
    254       <name>Roland Foerther</name>
    255     </contributor>
    256     <contributor>
    257       <name>Pete Gieser</name>
    258     </contributor>
    259     <contributor>
    260       <name>Jason Gritman</name>
    261     </contributor>
    262     <contributor>
    263       <name>Matthew Hawthorne</name>
    264     </contributor>
    265     <contributor>
    266       <name>Michael Heuer</name>
    267     </contributor>
    268     <contributor>
    269       <name>Chas Honton</name>
    270     </contributor>
    271     <contributor>
    272       <name>Chris Hyzer</name>
    273     </contributor>
    274     <contributor>
    275       <name>Paul Jack</name>
    276     </contributor>
    277     <contributor>
    278       <name>Marc Johnson</name>
    279     </contributor>
    280     <contributor>
    281       <name>Duncan Jones</name>
    282     </contributor>
    283     <contributor>
    284       <name>Shaun Kalley</name>
    285     </contributor>
    286     <contributor>
    287       <name>Tetsuya Kaneuchi</name>
    288     </contributor>
    289     <contributor>
    290       <name>Nissim Karpenstein</name>
    291     </contributor>
    292     <contributor>
    293       <name>Ed Korthof</name>
    294     </contributor>
    295     <contributor>
    296       <name>Holger Krauth</name>
    297     </contributor>
    298     <contributor>
    299       <name>Rafal Krupinski</name>
    300     </contributor>
    301     <contributor>
    302       <name>Rafal Krzewski</name>
    303     </contributor>
    304     <contributor>
    305       <name>David Leppik</name>
    306     </contributor>
    307     <contributor>
    308       <name>Eli Lindsey</name>
    309     </contributor>
    310     <contributor>
    311       <name>Sven Ludwig</name>
    312     </contributor>
    313     <contributor>
    314       <name>Craig R. McClanahan</name>
    315     </contributor>
    316     <contributor>
    317       <name>Rand McNeely</name>
    318     </contributor>
    319     <contributor>
    320       <name>Hendrik Maryns</name>
    321     </contributor>
    322     <contributor>
    323       <name>Dave Meikle</name>
    324     </contributor>
    325     <contributor>
    326       <name>Nikolay Metchev</name>
    327     </contributor>
    328     <contributor>
    329       <name>Kasper Nielsen</name>
    330     </contributor>
    331     <contributor>
    332       <name>Tim O'Brien</name>
    333     </contributor>
    334     <contributor>
    335       <name>Brian S O'Neill</name>
    336     </contributor>
    337     <contributor>
    338       <name>Andrew C. Oliver</name>
    339     </contributor>
    340     <contributor>
    341       <name>Alban Peignier</name>
    342     </contributor>
    343     <contributor>
    344       <name>Moritz Petersen</name>
    345     </contributor>
    346     <contributor>
    347       <name>Dmitri Plotnikov</name>
    348     </contributor>
    349     <contributor>
    350       <name>Neeme Praks</name>
    351     </contributor>
    352     <contributor>
    353       <name>Eric Pugh</name>
    354     </contributor>
    355     <contributor>
    356       <name>Stephen Putman</name>
    357     </contributor>
    358     <contributor>
    359       <name>Travis Reeder</name>
    360     </contributor>
    361     <contributor>
    362       <name>Antony Riley</name>
    363     </contributor>
    364     <contributor>
    365       <name>Valentin Rocher</name>
    366     </contributor>
    367     <contributor>
    368       <name>Scott Sanders</name>
    369     </contributor>
    370     <contributor>
    371       <name>Ralph Schaer</name>
    372     </contributor>
    373     <contributor>
    374       <name>Henning P. Schmiedehausen</name>
    375     </contributor>
    376     <contributor>
    377       <name>Sean Schofield</name>
    378     </contributor>
    379     <contributor>
    380       <name>Robert Scholte</name>
    381     </contributor>
    382     <contributor>
    383       <name>Reuben Sivan</name>
    384     </contributor>
    385     <contributor>
    386       <name>Ville Skytta</name>
    387     </contributor>
    388     <contributor>
    389       <name>David M. Sledge</name>
    390     </contributor>
    391     <contributor>
    392       <name>Michael A. Smith</name>
    393     </contributor>
    394     <contributor>
    395       <name>Jan Sorensen</name>
    396     </contributor>
    397     <contributor>
    398       <name>Glen Stampoultzis</name>
    399     </contributor>
    400     <contributor>
    401       <name>Scott Stanchfield</name>
    402     </contributor>
    403     <contributor>
    404       <name>Jon S. Stevens</name>
    405     </contributor>
    406     <contributor>
    407       <name>Sean C. Sullivan</name>
    408     </contributor>
    409     <contributor>
    410       <name>Ashwin Suresh</name>
    411     </contributor>
    412     <contributor>
    413       <name>Helge Tesgaard</name>
    414     </contributor>
    415     <contributor>
    416       <name>Arun Mammen Thomas</name>
    417     </contributor>
    418     <contributor>
    419       <name>Masato Tezuka</name>
    420     </contributor>
    421     <contributor>
    422       <name>Daniel Trebbien</name>
    423     </contributor>
    424     <contributor>
    425       <name>Jeff Varszegi</name>
    426     </contributor>
    427     <contributor>
    428       <name>Chris Webb</name>
    429     </contributor>
    430     <contributor>
    431       <name>Mario Winterer</name>
    432     </contributor>
    433     <contributor>
    434       <name>Stepan Koltsov</name>
    435     </contributor>
    436     <contributor>
    437       <name>Holger Hoffstatte</name>
    438     </contributor>
    439     <contributor>
    440       <name>Derek C. Ashmore</name>
    441     </contributor>
    442     <contributor>
    443       <name>Sebastien Riou</name>
    444     </contributor>
    445     <contributor>
    446       <name>Allon Mureinik</name>
    447     </contributor>
    448   </contributors>
    449 
    450   <!-- Lang should depend on very little -->
    451   <dependencies>
    452     <dependency>
    453       <groupId>junit</groupId>
    454       <artifactId>junit</artifactId>
    455       <version>4.11</version>
    456       <scope>test</scope>
    457     </dependency>
    458 
    459     <dependency>
    460       <groupId>commons-io</groupId>
    461       <artifactId>commons-io</artifactId>
    462       <version>2.4</version>
    463       <scope>test</scope>
    464     </dependency>
    465 
    466     <dependency>
    467       <groupId>org.easymock</groupId>
    468       <artifactId>easymock</artifactId>
    469       <version>3.2</version>
    470       <scope>test</scope>
    471     </dependency>
    472   </dependencies>
    473 
    474   <distributionManagement>
    475     <site>
    476       <id>apache.website</id>
    477       <name>Apache Commons Site</name>
    478       <url>scm:svn:https://svn.apache.org/repos/infra/websites/production/commons/content/proper/commons-lang/</url>
    479     </site>
    480   </distributionManagement>
    481 
    482   <properties>
    483     <project.build.sourceEncoding>ISO-8859-1</project.build.sourceEncoding>
    484     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
    485     <maven.compiler.source>1.6</maven.compiler.source>
    486     <maven.compiler.target>1.6</maven.compiler.target>
    487     <!--
    488        This is also  used to generate download_xxx file name.
    489        To override this when generating the download page:
    490        
    491        mvn commons:download-page -Dcommons.componentid=lang
    492        
    493        The above seems to change the download page name but not any other
    494        properties that depend on the componentid.
    495     -->
    496     <commons.componentid>lang3</commons.componentid>
    497     <!-- Current 3.x release series -->
    498     <commons.release.version>3.2.1</commons.release.version>
    499     <commons.release.desc>(Java 6.0+)</commons.release.desc>
    500     <!-- Previous 2.x release series -->
    501     <commons.release.2.version>2.6</commons.release.2.version>
    502     <commons.release.2.desc>(Requires Java 1.2 or later)</commons.release.2.desc>
    503     <!-- Override generated name -->
    504     <commons.release.2.name>commons-lang-${commons.release.2.version}</commons.release.2.name>
    505     <commons.jira.id>LANG</commons.jira.id>
    506     <commons.jira.pid>12310481</commons.jira.pid>
    507 
    508     <commons.site.path>lang</commons.site.path>
    509     <commons.scmPubUrl>https://svn.apache.org/repos/infra/websites/production/commons/content/proper/commons-lang</commons.scmPubUrl>
    510     <commons.scmPubCheckoutDirectory>site-content</commons.scmPubCheckoutDirectory>
    511   </properties>
    512 
    513 
    514   <build>
    515     <plugins>
    516       <plugin>
    517         <groupId>org.apache.maven.plugins</groupId>
    518         <artifactId>maven-surefire-plugin</artifactId>
    519         <executions>
    520           <execution>
    521             <id>plain</id>
    522             <configuration>
    523               <includes>
    524                 <include>**/*Test.java</include>
    525               </includes>
    526               <runOrder>random</runOrder>
    527             </configuration>
    528           </execution>
    529           <!-- <execution> <id>security-manager-test</id> <phase>integration-test</phase> <goals> <goal>test</goal> </goals> <configuration> 
    530             <includes> <include>**/*Test.java</include> </includes> <argLine>-Djava.security.manager -Djava.security.policy=${basedir}/src/test/resources/java.policy</argLine> 
    531             </configuration> </execution> -->
    532         </executions>
    533       </plugin>
    534       <plugin>
    535         <artifactId>maven-assembly-plugin</artifactId>
    536         <configuration>
    537           <descriptors>
    538             <descriptor>src/assembly/bin.xml</descriptor>
    539             <descriptor>src/assembly/src.xml</descriptor>
    540           </descriptors>
    541           <tarLongFileMode>gnu</tarLongFileMode>
    542         </configuration>
    543       </plugin>
    544       <plugin>
    545         <groupId>org.apache.maven.plugins</groupId>
    546         <artifactId>maven-jar-plugin</artifactId>
    547         <executions>
    548           <execution>
    549             <goals>
    550               <goal>test-jar</goal>
    551             </goals>
    552           </execution>
    553         </executions>
    554       </plugin>
    555       <plugin>
    556         <groupId>org.apache.maven.plugins</groupId>
    557         <artifactId>maven-scm-publish-plugin</artifactId>
    558         <configuration>
    559           <ignorePathsToDelete>
    560             <ignorePathToDelete>javadocs</ignorePathToDelete>
    561           </ignorePathsToDelete>
    562         </configuration>
    563       </plugin>
    564     </plugins>
    565 
    566   </build>
    567 
    568   <reporting>
    569     <plugins>
    570       <plugin>
    571         <artifactId>maven-checkstyle-plugin</artifactId>
    572         <version>2.9.1</version>
    573         <configuration>
    574           <configLocation>${basedir}/checkstyle.xml</configLocation>
    575           <enableRulesSummary>false</enableRulesSummary>
    576         </configuration>
    577         <reportSets>
    578           <reportSet>
    579             <reports>
    580               <report>checkstyle</report>
    581             </reports>
    582           </reportSet>
    583         </reportSets>
    584       </plugin>
    585       <!-- Requires setting 'export MAVEN_OPTS="-Xmx512m" ' -->
    586       <plugin>
    587         <groupId>org.codehaus.mojo</groupId>
    588         <artifactId>findbugs-maven-plugin</artifactId>
    589         <version>2.5.2</version>
    590         <configuration>
    591           <threshold>Normal</threshold>
    592           <effort>Default</effort>
    593           <excludeFilterFile>${basedir}/findbugs-exclude-filter.xml</excludeFilterFile>
    594         </configuration>
    595       </plugin>
    596       <plugin>
    597         <groupId>org.codehaus.mojo</groupId>
    598         <artifactId>cobertura-maven-plugin</artifactId>
    599         <version>2.5.1</version>
    600       </plugin>
    601       <plugin>
    602         <groupId>org.codehaus.mojo</groupId>
    603         <artifactId>clirr-maven-plugin</artifactId>
    604         <version>2.4</version>
    605         <configuration>
    606           <minSeverity>info</minSeverity>
    607           <!-- Compare 3.2.1 against 3.1, since point releases never introduce API changes -->
    608           <comparisonVersion>3.1</comparisonVersion>
    609         </configuration>
    610       </plugin>
    611       <plugin>
    612         <artifactId>maven-pmd-plugin</artifactId>
    613         <version>3.0.1</version>
    614         <configuration>
    615           <targetJdk>${maven.compile.target}</targetJdk>
    616         </configuration>
    617         <reportSets>
    618           <reportSet>
    619             <reports>
    620               <report>pmd</report>
    621               <report>cpd</report>
    622             </reports>
    623           </reportSet>
    624         </reportSets>
    625       </plugin>
    626       <plugin>
    627         <groupId>org.codehaus.mojo</groupId>
    628         <artifactId>taglist-maven-plugin</artifactId>
    629         <version>2.4</version>
    630         <configuration>
    631           <tags>
    632             <tag>TODO</tag>
    633             <tag>NOPMD</tag>
    634             <tag>NOTE</tag>
    635           </tags>
    636         </configuration>
    637       </plugin>
    638       <plugin>
    639         <groupId>org.codehaus.mojo</groupId>
    640         <artifactId>javancss-maven-plugin</artifactId>
    641         <version>2.0</version>
    642       </plugin>
    643       <plugin>
    644         <groupId>org.apache.rat</groupId>
    645         <artifactId>apache-rat-plugin</artifactId>
    646         <configuration>
    647           <excludes>
    648             <exclude>site-content/**</exclude>
    649             <exclude>src/site/resources/download_lang.cgi</exclude>
    650             <exclude>src/site/resources/release-notes/RELEASE-NOTES-*.txt</exclude>
    651             <exclude>src/test/resources/lang-708-input.txt</exclude>
    652           </excludes>
    653         </configuration>
    654       </plugin>
    655     </plugins>
    656   </reporting>
    657 
    658   <profiles>
    659     <profile>
    660       <id>setup-checkout</id>
    661       <activation>
    662         <file>
    663           <missing>site-content</missing>
    664         </file>
    665       </activation>
    666       <build>
    667         <plugins>
    668           <plugin>
    669             <groupId>org.apache.maven.plugins</groupId>
    670             <artifactId>maven-antrun-plugin</artifactId>
    671             <version>1.7</version>
    672             <executions>
    673               <execution>
    674                 <id>prepare-checkout</id>
    675                 <phase>pre-site</phase>
    676                 <goals>
    677                   <goal>run</goal>
    678                 </goals>
    679                 <configuration>
    680                   <tasks>
    681                     <exec executable="svn">
    682                       <arg line="checkout --depth immediates ${commons.scmPubUrl} ${commons.scmPubCheckoutDirectory}" />
    683                     </exec>
    684 
    685                     <exec executable="svn">
    686                       <arg line="update --set-depth exclude ${commons.scmPubCheckoutDirectory}/javadocs" />
    687                     </exec>
    688 
    689                     <pathconvert pathsep=" " property="dirs">
    690                       <dirset dir="${commons.scmPubCheckoutDirectory}" includes="*" />
    691                     </pathconvert>
    692                     <exec executable="svn">
    693                       <arg line="update --set-depth infinity ${dirs}" />
    694                     </exec>
    695                   </tasks>
    696                 </configuration>
    697               </execution>
    698             </executions>
    699           </plugin>
    700         </plugins>
    701       </build>
    702     </profile>
    703   </profiles>
    704 
    705 </project>
    706