| <?xml version='1.0' encoding='UTF-8'?> |
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| <groupId>org.cryptacular</groupId> |
| <artifactId>cryptacular</artifactId> |
| <packaging>jar</packaging> |
| <version>1.2.7</version> |
| <name>Cryptacular Library</name> |
| <description>The spectacular complement to the Bouncy Castle crypto API for Java.</description> |
| <url>https://www.cryptacular.org</url> |
| <issueManagement> |
| <system>GitHub</system> |
| <url>https://github.com/vt-middleware/cryptacular/issues</url> |
| </issueManagement> |
| <licenses> |
| <license> |
| <name>Apache 2</name> |
| <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| </license> |
| <license> |
| <name>GNU Lesser General Public License</name> |
| <url>https://www.gnu.org/licenses/lgpl-3.0.txt</url> |
| </license> |
| </licenses> |
| <scm> |
| <connection>scm:git:git@github.com:vt-middleware/cryptacular.git</connection> |
| <url>scm:git:git@github.com:vt-middleware/cryptacular.git</url> |
| <tag>HEAD</tag> |
| </scm> |
| <developers> |
| <developer> |
| <id>dfisher</id> |
| <name>Daniel Fisher</name> |
| <email>dfisher@vt.edu</email> |
| <organization>Virginia Tech</organization> |
| <organizationUrl>https://www.vt.edu</organizationUrl> |
| <roles> |
| <role>developer</role> |
| </roles> |
| </developer> |
| <developer> |
| <id>serac</id> |
| <name>Marvin S. Addison</name> |
| <email>serac@vt.edu</email> |
| <organization>Virginia Tech</organization> |
| <organizationUrl>https://www.vt.edu</organizationUrl> |
| <roles> |
| <role>developer</role> |
| </roles> |
| </developer> |
| </developers> |
| |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| <checkstyle.dir>${basedir}/src/main/checkstyle</checkstyle.dir> |
| <spotbugs.dir>${basedir}/src/main/spotbugs</spotbugs.dir> |
| <assembly.dir>${basedir}/src/main/assembly</assembly.dir> |
| <testng.verbosity>0</testng.verbosity> |
| <japicmp.enabled>true</japicmp.enabled> |
| <japicmp.oldVersion>1.2.0</japicmp.oldVersion> |
| <bc.version>1.78.1</bc.version> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.bouncycastle</groupId> |
| <artifactId>bcprov-jdk18on</artifactId> |
| <version>${bc.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.bouncycastle</groupId> |
| <artifactId>bcpkix-jdk18on</artifactId> |
| <version>${bc.version}</version> |
| </dependency> |
| <!-- Remain on version 7.5 until source moves to JDK 11 --> |
| <dependency> |
| <groupId>org.testng</groupId> |
| <artifactId>testng</artifactId> |
| <version>7.5.1</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-enforcer-plugin</artifactId> |
| <version>3.5.0</version> |
| <executions> |
| <execution> |
| <id>enforce-maven</id> |
| <goals> |
| <goal>enforce</goal> |
| </goals> |
| <configuration> |
| <rules> |
| <requireMavenVersion> |
| <version>[3.8.0,)</version> |
| </requireMavenVersion> |
| </rules> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-resources-plugin</artifactId> |
| <version>3.3.1</version> |
| <executions> |
| <execution> |
| <id>copy-info</id> |
| <phase>validate</phase> |
| <goals> |
| <goal>copy-resources</goal> |
| </goals> |
| <configuration> |
| <outputDirectory>${basedir}/target/package-info</outputDirectory> |
| <resources> |
| <resource> |
| <directory>${basedir}</directory> |
| <filtering>false</filtering> |
| <includes> |
| <include>README*</include> |
| <include>LICENSE*</include> |
| <include>NOTICE*</include> |
| <include>pom.xml</include> |
| </includes> |
| </resource> |
| </resources> |
| </configuration> |
| </execution> |
| <execution> |
| <id>copy-scripts</id> |
| <phase>validate</phase> |
| <goals> |
| <goal>copy-resources</goal> |
| </goals> |
| <configuration> |
| <outputDirectory>${basedir}/target/bin</outputDirectory> |
| <resources> |
| <resource> |
| <directory>bin</directory> |
| <filtering>true</filtering> |
| </resource> |
| </resources> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-clean-plugin</artifactId> |
| <version>3.4.0</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-deploy-plugin</artifactId> |
| <version>3.1.2</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-install-plugin</artifactId> |
| <version>3.1.2</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-site-plugin</artifactId> |
| <version>3.12.1</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>3.13.0</version> |
| <configuration> |
| <fork>true</fork> |
| <debug>true</debug> |
| <showDeprecation>true</showDeprecation> |
| <showWarnings>true</showWarnings> |
| <compilerArgument>-Xlint:unchecked</compilerArgument> |
| <source>1.8</source> |
| <target>1.8</target> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <version>3.4.0</version> |
| <dependencies> |
| <dependency> |
| <groupId>com.puppycrawl.tools</groupId> |
| <artifactId>checkstyle</artifactId> |
| <!-- version 10 requires >= java 11 --> |
| <version>9.3</version> |
| </dependency> |
| </dependencies> |
| <configuration> |
| <configLocation>${checkstyle.dir}/checks.xml</configLocation> |
| <headerLocation>${checkstyle.dir}/header.txt</headerLocation> |
| <suppressionsLocation>${checkstyle.dir}/suppressions.xml</suppressionsLocation> |
| <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| <failsOnError>true</failsOnError> |
| <outputFileFormat>plain</outputFileFormat> |
| <outputFile>${project.build.directory}/checkstyle-result.txt</outputFile> |
| </configuration> |
| <executions> |
| <execution> |
| <id>checkstyle</id> |
| <phase>compile</phase> |
| <goals> |
| <goal>checkstyle</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>com.github.spotbugs</groupId> |
| <artifactId>spotbugs-maven-plugin</artifactId> |
| <version>4.8.6.2</version> |
| <configuration> |
| <effort>Max</effort> |
| <threshold>Medium</threshold> |
| <xmlOutput>true</xmlOutput> |
| <xmlOutputDirectory>${project.build.directory}/spotbugs</xmlOutputDirectory> |
| <excludeFilterFile>${spotbugs.dir}/exclude.xml</excludeFilterFile> |
| </configuration> |
| <executions> |
| <execution> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>3.3.1</version> |
| <configuration> |
| <threadCount>10</threadCount> |
| <properties> |
| <property> |
| <name>surefire.testng.verbose</name> |
| <value>${testng.verbosity}</value> |
| </property> |
| </properties> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>com.github.siom79.japicmp</groupId> |
| <artifactId>japicmp-maven-plugin</artifactId> |
| <version>0.22.0</version> |
| <configuration> |
| <oldVersion> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>${project.artifactId}</artifactId> |
| <version>${japicmp.oldVersion}</version> |
| <type>jar</type> |
| </dependency> |
| </oldVersion> |
| <newVersion> |
| <file> |
| <path>${project.build.directory}/${project.artifactId}-${project.version}.${project.packaging}</path> |
| </file> |
| </newVersion> |
| <parameter> |
| <ignoreNonResolvableArtifacts>false</ignoreNonResolvableArtifacts> |
| <onlyBinaryIncompatible>true</onlyBinaryIncompatible> |
| <breakBuildOnBinaryIncompatibleModifications>${japicmp.enabled}</breakBuildOnBinaryIncompatibleModifications> |
| <packagingSupporteds> |
| <packagingSupported>jar</packagingSupported> |
| </packagingSupporteds> |
| </parameter> |
| </configuration> |
| <executions> |
| <execution> |
| <phase>verify</phase> |
| <goals> |
| <goal>cmp</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>3.8.0</version> |
| <configuration> |
| <source>8</source> |
| <links> |
| <link>https://download.oracle.com/javase/8/docs/api</link> |
| </links> |
| <bottom><![CDATA[<i>Copyright © 2003-2024 Virginia Tech. All Rights Reserved.</i>]]></bottom> |
| </configuration> |
| <executions> |
| <execution> |
| <id>javadoc</id> |
| <phase>package</phase> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| <version>3.3.1</version> |
| <executions> |
| <execution> |
| <id>source</id> |
| <phase>package</phase> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <version>3.4.2</version> |
| <configuration> |
| <archive> |
| <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> |
| </archive> |
| </configuration> |
| <executions> |
| <execution> |
| <id>jar</id> |
| <phase>package</phase> |
| <goals> |
| <goal>test-jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <version>5.1.9</version> |
| <executions> |
| <execution> |
| <id>bundle-manifest</id> |
| <phase>process-classes</phase> |
| <goals> |
| <goal>manifest</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <version>3.7.1</version> |
| <configuration> |
| <appendAssemblyId>true</appendAssemblyId> |
| <attach>false</attach> |
| <descriptors> |
| <descriptor>${assembly.dir}/cryptacular.xml</descriptor> |
| </descriptors> |
| <archiverConfig> |
| <defaultDirectoryMode>0755</defaultDirectoryMode> |
| </archiverConfig> |
| </configuration> |
| <executions> |
| <execution> |
| <id>assembly</id> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-release-plugin</artifactId> |
| <version>3.1.1</version> |
| <configuration> |
| <tagNameFormat>v@{project.version}</tagNameFormat> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| <profiles> |
| <profile> |
| <id>sign-artifacts</id> |
| <activation> |
| <property> |
| <name>sign</name> |
| <value>true</value> |
| </property> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-gpg-plugin</artifactId> |
| <version>3.2.5</version> |
| <executions> |
| <execution> |
| <id>sign-artifacts</id> |
| <phase>package</phase> |
| <goals> |
| <goal>sign</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |