Difference between revisions of "Maven"
Jump to navigation
Jump to search
Line 18: | Line 18: | ||
===BaseX API Artifact=== | ===BaseX API Artifact=== | ||
− | <p>...including the [[ | + | <p>...including the [[REST]], [http://sourceforge.net/projects/xmldb-org XML:DB] |
and [http://jcp.org/en/jsr/detail?id=225 XQJ] APIs:</p> | and [http://jcp.org/en/jsr/detail?id=225 XQJ] APIs:</p> | ||
<pre class="brush:xml"><dependency> | <pre class="brush:xml"><dependency> |
Revision as of 18:38, 12 September 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.7.1</version> </dependency>
BaseX API Artifact
...including the REST, XML:DB and XQJ APIs:
<dependency> <groupId>org.basex</groupId> <artifactId>basex-api</artifactId> <version>6.7</version> </dependency>