Skip to content

Commit

Permalink
Use Airbase pom
Browse files Browse the repository at this point in the history
  • Loading branch information
dain committed Oct 31, 2014
1 parent 73d5b0b commit 2a6d0a8
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 371 deletions.
4 changes: 4 additions & 0 deletions leveldb-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,8 @@

<name>${project.artifactId}</name>
<description>High level Java API for LevelDB</description>

<properties>
<air.main.basedir>${project.parent.basedir}</air.main.basedir>
</properties>
</project>
23 changes: 6 additions & 17 deletions leveldb-benchmark/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@

<description>Port of LevelDB Benchmarks to Java</description>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<repositories>
<repository>
<id>fusesource.nexus.snapshot</id>
Expand All @@ -43,6 +39,10 @@
</repository>
</repositories>

<properties>
<air.main.basedir>${project.parent.basedir}</air.main.basedir>
</properties>

<dependencies>
<dependency>
<groupId>org.iq80.leveldb</groupId>
Expand All @@ -53,10 +53,8 @@
<artifactId>leveldb</artifactId>
</dependency>
<dependency>
<groupId>org.xerial.snappy</groupId>
<artifactId>snappy-java</artifactId>
<version>1.0.4.1</version>
<optional>true</optional>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</dependency>
<dependency>
<groupId>junit</groupId>
Expand All @@ -69,14 +67,6 @@
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<excludes>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
Expand All @@ -95,5 +85,4 @@
</plugins>
</pluginManagement>
</build>

</project>
26 changes: 7 additions & 19 deletions leveldb/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
</repository>
</repositories>

<properties>
<air.main.basedir>${project.parent.basedir}</air.main.basedir>
</properties>

<dependencies>

<dependency>
Expand All @@ -47,56 +51,40 @@
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>16.0.1</version>
</dependency>

<!-- only needed for ProGuard -->
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>1.3.9</version>
<artifactId>annotations</artifactId>
<optional>true</optional>
<scope>provided</scope>
</dependency>

<!-- for testing -->
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<version>1.6.2</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>6.0.1</version>
<scope>test</scope>
</dependency>

<!-- to verify file format compatibility with the native leveldb impl -->
<dependency>
<groupId>org.fusesource.leveldbjni</groupId>
<artifactId>leveldbjni-all</artifactId>
<artifactId>leveldbjni</artifactId>
<version>1.1</version>
<scope>test</scope>
</dependency>

</dependencies>
<build>
<plugins>
<!-- Generate a test jar for the test cases in this module -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.4</version>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
Expand Down
Empty file modified license.txt
100755 → 100644
Empty file.
Loading

0 comments on commit 2a6d0a8

Please sign in to comment.