Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

SunCertPathBuilderException on release:perform goal when we have Maven Proxy settings?

$
0
0
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

Viewing all articles
Browse latest Browse all 5648

Trending Articles