Skip to content

Commit 7a955a0

Browse files
committed
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.
1 parent b730a74 commit 7a955a0

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,10 @@ build/Xcode/FlatBuffers.xcodeproj/xcuserdata/**
5555
FlatBuffers.xcodeproj/
5656
java/.idea
5757
java/*.iml
58-
java/target
59-
**/*.pyc
6058
.idea
59+
*.iml
60+
target
61+
**/*.pyc
6162
build/VS2010/FlatBuffers.sdf
6263
build/VS2010/FlatBuffers.opensdf
6364
build/VS2010/ipch/**/*.ipch

java/pom.xml renamed to pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
<dependencies>
3434
</dependencies>
3535
<build>
36-
<sourceDirectory>./</sourceDirectory>
36+
<sourceDirectory>java</sourceDirectory>
3737
<plugins>
3838
<plugin>
3939
<artifactId>maven-compiler-plugin</artifactId>

0 commit comments

Comments
 (0)