I tried to add a new language to the cloned copy of LanguageTool and compile. I executed the command below:
mvn install -DskipTests -e -rf :language-xy
The error I got was listed below:
[INFO] YourLang module for LanguageTool … FAILURE [ 0.478 s]
[ERROR] Failed to execute goal on project language-xy:
Could not resolve dependencies for project org.languagetool:language-xy:jar:5.7-SNAPSHOT:
The following artifacts could not be resolved: org.languagetool:languagetool-core:jar:5.7-SNAPSHOT, org.languagetool:languagetool-core:jar:tests:5.7-SNAPSHOT:
Could not find artifact org.languagetool:languagetool-core:jar:5.7-SNAPSHOT → [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project language-xy
: Could not resolve dependencies for project org.languagetool:language-xy:jar:5.7-SNAPSHOT:
The following artifacts could not be resolved: org.languagetool:languagetool-core:jar:5.7-SNAPSHOT, org.languagetool:languagetool-core:jar:tests:5.7-SNAPSHOT:
Could not find artifact org.languagetool:languagetool-core:jar:5.7-SNAPSHOT
at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies (LifecycleDependencyResolver.java:269)
at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies (LifecycleDependencyResolver.java:147)
at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved (MojoExecutor.java:248)
Did I missed something in the test section, or I did not mentioned about the new language elsewhere, so it did not resolve the dependency?