You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20-5Lines changed: 20 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,17 +12,22 @@ This application executes a W3C XQTS against an embedded eXist-db server.
12
12
To build from source you will need the following pre-requisites:
13
13
14
14
1. Git Command Line tools.
15
-
2. Java 8+
16
-
3. SBT (Simple Build Tool) 1.5.5+
15
+
2. Java 21
16
+
3. SBT (Simple Build Tool) 1.10.11
17
+
4. a Github personal access token (PAT) with public read access
17
18
18
-
In the following steps, we assume that all of the above tools are available on your system path.
19
+
In the following steps, we assume that git, java and sbt are available on your system path.
19
20
20
21
The version of eXist-db that the XQTS driver is compiled for is set in `build.sbt`. If you wish to compile against a newer or custom version of eXist-db, you can modify this to the version of an eXist-db Maven/Ivy artifact which you have available to your system, e.g.:
21
22
22
23
```scala
23
-
valexistV="5.3.0"
24
+
valexistV="7.0.0-SNAPSHOT"
24
25
```
25
26
27
+
If you set the version to a SNAPSHOT version you want to load from Github Maven Package repository you need to authenticate with the Github PAT.
28
+
29
+
It can be provided via a credentials file in ~/.ivy2/.credentials or by setting the environment variable `GITHUB_TOKEN`.
30
+
26
31
Once the pre-requisites are met, to build from source you can execute the following commands from your console/terminal:
@@ -58,11 +63,21 @@ Given the standalone application, you can execute it by running either:
58
63
2. or, even by just executing the `exist-xqts-runner-assembly-1.0.0.jar` file directly, as we compile an executable header into the Jar file. e.g. (on Linux/Mac): `./exist-xqts-runner-assembly-1.0.0.jar`.
59
64
60
65
61
-
## Publishing to Maven Central / Evolved Binary Snapshots
66
+
## Publishing
67
+
68
+
Releases are published to Maven Central
69
+
Snaphots are published to Github Maven Package repository
70
+
62
71
1. Run `sbt clean release`
63
72
2. Answer the questions
64
73
3. Login to https://oss.sonatype.org/ then Close, and Release the Staging Repository
65
74
75
+
You can also publish to your local m2 repository which is useful for testing new builds within existdb's xqts-runner sub-project.
76
+
77
+
```sh
78
+
sbt publishM2
79
+
```
80
+
66
81
## XQTS Results
67
82
The results of executing the XQTS will be formatted as JUnit test output.
0 commit comments