Skip to content
This repository was archived by the owner on Oct 4, 2021. It is now read-only.

Latest commit

 

History

History
 
 

java

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

BabuDB - Java Components

In your $HOME/.m2/settings.xml add:

<settings>
  <profiles>

    <!-- more profiles -->
  
    <profile>
      <id>babudb-dev</id>
      <repositories>
        <repository>
          <id>central</id>
          <url>http://repo.maven.apache.org/maven2</url>
        </repository>

        <repository>
          <id>xtreemfs-repository</id>
          <url>https://xtreemfs.github.io/xtreemfs/maven</url>
          <snapshots>
            <enabled>true</enabled>
          </snapshots>
        </repository>
      </repositories>
    </profile>
  
    <!-- more profiles -->
  
  </profiles>
</settings>

In your pom.xml add:

<project>

  <!-- more project configuration -->

  <dependencies>
    <dependency>
      <groupId>org.xtreemfs.babudb</groupId>
      <artifactId>babudb-core</artifactId>
      <version>0.5.6</version>
      <!-- The shaded version excludes the org.xtreemfs.babudb.sandbox -->
      <!-- package and includes applicable licenses.                   -->
      <!-- <classifier>shaded</classifier>                             -->
    </dependency>

    <dependency>
      <groupId>org.xtreemfs.babudb</groupId>
      <artifactId>babudb-replication</artifactId>
      <version>0.5.6</version>
      <!-- The shaded version bundles:                                                 -->
      <!-- - com.google.protobuf:protobuf-java                                         -->
      <!-- - org.xtreemfs.xtreemfs:xtreemfs-flease                                     -->
      <!-- - org.xtreemfs.xtreemfs:xtreemfs-foundation/org.xtreemfs.foundation.pbrpc.* -->
      <!-- and includes applicable licenses.                                           -->
      <!-- <classifier>shaded</classifier>                                             -->
    </dependency>
  </dependencies>

  <!-- more project configuration -->

</project>

And build your project like so:

  mvn install -Pbabudb-dev