From 1263e9788e0a40ae1c0479c4478209d4991a35a7 Mon Sep 17 00:00:00 2001 From: Patrick Julien Date: Sat, 10 Jan 2015 18:13:37 -0500 Subject: [PATCH] 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 --- java/pom.xml | 84 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 java/pom.xml diff --git a/java/pom.xml b/java/pom.xml new file mode 100644 index 0000000..70cbeee --- /dev/null +++ b/java/pom.xml @@ -0,0 +1,84 @@ + + + 4.0.0 + com.google.flatbuffers + flatbuffers-java + 0.0.0-SNAPSHOT + jar + FlatBuffers Java API + + Memory Efficient Serialization Library + + + + UTF-8 + + + https://github.com/google/flatbuffers + + + Apache License V2.0 + https://raw.githubusercontent.com/google/flatbuffers/master/LICENSE.txt + repo + + + + https://github.com/google/flatbuffers + + scm:git:https://github.com/google/flatbuffers.git + + + + + + ./ + + + maven-compiler-plugin + + 1.6 + 1.6 + + 3.2 + + + maven-surefire-plugin + + + **/*Test.java + + + 2.18.1 + + + org.apache.maven.plugins + maven-source-plugin + 2.3 + + + attach-sources + + jar + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.9.1 + + + attach-javadocs + + jar + + + + + + + + -- 2.7.4