Attempting to get the SPT testrunner to build, I was following the instructions in
The second command in step 2 failed:

spt/org.metaborg.meta.lang.spt> mvn verify
[WARNING] The POM for org.metaborg:spoofax-maven-plugin-pomless:jar:2.6.0-SNAPSHOT is missing, no dependency information available
[WARNING] Failed to read extensions descriptor /home/glen/source/spt/org.metaborg.meta.lang.spt/.mvn/extensions.xml: Plugin org.metaborg:spoofax-maven-plugin-pomless:2.6.0-SNAPSHOT or one of its dependencies could not be resolved: Could not find artifact org.metaborg:spoofax-maven-plugin-pomless:jar:2.6.0-SNAPSHOT
[INFO] Scanning for projects...
[INFO] --------------< org.metaborg:org.metaborg.meta.lang.spt >---------------
[INFO] Building org.metaborg.meta.lang.spt 2.6.0-SNAPSHOT
[INFO] --------------------------[ spoofax-language ]--------------------------
[INFO] --- spoofax-maven-plugin:2.6.0-SNAPSHOT:initialize (default-initialize) @ org.metaborg.meta.lang.spt ---
[INFO] Initialising Spoofax core
[INFO] --- spoofax-maven-plugin:2.6.0-SNAPSHOT:generate-sources (default-generate-sources) @ org.metaborg.meta.lang.spt ---
[INFO] Collecting language dependencies
[INFO] Loading language components from dependencies
[INFO] Loading dialects
[INFO] Generating Spoofax sources
[ERROR] Language for dependency org.metaborg:org.metaborg.meta.lang.esv:2.6.0-SNAPSHOT does not exist
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  5.519 s
[INFO] Finished at: 2021-01-19T17:36:24-08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.metaborg:spoofax-maven-plugin:2.6.0-SNAPSHOT:generate-sources (default-generate-sources) on project org.metaborg.meta.lang.spt: GENERATION FAILED: Language for dependency org.metaborg:org.metaborg.meta.lang.esv:2.6.0-SNAPSHOT does not exist -> [Help 1]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1]

Either I’ve done something dumb, in which case maybe the manual could be improved to help me avoid that, or there is a problem somewhere.

Note I have no immediate need for the testrunner; I was merely going to include it in my implementation/documentation of the examples in the Stratego Tutorial/Reference for the sake of completeness. So there’s no urgency associated with this issue report; I just thought I should record it.

Submitted by Glen Whitney on 20 January 2021 at 02:46

On 1 February 2021 at 19:05 Glen Whitney commented:

Trying this again in a fresh, currently updated context I have had success with building SPT and executing the test runner from the command line; indeed, it has now become part of my integration tests run automatically with Drone when I push to my repository. So apparently the issue was transitory/due to some corruption in my Maven repository or something. Hence, feel free to close this issue; I would if I could.

On 1 February 2021 at 19:59 Jeff Smits commented:

Thanks for the follow-up

On 1 February 2021 at 19:59 Jeff Smits closed this issue.

Log in to post comments