jpkcs11wrapper
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.xipki</groupId> <artifactId>jpkcs11wrapper</artifactId> <version>1.0.9</version> </dependency>
<?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/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.sonatype.oss</groupId> <artifactId>oss-parent</artifactId> <version>7</version> </parent> <groupId>org.xipki</groupId> <artifactId>jpkcs11wrapper</artifactId> <version>1.0.9</version> <properties> <!--must match the version defined above--> <bundle.version>1.0.9</bundle.version> <test.excludes>**/*Speed.java</test.excludes> <test.junit.argline></test.junit.argline> </properties> <licenses> <license> <name>IAIK PKCS#11 Wrapper License, Stiftung SIC</name> <url>https://jce.iaik.tugraz.at/products/core-crypto-toolkits/pkcs11-wrapper/#License</url> </license> <license> <name>The Apache Software License, Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> </license> </licenses> <distributionManagement> <snapshotRepository> <id>ossrh</id> <url>https://oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> <repository> <id>ossrh</id> <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> </repository> </distributionManagement> <scm> <connection>scm:git:git@github.com:xipki/jpkcs11wrapper.git</connection> <developerConnection>scm:git:git@github.com:xipki/jpkcs11wrapper.git</developerConnection> <url>git@github.com:xipki/jpkcs11wrapper.git</url> </scm> <dependencies> <dependency> <groupId>org.xipki.commons</groupId> <artifactId>util</artifactId> <version>6.3.1</version> <scope>test</scope> </dependency> <dependency> <groupId>org.bouncycastle</groupId> <artifactId>bcprov-jdk18on</artifactId> <version>1.76</version> <scope>test</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.13.2</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-slf4j-impl</artifactId> <version>2.20.0</version> <scope>test</scope> </dependency> </dependencies> <build> <resources> <resource> <directory>src/main/resources/filtered</directory> <filtering>true</filtering> </resource> <resource> <directory>src/main/resources/unfiltered</directory> </resource> <resource> <directory>${basedir}</directory> <includes> <include>LICENSE</include> </includes> </resource> </resources> <pluginManagement> <plugins> <plugin> <artifactId>maven-clean-plugin</artifactId> <version>3.1.0</version> </plugin> <plugin> <artifactId>maven-deploy-plugin</artifactId> <version>2.8.2</version> </plugin> <plugin> <artifactId>maven-install-plugin</artifactId> <version>2.5.2</version> </plugin> <plugin> <artifactId>maven-resources-plugin</artifactId> <version>3.1.0</version> </plugin> <plugin> <artifactId>maven-site-plugin</artifactId> <version>3.7.1</version> </plugin> <plugin> <artifactId>maven-surefire-plugin</artifactId> <version>3.1.2</version> <configuration> <argLine>${test.junit.argline}</argLine> <includes> <include>**/*.java</include> </includes> <excludes> <exclude>${test.excludes}</exclude> </excludes> </configuration> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.7.0</version> <configuration> <optimize>true</optimize> <source>8</source> <target>8</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>3.3.0</version> <configuration> <archive> <manifestEntries> <Export-Package>org.xipki.pkcs11.wrapper,org.xipki.pkcs11.wrapper.attrs,org.xipki.pkcs11.wrapper.params</Export-Package> <Import-Package>sun.security.pkcs11.wrapper</Import-Package> <Bundle-ManifestVersion>2</Bundle-ManifestVersion> <Bundle-Name>jpkcs11wrapper</Bundle-Name> <Bundle-SymbolicName>org.xipki.jpkcs11wrapper</Bundle-SymbolicName> <Bundle-Version>${bundle.version}</Bundle-Version> </manifestEntries> </archive> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.0.1</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>buildnumber-maven-plugin</artifactId> <version>3.1.0</version> <executions> <execution> <phase>validate</phase> <goals> <goal>create</goal> </goals> </execution> </executions> <configuration> <shortRevisionLength>8</shortRevisionLength> <doCheck>false</doCheck> <doUpdate>false</doUpdate> <getRevisionOnlyOnce>true</getRevisionOnlyOnce> <revisionOnScmFailure>NO_GIT</revisionOnScmFailure> <timestampFormat>yyyy-MM-dd'T'HH:mm:ss'Z'</timestampFormat> <timezone>UTC</timezone> </configuration> </plugin> </plugins> </build> <profiles> <profile> <id>speedTests</id> <activation> <activeByDefault>false</activeByDefault> </activation> <properties> <test.excludes>none</test.excludes> </properties> </profile> <profile> <id>jdk9on</id> <activation> <jdk>[9,]</jdk> </activation> <properties> <test.junit.argline>--add-exports=jdk.crypto.cryptoki/sun.security.pkcs11.wrapper=ALL-UNNAMED</test.junit.argline> </properties> </profile> <profile> <id>release</id> <activation> <activeByDefault>false</activeByDefault> </activation> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>1.6</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>1.6.8</version> <extensions>true</extensions> <configuration> <serverId>ossrh</serverId> <nexusUrl>https://oss.sonatype.org/</nexusUrl> <!-- Call mvn nexus-staging:release to trige a release of the staging repository, or nexus-staging:drop to drop the staging repositoy--> <autoReleaseAfterClose>true</autoReleaseAfterClose> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.5.0</version> <configuration> <failOnError>false</failOnError> <failOnWarnings>false</failOnWarnings> <source>8</source> </configuration> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>