java - Failure to transfer failsafe-maven-plugin - Eclipse Luna -
my service have nexus sonatype, in down apache, run https, certificator not valid, when run
mvn clean deploy -dmaven.wagon.http.ssl.insecure=true -dmaven.wagon.http.ssl.allowall=true
for cmd windows it's ok, eclipse in pom.xml has red message m2e
failure transfer org.codehaus.mojo:failsafe-maven-plugin:pom:2.4.3-alpha-1 my:url cached in local repository, resolution not reattempted until update interval of public has elapsed or updates forced. original error: not transfer artifact org.codehaus.mojo:failsafe-maven-plugin:pom:2.4.3-alpha-1 from/to public my:url: sun.security.validator.validatorexception: pkix path building failed: sun.security.provider.certpath.suncertpathbuilderexception: unable find valid certification path requested target
when run same comand eclipse error out
[error] plugin org.codehaus.mojo:failsafe-maven-plugin:2.4.3-alpha-1 or 1 of dependencies not resolved: cannot access public (https://myurl/nexus/content/repositories/public/) in offline mode , artifact org.codehaus.mojo:failsafe-maven-plugin:jar:2.4.3-alpha-1 has not been downloaded before. -> [help 1] org.apache.maven.plugin.pluginresolutionexception: plugin org.codehaus.mojo:failsafe-maven-plugin:2.4.3-alpha-1 or 1 of dependencies not resolved: cannot access public (https://myurl/nexus/content/repositories/public/) in offline mode , artifact org.codehaus.mojo:failsafe-maven-plugin:jar:2.4.3-alpha-1 has not been downloaded before. @ org.apache.maven.plugin.internal.defaultplugindependenciesresolver.resolve(defaultplugindependenciesresolver.java:128) @ org.apache.maven.plugin.internal.defaultmavenpluginmanager.getplugindescriptor(defaultmavenpluginmanager.java:179) @ org.apache.maven.plugin.internal.defaultmavenpluginmanager.getmojodescriptor(defaultmavenpluginmanager.java:298) @ org.apache.maven.plugin.defaultbuildpluginmanager.getmojodescriptor(defaultbuildpluginmanager.java:241) @ org.apache.maven.lifecycle.internal.defaultlifecyclemappingdelegate.calculatelifecyclemappings(defaultlifecyclemappingdelegate.java:110) @ org.apache.maven.lifecycle.internal.defaultlifecycleexecutionplancalculator.calculatelifecyclemappings(defaultlifecycleexecutionplancalculator.java:266) @ org.apache.maven.lifecycle.internal.defaultlifecycleexecutionplancalculator.calculatemojoexecutions(defaultlifecycleexecutionplancalculator.java:217) @ org.apache.maven.lifecycle.internal.defaultlifecycleexecutionplancalculator.calculateexecutionplan(defaultlifecycleexecutionplancalculator.java:127) @ org.apache.maven.lifecycle.internal.defaultlifecycleexecutionplancalculator.calculateexecutionplan(defaultlifecycleexecutionplancalculator.java:145) @ org.apache.maven.lifecycle.internal.builder.buildercommon.resolvebuildplan(buildercommon.java:96) @ org.apache.maven.lifecycle.internal.lifecyclemodulebuilder.buildproject(lifecyclemodulebuilder.java:109) @ org.apache.maven.lifecycle.internal.lifecyclemodulebuilder.buildproject(lifecyclemodulebuilder.java:80) @ org.apache.maven.lifecycle.internal.builder.singlethreaded.singlethreadedbuilder.build(singlethreadedbuilder.java:51) final stacktrace caused by: org.eclipse.aether.transfer.repositoryofflineexception: cannot access public(https: //myurl/nexus/content/repositories/public/) in offline mode
my signture htpps create me, i'm test devolupment.
can me problema
the solution found this,
<plugin> <groupid>org.codehaus.mojo</groupid> <artifactid>failsafe-maven-plugin</artifactid> <version>2.4.3-alpha-1</version> <executions> <execution> <goals> <goal>integration-test</goal> <goal>verify</goal> </goals> </execution> </executions>
Comments
Post a Comment