As recommended in the previous SO answer , I run the VmWare secureci image as a preconfigured development infrastructure containing maven, nexus, hudson, svn.
Now I want to configure maven on my Windows XP computer to deploy my artifacts to nexus. But when I configure my pom.xml like this (taken from Deploying artifacts in Nexus ):
<distributionManagement>
<repository>
<id>nexus</id>
<name>RepositoryProxy</name>
<url>scp://192.168.0.197/nexus/content/repositories/releases</url>
</repository>
<snapshotRepository>
<id>nexus</id>
<name>RepositoryProxy</name>
<url>scp://192.168.0.197/nexus/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
... mvn deploydisplays an error message:
Error deploying artifact: Exit code: 1 -
mkdir: cannot create directory `/nexus': Permission denied
In settings.xmlI configured the username and password as follows:
<servers>
<server>
<id>nexus</id>
<username>tangens</username>
<password>********</password>
</server>
</servers>
Question: What configuration should I use for deployment in nexus?
https scp, maven .
http scp, secureci , 80 (http), -.
EDIT:
, nexus /root/sonatype-work/nexus/storage/snapshots/. settings.xml.
EDIT:
Q: Nexus?
, .
Q: Nexus 80?
80 apache.
Server: Apache/2.2.8 (Ubuntu) DAV/2 SVN/1.4.6 mod_ssl/2.2.8 OpenSSL/0.9.8g mod_wsgi/1.3 Python/2.5.2
Q: HTTP, HTTP- IP- ?
, SecureCI , . , , .