Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/maven/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Maven Ant任务,部署到https_Maven_Ssl_Ant_Wagon - Fatal编程技术网

Maven Ant任务,部署到https

Maven Ant任务,部署到https,maven,ssl,ant,wagon,Maven,Ssl,Ant,Wagon,我正在尝试使用ssl将deb文件部署到nexus,但收到错误消息No subject alternative DNS name matching 我在ant中的构建目标如下所示: <target name="deploy"> <artifact:pom id="mypom" file="pom.xml"/> <artifact:install-provider artifactId="wagon-ssh" version="1.0-beta-2"

我正在尝试使用ssl将deb文件部署到nexus,但收到错误消息No subject alternative DNS name matching

我在ant中的构建目标如下所示:

<target name="deploy">
    <artifact:pom id="mypom" file="pom.xml"/>

    <artifact:install-provider artifactId="wagon-ssh" version="1.0-beta-2" />

    <artifact:deploy file="target/foo.deb">
        <remoteRepository url="https://bar" />
        <pom refid="mypom" />
    </artifact:deploy>
</target>

如何配置旅行车?我只想忽略证书。

您正在运行哪个版本的Java?见:7。我不能改变这一点,因为这是一台工作电脑