Skip to content

Commit

Permalink
Add some stuff for releasing
Browse files Browse the repository at this point in the history
  • Loading branch information
jvz committed Apr 28, 2021
1 parent ea0b8a5 commit 41007fe
Showing 1 changed file with 71 additions and 6 deletions.
77 changes: 71 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
<?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">
<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>
<groupId>dev.o1c</groupId>
<artifactId>jcryptobox</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>

<scm>
<connection>scm:git:git://github.com/o1c-dev/jcryptobox.git</connection>
<developerConnection>scm:git:[email protected]:o1c-dev/jcryptobox.git</developerConnection>
<url>https://github.com/o1c-dev/jcryptobox</url>
<connection>scm:git:git://github.com/o1c-dev/jcryptobox.git</connection>
<developerConnection>scm:git:[email protected]:o1c-dev/jcryptobox.git</developerConnection>
<url>https://github.com/o1c-dev/jcryptobox</url>
</scm>

<name>JCryptoBox</name>
<url>https://github.com/o1c-dev/jcryptobox</url>
<description>
JCryptoBox is a Java cryptographic facade API inspired by NaCl and libsodium. JCryptoBox uses cryptographic
algorithms compliant with NIST FIPS 140 recommendations and works with or without a certified FIPS Java
cryptography library such as BouncyCastle.
</description>
<url>https://jcryptobox.o1c.dev/</url>
<licenses>
<license>
<name>ISC License</name>
Expand All @@ -35,6 +41,14 @@
</dependency>
</dependencies>

<!-- https://central.sonatype.org/publish/publish-maven/ -->
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>

<build>
<plugins>
<plugin>
Expand All @@ -47,6 +61,57 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.2</version>
</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://s01.oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.2.0</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<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>
</plugins>
</build>

Expand Down

0 comments on commit 41007fe

Please sign in to comment.