Hi Nicolas, You can generate the site for a project even if you don't have any file related to the site (site.xml, Xdoc, apt, fml, ...). As for your error when you try to deploy, this is probably because you didn't define the credentials for repository in your "settings.xml". If you try to deploy via scp, you need to have something in your "settings.xml" file that looks like: (cf. http://maven.apache.org/guides/mini/guide-deployment-security-settings.html) <settings> . . <servers> <server> <id>repo1</id> <username>repouser</username> <!-- other optional elements: <password>my_login_password</password> <privateKey>/path/to/identity</privateKey> (default is ~/.ssh/id_dsa) <passphrase>my_key_passphrase</passphrase> --> </server> </servers> . . </settings> You can also deploy via the file protocol. In this case, you would have in your POM something like: <distributionManagement> <site> <id>deployFolder</id> <url>file:///foo/myWebFolder/</url> </site> </distributionManagement> More generally, you'll find almost all you need at : http://maven.apache.org/guides/index.html Hope this helps, Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Nicolas Gonzalez <nicogonzalez200 [EMAIL PROTECTED]> Pour Maven Users List 15/02/2006 15:49 <[email protected]> cc Veuillez Objet répondre à Re: Site deploy fails with m2.0.2: Maven Users List any easy workaround? <[EMAIL PROTECTED] che.org> Hi Fabrice, I've been reading the maven site mini guide but i cant't find out where to configure the user, password and that sort of stuffs. The only thing i've done is to add "<distributionManagement/>" in pom.xml but i get this exception when invoking mvn site:deploy = Session error: com.jcraft.jsch.JSchException: Session.connect: java.net.ConnectException: Connectio n refused: connect Is it necessary to create site.xml? if so, am i responsible for creating the tree directory explained at: http://maven.apache.org/guides/mini/guide-site.html ??? I really appreciate your help but i can't figure out what to do... Regards, Nicolas Gonzalez Buenos Aires - Argentina ___________________________________________________________ 1GB gratis, Antivirus y Antispam Correo Yahoo!, el mejor correo web del mundo http://correo.yahoo.com.ar --------------------------------------------------------------------- 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]
