При создании Java-проекта Maven терпит неудачу на одной зависимости, хотя это не было 6 месяцев назад.
Первоначальная ошибка:
Failed to execute goal on project bdpreviewer: Could not resolve dependencies for project bdpreviewer:bdpreviewer:jar:3.6.1-SNAPSHOT: Failed to collect dependencies for [xxx]: Failed to read artifact descriptor for Mozilla:Glue:jar:1.9: Could not transfer artifact Mozilla:Glue:pom:1.9 from/to com.teamdev (http://maven.teamdev.com/repository/products): peer not authenticated -> [Help 1]
Согласно этот ответ , я добавил следующую опцию Maven:
-Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true
У меня теперь есть следующая ошибка
Failed to execute goal on project bdpreviewer: Could not resolve dependencies for project bdpreviewer:bdpreviewer:jar:3.6.1-SNAPSHOT: Failed to collect dependencies for [xxx]: Failed to read artifact descriptor for Mozilla:Glue:jar:1.9: Could not transfer artifact Mozilla:Glue:pom:1.9 from/to com.teamdev (http://maven.teamdev.com/repository/products): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [Help 1]
Я наблюдаю, что
Последнее: я использую Maven 3.0.5
Как мне решить эту проблему?