summaryrefslogtreecommitdiff
path: root/pom.xml
diff options
context:
space:
mode:
authorWouter van Oortmerssen <aardappel@gmail.com>2017-10-26 16:13:04 -0700
committerWouter van Oortmerssen <aardappel@gmail.com>2017-10-26 16:14:16 -0700
commitf3f113b24a9b14b8d288ef80f66f9743ae518bf7 (patch)
tree335cea2433ae0b13322065de82c43874f383818e /pom.xml
parent6bb0a728d3d6039e26528f5a3c15309a8dfc13d2 (diff)
downloadflatbuffers-f3f113b24a9b14b8d288ef80f66f9743ae518bf7.tar.gz
flatbuffers-f3f113b24a9b14b8d288ef80f66f9743ae518bf7.tar.bz2
flatbuffers-f3f113b24a9b14b8d288ef80f66f9743ae518bf7.zip
Updated pom.xml to be able to deploy to Maven central.
Change-Id: Ie28dda5e1854eeff3e254e975925ff846c137008
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml51
1 files changed, 48 insertions, 3 deletions
diff --git a/pom.xml b/pom.xml
index c498eb98..d0028a66 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,17 +5,20 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.google.flatbuffers</groupId>
<artifactId>flatbuffers-java</artifactId>
- <version>1.7.1-SNAPSHOT</version>
+ <version>1.7.2</version>
<packaging>bundle</packaging>
<name>FlatBuffers Java API</name>
<description>
Memory Efficient Serialization Library
</description>
-
+ <developers>
+ <developer>
+ <name>Wouter van Oortmerssen</name>
+ </developer>
+ </developers>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
-
<url>https://github.com/google/flatbuffers</url>
<licenses>
<license>
@@ -32,6 +35,12 @@
</scm>
<dependencies>
</dependencies>
+ <distributionManagement>
+ <snapshotRepository>
+ <id>ossrh</id>
+ <url>https://oss.sonatype.org/content/repositories/snapshots</url>
+ </snapshotRepository>
+ </distributionManagement>
<build>
<sourceDirectory>java</sourceDirectory>
<plugins>
@@ -84,6 +93,42 @@
<version>3.0.1</version>
<extensions>true</extensions>
</plugin>
+ <plugin>
+ <groupId>org.sonatype.plugins</groupId>
+ <artifactId>nexus-staging-maven-plugin</artifactId>
+ <version>1.6.7</version>
+ <extensions>true</extensions>
+ <configuration>
+ <serverId>ossrh</serverId>
+ <nexusUrl>https://oss.sonatype.org/</nexusUrl>
+ <autoReleaseAfterClose>true</autoReleaseAfterClose>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-gpg-plugin</artifactId>
+ <version>1.5</version>
+ <executions>
+ <execution>
+ <id>sign-artifacts</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>sign</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-release-plugin</artifactId>
+ <version>2.5.3</version>
+ <configuration>
+ <autoVersionSubmodules>true</autoVersionSubmodules>
+ <useReleaseProfile>false</useReleaseProfile>
+ <releaseProfiles>release</releaseProfiles>
+ <goals>deploy</goals>
+ </configuration>
+ </plugin>
</plugins>
</build>
</project>