diff options
author | Romain Gilles <rgilles@github> | 2016-07-05 14:29:12 +0200 |
---|---|---|
committer | Romain Gilles <rgilles@github> | 2016-07-05 14:29:12 +0200 |
commit | 7a955a09f43f271a5dec1221e2a74fa2da9825cd (patch) | |
tree | e3cc6217b3fc4027f9a22916da5c32e3fadba56a /pom.xml | |
parent | b730a74a191d6ab359af0cab53d066a82ee589c4 (diff) | |
download | flatbuffers-7a955a09f43f271a5dec1221e2a74fa2da9825cd.tar.gz flatbuffers-7a955a09f43f271a5dec1221e2a74fa2da9825cd.tar.bz2 flatbuffers-7a955a09f43f271a5dec1221e2a74fa2da9825cd.zip |
Move maven `pom.xml` from the java folder to the root folder.
This avoid to put the pom.xml file into the source directory. Normally the pom file is in a parent (/parent) folder and it is not mixed with the java source code.
An other thing is: this will make import of the project more easy from a IDE.
The side effect is that the target folder where maven build artifacts will move from the <flatbuffers>/java/target to <flatbuffers>/target therefore the gitignore file has been updated in consequences.
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml new file mode 100644 index 00000000..28d50d28 --- /dev/null +++ b/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>1.3.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>java</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> + |