2.4 build e deploy da aplicação


#1

Pessoal, estou usando CentOS7 para testar os conhecimentos.
No momento estou enfrentando problema no deploy da aplicação.

[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.146s
[INFO] Finished at: Sun Oct 22 11:51:41 BRST 2017
[INFO] Final Memory: 12M/29M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:keytool-maven-plugin:1.2:genkey (genkey) on project admin: Execution genkey of goal org.codehaus.mojo:keytool-maven-plugin:1.2:genkey failed: Unable to load the mojo ‘genkey’ (or one of its required components) from the plugin ‘org.codehaus.mojo:keytool-maven-plugin:1.2’: com.google.inject.ProvisionException: Guice provision errors:
[ERROR]
[ERROR] 1) No implementation for org.codehaus.mojo.keytool.KeyToolCommandLineBuilder was bound.
[ERROR] while locating org.codehaus.mojo.keytool.DefaultKeyTool
[ERROR] at ClassRealm[plugin>org.codehaus.mojo:keytool-maven-plugin:1.2, parent: sun.misc.Launcher$AppClassLoader@70dea4e]
[ERROR] at ClassRealm[plugin>org.codehaus.mojo:keytool-maven-plugin:1.2, parent: sun.misc.Launcher$AppClassLoader@70dea4e]
[ERROR] while locating org.codehaus.mojo.keytool.KeyTool
[ERROR] while locating org.codehaus.mojo.keytool.GenkeyMojo
[ERROR] at ClassRealm[plugin>org.codehaus.mojo:keytool-maven-plugin:1.2, parent: sun.misc.Launcher$AppClassLoader@70dea4e]
[ERROR] while locating org.apache.maven.plugin.Mojo annotated with @com.google.inject.name.Named(value=org.codehaus.mojo:keytool-maven-plugin:1.2:genkey)
[ERROR]
[ERROR] 1 error
[ERROR] role: org.apache.maven.plugin.Mojo
[ERROR] roleHint: org.codehaus.mojo:keytool-maven-plugin:1.2:genkey
[ERROR] -> [Help 1]
[ERROR]
[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]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :admin

Alguém pode me ajudar?

Obrigado!


#2

Boa tarde,

Estou com o mesmo problema. Utilizo o Linuxmint 18 - Você conseguiu resolver?