Dear Christian and Dirk,
For all us Maven innoscenti, I wonder if you could recommend which maven archetype one should use when getting started running BaseX? (Any guidance or resource appreciated.)
I am guessing something with 'webapp' but I have no idea, I don't even know what "webapp" means in this context (although I think it may be what I want).
Cordially, Wendell
On Mon, Jan 19, 2015 at 1:55 AM, Christian Grün christian.gruen@gmail.com wrote:
Hi Wendell, hi Dirk,
I'd like to jump in: Depending on the use case, I think I can absolutely make sense to work with the snapshot. The more feedback we get on potential errors, the more we'll be forced to keep it as stable as possible, and write more test cases ensuring it. Moreover, obviously, you'll always have access to the latest features.
This is how your maven snippet needs to look like:
<dependency> <groupId>org.basex</groupId> <artifactId>basex-api</artifactId> <version>8.0-SNAPSHOT</version> </dependency>
Hope this helps, Christian
On Sun, Jan 18, 2015 at 10:52 PM, Dirk Kirsten dk@basex.org wrote:
Hi Wendell,
no, actually this is even bad practice. You should always explicitly set the required version in your pomfile. Otherwise, your application always uses the latest version and isn't realiably testable. The following should fetch BaseX 7.9, the latest stable release:
<dependency> <groupId>org.basex</groupId> <artifactId>basex-api</artifactId> <version>7.9</version>
</dependency>
For Saxon, if you have the jar file in your lib you should be good to go (are you sure however that you included it via maven). Should be somethin like that as dependency:
<dependency> <groupId>net.sf.saxon</groupId> <artifactId>Saxon-HE</artifactId> <version>SAXON-VERSION-YOU-LIKE</version> </dependency>
Cheers, Dirk
On 01/18/2015 10:29 PM, Wendell Piez wrote:
BaseX friends,
If I run BaseX from Maven, do I always get to use the latest BaseX?
Do I have to do anything special to set up BaseX in Maven to use SaxonHE instead of Xalan for xslt:transform()? (I have Saxon9he.jar in my BaseX lib.)
Thanks! Wendell
-- Dirk Kirsten, BaseX GmbH, http://basexgmbh.de |-- Firmensitz: Blarerstrasse 56, 78462 Konstanz |-- Registergericht Freiburg, HRB: 708285, Geschäftsführer: | Dr. Christian Grün, Dr. Alexander Holupirek, Michael Seiferle `-- Phone: 0049 7531 28 28 676, Fax: 0049 7531 20 05 22