Back to LanguageTool Homepage - Privacy - Imprint

LT compile

The compile takes a lot of time when the change is small.
Could the compilation detect if anything has changed in core or per language, and only test what is needed?

What command exactly do you call?

This worked fine most of the time:

cd languagetool-language-modules/nl
mvn -Dtest=org.languagetool.rules.nl.DutchPatternRuleTest test
cd …/…

Problem after move to 4.7:

[ERROR] Failed to execute goal on project language-nl: Could not resolve dependencies for project org.languagetool:language-nl:jar:4.7-SNAPSHOT: The following artifacts could not be resolved: org.languagetool:languagetool-core:jar:4.7-SNAPSHOT, org.languagetool:languagetool-core:jar:tests:4.7-SNAPSHOT: Could not find artifact org.languagetool:languagetool-core:jar:4.7-SNAPSHOT in sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots) -> [Help 1]

You need to run mvn install -DskipTests once after a release, then the commands above should work again. If it does, please let me know how long your command takes.

After that command, running the above script only takes less than a minute. That is fine.

These sudden ‘does not work anymore’ situations are the ones I dislike a lot, since I do not understand why.
Thanks for helping.