Merge pull request #3902 from rgilles/master

Create a maven like project structure for java development + OSGi + generation for test
This commit is contained in:
Wouter van Oortmerssen 2016-07-18 14:13:36 -07:00 committed by GitHub
commit e21a61d458
2 changed files with 11 additions and 4 deletions

5
.gitignore vendored
View File

@ -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

View File

@ -6,7 +6,7 @@
<groupId>com.google.flatbuffers</groupId>
<artifactId>flatbuffers-java</artifactId>
<version>1.3.0-SNAPSHOT</version>
<packaging>jar</packaging>
<packaging>bundle</packaging>
<name>FlatBuffers Java API</name>
<description>
Memory Efficient Serialization Library
@ -33,7 +33,7 @@
<dependencies>
</dependencies>
<build>
<sourceDirectory>./</sourceDirectory>
<sourceDirectory>java</sourceDirectory>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
@ -78,6 +78,12 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>3.0.1</version>
<extensions>true</extensions>
</plugin>
</plugins>
</build>
</project>