Согласно документу , я создал / добавил следующий код в моем файле ~ / .m2 / settings-security.xml:
<settingsSecurity>
<master>{ENCRIPTED_PASSWORD}</master>
</settingsSecurity>
После выполнения сборки maven (пакет mvn clean) выдается следующая ошибка:
[ERROR] error using security dispatcher: org.sonatype.plexus.components.cipher.PlexusCipherException: javax.crypto.BadPaddingException: Given final block not properly padded
org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException: org.sonatype.plexus.components.cipher.PlexusCipherException: javax.crypto.BadPaddingException: Given final block not properly padded
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-jarsigner-plugin:1.4:sign (sign) on project com.daimler.duke.common.server: error using security dispatcher: org.sonatype.plexus.components.cipher.PlexusCipherException: javax.crypto.BadPaddingException: Given final block not properly padded -> [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/MojoExecutionException
Может ли кто-нибудь по просьбе помочь мне в этом, я новичок в Maven сейчас.
Спасибо