Maven

From BaseX Documentation
Revision as of 16:51, 13 December 2010 by Michael (talk | contribs) (added finish marker)
Jump to navigation Jump to search

As BaseX is offered in a Maven repository, you can easily embed it in your own projects. In order to use the BaseX Maven Artifacts, add the following lines to your pom.xml file:

<repositories>
  <repository>
    <id>dbis-ukn</id>
    <name>DBIS Maven Repository</name>
    <url>http://www.inf.uni-konstanz.de/dbis/basex/maven</url>
  </repository>
</repositories>

BaseX Artifact

<dependency>
  <groupId>org.basex</groupId>
  <artifactId>basex</artifactId>
  <version>6.3.4</version>
</dependency>

BaseX API Artifact

...including the XQJ and XML:DB API:

<dependency>
  <groupId>org.basex</groupId>
  <artifactId>basex-api</artifactId>
  <version>6.3.4</version>
</dependency>