Dear all,

I am using maven 2 on a linux OS
I want to deploy my project.

I have 2 problems:
-password authentification
-right on the web site files

  1. Password
         * so when i execute the commande mvn site-deploy,
         * I need to enter each time my password !!, soi i need tyo put
           it in my settings.xml even if i use a id_rsh key
  2. Right on files
         * the file generated have the following rights :
               o drwx-w----   5 flefevre g_nemo      8192 Nov 16 12:00
                 nemo-studio-bio
               o -rw--w----   1 flefevre g_nemo      5478 Nov 16 12:00
                 jxr.html
         * i would like to have 664, and even if i put it to my
           settings.xml it doesn't work

Thanks a lot for your help.
Francois

   * My pom.xml
         o <distributionManagement>
                   <site>
                       <id>Nemo Projects Website</id>
                       <url>
scp://masaya1.genoscope.cns.fr/env/cns/pub/www/data/externe/nemo/projects/${project.artifactId}
                       </url>
                   </site>
   * My settings.xml
         o <server>
                       <id>Nemo Projects Website</id>
                       <username>flefevre</username>
<privateKey>/env/export/masaya/home/flefevre/.ssh/id_rsa</privateKey>
                       <!--directoryPermissions>775</directoryPermissions>
                       <filePermissions>664</filePermissions-->
                   <password>XXXXXX</password>
                   </server>


--
Francois Le Fevre
Bioinformatics Engineer
Computational Systems Biology Group
Genoscope
Tél. : (+33) 1 60 87 45 83
Web : http://www.genoscope.cns.fr/bioinfo

Reply via email to