Back to LanguageTool Homepage - Privacy - Imprint

Error: languagetool:core snapshot


(karimaTKH) #1

hi,
i'm trying to adapt arabic language on languagetool in order to finalise my studies.
so i follow the cites steps on this site one by one http://wiki.languagetool.org/adding-a-new-language
i download maven eclipse and reporting some arabic grammar rules
and when i execute the comand "mvn clean package" on cmd, this errors occured:

Missing artifact org.languagetool:languagetool-core:jar:tests:3.5-SNAPSHOT
Missing artifact org.languagetool:languagetool-core:jar:3.5-SNAPSHOT

what can i do please!


(Daniel Naber) #2

Please try calling mvn install in the top-level LT directory first, i.e. one level above languagetool-standalone.


(karimaTKH) #3

thanks!
but look at the result :frowning:


(Daniel Naber) #4

That looks like you're not using Java 8 yet?


(karimaTKH) #5

thanks,
please look at this after executing that: cd desktop/languagetool-master>mvn install


(Daniel Naber) #6

Which version Maven are you using? mvn -version should tell you. I'm using 3.2.5, older versions might not work well.


(karimaTKH) #7

3.3.9


(Daniel Naber) #8

It might be a temporary issue, as the error suggests. You could try adding -U to force a retry. If that doesn't help, please post the complete error log (as text, not as a screenshot).


(karimaTKH) #9

Microsoft Windows [version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Tous droits réservés.

C:\Users\Dash>cd desktop/languagetool-master/languagetool-language-modules/ar

C:\Users\Dash\Desktop\languagetool-master\languagetool-language-modules\ar>mvn c
lean package
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Arabic module for LanguageTool 3.5-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.languagetool:languagetool-core:jar:3.5-SNAPSHOT is mis
sing, no dependency information available
[WARNING] The POM for org.languagetool:languagetool-core:jar:tests:3.5-SNAPSHOT
is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.620 s
[INFO] Finished at: 2016-08-03T22:23:36+01:00
[INFO] Final Memory: 9M/247M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project language-ar: Could not resolve depende
ncies for project org.languagetool:language-ar:jar:3.5-SNAPSHOT: The following a
rtifacts could not be resolved: org.languagetool:languagetool-core:jar:3.5-SNAPS
HOT, org.languagetool:languagetool-core:jar:tests:3.5-SNAPSHOT: Failure to find
org.languagetool:languagetool-core:jar:3.5-SNAPSHOT in https://oss.sonatype.org/
content/repositories/snapshots was cached in the local repository, resolution wi
ll not be reattempted until the update interval of sonatype-nexus-snapshots has
elapsed or updates are forced -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyReso
lutionException

C:\Users\Dash\Desktop\languagetool-master\languagetool-language-modules\ar>


(Daniel Naber) #10

Please run mvn clean package in the LT top-level directory.


(karimaTKH) #11

hi, thanks fo all
i wish that this wille be the last problem..the execution work well until:
rc\main\resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'statistics_rule_description' in file ..\languagetool-language-modu
les\tl\src\main\resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'guiMenuSaveAsShortDesc' in file ..\languagetool-language-modules\t
l\src\main\resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'guiMenuOpenLongDesc' in file ..\languagetool-language-modules\tl\s
rc\main\resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'ta' in file ..\languagetool-language-modules\tl\src\main\resources
\org\languagetool\MessagesBundle_tl.properties
***** No key 'guiMenuSelectAll' in file ..\languagetool-language-modules\tl\src\
main\resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'token' in file ..\languagetool-language-modules\tl\src\main\resour
ces\org\languagetool\MessagesBundle_tl.properties
***** No key 'addSpaceBetweenSentences' in file ..\languagetool-language-modules
\tl\src\main\resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'guiLookAndFeelMenu' in file ..\languagetool-language-modules\tl\sr
c\main\resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'guiCollapseAll' in file ..\languagetool-language-modules\tl\src\ma
in\resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'FontChooser.preview' in file ..\languagetool-language-modules\tl\s
rc\main\resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'long_sentence_rule_desc' in file ..\languagetool-language-modules\
tl\src\main\resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'FontChooser.style.bold' in file ..\languagetool-language-modules\t
l\src\main\resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'guiSelectFont' in file ..\languagetool-language-modules\tl\src\mai
n\resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'category_gender_neutrality' in file ..\languagetool-language-modul
es\tl\src\main\resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'fa' in file ..\languagetool-language-modules\tl\src\main\resources
\org\languagetool\MessagesBundle_tl.properties
***** No key 'category_confused_words' in file ..\languagetool-language-modules\
tl\src\main\resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'checkDoneNoTime' in file ..\languagetool-language-modules\tl\src\m
ain\resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'guiMenuSaveLongDesc' in file ..\languagetool-language-modules\tl\s
rc\main\resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'guiNgramDirSelect' in file ..\languagetool-language-modules\tl\src
\main\resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'ca-ES-valencia' in file ..\languagetool-language-modules\tl\src\ma
in\resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'category_style' in file ..\languagetool-language-modules\tl\src\ma
in\resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'FontChooser.style.bold_italic' in file ..\languagetool-language-mo
dules\tl\src\main\resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'guiMenuSaveAsLongDesc' in file ..\languagetool-language-modules\tl
\src\main\resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'guiMenuSaveAs' in file ..\languagetool-language-modules\tl\src\mai
n\resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'guiNgramHelp' in file ..\languagetool-language-modules\tl\src\main
\resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'FontChooser.style.italic' in file ..\languagetool-language-modules
\tl\src\main\resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'category_typography' in file ..\languagetool-language-modules\tl\s
rc\main\resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'guiMenuCopy' in file ..\languagetool-language-modules\tl\src\main\
resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'guiAboutRuleMenu' in file ..\languagetool-language-modules\tl\src\
main\resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'desc_repetition_beginning_thesaurus' in file ..\languagetool-langu
age-modules\tl\src\main\resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'guiMenuCut' in file ..\languagetool-language-modules\tl\src\main\r
esources\org\languagetool\MessagesBundle_tl.properties
***** No key 'category_wikipedia' in file ..\languagetool-language-modules\tl\sr
c\main\resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'dialogTitleError' in file ..\languagetool-language-modules\tl\src\
main\resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'quiLanguageNeedsRestart' in file ..\languagetool-language-modules\
tl\src\main\resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'guiLanguageSystem' in file ..\languagetool-language-modules\tl\src
\main\resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'ruleDetailsLink' in file ..\languagetool-language-modules\tl\src\m
ain\resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'autoCheckTextLongDesc' in file ..\languagetool-language-modules\tl
\src\main\resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'category_semantics' in file ..\languagetool-language-modules\tl\sr
c\main\resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'category_colloquialism' in file ..\languagetool-language-modules\t
l\src\main\resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'guiMenuPaste' in file ..\languagetool-language-modules\tl\src\main
\resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'statistics_suggest3' in file ..\languagetool-language-modules\tl\s
rc\main\resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'statistics_suggest2' in file ..\languagetool-language-modules\tl\s
rc\main\resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'statistics_suggest1' in file ..\languagetool-language-modules\tl\s
rc\main\resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'guiMenuSave' in file ..\languagetool-language-modules\tl\src\main\
resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'FontChooser.style.plain' in file ..\languagetool-language-modules\
tl\src\main\resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'de-DE-x-simple-language' in file ..\languagetool-language-modules\
tl\src\main\resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'FontChooser.reset' in file ..\languagetool-language-modules\tl\src
\main\resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'makeLanguageToolBetter' in file ..\languagetool-language-modules\t
l\src\main\resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'guiTurnOffRule' in file ..\languagetool-language-modules\tl\src\ma
in\resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'guiMore' in file ..\languagetool-language-modules\tl\src\main\reso
urces\org\languagetool\MessagesBundle_tl.properties
***** No key 'autoCheckText' in file ..\languagetool-language-modules\tl\src\mai
n\resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'guiFileNotFound' in file ..\languagetool-language-modules\tl\src\m
ain\resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'category_punctuation' in file ..\languagetool-language-modules\tl\
src\main\resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'pt-PT-post-reform' in file ..\languagetool-language-modules\tl\src
\main\resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'guiMenuSaveShortDesc' in file ..\languagetool-language-modules\tl\
src\main\resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'guiExamples' in file ..\languagetool-language-modules\tl\src\main\
resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'category_compounding' in file ..\languagetool-language-modules\tl\
src\main\resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'missing_space_between_sentences' in file ..\languagetool-language-
modules\tl\src\main\resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'guiExpandAll' in file ..\languagetool-language-modules\tl\src\main
\resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'unsupportedWarning' in file ..\languagetool-language-modules\tl\sr
c\main\resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'guiMenuRedo' in file ..\languagetool-language-modules\tl\src\main\
resources\org\languagetool\MessagesBundle_tl.properties
***** No key 'unpaired_brackets' in file ..\languagetool-language-modules\tl\src
\main\resources\org\languagetool\MessagesBundle_tl.properties
Note: no translation available for English
Note: no translation available for English (US)
Note: no translation available for English (GB)
Note: no translation available for English (Australian)
Note: no translation available for English (Canadian)
Note: no translation available for English (New Zealand)
Note: no translation available for English (South African)
Note: no translation available for Simple German
Note: no translation available for Portuguese
Note: no translation available for Malayalam
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.665 sec - in o
rg.languagetool.TranslationTest

Results :

Tests run: 53, Failures: 0, Errors: 0, Skipped: 0

[INFO]
[INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ languagetool-standalone ---
[INFO] Building jar: C:\Users\Dash\Desktop\languagetool-master\languagetool-stan
dalone\target\languagetool-standalone-3.5-SNAPSHOT.jar
[INFO]
[INFO] --- maven-assembly-plugin:2.6:single (make-assembly) @ languagetool-stand
alone ---
Downloading: /https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-int
erpolation/1.22/plexus-interpolation-1.22.pom
ao¹t 04, 2016 2:56:29 PM org.apache.maven.wagon.providers.http.httpclient.impl.e
xecchain.RetryExec execute
INFOS: I/O exception (java.net.SocketException) caught when processing request t
o {s}->/https://repo.maven.apache.org:443: Connection reset
ao¹t 04, 2016 2:56:29 PM org.apache.maven.wagon.providers.http.httpclient.impl.e
xecchain.RetryExec execute
INFOS: Retrying request to {s}->/https://repo.maven.apache.org:443
ao¹t 04, 2016 2:56:48 PM org.apache.maven.wagon.providers.http.httpclient.impl.e
xecchain.RetryExec execute
INFOS: I/O exception (java.net.SocketException) caught when processing request t
o {s}->/https://repo.maven.apache.org:443: Connection reset
ao¹t 04, 2016 2:56:48 PM org.apache.maven.wagon.providers.http.httpclient.impl.e
xecchain.RetryExec execute
INFOS: Retrying request to {s}->/https://repo.maven.apache.org:443
ao¹t 04, 2016 2:57:10 PM org.apache.maven.wagon.providers.http.httpclient.impl.e
xecchain.RetryExec execute
INFOS: I/O exception (java.net.SocketException) caught when processing request t
o {s}->/https://repo.maven.apache.org:443: Connection reset
ao¹t 04, 2016 2:57:10 PM org.apache.maven.wagon.providers.http.httpclient.impl.e
xecchain.RetryExec execute
INFOS: Retrying request to {s}->/https://repo.maven.apache.org:443
Downloading: /https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-arc
hiver/3.0.1/plexus-archiver-3.0.1.pom
ao¹t 04, 2016 2:57:14 PM org.apache.maven.wagon.providers.http.httpclient.impl.e
xecchain.RetryExec execute
INFOS: I/O exception (java.net.SocketException) caught when processing request t
o {s}->/https://repo.maven.apache.org:443: Connection reset
ao¹t 04, 2016 2:57:14 PM org.apache.maven.wagon.providers.http.httpclient.impl.e
xecchain.RetryExec execute
INFOS: Retrying request to {s}->/https://repo.maven.apache.org:443
Downloaded: -https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-arch
iver/3.0.1/plexus-archiver-3.0.1.pom (6 KB at 5.8 KB/sec)
Downloading: -https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-io/
2.6/plexus-io-2.6.pom
Downloaded: -https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-io/2
.6/plexus-io-2.6.pom (4 KB at 16.8 KB/sec)
Downloading: -https://repo.maven.apache.org/maven2/org/iq80/snappy/snappy/0.3/sna
ppy-0.3.pom
Downloaded: -https://repo.maven.apache.org/maven2/org/iq80/snappy/snappy/0.3/snap
py-0.3.pom (15 KB at 48.2 KB/sec)
Downloading: -https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-
filtering/1.3/maven-filtering-1.3.pom
Downloaded: -https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-f
iltering/1.3/maven-filtering-1.3.pom (7 KB at 28.4 KB/sec)
Downloading: -https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-
shared-utils/0.6/maven-shared-utils-0.6.pom
Downloaded:-https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-s
hared-utils/0.6/maven-shared-utils-0.6.pom (5 KB at 22.8 KB/sec)
Downloading:-https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-uti
ls/3.0.18/plexus-utils-3.0.18.pom
Downloaded: -https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-util
s/3.0.18/plexus-utils-3.0.18.pom (4 KB at 15.9 KB/sec)
Downloading: -https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-int
erpolation/1.19/plexus-interpolation-1.19.pom
Downloaded: -https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-inte
rpolation/1.19/plexus-interpolation-1.19.pom (2 KB at 0.9 KB/sec)
Downloading: -https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-
repository-builder/1.0/maven-repository-builder-1.0.pom
Downloaded:-https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-r
epository-builder/1.0/maven-repository-builder-1.0.pom (5 KB at 4.9 KB/sec)
Downloading: -https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-
shared-utils/0.3/maven-shared-utils-0.3.pom
Downloaded: -https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-s
hared-utils/0.3/maven-shared-utils-0.3.pom (4 KB at 17.1 KB/sec)
Downloading: -https://repo.maven.apache.org/maven2/commons-codec/commons-codec/1.
6/commons-codec-1.6.pom
Downloaded: -https://repo.maven.apache.org/maven2/commons-codec/commons-codec/1.6
/commons-codec-1.6.pom (11 KB at 0.5 KB/sec)
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] languagetool-parent ................................ SUCCESS [ 0.468 s]
[INFO] LanguageTool Style and Grammar Checker Core ........ SUCCESS [ 18.560 s]
[INFO] English module for LanguageTool .................... SUCCESS [01:44 min]
[INFO] Arabic module for LanguageTool ..................... SUCCESS [ 3.173 s]
[INFO] Persian module for LanguageTool .................... SUCCESS [ 3.408 s]
[INFO] French module for LanguageTool ..................... SUCCESS [ 20.884 s]
[INFO] German module for LanguageTool ..................... SUCCESS [02:36 min]
[INFO] Polish module for LanguageTool ..................... SUCCESS [02:35 min]
[INFO] Catalan module for LanguageTool .................... SUCCESS [02:19 min]
[INFO] Italian module for LanguageTool .................... SUCCESS [ 4.465 s]
[INFO] Breton module for LanguageTool ..................... SUCCESS [ 6.386 s]
[INFO] Dutch module for LanguageTool ...................... SUCCESS [ 9.271 s]
[INFO] Portuguese module for LanguageTool ................. SUCCESS [ 7.769 s]
[INFO] Russian module for LanguageTool .................... SUCCESS [ 15.988 s]
[INFO] Asturian module for LanguageTool ................... SUCCESS [ 3.627 s]
[INFO] Belarusian module for LanguageTool ................. SUCCESS [ 2.422 s]
[INFO] Chinese module for LanguageTool .................... SUCCESS [ 20.408 s]
[INFO] Danish module for LanguageTool ..................... SUCCESS [ 3.596 s]
[INFO] Esperanto module for LanguageTool .................. SUCCESS [ 8.806 s]
[INFO] Galician module for LanguageTool ................... SUCCESS [ 5.109 s]
[INFO] Greek module for LanguageTool ...................... SUCCESS [ 4.750 s]
[INFO] Icelandic module for LanguageTool .................. SUCCESS [ 3.069 s]
[INFO] Japanese module for LanguageTool ................... SUCCESS [04:27 min]
[INFO] Khmer module for LanguageTool ...................... SUCCESS [ 3.505 s]
[INFO] Lithuanian module for LanguageTool ................. SUCCESS [ 2.787 s]
[INFO] Malayalam module for LanguageTool .................. SUCCESS [ 2.961 s]
[INFO] Romanian module for LanguageTool ................... SUCCESS [ 7.280 s]
[INFO] Slovak module for LanguageTool ..................... SUCCESS [ 9.079 s]
[INFO] Slovenian module for LanguageTool .................. SUCCESS [ 2.972 s]
[INFO] Spanish module for LanguageTool .................... SUCCESS [ 5.655 s]
[INFO] Swedish module for LanguageTool .................... SUCCESS [ 4.832 s]
[INFO] Tamil module for LanguageTool ...................... SUCCESS [ 3.417 s]
[INFO] Tagalog module for LanguageTool .................... SUCCESS [ 3.301 s]
[INFO] Ukrainian module for LanguageTool .................. SUCCESS [ 24.029 s]
[INFO] Simple German module for LanguageTool .............. SUCCESS [ 3.131 s]
[INFO] All language modules for LanguageTool .............. SUCCESS [ 0.110 s]
[INFO] LanguageTool common GUI classes .................... SUCCESS [ 2.681 s]
[INFO] LanguageTool command-line version .................. SUCCESS [ 22.748 s]
[INFO] LanguageTool embedded HTTP server .................. SUCCESS [03:26 min]
[INFO] LanguageTool tools for building dictionaries ....... SUCCESS [03:41 min]
[INFO] LanguageTool stand-alone GUI ....................... FAILURE [02:53 min]
[INFO] LanguageTool LibreOffice/OpenOffice extension ...... SKIPPED
[INFO] Hunspell native libs for LanguageTool .............. SKIPPED
[INFO] LanguageTool Wikipedia tools ....................... SKIPPED
[INFO] LanguageTool HTTP API client ....................... SKIPPED
[INFO] LanguageTool development tools ..................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 27:45 min
[INFO] Finished at: 2016-08-04T14:57:42+01:00
[INFO] Final Memory: 37M/247M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.
6:single (make-assembly) on project languagetool-standalone: Execution make-asse
mbly of goal org.apache.maven.plugins:maven-assembly-plugin:2.6:single failed: P
lugin org.apache.maven.plugins:maven-assembly-plugin:2.6 or one of its dependenc
ies could not be resolved: Failed to collect dependencies at org.apache.maven.pl
ugins:maven-assembly-plugin:jar:2.6 -> org.codehaus.plexus:plexus-interpolation:
jar:1.22: Failed to read artifact descriptor for org.codehaus.plexus:plexus-inte
rpolation:jar:1.22: Could not transfer artifact org.codehaus.plexus:plexus-inter
polation:pom:1.22 from/to central (https://repo.maven.apache.org/maven2): Connec
tion reset -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResoluti
onException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command

[ERROR] mvn -rf :languagetool-standalone

C:\Users\Dash\Desktop\languagetool-master>


(Daniel Naber) #12

Do you have a stable internet connection? This sounds like maybe you don't. If you try again (maybe with -U as an additional option), does it work then?


(karimaTKH) #13

i'm so sorry if i waste your time with my errors but:
2016-08-04 22:55:00 Check done: 18 chars, en (mother tongue: de), null, handlers
:-1, 1 matches, 54ms, class: V2TextChecker, agent:-, sent
2016-08-04 22:55:00 Check done: 18 chars, en (mother tongue: de), null, handlers
:-1, 1 matches, 53ms, class: V2TextChecker, agent:-, sent
2016-08-04 22:55:00 Check done: 18 chars, en (mother tongue: de), null, handlers
:-1, 1 matches, 56ms, class: V2TextChecker, agent:-, sent
2016-08-04 22:55:00 Check done: 15 chars, en (mother tongue: de), null, handlers
:-1, 0 matches, 61ms, class: V2TextChecker, agent:-, sent
2016-08-04 22:55:00 Check done: 15 chars, en (mother tongue: de), null, handlers
:-1, 0 matches, 49ms, class: V2TextChecker, agent:-, sent
2016-08-04 22:55:00 Check done: 15 chars, en (mother tongue: de), null, handlers
:-1, 1 matches, 52ms, class: V2TextChecker, agent:-, sent
2016-08-04 22:55:00 Check done: 15 chars, en (mother tongue: de), null, handlers
:-1, 1 matches, 43ms, class: V2TextChecker, agent:-, sent
2016-08-04 22:55:00 Check done: 18 chars, en (mother tongue: de), null, handlers
:-1, 1 matches, 46ms, class: V2TextChecker, agent:-, sent
2016-08-04 22:55:00 Check done: 18 chars, en (mother tongue: de), null, handlers
:-1, 1 matches, 43ms, class: V2TextChecker, agent:-, sent
2016-08-04 22:55:00 Check done: 18 chars, en (mother tongue: de), null, handlers
:-1, 0 matches, 40ms, class: V2TextChecker, agent:-, sent
2016-08-04 22:55:00 Check done: 18 chars, en (mother tongue: de), null, handlers
:-1, 0 matches, 46ms, class: V2TextChecker, agent:-, sent
2016-08-04 22:55:00 Check done: 36 chars, en (mother tongue: de), null, handlers
:-1, 2 matches, 66ms, class: V2TextChecker, agent:-, sent
2016-08-04 22:55:00 Check done: 36 chars, en (mother tongue: de), null, handlers
:-1, 2 matches, 53ms, class: V2TextChecker, agent:-, sent
2016-08-04 22:55:00 Check done: 36 chars, en (mother tongue: de), null, handlers
:-1, 0 matches, 39ms, class: V2TextChecker, agent:-, sent
2016-08-04 22:55:00 Check done: 36 chars, en (mother tongue: de), null, handlers
:-1, 0 matches, 45ms, class: V2TextChecker, agent:-, sent
2016-08-04 22:55:00 Check done: 36 chars, en (mother tongue: de), null, handlers
:-1, 1 matches, 49ms, class: V2TextChecker, agent:-, sent
2016-08-04 22:55:00 Check done: 36 chars, en (mother tongue: de), null, handlers
:-1, 1 matches, 42ms, class: V2TextChecker, agent:-, sent
2016-08-04 22:55:00 Check done: 41 chars, en-US[auto], null, handlers:-1, 0 matc
hes, 290ms, class: V2TextChecker, agent:-, sent
2016-08-04 22:55:00 Check done: 41 chars, en-US[auto], null, handlers:-1, 0 matc
hes, 305ms, class: V2TextChecker, agent:-, sent
2016-08-04 22:55:01 Check done: 41 chars, en-GB[auto], null, handlers:-1, 0 matc
hes, 238ms, class: V2TextChecker, agent:-, sent
2016-08-04 22:55:01 Check done: 41 chars, en-GB[auto], null, handlers:-1, 0 matc
hes, 242ms, class: V2TextChecker, agent:-, sent
Tests currently running: 1
2016-08-04 22:55:01 Check done: 1 chars, en-US[auto], null, handlers:-1, 1 match
es, 78ms, class: V2TextChecker, agent:-, sent
Tests currently running: 0
2016-08-04 22:55:01 Check done: 1 chars, en-US[auto], null, handlers:-1, 1 match
es, 77ms, class: V2TextChecker, agent:-, sent
Stopping server
Server stopped
Running with 2 threads in 8709ms
Setting up thread pool with 10 threads
Starting LanguageTool 3.5-SNAPSHOT (build date: 2016-08-04 21:41) server on http
://localhost:8081...
Server started
=== Testing timeout now, please ignore the following exception ===
2016-08-04 22:55:02 An error has occurred, sending HTTP code 503. HTTP user agen
t: Java/1.8.0_40, Stacktrace follows:
java.lang.RuntimeException: Text checking took longer than allowed maximum of 1
milliseconds (cancelled: true, handleCount: -1, language: de, 79 characters of t
ext)
at org.languagetool.server.TextChecker.checkText(TextChecker.java:135)
at org.languagetool.server.ApiV2.handleRequest(ApiV2.java:60)
at org.languagetool.server.LanguageToolHttpHandler.handle(LanguageToolHt
tpHandler.java:109)
at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:79)
at sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:83)
at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:82)
at sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.
java:675)
at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:79)
at sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:647)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.util.concurrent.TimeoutException
at java.util.concurrent.FutureTask.get(FutureTask.java:205)
at org.languagetool.server.TextChecker.checkText(TextChecker.java:123)
... 11 more
Stopping server
Server stopped
Setting up thread pool with 10 threads
Starting LanguageTool 3.5-SNAPSHOT (build date: 2016-08-04 21:41) server on http
://localhost:8081...
Server started
=== Testing 'enabledOnly parameter' now, please ignore the following exception =
==
2016-08-04 22:55:03 An error has occurred, sending HTTP code 400. Access from 12
7.0.0.1, text length 3. HTTP user agent: Java/1.8.0_40, Stacktrace follows:
java.lang.IllegalArgumentException: You cannot specify disabled rules or categor
ies using enabledOnly=true
at org.languagetool.server.TextChecker.checkText(TextChecker.java:98)
at org.languagetool.server.LanguageToolHttpHandler.handle(LanguageToolHt
tpHandler.java:130)
at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:79)
at sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:83)
at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:82)
at sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.
java:675)
at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:79)
at sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:647)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:617)
at java.lang.Thread.run(Thread.java:745)
Stopping server
Server stopped
Setting up thread pool with 10 threads
Starting LanguageTool 3.5-SNAPSHOT (build date: 2016-08-04 21:41) server on http
://localhost:8081...
Server started
=== Testing 'missing language parameter' now, please ignore the following except
ion ===
2016-08-04 22:55:04 An error has occurred, sending HTTP code 400. Access from 12
7.0.0.1, text length 3. HTTP user agent: Java/1.8.0_40, Stacktrace follows:
java.lang.IllegalArgumentException: Missing 'language' parameter. Specify langua
ge or use 'autodetect=yes' for auto-detecting the language of the input text.
at org.languagetool.server.V1TextChecker.getLanguageAutoDetect(V1TextChe
cker.java:91)
at org.languagetool.server.TextChecker.checkText(TextChecker.java:85)
at org.languagetool.server.LanguageToolHttpHandler.handle(LanguageToolHt
tpHandler.java:130)
at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:79)
at sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:83)
at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:82)
at sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.
java:675)
at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:79)
at sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:647)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:617)
at java.lang.Thread.run(Thread.java:745)
Stopping server
Server stopped
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.099 sec - in
org.languagetool.server.HTTPServerLoadTest
Running org.languagetool.server.RuleMatchesAsJsonSerializerTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.l
anguagetool.server.RuleMatchesAsJsonSerializerTest
Running org.languagetool.server.HTTPServerConfigTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.l
anguagetool.server.HTTPServerConfigTest
Running org.languagetool.server.TextCheckerTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.407 sec - in o
rg.languagetool.server.TextCheckerTest
Running org.languagetool.server.RequestLimiterTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.499 sec - in o
rg.languagetool.server.RequestLimiterTest
Running org.languagetool.server.HTTPSServerConfigTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec - in o
rg.languagetool.server.HTTPSServerConfigTest
Running org.languagetool.server.HTTPServerMultiLangLoadTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec - in org.l
anguagetool.server.HTTPServerMultiLangLoadTest
Running org.languagetool.server.HTTPSServerTest
Setting up thread pool with 10 threads
Starting LanguageTool 3.5-SNAPSHOT (build date: 2016-08-04 21:41) server on http
s://localhost:8081...
Server started
2016-08-04 22:55:10 Check done: 7 chars, en, null, handlers:1, 1 matches, 8ms, c
lass: V1TextChecker, agent:-, sent
2016-08-04 22:55:11 Check done: 490 chars, en, null, handlers:1, 485 matches, 45
9ms, class: V1TextChecker, agent:-, sent
=== Now checking text that is too long, please ignore the following exception ==
=
2016-08-04 22:55:11 An error has occurred, sending HTTP code 413. Access from 12
7.0.0.1, text length 533. HTTP user agent: Java/1.8.0_40, Stacktrace follows:
org.languagetool.server.TextTooLongException: Your text exceeds this server's li
mit of 500 characters (it's 533 characters). Please submit a shorter text.
at org.languagetool.server.TextChecker.checkText(TextChecker.java:82)
at org.languagetool.server.LanguageToolHttpHandler.handle(LanguageToolHt
tpHandler.java:130)
at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:79)
at sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:83)
at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:82)
at sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.
java:675)
at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:79)
at sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:645)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:617)
at java.lang.Thread.run(Thread.java:745)
Stopping server
Server stopped
Setting up thread pool with 10 threads
Starting LanguageTool 3.5-SNAPSHOT (build date: 2016-08-04 21:41) server on http
s://localhost:8081...
Server started
2016-08-04 22:55:12 Check done: 3 chars, de, null, handlers:1, 1 matches, 5ms, c
lass: V1TextChecker, agent:-, sent
2016-08-04 22:55:12 Check done: 3 chars, de, null, handlers:1, 1 matches, 5ms, c
lass: V1TextChecker, agent:-, sent
=== Testing too many requests now, please ignore the following error ===
Stopping server
Server stopped
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.97 sec - in or
g.languagetool.server.HTTPSServerTest
Running org.languagetool.server.AtDXmlSerializerTest
2016-08-04 22:55:12 Error: Access from 127.0.0.1 denied - too many requests. All
owed maximum requests: 2 requests per 120 seconds - useragent: null - HTTP UserA
gent: Java/1.8.0_40
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - in o
rg.languagetool.server.AtDXmlSerializerTest
Running org.languagetool.server.ApiV2Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in o
rg.languagetool.server.ApiV2Test

Results :

Tests in error:
HTTPServerTest.testAccessDenied:290 » PortBinding Le serveur HTTP n?a pas pu ê
...

Tests run: 27, Failures: 0, Errors: 1, Skipped: 2

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] languagetool-parent ................................ SUCCESS [ 11.873 s]
[INFO] LanguageTool Style and Grammar Checker Core ........ SUCCESS [01:26 min]
[INFO] English module for LanguageTool .................... SUCCESS [01:46 min]
[INFO] Arabic module for LanguageTool ..................... SUCCESS [ 5.910 s]
[INFO] Persian module for LanguageTool .................... SUCCESS [ 3.119 s]
[INFO] French module for LanguageTool ..................... SUCCESS [ 19.712 s]
[INFO] German module for LanguageTool ..................... SUCCESS [01:42 min]
[INFO] Polish module for LanguageTool ..................... SUCCESS [02:12 min]
[INFO] Catalan module for LanguageTool .................... SUCCESS [02:03 min]
[INFO] Italian module for LanguageTool .................... SUCCESS [ 4.715 s]
[INFO] Breton module for LanguageTool ..................... SUCCESS [ 6.028 s]
[INFO] Dutch module for LanguageTool ...................... SUCCESS [ 8.857 s]
[INFO] Portuguese module for LanguageTool ................. SUCCESS [ 7.461 s]
[INFO] Russian module for LanguageTool .................... SUCCESS [ 15.443 s]
[INFO] Asturian module for LanguageTool ................... SUCCESS [ 3.392 s]
[INFO] Belarusian module for LanguageTool ................. SUCCESS [ 2.456 s]
[INFO] Chinese module for LanguageTool .................... SUCCESS [ 12.776 s]
[INFO] Danish module for LanguageTool ..................... SUCCESS [ 3.387 s]
[INFO] Esperanto module for LanguageTool .................. SUCCESS [ 8.907 s]
[INFO] Galician module for LanguageTool ................... SUCCESS [ 5.026 s]
[INFO] Greek module for LanguageTool ...................... SUCCESS [ 4.268 s]
[INFO] Icelandic module for LanguageTool .................. SUCCESS [ 2.891 s]
[INFO] Japanese module for LanguageTool ................... SUCCESS [ 5.277 s]
[INFO] Khmer module for LanguageTool ...................... SUCCESS [ 3.248 s]
[INFO] Lithuanian module for LanguageTool ................. SUCCESS [ 2.448 s]
[INFO] Malayalam module for LanguageTool .................. SUCCESS [ 3.405 s]
[INFO] Romanian module for LanguageTool ................... SUCCESS [ 7.186 s]
[INFO] Slovak module for LanguageTool ..................... SUCCESS [ 9.121 s]
[INFO] Slovenian module for LanguageTool .................. SUCCESS [ 3.391 s]
[INFO] Spanish module for LanguageTool .................... SUCCESS [ 5.160 s]
[INFO] Swedish module for LanguageTool .................... SUCCESS [ 3.454 s]
[INFO] Tamil module for LanguageTool ...................... SUCCESS [ 2.423 s]
[INFO] Tagalog module for LanguageTool .................... SUCCESS [ 3.113 s]
[INFO] Ukrainian module for LanguageTool .................. SUCCESS [ 18.692 s]
[INFO] Simple German module for LanguageTool .............. SUCCESS [ 2.870 s]
[INFO] All language modules for LanguageTool .............. SUCCESS [ 0.107 s]
[INFO] LanguageTool common GUI classes .................... SUCCESS [ 2.464 s]
[INFO] LanguageTool command-line version .................. SUCCESS [ 18.606 s]
[INFO] LanguageTool embedded HTTP server .................. FAILURE [ 28.876 s]
[INFO] LanguageTool tools for building dictionaries ....... SKIPPED
[INFO] LanguageTool stand-alone GUI ....................... SKIPPED
[INFO] LanguageTool LibreOffice/OpenOffice extension ...... SKIPPED
[INFO] Hunspell native libs for LanguageTool .............. SKIPPED
[INFO] LanguageTool Wikipedia tools ....................... SKIPPED
[INFO] LanguageTool HTTP API client ....................... SKIPPED
[INFO] LanguageTool development tools ..................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13:27 min
[INFO] Finished at: 2016-08-04T22:55:12+01:00
[INFO] Final Memory: 40M/247M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.
19.1:test (default-test) on project languagetool-server: There are test failures
.
[ERROR]
[ERROR] Please refer to C:\Users\Dash\Desktop\languagetool-master\languagetool-s
erver\target\surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] -http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
eption
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command

[ERROR] mvn -rf :languagetool-server

C:\Users\Dash\Desktop\languagetool-master>


(Daniel Naber) #14

The test won't work as something else is running on its port, probably port 8081. Maybe it's a running instance of LanguageTool. Of course, you can also skip tests with the option -DskipTests, as long as you still run tests for your module.


(karimaTKH) #15

yes ...thanks...build succesful :slight_smile:
so i had to open file: languagetool-master\languagetool-standalone\target\languagetool-standalone-3.5-SNAPSHOT.jar to test my rules?
but a jni error has occured


(Daniel Naber) #16

No, please use languagetool-standalone/target/LanguageTool-3.5-SNAPSHOT.zip, i.e. install it someone just like the ZIP that can be downloaded from the LT homepage.


(karimaTKH) #17

Thanks a lot sir Daniel.