You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Shaik Baji <sh...@gmail.com> on 2014/09/30 20:07:03 UTC

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

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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


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

Posted by JE <ne...@weseewhathappens.com>.
unsubscribe

On Tue, Sep 30, 2014 at 2:07 PM, Shaik Baji <sh...@gmail.com>
wrote:

> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>