Difference between revisions of "Maven"

From BaseX Documentation
Jump to navigation Jump to search
Line 1: Line 1:
 
<p>As BaseX is offered in a Maven repository, you can easily embed and [[Integrate|integrate]] it into your own projects.
 
<p>As BaseX is offered in a Maven repository, you can easily embed and [[Integrate|integrate]] it into your own projects.
In order to use the BaseX Maven Artifacts, add the following lines to your
+
To use the BaseX Maven Artifacts, add the following lines to your
 
<code>pom.xml</code> file:</p>  
 
<code>pom.xml</code> file:</p>  
 
<pre class="brush:xml">&lt;repositories&gt;
 
<pre class="brush:xml">&lt;repositories&gt;

Revision as of 10:31, 13 January 2011

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>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 JAX-RX, XML:DB XQJ and API:

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