Hi,

I am new to maven-release-plugin. I am using maven-release-plugin 2.5.1 and
it is working fine when I don't have any proxy configuration in my maven
*setting.xml* file. But if I configured my proxy setting then it is throwing
*SunCertPathBuilderException *on executing "*release:perform*" goal.

I don't want to disable my proxy settings so How would I overcome this issue
without disabling proxy settings?

Here is Exception message:

/[INFO] [ERROR] Failed to execute goal
org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on
project sample: Failed to deploy artifacts: Could not transfer artifact
com.cybage:sample:jar:1.4 from/to internal
(http://localhost:8081/artifactory/internal):
sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find
valid certification path to requested target -> [Help 1]
[INFO] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy
(default-deploy) on project sample: Failed to deploy artifacts: Could not
transfer artifact com.cybage:sample:jar:1.4 from/to internal
(http://localhost:8081/artifactory/internal):
sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find
valid certification path to requested target
...............................
[INFO] Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to
deploy artifacts: Could not transfer artifact com.cybage:sample:jar:1.4
from/to internal http://localhost:8081/artifactory/internal
): sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.
SunCertPathBuilderException: unable to find valid certification path to
requested target
[INFO]  at
org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:193)/


Thanks,
Baji



--
View this message in context: 
http://maven.40175.n5.nabble.com/SunCertPathBuilderException-on-release-perform-goal-when-we-have-Maven-Proxy-settings-tp5807412.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to