就像在推荐之前的SO-回答我运行的VMware映像secureci含行家,承上启下,哈德森,SVN预配置的开发基础.
现在我想在我的Windows XP机器上配置maven,将其工件部署到nexus.但是当我像这样配置我的pom.xml时(取自部署工件到Nexus):
<distributionManagement>
<!-- use the following if you're not using a snapshot version. -->
<repository>
<id>nexus</id>
<name>RepositoryProxy</name>
<url>scp://192.168.0.197/nexus/content/repositories/releases</url>
</repository>
<!-- use the following if you ARE using a snapshot version. -->
<snapshotRepository>
<id>nexus</id>
<name>RepositoryProxy</name>
<url>scp://192.168.0.197/nexus/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
Run Code Online (Sandbox Code Playgroud)
... mvn deploy打印错误消息:
Error deploying artifact: Exit code: 1 -
mkdir: cannot create directory `/nexus': Permission denied
Run Code Online (Sandbox Code Playgroud)
在settings.xml我配置的用户名和密码如下:
<servers>
<server>
<id>nexus</id>
<username>tangens</username>
<password>********</password>
</server>
</servers>
Run Code Online (Sandbox Code Playgroud)
问题:我必须使用哪种配置来部署到nexus?
我已经尝试过https而不是scp,但是这个maven遇到了缺少证书的问题. …
我正在建立一个Java开发商店,目前仅供我自己作为唯一的开发人员,但希望随着业务的增长需要雇用其他人.显然,我希望将其设置得正确,以便随着更多人的加入,他们可以立即提高工作效率.请帮忙建议我想做的事情,以及做这些事情的工具.
这是我认为我需要的: