-
-
Notifications
You must be signed in to change notification settings - Fork 6
Make exist-xqts runner compatible with 7.0.0-SNAPSHOT of exist-db #38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
f13591b
19362a1
eeb7a9d
c742f88
2d00bc2
d14dba8
dad5cb7
0808592
480105d
5554f6f
742684e
fa30890
9c6dd27
fccd642
294ea9a
d124649
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,8 @@ | ||
| .idea/ | ||
| .bsp/ | ||
| *.iml | ||
| target/ | ||
| work/ | ||
| /project/metals.sbt | ||
| .DS_Store | ||
| .tool-versions |
| 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. | |
| To build from source you will need the following pre-requisites: | ||
|
|
||
| 1. Git Command Line tools. | ||
| 2. Java 8+ | ||
| 3. SBT (Simple Build Tool) 1.5.5+ | ||
| 2. Java 21 | ||
| 3. SBT (Simple Build Tool) 1.10.11 | ||
| 4. a Github personal access token (PAT) with public read access | ||
|
|
||
| In the following steps, we assume that all of the above tools are available on your system path. | ||
| In the following steps, we assume that git, java and sbt are available on your system path. | ||
|
|
||
| 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.: | ||
|
|
||
| ```scala | ||
| val existV = "5.3.0" | ||
| val existV = "7.0.0-SNAPSHOT" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This won't work in production as snapshots are not permitted
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I do not understand why this cannot be written in the readme. Should there be an additional sentence? To which production are you referring to? |
||
| ``` | ||
|
|
||
| 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. | ||
|
|
||
| It can be provided via a credentials file in ~/.ivy2/.credentials or by setting the environment variable `GITHUB_TOKEN`. | ||
|
|
||
| Once the pre-requisites are met, to build from source you can execute the following commands from your console/terminal: | ||
|
|
||
| 1. `git clone https://github.com/exist-db/exist-xqts-runner.git` | ||
|
|
@@ -58,11 +63,21 @@ Given the standalone application, you can execute it by running either: | |
| 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`. | ||
|
|
||
|
|
||
| ## Publishing to Maven Central / Evolved Binary Snapshots | ||
| ## Publishing | ||
|
|
||
| Releases are published to Maven Central | ||
| Snaphots are published to Github Maven Package repository | ||
|
|
||
| 1. Run `sbt clean release` | ||
| 2. Answer the questions | ||
| 3. Login to https://oss.sonatype.org/ then Close, and Release the Staging Repository | ||
|
|
||
| You can also publish to your local m2 repository which is useful for testing new builds within existdb's xqts-runner sub-project. | ||
|
|
||
| ```sh | ||
| sbt publishM2 | ||
| ``` | ||
|
|
||
| ## XQTS Results | ||
| The results of executing the XQTS will be formatted as JUnit test output. | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| sbt.version = 1.8.2 | ||
| sbt.version = 1.10.11 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,9 @@ | ||
| logLevel := Level.Warn | ||
|
|
||
| addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.7.0") | ||
| addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "1.2.0") | ||
| addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.1.2") | ||
| addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.9.12") | ||
| addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.10.0") | ||
| addSbtPlugin("com.github.sbt" % "sbt-release" % "1.1.0") | ||
| addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.10.0") | ||
| addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "2.3.1") | ||
| addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.3.1") | ||
| addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.12.2") | ||
| addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.14.3") | ||
| addSbtPlugin("com.github.sbt" % "sbt-release" % "1.4.0") | ||
| addDependencyTreePlugin |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -26,7 +26,7 @@ xqtsrunner { | |
| } | ||
| } | ||
|
|
||
| akka { | ||
| pekko { | ||
|
|
||
| loglevel = INFO | ||
| stdout-loglevel = INFO | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.