Difference between revisions of "Maven"

From BaseX Documentation
Jump to navigation Jump to search
m (Updated for 6.5.1)
Line 14: Line 14:
 
   <groupId>org.basex</groupId>
 
   <groupId>org.basex</groupId>
 
   <artifactId>basex</artifactId>
 
   <artifactId>basex</artifactId>
   <version>6.5.1</version>
+
   <version>6.6</version>
 
&lt;/dependency&gt;</pre>
 
&lt;/dependency&gt;</pre>
  
Line 23: Line 23:
 
   &lt;groupId&gt;org.basex&lt;/groupId&gt;
 
   &lt;groupId&gt;org.basex&lt;/groupId&gt;
 
   &lt;artifactId&gt;basex-api&lt;/artifactId&gt;
 
   &lt;artifactId&gt;basex-api&lt;/artifactId&gt;
   &lt;version&gt;6.5.1&lt;/version&gt;
+
   &lt;version&gt;6.6&lt;/version&gt;
 
&lt;/dependency&gt;</pre>
 
&lt;/dependency&gt;</pre>
 
[[Category:Developer]]
 
[[Category:Developer]]

Revision as of 15:07, 23 March 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>basex</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.6</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.6</version>
</dependency>