summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorPatrick Julien <pjulien@gmail.com>2015-01-10 18:13:37 -0500
committerWouter van Oortmerssen <wvo@google.com>2015-01-16 11:39:23 -0800
commit1263e9788e0a40ae1c0479c4478209d4991a35a7 (patch)
treef3f019835411f0e3edddcd461214b9457931f4d2 /java
parentf5132b9ee190695de4fbfa833722ac4e016ba2cd (diff)
downloadflatbuffers-1263e9788e0a40ae1c0479c4478209d4991a35a7.tar.gz
flatbuffers-1263e9788e0a40ae1c0479c4478209d4991a35a7.tar.bz2
flatbuffers-1263e9788e0a40ae1c0479c4478209d4991a35a7.zip
Add a simple Maven file modeled after
https://github.com/google/protobuf/blob/master/java/pom.xml This isn't good enough to publish to Maven Central but will at least allow users to publish to their local maven repository using 'mvn install' Change-Id: I91ea146cf7c5263fcf5d9823f70bb1ef0158f9a6 Tested: 'mvn install' runs succesfully and produces a .jar
Diffstat (limited to 'java')
-rw-r--r--java/pom.xml84
1 files changed, 84 insertions, 0 deletions
diff --git a/java/pom.xml b/java/pom.xml
new file mode 100644
index 00000000..70cbeeef
--- /dev/null
+++ b/java/pom.xml
@@ -0,0 +1,84 @@
+<?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>
+ <groupId>com.google.flatbuffers</groupId>
+ <artifactId>flatbuffers-java</artifactId>
+ <version>0.0.0-SNAPSHOT</version>
+ <packaging>jar</packaging>
+ <name>FlatBuffers Java API</name>
+ <description>
+ Memory Efficient Serialization Library
+ </description>
+
+ <properties>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ </properties>
+
+ <url>https://github.com/google/flatbuffers</url>
+ <licenses>
+ <license>
+ <name>Apache License V2.0</name>
+ <url>https://raw.githubusercontent.com/google/flatbuffers/master/LICENSE.txt</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
+ <scm>
+ <url>https://github.com/google/flatbuffers</url>
+ <connection>
+ scm:git:https://github.com/google/flatbuffers.git
+ </connection>
+ </scm>
+ <dependencies>
+ </dependencies>
+ <build>
+ <sourceDirectory>./</sourceDirectory>
+ <plugins>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.6</source>
+ <target>1.6</target>
+ </configuration>
+ <version>3.2</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <includes>
+ <include>**/*Test.java</include>
+ </includes>
+ </configuration>
+ <version>2.18.1</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <version>2.3</version>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>2.9.1</version>
+ <executions>
+ <execution>
+ <id>attach-javadocs</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
+