Home | History | Annotate | Download | only in 3.3
      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>33</version>
     26   </parent>
     27   <modelVersion>4.0.0</modelVersion>
     28   <groupId>org.apache.commons</groupId>
     29   <artifactId>commons-lang3</artifactId>
     30   <version>3.3</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     <developer>
    177       <name>Duncan Jones</name>
    178       <id>djones</id>
    179       <email>djones (a] apache.org</email>
    180       <timezone>0</timezone>
    181       <roles>
    182         <role>Java Developer</role>
    183       </roles>
    184     </developer>    
    185   </developers>
    186   <contributors>
    187     <contributor>
    188       <name>C. Scott Ananian</name>
    189     </contributor>
    190     <contributor>
    191       <name>Chris Audley</name>
    192     </contributor>
    193     <contributor>
    194       <name>Stephane Bailliez</name>
    195     </contributor>
    196     <contributor>
    197       <name>Michael Becke</name>
    198     </contributor>
    199     <contributor>
    200       <name>Benjamin Bentmann</name>
    201     </contributor>
    202     <contributor>
    203       <name>Ola Berg</name>
    204     </contributor>
    205     <contributor>
    206       <name>Nathan Beyer</name>
    207     </contributor>
    208     <contributor>
    209       <name>Stefan Bodewig</name>
    210     </contributor>
    211     <contributor>
    212       <name>Janek Bogucki</name>
    213     </contributor>
    214     <contributor>
    215       <name>Mike Bowler</name>
    216     </contributor>
    217     <contributor>
    218       <name>Sean Brown</name>
    219     </contributor>
    220     <contributor>
    221       <name>Alexander Day Chaffee</name>
    222     </contributor>
    223     <contributor>
    224       <name>Al Chou</name>
    225     </contributor>
    226     <contributor>
    227       <name>Greg Coladonato</name>
    228     </contributor>
    229     <contributor>
    230       <name>Maarten Coene</name>
    231     </contributor>
    232     <contributor>
    233       <name>Justin Couch</name>
    234     </contributor>
    235     <contributor>
    236       <name>Michael Davey</name>
    237     </contributor>
    238     <contributor>
    239       <name>Norm Deane</name>
    240     </contributor>
    241     <contributor>
    242       <name>Morgan Delagrange</name>
    243     </contributor>
    244     <contributor>
    245       <name>Ringo De Smet</name>
    246     </contributor>
    247     <contributor>
    248       <name>Russel Dittmar</name>
    249     </contributor>
    250     <contributor>
    251       <name>Steve Downey</name>
    252     </contributor>
    253     <contributor>
    254       <name>Matthias Eichel</name>
    255     </contributor>
    256     <contributor>
    257       <name>Christopher Elkins</name>
    258     </contributor>
    259     <contributor>
    260       <name>Chris Feldhacker</name>
    261     </contributor>
    262     <contributor>
    263       <name>Roland Foerther</name>
    264     </contributor>
    265     <contributor>
    266       <name>Pete Gieser</name>
    267     </contributor>
    268     <contributor>
    269       <name>Jason Gritman</name>
    270     </contributor>
    271     <contributor>
    272       <name>Matthew Hawthorne</name>
    273     </contributor>
    274     <contributor>
    275       <name>Michael Heuer</name>
    276     </contributor>
    277     <contributor>
    278       <name>Chas Honton</name>
    279     </contributor>
    280     <contributor>
    281       <name>Chris Hyzer</name>
    282     </contributor>
    283     <contributor>
    284       <name>Paul Jack</name>
    285     </contributor>
    286     <contributor>
    287       <name>Marc Johnson</name>
    288     </contributor>
    289     <contributor>
    290       <name>Shaun Kalley</name>
    291     </contributor>
    292     <contributor>
    293       <name>Tetsuya Kaneuchi</name>
    294     </contributor>
    295     <contributor>
    296       <name>Nissim Karpenstein</name>
    297     </contributor>
    298     <contributor>
    299       <name>Ed Korthof</name>
    300     </contributor>
    301     <contributor>
    302       <name>Holger Krauth</name>
    303     </contributor>
    304     <contributor>
    305       <name>Rafal Krupinski</name>
    306     </contributor>
    307     <contributor>
    308       <name>Rafal Krzewski</name>
    309     </contributor>
    310     <contributor>
    311       <name>David Leppik</name>
    312     </contributor>
    313     <contributor>
    314       <name>Eli Lindsey</name>
    315     </contributor>
    316     <contributor>
    317       <name>Sven Ludwig</name>
    318     </contributor>
    319     <contributor>
    320       <name>Craig R. McClanahan</name>
    321     </contributor>
    322     <contributor>
    323       <name>Rand McNeely</name>
    324     </contributor>
    325     <contributor>
    326       <name>Hendrik Maryns</name>
    327     </contributor>
    328     <contributor>
    329       <name>Dave Meikle</name>
    330     </contributor>
    331     <contributor>
    332       <name>Nikolay Metchev</name>
    333     </contributor>
    334     <contributor>
    335       <name>Kasper Nielsen</name>
    336     </contributor>
    337     <contributor>
    338       <name>Tim O'Brien</name>
    339     </contributor>
    340     <contributor>
    341       <name>Brian S O'Neill</name>
    342     </contributor>
    343     <contributor>
    344       <name>Andrew C. Oliver</name>
    345     </contributor>
    346     <contributor>
    347       <name>Alban Peignier</name>
    348     </contributor>
    349     <contributor>
    350       <name>Moritz Petersen</name>
    351     </contributor>
    352     <contributor>
    353       <name>Dmitri Plotnikov</name>
    354     </contributor>
    355     <contributor>
    356       <name>Neeme Praks</name>
    357     </contributor>
    358     <contributor>
    359       <name>Eric Pugh</name>
    360     </contributor>
    361     <contributor>
    362       <name>Stephen Putman</name>
    363     </contributor>
    364     <contributor>
    365       <name>Travis Reeder</name>
    366     </contributor>
    367     <contributor>
    368       <name>Antony Riley</name>
    369     </contributor>
    370     <contributor>
    371       <name>Valentin Rocher</name>
    372     </contributor>
    373     <contributor>
    374       <name>Scott Sanders</name>
    375     </contributor>
    376     <contributor>
    377       <name>Ralph Schaer</name>
    378     </contributor>
    379     <contributor>
    380       <name>Henning P. Schmiedehausen</name>
    381     </contributor>
    382     <contributor>
    383       <name>Sean Schofield</name>
    384     </contributor>
    385     <contributor>
    386       <name>Robert Scholte</name>
    387     </contributor>
    388     <contributor>
    389       <name>Reuben Sivan</name>
    390     </contributor>
    391     <contributor>
    392       <name>Ville Skytta</name>
    393     </contributor>
    394     <contributor>
    395       <name>David M. Sledge</name>
    396     </contributor>
    397     <contributor>
    398       <name>Michael A. Smith</name>
    399     </contributor>
    400     <contributor>
    401       <name>Jan Sorensen</name>
    402     </contributor>
    403     <contributor>
    404       <name>Glen Stampoultzis</name>
    405     </contributor>
    406     <contributor>
    407       <name>Scott Stanchfield</name>
    408     </contributor>
    409     <contributor>
    410       <name>Jon S. Stevens</name>
    411     </contributor>
    412     <contributor>
    413       <name>Sean C. Sullivan</name>
    414     </contributor>
    415     <contributor>
    416       <name>Ashwin Suresh</name>
    417     </contributor>
    418     <contributor>
    419       <name>Helge Tesgaard</name>
    420     </contributor>
    421     <contributor>
    422       <name>Arun Mammen Thomas</name>
    423     </contributor>
    424     <contributor>
    425       <name>Masato Tezuka</name>
    426     </contributor>
    427     <contributor>
    428       <name>Daniel Trebbien</name>
    429     </contributor>
    430     <contributor>
    431       <name>Jeff Varszegi</name>
    432     </contributor>
    433     <contributor>
    434       <name>Chris Webb</name>
    435     </contributor>
    436     <contributor>
    437       <name>Mario Winterer</name>
    438     </contributor>
    439     <contributor>
    440       <name>Stepan Koltsov</name>
    441     </contributor>
    442     <contributor>
    443       <name>Holger Hoffstatte</name>
    444     </contributor>
    445     <contributor>
    446       <name>Derek C. Ashmore</name>
    447     </contributor>
    448     <contributor>
    449       <name>Sebastien Riou</name>
    450     </contributor>
    451     <contributor>
    452       <name>Allon Mureinik</name>
    453     </contributor>
    454     <contributor>
    455       <name>Adam Hooper</name>
    456     </contributor>
    457     <contributor>
    458       <name>Chris Karcher</name>
    459     </contributor>
    460   </contributors>
    461 
    462   <!-- Lang should depend on very little -->
    463   <dependencies>
    464     <dependency>
    465       <groupId>junit</groupId>
    466       <artifactId>junit</artifactId>
    467       <version>4.11</version>
    468       <scope>test</scope>
    469     </dependency>
    470 
    471     <dependency>
    472       <groupId>commons-io</groupId>
    473       <artifactId>commons-io</artifactId>
    474       <version>2.4</version>
    475       <scope>test</scope>
    476     </dependency>
    477 
    478     <dependency>
    479       <groupId>org.easymock</groupId>
    480       <artifactId>easymock</artifactId>
    481       <version>3.2</version>
    482       <scope>test</scope>
    483     </dependency>
    484   </dependencies>
    485 
    486   <distributionManagement>
    487     <site>
    488       <id>apache.website</id>
    489       <name>Apache Commons Site</name>
    490       <url>scm:svn:https://svn.apache.org/repos/infra/websites/production/commons/content/proper/commons-lang/</url>
    491     </site>
    492   </distributionManagement>
    493 
    494   <properties>
    495     <project.build.sourceEncoding>ISO-8859-1</project.build.sourceEncoding>
    496     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
    497     <maven.compiler.source>1.6</maven.compiler.source>
    498     <maven.compiler.target>1.6</maven.compiler.target>
    499     <!--
    500        This is also  used to generate download_xxx file name.
    501        To override this when generating the download page:
    502        
    503        mvn commons:download-page -Dcommons.componentid=lang
    504        
    505        The above seems to change the download page name but not any other
    506        properties that depend on the componentid.
    507     -->
    508     <commons.componentid>lang3</commons.componentid>
    509     <!-- Current 3.x release series -->
    510     <commons.release.version>3.3</commons.release.version>
    511     <commons.release.desc>(Java 6.0+)</commons.release.desc>
    512     <!-- Previous 2.x release series -->
    513     <commons.release.2.version>2.6</commons.release.2.version>
    514     <commons.release.2.desc>(Requires Java 1.2 or later)</commons.release.2.desc>
    515     <!-- Override generated name -->
    516     <commons.release.2.name>commons-lang-${commons.release.2.version}</commons.release.2.name>
    517     <commons.jira.id>LANG</commons.jira.id>
    518     <commons.jira.pid>12310481</commons.jira.pid>
    519 
    520     <commons.site.path>lang</commons.site.path>
    521     <commons.scmPubUrl>https://svn.apache.org/repos/infra/websites/production/commons/content/proper/commons-lang</commons.scmPubUrl>
    522     <commons.scmPubCheckoutDirectory>site-content</commons.scmPubCheckoutDirectory>
    523   </properties>
    524 
    525 
    526   <build>
    527     <plugins>
    528       <plugin>
    529         <groupId>org.apache.maven.plugins</groupId>
    530         <artifactId>maven-surefire-plugin</artifactId>
    531         <executions>
    532           <execution>
    533             <id>plain</id>
    534             <configuration>
    535               <includes>
    536                 <include>**/*Test.java</include>
    537               </includes>
    538               <runOrder>random</runOrder>
    539             </configuration>
    540           </execution>
    541           <!-- <execution> <id>security-manager-test</id> <phase>integration-test</phase> <goals> <goal>test</goal> </goals> <configuration> 
    542             <includes> <include>**/*Test.java</include> </includes> <argLine>-Djava.security.manager -Djava.security.policy=${basedir}/src/test/resources/java.policy</argLine> 
    543             </configuration> </execution> -->
    544         </executions>
    545       </plugin>
    546       <plugin>
    547         <artifactId>maven-assembly-plugin</artifactId>
    548         <configuration>
    549           <descriptors>
    550             <descriptor>src/assembly/bin.xml</descriptor>
    551             <descriptor>src/assembly/src.xml</descriptor>
    552           </descriptors>
    553           <tarLongFileMode>gnu</tarLongFileMode>
    554         </configuration>
    555       </plugin>
    556       <plugin>
    557         <groupId>org.apache.maven.plugins</groupId>
    558         <artifactId>maven-jar-plugin</artifactId>
    559         <executions>
    560           <execution>
    561             <goals>
    562               <goal>test-jar</goal>
    563             </goals>
    564           </execution>
    565         </executions>
    566       </plugin>
    567       <plugin>
    568         <groupId>org.apache.maven.plugins</groupId>
    569         <artifactId>maven-scm-publish-plugin</artifactId>
    570         <configuration>
    571           <ignorePathsToDelete>
    572             <ignorePathToDelete>javadocs</ignorePathToDelete>
    573           </ignorePathsToDelete>
    574         </configuration>
    575       </plugin>
    576     </plugins>
    577 
    578   </build>
    579 
    580   <reporting>
    581     <plugins>
    582       <plugin>
    583         <artifactId>maven-checkstyle-plugin</artifactId>
    584         <version>2.9.1</version>
    585         <configuration>
    586           <configLocation>${basedir}/checkstyle.xml</configLocation>
    587           <enableRulesSummary>false</enableRulesSummary>
    588         </configuration>
    589         <reportSets>
    590           <reportSet>
    591             <reports>
    592               <report>checkstyle</report>
    593             </reports>
    594           </reportSet>
    595         </reportSets>
    596       </plugin>
    597       <!-- Requires setting 'export MAVEN_OPTS="-Xmx512m" ' -->
    598       <plugin>
    599         <groupId>org.codehaus.mojo</groupId>
    600         <artifactId>findbugs-maven-plugin</artifactId>
    601         <version>2.5.2</version>
    602         <configuration>
    603           <threshold>Normal</threshold>
    604           <effort>Default</effort>
    605           <excludeFilterFile>${basedir}/findbugs-exclude-filter.xml</excludeFilterFile>
    606         </configuration>
    607       </plugin>
    608       <plugin>
    609         <groupId>org.codehaus.mojo</groupId>
    610         <artifactId>cobertura-maven-plugin</artifactId>
    611         <version>2.5.1</version>
    612       </plugin>
    613       <plugin>
    614         <groupId>org.codehaus.mojo</groupId>
    615         <artifactId>clirr-maven-plugin</artifactId>
    616         <version>2.4</version>
    617         <configuration>
    618           <minSeverity>info</minSeverity>
    619         </configuration>
    620       </plugin>
    621       <plugin>
    622         <artifactId>maven-pmd-plugin</artifactId>
    623         <version>3.0.1</version>
    624         <configuration>
    625           <targetJdk>${maven.compile.target}</targetJdk>
    626         </configuration>
    627         <reportSets>
    628           <reportSet>
    629             <reports>
    630               <report>pmd</report>
    631               <report>cpd</report>
    632             </reports>
    633           </reportSet>
    634         </reportSets>
    635       </plugin>
    636       <plugin>
    637         <groupId>org.codehaus.mojo</groupId>
    638         <artifactId>taglist-maven-plugin</artifactId>
    639         <version>2.4</version>
    640         <configuration>
    641           <tags>
    642             <tag>TODO</tag>
    643             <tag>NOPMD</tag>
    644             <tag>NOTE</tag>
    645           </tags>
    646         </configuration>
    647       </plugin>
    648       <plugin>
    649         <groupId>org.codehaus.mojo</groupId>
    650         <artifactId>javancss-maven-plugin</artifactId>
    651         <version>2.0</version>
    652       </plugin>
    653       <plugin>
    654         <groupId>org.apache.rat</groupId>
    655         <artifactId>apache-rat-plugin</artifactId>
    656         <configuration>
    657           <excludes>
    658             <exclude>site-content/**</exclude>
    659             <exclude>src/site/resources/download_lang.cgi</exclude>
    660             <exclude>src/site/resources/release-notes/RELEASE-NOTES-*.txt</exclude>
    661             <exclude>src/test/resources/lang-708-input.txt</exclude>
    662           </excludes>
    663         </configuration>
    664       </plugin>
    665     </plugins>
    666   </reporting>
    667 
    668   <profiles>
    669     <profile>
    670       <id>setup-checkout</id>
    671       <activation>
    672         <file>
    673           <missing>site-content</missing>
    674         </file>
    675       </activation>
    676       <build>
    677         <plugins>
    678           <plugin>
    679             <groupId>org.apache.maven.plugins</groupId>
    680             <artifactId>maven-antrun-plugin</artifactId>
    681             <version>1.7</version>
    682             <executions>
    683               <execution>
    684                 <id>prepare-checkout</id>
    685                 <phase>pre-site</phase>
    686                 <goals>
    687                   <goal>run</goal>
    688                 </goals>
    689                 <configuration>
    690                   <tasks>
    691                     <exec executable="svn">
    692                       <arg line="checkout --depth immediates ${commons.scmPubUrl} ${commons.scmPubCheckoutDirectory}" />
    693                     </exec>
    694 
    695                     <exec executable="svn">
    696                       <arg line="update --set-depth exclude ${commons.scmPubCheckoutDirectory}/javadocs" />
    697                     </exec>
    698 
    699                     <pathconvert pathsep=" " property="dirs">
    700                       <dirset dir="${commons.scmPubCheckoutDirectory}" includes="*" />
    701                     </pathconvert>
    702                     <exec executable="svn">
    703                       <arg line="update --set-depth infinity ${dirs}" />
    704                     </exec>
    705                   </tasks>
    706                 </configuration>
    707               </execution>
    708             </executions>
    709           </plugin>
    710         </plugins>
    711       </build>
    712     </profile>
    713   </profiles>
    714 
    715 </project>
    716