From 7a955a09f43f271a5dec1221e2a74fa2da9825cd Mon Sep 17 00:00:00 2001 From: Romain Gilles Date: Tue, 5 Jul 2016 14:29:12 +0200 Subject: [PATCH] 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 /java/target to /target therefore the gitignore file has been updated in consequences. --- .gitignore | 5 +++-- java/pom.xml => pom.xml | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) rename java/pom.xml => pom.xml (98%) diff --git a/.gitignore b/.gitignore index 6f3894d06..c14aad97b 100755 --- a/.gitignore +++ b/.gitignore @@ -55,9 +55,10 @@ build/Xcode/FlatBuffers.xcodeproj/xcuserdata/** FlatBuffers.xcodeproj/ java/.idea java/*.iml -java/target -**/*.pyc .idea +*.iml +target +**/*.pyc build/VS2010/FlatBuffers.sdf build/VS2010/FlatBuffers.opensdf build/VS2010/ipch/**/*.ipch diff --git a/java/pom.xml b/pom.xml similarity index 98% rename from java/pom.xml rename to pom.xml index dd92b9d55..28d50d283 100644 --- a/java/pom.xml +++ b/pom.xml @@ -33,7 +33,7 @@ - ./ + java maven-compiler-plugin