Difference between revisions of "Maven"

From BaseX Documentation
Jump to navigation Jump to search
m (linked maven)
Line 18: Line 18:
  
 
===BaseX API Artifact===  
 
===BaseX API Artifact===  
<p>...including the [http://jcp.org/en/jsr/detail?id=225 XQJ] and  
+
<p>...including the [[JAX-RX]], [http://sourceforge.net/projects/xmldb-org XML:DB]
[http://sourceforge.net/projects/xmldb-org XML:DB] API:</p>  
+
[http://jcp.org/en/jsr/detail?id=225 XQJ] and API:</p>  
 
<pre class="brush:xml">&lt;dependency&gt;
 
<pre class="brush:xml">&lt;dependency&gt;
 
   &lt;groupId&gt;org.basex&lt;/groupId&gt;
 
   &lt;groupId&gt;org.basex&lt;/groupId&gt;

Revision as of 23:13, 11 January 2011

As BaseX is offered in a Maven repository, you can easily embed and integrate 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 JAX-RX, XML:DB XQJ and API:

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