| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed 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. See accompanying LICENSE file. |
| --> |
| <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"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-parent</artifactId> |
| <version>53</version> |
| </parent> |
| |
| <artifactId>commons-crypto</artifactId> |
| <version>1.1.1-SNAPSHOT</version> |
| <packaging>jar</packaging> |
| |
| <name>Apache Commons Crypto</name> |
| <description> |
| Apache Commons Crypto is a cryptographic library optimized with AES-NI (Advanced Encryption |
| Standard New Instructions). It provides Java API for both cipher level and Java stream level. |
| Developers can use it to implement high performance AES encryption/decryption with the minimum |
| code and effort. Please note that Crypto doesn't implement the cryptographic algorithm such as |
| AES directly. It wraps to Openssl or JCE which implement the algorithms. |
| |
| Features |
| -------- |
| |
| 1. Cipher API for low level cryptographic operations. |
| 2. Java stream API (CryptoInputStream/CryptoOutputStream) for high level stream encryption/decryption. |
| 3. Both optimized with high performance AES encryption/decryption. (1400 MB/s - 1700 MB/s throughput in modern Xeon processors). |
| 4. JNI-based implementation to achieve comparable performance to the native C/C++ version based on OpenSsl. |
| 5. Portable across various operating systems (currently only Linux/MacOSX/Windows); |
| Apache Commons Crypto loads the library according to your machine environment (it checks system properties, `os.name` and `os.arch`). |
| 6. Simple usage. Add the commons-crypto-(version).jar file to your classpath. |
| |
| |
| Export restrictions |
| ------------------- |
| |
| This distribution includes cryptographic software. |
| The country in which you currently reside may have restrictions |
| on the import, possession, use, and/or re-export to another country, |
| of encryption software. BEFORE using any encryption software, |
| please check your country's laws, regulations and policies |
| concerning the import, possession, or use, and re-export of |
| encryption software, to see if this is permitted. |
| See <http://www.wassenaar.org/> for more information. |
| |
| The U.S. Government Department of Commerce, Bureau of Industry and Security (BIS), |
| has classified this software as Export Commodity Control Number (ECCN) 5D002.C.1, |
| which includes information security software using or performing |
| cryptographic functions with asymmetric algorithms. |
| The form and manner of this Apache Software Foundation distribution makes |
| it eligible for export under the License Exception |
| ENC Technology Software Unrestricted (TSU) exception |
| (see the BIS Export Administration Regulations, Section 740.13) |
| for both object code and source code. |
| |
| The following provides more details on the included cryptographic software: |
| |
| * Commons Crypto use [Java Cryptography Extension](http://docs.oracle.com/javase/8/docs/technotes/guides/security/crypto/CryptoSpec.html) provided by Java |
| * Commons Crypto link to and use [OpenSSL](https://www.openssl.org/) ciphers |
| |
| </description> |
| |
| <inceptionYear>2016</inceptionYear> |
| <url>https://commons.apache.org/proper/commons-crypto/</url> |
| |
| <licenses> |
| <license> |
| <name>Apache License, Version 2.0</name> |
| <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| </license> |
| </licenses> |
| |
| <issueManagement> |
| <system>jira</system> |
| <url>https://issues.apache.org/jira/browse/CRYPTO</url> |
| </issueManagement> |
| |
| <scm> |
| <connection>scm:git:http://gitbox.apache.org/repos/asf/commons-crypto.git</connection> |
| <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/commons-crypto.git</developerConnection> |
| <url>https://gitbox.apache.org/repos/asf?p=commons-crypto.git</url> |
| <tag>HEAD</tag> |
| </scm> |
| |
| <ciManagement> |
| <system>Jenkins</system> |
| <url>https://builds.apache.org/search/?q=Commons-CRYPTO</url> |
| </ciManagement> |
| |
| <distributionManagement> |
| <site> |
| <id>commons.site</id> |
| <name>Apache Commons Site</name> |
| <url>scm:svn:${commons.scmPubUrl}</url> |
| </site> |
| </distributionManagement> |
| |
| <properties> |
| <commons.release.version>1.1.1</commons.release.version> |
| <commons.release.desc>(Java 8)</commons.release.desc> |
| <!-- The RC version used in the staging repository URL. --> |
| <commons.rc.version>RC1</commons.rc.version> |
| <commons.bc.version>1.1.0</commons.bc.version> |
| <commons.componentid>crypto</commons.componentid> |
| <commons.module.name>org.apache.commons.crypto</commons.module.name> |
| <commons.jira.id>CRYPTO</commons.jira.id> |
| <commons.jira.pid>12320024</commons.jira.pid> |
| <project.inceptionYear>2016</project.inceptionYear> |
| <maven.compiler.source>1.8</maven.compiler.source> |
| <maven.compiler.target>1.8</maven.compiler.target> |
| <commons.javadoc.java.link>http://docs.oracle.com/javase/8/docs/api/</commons.javadoc.java.link> |
| <!-- Ensure copies work OK (can be removed later when this is in parent POM) --> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| <!-- |
| Encoding of Java source files: ensures that the compiler and |
| the javadoc generator use the right encoding. Subprojects may |
| overwrite this, if they are using another encoding. |
| --> |
| <commons.encoding>iso-8859-1</commons.encoding> |
| <!-- used in this pom to provide the Javadoc HTML file encoding --> |
| <commons.docEncoding>${commons.encoding}</commons.docEncoding> |
| <!-- Define source encoding for filtering; used by general plugins --> |
| <project.build.sourceEncoding>${commons.encoding}</project.build.sourceEncoding> |
| <!-- This is used by reporting plugins --> |
| <project.reporting.outputEncoding>${commons.encoding}</project.reporting.outputEncoding> |
| |
| <checkstyle.version>3.1.2</checkstyle.version> |
| <checkstyle.header.file>${basedir}/LICENSE-header.txt</checkstyle.header.file> |
| <checkstyle.resourceExcludes>LICENSE.txt, NOTICE.txt, **/maven-archiver/pom.properties</checkstyle.resourceExcludes> |
| |
| <commons.pmd.version>3.16.0</commons.pmd.version> |
| <commons.javadoc.version>3.4.0</commons.javadoc.version> |
| <japicmp.skip>false</japicmp.skip> |
| <commons.japicmp.version>0.15.7</commons.japicmp.version> |
| <commons.spotbugs.version>4.7.1.1</commons.spotbugs.version> |
| <!-- commons.animal-sniffer.version 1.21 fails on Java 17. --> |
| <commons.animal-sniffer.version>1.20</commons.animal-sniffer.version> |
| |
| <clirr.skip>true</clirr.skip> |
| |
| <commons.release.isDistModule>true</commons.release.isDistModule> |
| <commons.releaseManagerName>Gary Gregory</commons.releaseManagerName> |
| <commons.releaseManagerKey>86fdc7e2a11262cb</commons.releaseManagerKey> |
| |
| <jna.version>5.11.0</jna.version> |
| <commons.jacoco.version>0.8.8</commons.jacoco.version> |
| |
| <!-- The property "target.name" is used to specify the ant target, The All target will use |
| OsInfo.java to detect the OS info and arch to generate the native binary for detected platform. |
| User is able to specify the platform by maven profiles.--> |
| <target.name>all</target.name> |
| <maven-antrun-plugin.version>3.1.0</maven-antrun-plugin.version> |
| <junit.version>5.9.0</junit.version> |
| <commons.surefire.version>3.0.0-M7</commons.surefire.version> |
| |
| <!-- Override default buildNumber timestamp format, needed for coveralls plugin --> |
| <maven.buildNumber.timestampFormat>yyyy-MM-dd HH:mm:ssZ</maven.buildNumber.timestampFormat> |
| </properties> |
| |
| <developers> |
| <developer> |
| <name>Aaron T Myers</name> |
| <email>atm@apache.org</email> |
| <id>atm</id> |
| </developer> |
| <developer> |
| <name>Andrew Wang</name> |
| <email>wang@apache.org</email> |
| <id>wang</id> |
| </developer> |
| <developer> |
| <name>Chris Nauroth</name> |
| <email>cnauroth@apache.org</email> |
| <id>cnauroth</id> |
| </developer> |
| <developer> |
| <name>Colin P. McCabe</name> |
| <email>cmccabe@apache.org</email> |
| <id>cmccabe</id> |
| </developer> |
| <developer> |
| <name>Dapeng Sun</name> |
| <email>sdp@apache.org</email> |
| <id>sdp</id> |
| </developer> |
| <developer> |
| <name>Dian Fu</name> |
| <email>dianfu@apache.org</email> |
| <id>dianfu</id> |
| </developer> |
| <developer> |
| <name>Dong Chen</name> |
| <email>dongc@apache.org</email> |
| <id>dongc</id> |
| </developer> |
| <developer> |
| <name>Ferdinand Xu</name> |
| <email>xuf@apache.org</email> |
| <id>xuf</id> |
| </developer> |
| <developer> |
| <name>Haifeng Chen</name> |
| <email>haifengchen@apache.org</email> |
| <id>haifengchen</id> |
| </developer> |
| <developer> |
| <name>Marcelo Vanzin</name> |
| <email>vanzin@apache.org</email> |
| <id>vanzin</id> |
| </developer> |
| <developer> |
| <name>Uma Maheswara Rao G</name> |
| <email>umamahesh@apache.org</email> |
| <id>umamahesh</id> |
| </developer> |
| <developer> |
| <name>Yi Liu</name> |
| <email>yliu@apache.org</email> |
| <id>yliu</id> |
| </developer> |
| <developer> |
| <id>ggregory</id> |
| <name>Gary Gregory</name> |
| <email>ggregory at apache.org</email> |
| <url>https://www.garygregory.com</url> |
| <organization>The Apache Software Foundation</organization> |
| <organizationUrl>https://www.apache.org/</organizationUrl> |
| <roles> |
| <role>PMC Member</role> |
| </roles> |
| <timezone>America/New_York</timezone> |
| <properties> |
| <picUrl>https://people.apache.org/~ggregory/img/garydgregory80.png</picUrl> |
| </properties> |
| </developer> |
| </developers> |
| |
| <contributors> |
| <contributor> |
| <name>Colin Ma</name> |
| <email>junjie.ma@intel.com</email> |
| </contributor> |
| <contributor> |
| <name>Xianda Ke</name> |
| <email>xianda.ke@intel.com</email> |
| </contributor> |
| <contributor> |
| <name>Ke Jia</name> |
| <email>ke.a.jia@intel.com</email> |
| </contributor> |
| <contributor> |
| <name>George Kankava </name> |
| <email>george.kankava@devfactory.com</email> |
| </contributor> |
| <contributor> |
| <name>Tian Jianguo</name> |
| <email>jianguo.tian@intel.com</email> |
| </contributor> |
| <contributor> |
| <name>Adam Retter</name> |
| <organization>Evolved Binary</organization> |
| </contributor> |
| <contributor> |
| <name>Arturo Bernal</name> |
| </contributor> |
| </contributors> |
| |
| <profiles> |
| <profile> |
| <id>win32</id> |
| <properties> |
| <target.name>win32</target.name> |
| </properties> |
| </profile> |
| <profile> |
| <id>win64</id> |
| <properties> |
| <target.name>win64</target.name> |
| </properties> |
| </profile> |
| <profile> |
| <id>mac32</id> |
| <properties> |
| <target.name>mac32</target.name> |
| </properties> |
| </profile> |
| <profile> |
| <id>mac64</id> |
| <properties> |
| <target.name>mac64</target.name> |
| </properties> |
| </profile> |
| <profile> |
| <id>linux32</id> |
| <properties> |
| <target.name>linux32</target.name> |
| </properties> |
| </profile> |
| <profile> |
| <id>linux64</id> |
| <properties> |
| <target.name>linux64</target.name> |
| </properties> |
| </profile> |
| <profile> |
| <id>linux-arm</id> |
| <properties> |
| <target.name>linux-arm</target.name> |
| </properties> |
| </profile> |
| <profile> |
| <id>linux-armhf</id> |
| <properties> |
| <target.name>linux-armhf</target.name> |
| </properties> |
| </profile> |
| <profile> |
| <id>linux-aarch64</id> |
| <properties> |
| <target.name>linux-aarch64</target.name> |
| </properties> |
| </profile> |
| <profile> |
| <id>jacoco</id> |
| <activation> |
| <file> |
| <exists>src/site/resources/profile.jacoco</exists> |
| </file> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.jacoco</groupId> |
| <artifactId>jacoco-maven-plugin</artifactId> |
| <configuration> |
| <excludes> |
| <exclude>**/examples/*</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.eluder.coveralls</groupId> |
| <artifactId>coveralls-maven-plugin</artifactId> |
| <version>4.3.0</version> |
| </plugin> |
| </plugins> |
| </build> |
| <reporting> |
| <plugins> |
| <plugin> |
| <groupId>org.jacoco</groupId> |
| <artifactId>jacoco-maven-plugin</artifactId> |
| <version>${commons.jacoco.version}</version> |
| <configuration> |
| <excludes> |
| <exclude>**/examples/*</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| </plugins> |
| </reporting> |
| </profile> |
| <!-- Profile to build and run the benchmarks. Use 'mvn test -Pbenchmark', and add '-Dbenchmark=foo' to run only the foo benchmark --> |
| <profile> |
| <id>benchmark</id> |
| |
| <properties> |
| <skipTests>true</skipTests> |
| <benchmark>org.apache</benchmark> |
| <jmh.version>1.35</jmh.version> |
| </properties> |
| |
| <dependencies> |
| <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> |
| |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <!-- Enable the compilation of the benchmarks --> |
| <plugin> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>${commons.compiler.version}</version> |
| <configuration combine.self="override"> |
| <testIncludes> |
| <testInclude>**/*</testInclude> |
| </testIncludes> |
| </configuration> |
| </plugin> |
| |
| <!-- Hook the benchmarks to the test phase --> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>exec-maven-plugin</artifactId> |
| <version>3.1.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.json</argument> |
| <argument>${benchmark}</argument> |
| </arguments> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| |
| <profile> |
| <activation> |
| <jdk>[11.,)</jdk> |
| </activation> |
| <dependencies> |
| <dependency> |
| <groupId>com.sun.xml.bind</groupId> |
| <artifactId>jaxb-impl</artifactId> |
| <version>2.3.6</version> |
| </dependency> |
| </dependencies> |
| </profile> |
| </profiles> |
| |
| <build> |
| <defaultGoal>clean apache-rat:check install japicmp:cmp spotbugs:check pmd:check javadoc:javadoc</defaultGoal> |
| <resources> |
| <resource> |
| <directory>src/main/resources/</directory> |
| <filtering>true</filtering> |
| </resource> |
| </resources> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>${commons.compiler.version}</version> |
| <configuration> |
| <!-- Fix incremental compiler bug, see https://jira.codehaus.org/browse/MCOMPILER-205 etc. --> |
| <excludes> |
| <exclude>**/package-info.java</exclude> |
| </excludes> |
| <compilerArgs> |
| <compilerArg>-h</compilerArg> |
| <compilerArg>target/jni-classes</compilerArg> |
| </compilerArgs> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <version>${maven-antrun-plugin.version}</version> |
| <dependencies> |
| <dependency> |
| <groupId>ant-contrib</groupId> |
| <artifactId>ant-contrib</artifactId> |
| <version>1.0b3</version> |
| <exclusions> |
| <exclusion> |
| <groupId>ant</groupId> |
| <artifactId>ant</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.ant</groupId> |
| <artifactId>ant-nodeps</artifactId> |
| <version>1.8.1</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-resources-plugin</artifactId> |
| <version>3.3.0</version> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| <plugins> |
| <!-- Allow checkstyle to be run interactively; keep in sync with report config below --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <version>${checkstyle.version}</version> |
| <configuration> |
| <configLocation>${basedir}/checkstyle.xml</configLocation> |
| <enableRulesSummary>false</enableRulesSummary> |
| <suppressionsLocation>${basedir}/src/site/resources/checkstyle/checkstyle-suppressions.xml</suppressionsLocation> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>com.github.spotbugs</groupId> |
| <artifactId>spotbugs-maven-plugin</artifactId> |
| <version>${commons.spotbugs.version}</version> |
| <configuration> |
| <excludeFilterFile>${basedir}/src/site/resources/spotbugs/spotbugs-exclude-filter.xml</excludeFilterFile> |
| </configuration> |
| </plugin> |
| <!-- Allow pmd to be run interactively; keep in sync with report config below --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-pmd-plugin</artifactId> |
| <version>${commons.pmd.version}</version> |
| <configuration> |
| <targetJdk>${maven.compiler.target}</targetJdk> |
| <skipEmptyReport>false</skipEmptyReport> |
| <analysisCache>true</analysisCache> |
| <rulesets> |
| <ruleset>${basedir}/src/site/resources/pmd/pmd-ruleset.xml</ruleset> |
| </rulesets> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <configuration> |
| <archive> |
| <manifestEntries> |
| <!-- Helper application --> |
| <Main-Class>org.apache.commons.crypto.Crypto</Main-Class> |
| </manifestEntries> |
| </archive> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-resources-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>create-version-file</id> |
| <!-- change phase of maven-resource-plugin --> |
| <phase>generate-sources</phase> |
| <goals> |
| <goal>resources</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>make</id> |
| <phase>process-classes</phase> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| <configuration> |
| <target name="make" unless="maven.make.skip"> |
| <taskdef resource="net/sf/antcontrib/antcontrib.properties" classpathref="maven.plugin.classpath" /> |
| <exec executable="make" failonerror="true" dir="${project.basedir}"> |
| <env key="VERSION" value="${project.version}" /> |
| <env key="PROJECT_NAME" value="${project.name}" /> |
| <!-- For debugging: --> |
| <!-- <arg value="-d" /> --> |
| <arg value="${target.name}" /> |
| </exec> |
| </target> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-build-plugin</artifactId> |
| </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> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <configuration> |
| <testExcludes> |
| <testExclude>**/*Benchmark*</testExclude> |
| </testExcludes> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-scm-publish-plugin</artifactId> |
| <configuration> |
| <ignorePathsToDelete> |
| <ignorePathToDelete>javadocs**</ignorePathToDelete> |
| </ignorePathsToDelete> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-release-plugin</artifactId> |
| <configuration> |
| <preparationGoals>verify</preparationGoals> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| <reporting> |
| <plugins> |
| <!-- Keep in sync with build config above --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <version>${checkstyle.version}</version> |
| <configuration> |
| <configLocation>${basedir}/checkstyle.xml</configLocation> |
| <enableRulesSummary>false</enableRulesSummary> |
| <suppressionsLocation>${basedir}/src/site/resources/checkstyle/checkstyle-suppressions.xml</suppressionsLocation> |
| </configuration> |
| <!-- We need to specify reportSets because 2.9.1 creates two reports --> |
| <reportSets> |
| <reportSet> |
| <reports> |
| <report>checkstyle</report> |
| </reports> |
| </reportSet> |
| </reportSets> |
| </plugin> |
| <plugin> |
| <groupId>com.github.spotbugs</groupId> |
| <artifactId>spotbugs-maven-plugin</artifactId> |
| <version>${commons.spotbugs.version}</version> |
| <configuration> |
| <excludeFilterFile>${basedir}/src/site/resources/spotbugs/spotbugs-exclude-filter.xml</excludeFilterFile> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-pmd-plugin</artifactId> |
| <version>${commons.pmd.version}</version> |
| <configuration> |
| <targetJdk>${maven.compiler.target}</targetJdk> |
| <skipEmptyReport>false</skipEmptyReport> |
| <analysisCache>true</analysisCache> |
| <rulesets> |
| <ruleset>${basedir}/src/site/resources/pmd/pmd-ruleset.xml</ruleset> |
| </rulesets> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>taglist-maven-plugin</artifactId> |
| <version>3.0.0</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> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <configuration> |
| <excludes> |
| <exclude>.gitattributes</exclude> |
| <exclude>.gitignore</exclude> |
| <exclude>.git/**</exclude> |
| <exclude>.idea/**</exclude> |
| <exclude>**/build/**</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| </plugins> |
| </reporting> |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.junit</groupId> |
| <artifactId>junit-bom</artifactId> |
| <version>${junit.version}</version> |
| <type>pom</type> |
| <scope>import</scope> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>net.java.dev.jna</groupId> |
| <artifactId>jna</artifactId> |
| <version>${jna.version}</version> |
| </dependency> |
| <!-- testing --> |
| <dependency> |
| <groupId>org.junit.jupiter</groupId> |
| <artifactId>junit-jupiter</artifactId> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| </project> |