| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- -->
- <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">
- <parent>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-parent</artifactId>
- <version>52</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>commons-lang3</artifactId>
- <version>3.12.0</version>
- <name>Apache Commons Lang</name>
- <inceptionYear>2001</inceptionYear>
- <description>
- Apache Commons Lang, a package of Java utility classes for the
- classes that are in java.lang's hierarchy, or are considered to be so
- standard as to justify existence in java.lang.
- </description>
- <url>https://commons.apache.org/proper/commons-lang/</url>
- <issueManagement>
- <system>jira</system>
- <url>https://issues.apache.org/jira/browse/LANG</url>
- </issueManagement>
- <scm>
- <connection>scm:git:http://gitbox.apache.org/repos/asf/commons-lang.git</connection>
- <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/commons-lang.git</developerConnection>
- <url>https://gitbox.apache.org/repos/asf?p=commons-lang.git</url>
- <tag>commons-lang-3.12.0</tag>
- </scm>
- <developers>
- <developer>
- <name>Daniel Rall</name>
- <id>dlr</id>
- <email>dlr@finemaltcoding.com</email>
- <organization>CollabNet, Inc.</organization>
- <roles>
- <role>Java Developer</role>
- </roles>
- </developer>
- <developer>
- <name>Stephen Colebourne</name>
- <id>scolebourne</id>
- <email>scolebourne@joda.org</email>
- <organization>SITA ATS Ltd</organization>
- <timezone>0</timezone>
- <roles>
- <role>Java Developer</role>
- </roles>
- </developer>
- <developer>
- <name>Henri Yandell</name>
- <id>bayard</id>
- <email>bayard@apache.org</email>
- <organization />
- <roles>
- <role>Java Developer</role>
- </roles>
- </developer>
- <developer>
- <name>Steven Caswell</name>
- <id>scaswell</id>
- <email>stevencaswell@apache.org</email>
- <organization />
- <roles>
- <role>Java Developer</role>
- </roles>
- <timezone>-5</timezone>
- </developer>
- <developer>
- <name>Robert Burrell Donkin</name>
- <id>rdonkin</id>
- <email>rdonkin@apache.org</email>
- <organization />
- <roles>
- <role>Java Developer</role>
- </roles>
- </developer>
- <developer>
- <name>Gary D. Gregory</name>
- <id>ggregory</id>
- <email>ggregory@apache.org</email>
- <timezone>-5</timezone>
- <roles>
- <role>Java Developer</role>
- </roles>
- </developer>
- <developer>
- <name>Fredrik Westermarck</name>
- <id>fredrik</id>
- <email />
- <organization />
- <roles>
- <role>Java Developer</role>
- </roles>
- </developer>
- <developer>
- <name>James Carman</name>
- <id>jcarman</id>
- <email>jcarman@apache.org</email>
- <organization>Carman Consulting, Inc.</organization>
- <roles>
- <role>Java Developer</role>
- </roles>
- </developer>
- <developer>
- <name>Niall Pemberton</name>
- <id>niallp</id>
- <roles>
- <role>Java Developer</role>
- </roles>
- </developer>
- <developer>
- <name>Matt Benson</name>
- <id>mbenson</id>
- <roles>
- <role>Java Developer</role>
- </roles>
- </developer>
- <developer>
- <name>Joerg Schaible</name>
- <id>joehni</id>
- <email>joerg.schaible@gmx.de</email>
- <roles>
- <role>Java Developer</role>
- </roles>
- <timezone>+1</timezone>
- </developer>
- <developer>
- <name>Oliver Heger</name>
- <id>oheger</id>
- <email>oheger@apache.org</email>
- <timezone>+1</timezone>
- <roles>
- <role>Java Developer</role>
- </roles>
- </developer>
- <developer>
- <name>Paul Benedict</name>
- <id>pbenedict</id>
- <email>pbenedict@apache.org</email>
- <roles>
- <role>Java Developer</role>
- </roles>
- </developer>
- <developer>
- <name>Benedikt Ritter</name>
- <id>britter</id>
- <email>britter@apache.org</email>
- <roles>
- <role>Java Developer</role>
- </roles>
- </developer>
- <developer>
- <name>Duncan Jones</name>
- <id>djones</id>
- <email>djones@apache.org</email>
- <timezone>0</timezone>
- <roles>
- <role>Java Developer</role>
- </roles>
- </developer>
- <developer>
- <name>Loic Guibert</name>
- <id>lguibert</id>
- <email>lguibert@apache.org</email>
- <timezone>+4</timezone>
- <roles>
- <role>Java Developer</role>
- </roles>
- </developer>
- <developer>
- <name>Rob Tompkins</name>
- <id>chtompki</id>
- <email>chtompki@apache.org</email>
- <timezone>-5</timezone>
- <roles>
- <role>Java Developer</role>
- </roles>
- </developer>
- </developers>
- <contributors>
- <contributor>
- <name>C. Scott Ananian</name>
- </contributor>
- <contributor>
- <name>Chris Audley</name>
- </contributor>
- <contributor>
- <name>Stephane Bailliez</name>
- </contributor>
- <contributor>
- <name>Michael Becke</name>
- </contributor>
- <contributor>
- <name>Benjamin Bentmann</name>
- </contributor>
- <contributor>
- <name>Ola Berg</name>
- </contributor>
- <contributor>
- <name>Nathan Beyer</name>
- </contributor>
- <contributor>
- <name>Stefan Bodewig</name>
- </contributor>
- <contributor>
- <name>Janek Bogucki</name>
- </contributor>
- <contributor>
- <name>Mike Bowler</name>
- </contributor>
- <contributor>
- <name>Sean Brown</name>
- </contributor>
- <contributor>
- <name>Alexander Day Chaffee</name>
- </contributor>
- <contributor>
- <name>Al Chou</name>
- </contributor>
- <contributor>
- <name>Greg Coladonato</name>
- </contributor>
- <contributor>
- <name>Maarten Coene</name>
- </contributor>
- <contributor>
- <name>Justin Couch</name>
- </contributor>
- <contributor>
- <name>Michael Davey</name>
- </contributor>
- <contributor>
- <name>Norm Deane</name>
- </contributor>
- <contributor>
- <name>Morgan Delagrange</name>
- </contributor>
- <contributor>
- <name>Ringo De Smet</name>
- </contributor>
- <contributor>
- <name>Russel Dittmar</name>
- </contributor>
- <contributor>
- <name>Steve Downey</name>
- </contributor>
- <contributor>
- <name>Matthias Eichel</name>
- </contributor>
- <contributor>
- <name>Christopher Elkins</name>
- </contributor>
- <contributor>
- <name>Chris Feldhacker</name>
- </contributor>
- <contributor>
- <name>Roland Foerther</name>
- </contributor>
- <contributor>
- <name>Pete Gieser</name>
- </contributor>
- <contributor>
- <name>Jason Gritman</name>
- </contributor>
- <contributor>
- <name>Matthew Hawthorne</name>
- </contributor>
- <contributor>
- <name>Michael Heuer</name>
- </contributor>
- <contributor>
- <name>Chas Honton</name>
- </contributor>
- <contributor>
- <name>Chris Hyzer</name>
- </contributor>
- <contributor>
- <name>Paul Jack</name>
- </contributor>
- <contributor>
- <name>Marc Johnson</name>
- </contributor>
- <contributor>
- <name>Shaun Kalley</name>
- </contributor>
- <contributor>
- <name>Tetsuya Kaneuchi</name>
- </contributor>
- <contributor>
- <name>Nissim Karpenstein</name>
- </contributor>
- <contributor>
- <name>Ed Korthof</name>
- </contributor>
- <contributor>
- <name>Holger Krauth</name>
- </contributor>
- <contributor>
- <name>Rafal Krupinski</name>
- </contributor>
- <contributor>
- <name>Rafal Krzewski</name>
- </contributor>
- <contributor>
- <name>David Leppik</name>
- </contributor>
- <contributor>
- <name>Eli Lindsey</name>
- </contributor>
- <contributor>
- <name>Sven Ludwig</name>
- </contributor>
- <contributor>
- <name>Craig R. McClanahan</name>
- </contributor>
- <contributor>
- <name>Rand McNeely</name>
- </contributor>
- <contributor>
- <name>Hendrik Maryns</name>
- </contributor>
- <contributor>
- <name>Dave Meikle</name>
- </contributor>
- <contributor>
- <name>Nikolay Metchev</name>
- </contributor>
- <contributor>
- <name>Kasper Nielsen</name>
- </contributor>
- <contributor>
- <name>Tim O'Brien</name>
- </contributor>
- <contributor>
- <name>Brian S O'Neill</name>
- </contributor>
- <contributor>
- <name>Andrew C. Oliver</name>
- </contributor>
- <contributor>
- <name>Alban Peignier</name>
- </contributor>
- <contributor>
- <name>Moritz Petersen</name>
- </contributor>
- <contributor>
- <name>Dmitri Plotnikov</name>
- </contributor>
- <contributor>
- <name>Neeme Praks</name>
- </contributor>
- <contributor>
- <name>Eric Pugh</name>
- </contributor>
- <contributor>
- <name>Stephen Putman</name>
- </contributor>
- <contributor>
- <name>Travis Reeder</name>
- </contributor>
- <contributor>
- <name>Antony Riley</name>
- </contributor>
- <contributor>
- <name>Valentin Rocher</name>
- </contributor>
- <contributor>
- <name>Scott Sanders</name>
- </contributor>
- <contributor>
- <name>James Sawle</name>
- </contributor>
- <contributor>
- <name>Ralph Schaer</name>
- </contributor>
- <contributor>
- <name>Henning P. Schmiedehausen</name>
- </contributor>
- <contributor>
- <name>Sean Schofield</name>
- </contributor>
- <contributor>
- <name>Robert Scholte</name>
- </contributor>
- <contributor>
- <name>Reuben Sivan</name>
- </contributor>
- <contributor>
- <name>Ville Skytta</name>
- </contributor>
- <contributor>
- <name>David M. Sledge</name>
- </contributor>
- <contributor>
- <name>Michael A. Smith</name>
- </contributor>
- <contributor>
- <name>Jan Sorensen</name>
- </contributor>
- <contributor>
- <name>Glen Stampoultzis</name>
- </contributor>
- <contributor>
- <name>Scott Stanchfield</name>
- </contributor>
- <contributor>
- <name>Jon S. Stevens</name>
- </contributor>
- <contributor>
- <name>Sean C. Sullivan</name>
- </contributor>
- <contributor>
- <name>Ashwin Suresh</name>
- </contributor>
- <contributor>
- <name>Helge Tesgaard</name>
- </contributor>
- <contributor>
- <name>Arun Mammen Thomas</name>
- </contributor>
- <contributor>
- <name>Masato Tezuka</name>
- </contributor>
- <contributor>
- <name>Daniel Trebbien</name>
- </contributor>
- <contributor>
- <name>Jeff Varszegi</name>
- </contributor>
- <contributor>
- <name>Chris Webb</name>
- </contributor>
- <contributor>
- <name>Mario Winterer</name>
- </contributor>
- <contributor>
- <name>Stepan Koltsov</name>
- </contributor>
- <contributor>
- <name>Holger Hoffstatte</name>
- </contributor>
- <contributor>
- <name>Derek C. Ashmore</name>
- </contributor>
- <contributor>
- <name>Sebastien Riou</name>
- </contributor>
- <contributor>
- <name>Allon Mureinik</name>
- </contributor>
- <contributor>
- <name>Adam Hooper</name>
- </contributor>
- <contributor>
- <name>Chris Karcher</name>
- </contributor>
- <contributor>
- <name>Michael Osipov</name>
- </contributor>
- <contributor>
- <name>Thiago Andrade</name>
- </contributor>
- <contributor>
- <name>Jonathan Baker</name>
- </contributor>
- <contributor>
- <name>Mikhail Mazursky</name>
- </contributor>
- <contributor>
- <name>Fabian Lange</name>
- </contributor>
- <contributor>
- <name>Michał Kordas</name>
- </contributor>
- <contributor>
- <name>Felipe Adorno</name>
- </contributor>
- <contributor>
- <name>Adrian Ber</name>
- </contributor>
- <contributor>
- <name>Mark Dacek</name>
- </contributor>
- <contributor>
- <name>Peter Verhas</name>
- </contributor>
- <contributor>
- <name>Jin Xu</name>
- </contributor>
- </contributors>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.junit</groupId>
- <artifactId>junit-bom</artifactId>
- <version>5.7.1</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- </dependencies>
- </dependencyManagement>
- <!-- Lang should depend on very little -->
- <dependencies>
- <!-- testing -->
- <dependency>
- <groupId>org.junit.jupiter</groupId>
- <artifactId>junit-jupiter</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.junit-pioneer</groupId>
- <artifactId>junit-pioneer</artifactId>
- <version>1.3.0</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.hamcrest</groupId>
- <artifactId>hamcrest</artifactId>
- <version>2.2</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.easymock</groupId>
- <artifactId>easymock</artifactId>
- <version>4.2</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.openjdk.jmh</groupId>
- <artifactId>jmh-core</artifactId>
- <version>${jmh.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.openjdk.jmh</groupId>
- <artifactId>jmh-generator-annprocess</artifactId>
- <version>${jmh.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>com.google.code.findbugs</groupId>
- <artifactId>jsr305</artifactId>
- <version>3.0.2</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
- <distributionManagement>
- <site>
- <id>apache.website</id>
- <name>Apache Commons Site</name>
- <url>scm:svn:https://svn.apache.org/repos/infra/websites/production/commons/content/proper/commons-lang/</url>
- </site>
- </distributionManagement>
- <properties>
- <argLine>-Xmx512m</argLine>
- <project.build.sourceEncoding>ISO-8859-1</project.build.sourceEncoding>
- <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
- <maven.compiler.source>1.8</maven.compiler.source>
- <maven.compiler.target>1.8</maven.compiler.target>
- <!--
- This is also used to generate download_xxx file name.
- To override this when generating the download page:
- mvn commons:download-page -Dcommons.componentid=lang
- The above seems to change the download page name but not any other
- properties that depend on the componentid.
- N.B. The componentid is also used by the parent pom as part of the OSGI symbolic name.
- -->
- <commons.componentid>lang</commons.componentid>
- <commons.packageId>lang3</commons.packageId>
- <commons.module.name>org.apache.commons.lang3</commons.module.name>
- <!-- Current 3.x release series -->
- <commons.release.version>3.12.0</commons.release.version>
- <commons.release.desc>(Java 8+)</commons.release.desc>
- <!-- Previous 2.x release series -->
- <commons.release.2.version>2.6</commons.release.2.version>
- <commons.release.2.desc>(Requires Java 1.2 or later)</commons.release.2.desc>
- <!-- Override generated name -->
- <commons.release.2.name>commons-lang-${commons.release.2.version}</commons.release.2.name>
- <commons.jira.id>LANG</commons.jira.id>
- <commons.jira.pid>12310481</commons.jira.pid>
- <commons.site.path>lang</commons.site.path>
- <commons.scmPubUrl>https://svn.apache.org/repos/infra/websites/production/commons/content/proper/commons-lang</commons.scmPubUrl>
- <commons.scmPubCheckoutDirectory>site-content</commons.scmPubCheckoutDirectory>
- <commons.encoding>utf-8</commons.encoding>
- <checkstyle.plugin.version>3.1.2</checkstyle.plugin.version>
- <checkstyle.version>8.40</checkstyle.version>
- <checkstyle.configdir>src/site/resources/checkstyle</checkstyle.configdir>
- <spotbugs.plugin.version>4.2.0</spotbugs.plugin.version>
- <spotbugs.impl.version>4.2.1</spotbugs.impl.version>
- <japicmp.skip>false</japicmp.skip>
- <clirr.skip>true</clirr.skip>
- <!-- JMH Benchmark related properties, version, target compiler and name of the benchmarking uber jar. -->
- <jmh.version>1.27</jmh.version>
- <uberjar.name>benchmarks</uberjar.name>
- <commons.jacoco.version>0.8.6</commons.jacoco.version>
- <commons.surefire.version>3.0.0-M5</commons.surefire.version>
- <commons.javadoc.version>3.2.0</commons.javadoc.version>
- <commons.japicmp.version>0.15.2</commons.japicmp.version>
- <!-- Commons Release Plugin -->
- <commons.bc.version>3.11</commons.bc.version>
- <commons.rc.version>RC1</commons.rc.version>
- <commons.release.isDistModule>true</commons.release.isDistModule>
- <commons.distSvnStagingUrl>scm:svn:https://dist.apache.org/repos/dist/dev/commons/lang</commons.distSvnStagingUrl>
- <commons.releaseManagerName>Gary Gregory</commons.releaseManagerName>
- <commons.releaseManagerKey>86fdc7e2a11262cb</commons.releaseManagerKey>
- </properties>
- <build>
- <defaultGoal>clean package apache-rat:check checkstyle:check japicmp:cmp spotbugs:check javadoc:javadoc</defaultGoal>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.rat</groupId>
- <artifactId>apache-rat-plugin</artifactId>
- <configuration>
- <excludes>
- <exclude>site-content/**</exclude>
- <exclude>src/site/resources/.htaccess</exclude>
- <exclude>src/site/resources/download_lang.cgi</exclude>
- <exclude>src/site/resources/release-notes/RELEASE-NOTES-*.txt</exclude>
- <exclude>src/test/resources/lang-708-input.txt</exclude>
- </excludes>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- <plugins>
- <plugin>
- <artifactId>maven-javadoc-plugin</artifactId>
- <configuration>
- <source>${maven.compiler.source}</source>
- <quiet>true</quiet>
- <notimestamp>true</notimestamp>
- <links>
- <link>https://docs.oracle.com/javase/8/docs/api/</link>
- <link>http://docs.oracle.com/javaee/6/api/</link>
- </links>
- <archive>
- <manifest>
- <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
- <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
- </manifest>
- </archive>
- </configuration>
- <executions>
- <execution>
- <id>create-javadoc-jar</id>
- <goals>
- <goal>javadoc</goal>
- <goal>jar</goal>
- </goals>
- <phase>package</phase>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>${commons.surefire.version}</version>
- <executions>
- <execution>
- <id>plain</id>
- <configuration>
- <includes>
- <include>**/*Test.java</include>
- </includes>
- <runOrder>random</runOrder>
- </configuration>
- </execution>
- <!-- <execution> <id>security-manager-test</id> <phase>integration-test</phase> <goals> <goal>test</goal> </goals> <configuration>
- <includes> <include>**/*Test.java</include> </includes> <argLine>-Djava.security.manager -Djava.security.policy=${basedir}/src/test/resources/java.policy</argLine>
- </configuration> </execution> -->
- </executions>
- </plugin>
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <descriptors>
- <descriptor>src/assembly/bin.xml</descriptor>
- <descriptor>src/assembly/src.xml</descriptor>
- </descriptors>
- <tarLongFileMode>gnu</tarLongFileMode>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <executions>
- <execution>
- <goals>
- <goal>test-jar</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <archive combine.children="append">
- <manifestEntries>
- <Automatic-Module-Name>${commons.module.name}</Automatic-Module-Name>
- </manifestEntries>
- </archive>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-scm-publish-plugin</artifactId>
- <configuration>
- <ignorePathsToDelete>
- <ignorePathToDelete>javadocs</ignorePathToDelete>
- </ignorePathsToDelete>
- </configuration>
- </plugin>
- <plugin>
- <artifactId>maven-checkstyle-plugin</artifactId>
- <version>${checkstyle.plugin.version}</version>
- <configuration>
- <configLocation>${checkstyle.configdir}/checkstyle.xml</configLocation>
- <includeTestSourceDirectory>true</includeTestSourceDirectory>
- <enableRulesSummary>false</enableRulesSummary>
- </configuration>
- <dependencies>
- <dependency>
- <groupId>com.puppycrawl.tools</groupId>
- <artifactId>checkstyle</artifactId>
- <version>${checkstyle.version}</version>
- </dependency>
- </dependencies>
- </plugin>
- <plugin>
- <groupId>com.github.spotbugs</groupId>
- <artifactId>spotbugs-maven-plugin</artifactId>
- <version>${spotbugs.plugin.version}</version>
- <dependencies>
- <dependency>
- <groupId>com.github.spotbugs</groupId>
- <artifactId>spotbugs</artifactId>
- <version>${spotbugs.impl.version}</version>
- </dependency>
- </dependencies>
- <configuration>
- <excludeFilterFile>${basedir}/spotbugs-exclude-filter.xml</excludeFilterFile>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <dependencies>
- <dependency>
- <groupId>biz.aQute.bnd</groupId>
- <artifactId>biz.aQute.bndlib</artifactId>
- <version>5.3.0</version>
- </dependency>
- </dependencies>
- </plugin>
- </plugins>
- </build>
- <reporting>
- <plugins>
- <plugin>
- <artifactId>maven-checkstyle-plugin</artifactId>
- <version>${checkstyle.plugin.version}</version>
- <configuration>
- <configLocation>${checkstyle.configdir}/checkstyle.xml</configLocation>
- <includeTestSourceDirectory>true</includeTestSourceDirectory>
- <enableRulesSummary>false</enableRulesSummary>
- </configuration>
- <reportSets>
- <reportSet>
- <reports>
- <report>checkstyle</report>
- </reports>
- </reportSet>
- </reportSets>
- </plugin>
- <!-- Requires setting 'export MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=128m" ' -->
- <plugin>
- <groupId>com.github.spotbugs</groupId>
- <artifactId>spotbugs-maven-plugin</artifactId>
- <version>${spotbugs.plugin.version}</version>
- <configuration>
- <excludeFilterFile>${basedir}/spotbugs-exclude-filter.xml</excludeFilterFile>
- </configuration>
- </plugin>
- <plugin>
- <artifactId>maven-pmd-plugin</artifactId>
- <version>3.14.0</version>
- <configuration>
- <targetJdk>${maven.compiler.target}</targetJdk>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>taglist-maven-plugin</artifactId>
- <version>2.4</version>
- <configuration>
- <tagListOptions>
- <tagClasses>
- <tagClass>
- <displayName>Needs Work</displayName>
- <tags>
- <tag>
- <matchString>TODO</matchString>
- <matchType>exact</matchType>
- </tag>
- <tag>
- <matchString>FIXME</matchString>
- <matchType>exact</matchType>
- </tag>
- <tag>
- <matchString>XXX</matchString>
- <matchType>exact</matchType>
- </tag>
- </tags>
- </tagClass>
- <tagClass>
- <displayName>Noteable Markers</displayName>
- <tags>
- <tag>
- <matchString>NOTE</matchString>
- <matchType>exact</matchType>
- </tag>
- <tag>
- <matchString>NOPMD</matchString>
- <matchType>exact</matchType>
- </tag>
- <tag>
- <matchString>NOSONAR</matchString>
- <matchType>exact</matchType>
- </tag>
- </tags>
- </tagClass>
- </tagClasses>
- </tagListOptions>
- </configuration>
- </plugin>
- </plugins>
- </reporting>
- <profiles>
- <profile>
- <id>setup-checkout</id>
- <activation>
- <file>
- <missing>site-content</missing>
- </file>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-antrun-plugin</artifactId>
- <executions>
- <execution>
- <id>prepare-checkout</id>
- <phase>pre-site</phase>
- <goals>
- <goal>run</goal>
- </goals>
- <configuration>
- <tasks>
- <exec executable="svn">
- <arg line="checkout --depth immediates ${commons.scmPubUrl} ${commons.scmPubCheckoutDirectory}" />
- </exec>
- <exec executable="svn">
- <arg line="update --set-depth exclude ${commons.scmPubCheckoutDirectory}/javadocs" />
- </exec>
- <pathconvert pathsep=" " property="dirs">
- <dirset dir="${commons.scmPubCheckoutDirectory}" includes="*" />
- </pathconvert>
- <exec executable="svn">
- <arg line="update --set-depth infinity ${dirs}" />
- </exec>
- </tasks>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- <profile>
- <id>java9+</id>
- <activation>
- <jdk>[9,)</jdk>
- </activation>
- <properties>
- <!-- LANG-1265: allow tests to access private fields/methods of java.base classes via reflection -->
- <argLine>-Xmx512m --add-opens java.base/java.lang.reflect=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED</argLine>
- <!-- coverall version 4.3.0 does not work with java 9, see https://github.com/trautonen/coveralls-maven-plugin/issues/112 -->
- <coveralls.skip>true</coveralls.skip>
- </properties>
- </profile>
- <profile>
- <id>java13+</id>
- <activation>
- <jdk>[13,)</jdk>
- </activation>
- <properties>
- <!-- jacoco does not work with java 13 yet -->
- <jacoco.skip>true</jacoco.skip>
- </properties>
- </profile>
- <profile>
- <id>java15</id>
- <activation>
- <!-- This is ONLY activated for Java 15 -->
- <jdk>15</jdk>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <excludes>
- <exclude>org/apache/commons/lang3/time/Java15BugFastDateParserTest.java</exclude>
- </excludes>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
- <profile>
- <id>benchmark</id>
- <properties>
- <skipTests>true</skipTests>
- <benchmark>org.apache</benchmark>
- </properties>
- <build>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>exec-maven-plugin</artifactId>
- <version>1.6.0</version>
- <executions>
- <execution>
- <id>benchmark</id>
- <phase>test</phase>
- <goals>
- <goal>exec</goal>
- </goals>
- <configuration>
- <classpathScope>test</classpathScope>
- <executable>java</executable>
- <arguments>
- <argument>-classpath</argument>
- <classpath/>
- <argument>org.openjdk.jmh.Main</argument>
- <argument>-rf</argument>
- <argument>json</argument>
- <argument>-rff</argument>
- <argument>target/jmh-result.${benchmark}.json</argument>
- <argument>${benchmark}</argument>
- </arguments>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
- </project>
|