Hi, Are you sure your url is correct? Here is what i use in my pom
<distributionManagement> <repository> <id>internal-released</id> <url>scp://192.168.6.194/var/mvn/internal-released</url> </repository> <snapshotRepository> <id>internal-snapshot</id> <url>scp://192.168.6.194/var/mvn/internal-snapshot</url> </snapshotRepository> </distributionManagement> Notice its the full path on the server. Ben Ben On 7/13/06, Raphael Neve <[EMAIL PROTECTED]> wrote:
Hello, I am very new to Maven2, but I have looked through the documentation and not found my answer : I want to deploy to a SCP server but Maven always prompts me for my password even though I have added it into my settings.xml file : (install_dir)/conf/settings.xml : <settings> ... <servers> <server> <id>my-webserver</id> <username>user</username> <password>pass</password> </server> </servers> ... </settings> This is my "pom.xml" file for my project : <project> ... <distributionManagement> <repository> <id>my-webserver</id> <name>My Web Server</name> <url>scp://myserver.microtec.fr/deploy</url> </repository> </distributionManagement> </project> When I launch "mvn deploy" it displays the following comment : [INFO] Installing C:\Projects\CactusMaven\target\Cactus-0.0.2.jar to C:\Documents and Settings\Microtec\.m2\repository\Cactus\Cactus\0.0.2\Cactus-0.0.2.jar [INFO] [deploy:deploy] Password: : When I enter in the password (same as one in settings.xml), it deploys correctly (I have to repeat the password 3 or 4 times). How can I make it deploy automatically without having to re-type the password? Thanks, Raphael --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]