Maven

From BaseX Documentation
Revision as of 20:57, 6 February 2011 by CG (talk | contribs)
Jump to navigation Jump to search

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

<repositories>
  <repository>
    <id>dbis-ukn</id>
    <name>BaseX Maven Repository</name>
    <url>http://files.basex.org/maven</url>
  </repository>
</repositories>

BaseX Artifact

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

BaseX API Artifact

...including the JAX-RX, XML:DB XQJ and API:

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