maven - No plugin found for prefix 'presto-docs' in the current project - Presto Build failure -


this error getting while doing 'mvn clean install' .

no plugin found prefix 'presto-docs' in current project , in plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available repositories [local (/var/root/.m2/repository), sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots), central (https://repo.maven.apache.org/maven2)] -> [help 1] org.apache.maven.plugin.prefix.nopluginfoundforprefixexception: no plugin found prefix 'presto-docs' in current project , in plugin groups [org.tomdz.maven, com.mycila, com.facebook.presto, org.apache.maven.plugins, org.codehaus.mojo] available repositories [local (/var/root/.m2/repository), sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots), central (https://repo.maven.apache.org/maven2)]

the build failed here :
[info] --- sphinx-maven-plugin:1.0.3:generate (default) @ presto-docs ---
[info] unpacking sphinx /users/sprinklr/tools/presto/presto-docs/target/sphinx
[error] exception in thread "main" javax.script.scriptexception: valueerror: unknown locale: utf-8 in @ line number 1
[error] @ org.python.jsr223.pyscriptengine.scriptexception(pyscriptengine.java:191)
[error] @ org.python.jsr223.pyscriptengine.eval(pyscriptengine.java:42)
[error] @ org.python.jsr223.pyscriptengine.eval(pyscriptengine.java:31)
[error] @ javax.script.abstractscriptengine.eval(abstractscriptengine.java:264)
[error] @ org.tomdz.maven.sphinx.sphinxrunner.run(sphinxrunner.java:59)
[error] @ org.tomdz.maven.sphinx.sphinxrunner.main(sphinxrunner.java:25)
[error] caused by: traceback (most recent call last):
[error] file "", line 1, in
[error] file "/users/sprinklr/tools/presto/presto-docs/target/sphinx/sphinx/init.py", line 47, in main
[error] sphinx import cmdline
[error] file "/users/sprinklr/tools/presto/presto-docs/target/sphinx/sphinx/init.py", line 47, in main
[error] sphinx import cmdline
[error] file "/users/sprinklr/tools/presto/presto-docs/target/sphinx/sphinx/cmdline.py", line 18, in
[error] docutils.utils import systemmessage
[error] file "/users/sprinklr/tools/presto/presto-docs/target/sphinx/docutils/utils/init.py", line 19, in
[error] docutils.io import fileoutput
[error] file "/users/sprinklr/tools/presto/presto-docs/target/sphinx/docutils/io.py", line 18, in
[error] docutils.error_reporting import locale_encoding, errorstring, erroroutput
[error] file "/users/sprinklr/tools/presto/presto-docs/target/sphinx/docutils/error_reporting.py", line 47, in
[error] locale_encoding = locale.getlocale()[1] or locale.getdefaultlocale()[1]
[error] file "/private/var/root/.m2/repository/org/python/jython-standalone/2.5.2/jython-standalone-2.5.2.jar/lib/locale.py", line 443, in getdefaultlocale
[error] file "/private/var/root/.m2/repository/org/python/jython-standalone/2.5.2/jython-standalone-2.5.2.jar/lib/locale.py", line 375, in _parse_localename
[error] valueerror: unknown locale: utf-8

please guide me oversome this

according this question, running following before maven might fix it:

export lc_all=en_us.utf-8 export lang=en_us.utf-8 

though should fix sphinx plugin set correctly build should not affected local environment variables.


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - Bypass Geo Redirect for specific directories -

php - .htaccess mod_rewrite for dynamic url which has domain names -