Skip to content

Commit

Permalink
Maven deploy, 1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Zabuzard committed Feb 12, 2021
1 parent 86ddf09 commit 2dfb689
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Maven:
<dependency>
<groupId>io.github.zabuzard.closy</groupId>
<artifactId>closy</artifactId>
<version>1.2</version>
<version>1.2.1</version>
</dependency>
```

Expand Down
87 changes: 77 additions & 10 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,25 @@

<groupId>io.github.zabuzard.closy</groupId>
<artifactId>closy</artifactId>
<version>1.2</version>
<version>1.2.1</version>
<packaging>jar</packaging>

<properties>
<maven.compiler.source>9</maven.compiler.source>
<maven.compiler.target>9</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<name>Closy</name>
<description>Closy is a library that provides fast and generic solutions for nearest neighbor search (NNS)
</description>
<url>https://github.com/Zabuzard/Closy</url>

<licenses>
<license>
<name>GNU General Public License v3.0</name>
<url>https://www.gnu.org/licenses/gpl-3.0.en.html</url>
</license>
</licenses>

<developers>
<developer>
<name>Daniel Tischner</name>
Expand All @@ -29,17 +33,80 @@
<organizationUrl>https://github.com/Zabuzard</organizationUrl>
</developer>
</developers>

<scm>
<connection>scm:git:git://github.com/Zabuzard/Closy.git</connection>
<developerConnection>scm:git:ssh://github.com:Zabuzard/Closy.git</developerConnection>
<url>http://github.com/Zabuzard/Closy/tree/master</url>
</scm>

<properties>
<maven.compiler.source>9</maven.compiler.source>
<maven.compiler.target>9</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<profiles>
<profile>
<id>release</id>
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
<build>
<plugins>
<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>
<configuration>
<keyname>${gpg.keyname}</keyname>
<passphraseServerId>${gpg.keyname}</passphraseServerId>
</configuration>
</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>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

0 comments on commit 2dfb689

Please sign in to comment.