You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Francois Le Fevre <fl...@genoscope.cns.fr> on 2006/11/16 12:07:43 UTC
site-deploy
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
Re: site-deploy
Posted by Francois Le Fevre <fl...@genoscope.cns.fr>.
Dear Paul,
Here an extract of my log when running mvn site-deploy -X -e
Sincerly
[....]
[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project:
org.apache.maven:maven-repository-metadata:jar:2.0 from the repository.
[DEBUG] org.apache.maven:maven-repository-metadata:jar:2.0:runtime
(selected for runtime)
[DEBUG]*
org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5:runtime
(selected for runtime)*
[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project:
null:maven-profile:jar:2.0 from the repository.
[DEBUG] org.apache.maven:maven-profile:jar:2.0:runtime (selected for
runtime)
[DEBUG] org.apache.maven:maven-artifact:jar:2.0:runtime (selected for
runtime)
[DEBUG]
[....]
[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project:
null:maven-settings:jar:2.0 from the repository.
[DEBUG] org.apache.maven:maven-settings:jar:2.0:runtime (selected
for runtime)
*[DEBUG]
org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-5:runtime
(selected for runtime)*
*[DEBUG] org.apache.maven.wagon:wagon-file:jar:1.0-alpha-5:runtime
(selected for runtime)*
[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project:
org.apache.maven:maven-plugin-descriptor:jar:2.0 from the repository.
[DEBUG] org.apache.maven:maven-plugin-descriptor:jar:2.0:runtime
(selected for runtime)
[DEBUG] commons-cli:commons-cli:jar:1.0:runtime (selected for runtime)
*[DEBUG] org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-5:runtime
(selected for runtime)*
[DEBUG] com.jcraft:jsch:jar:0.1.23:runtime (selected for runtime)
[DEBUG] velocity:velocity:jar:1.4:runtime (selected for runtime)
[DEBUG] velocity:velocity-dep:jar:1.4:runtime (selected for runtime)
*[DEBUG] Retrieving parent-POM:
org.apache.maven.wagon:wagon::1.0-alpha-4 for project:
null:wagon-provider-api:jar:1.0-alpha-4 from the repository.
[DEBUG]
org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-4:runtime
(selected for runtime)*
[DEBUG] plexus:plexus-utils:jar:1.0.3:runtime (selected for runtime)
[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0-beta-1 for
project: org.apache.maven:maven-model:jar:2.0-beta-1 from the reposito
[...]
[DEBUG]
org.apache.maven:maven-repository-metadata:jar:2.0:runtime (selected for
runtime)
*[DEBUG]
org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5:runtime
(selected for runtime)*
[DEBUG] org.apache.maven:maven-profile:jar:2.0:runtime (selected
for runtime)
[DEBUG] junit:junit:jar:3.8.1:runtime (selected for runtime)
[DEBUG] org.apache.maven:maven-core:jar:2.0:runtime (selected for
runtime)
[DEBUG]
org.apache.maven:maven-plugin-parameter-documenter:jar:2.0:runtime
(selected for runtime)
[DEBUG] org.apache.maven:maven-error-diagnostics:jar:2.0:runtime
(selected for runtime)
[DEBUG] org.apache.maven:maven-monitor:jar:2.0:runtime (selected
for runtime)
[DEBUG] org.apache.maven:maven-repository-metadata:jar:2.0:runtime
(selected for runtime)
[DEBUG]
org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:runtime
(selected for runtime)
[DEBUG] org.apache.maven:maven-settings:jar:2.0:runtime (selected
for runtime)
*[DEBUG]
org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-5:runtime
(selected for runtime)
[DEBUG] org.apache.maven.wagon:wagon-file:jar:1.0-alpha-5:runtime
(selected for runtime)*
[DEBUG] org.apache.maven:maven-plugin-descriptor:jar:2.0:runtime
(selected for runtime)
*[DEBUG]
org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5:runtime
(selected for runtime)*
[DEBUG] commons-cli:commons-cli:jar:1.0:runtime (selected for runtime)
*[DEBUG] org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-5:runtime
(selected for runtime)*
[DEBUG] com.jcraft:jsch:jar:0.1.23:runtime (selected for runtime)
[...]
[DEBUG] (f) settings = org.apache.maven.settings.Settings@166f9b9
[DEBUG] -- end configuration --
[INFO] [site:deploy]
*Using private key: /env/cns/home/flefevre/.ssh/id_rsa
Password for flefevre@masaya1.genoscope.cns.fr: XXXXXXXX*
scp://masaya1.genoscope.cns.fr/env/cns/pub/www/data/externe/nemo/projects/nemo-knowledge-base
- Session: Opened
Executing command: mkdir -p
/env/cns/pub/www/data/externe/nemo/projects/nemo-knowledge-base/.
Executing command: mkdir -p
/env/cns/pub/www/data/externe/nemo/projects/nemo-knowledge-base/.
> Dear Paul,
> I have configured my pom as you said. But it doesn't work.
>
> Could you have a look to my pom?
> Or to the fulltrace of mvn site-deploy?
> You can see that it use evrytime wagon *1.0-alpha-5*
>
> It seems that the ewtensions is not well read.
>
> Thanks again for your help.
> If you need more information, do not hesitate.
>
> Francois
>
> =========================
> POM
> ========================
> <project xmlns="http://maven.apache.org/POM/4.0.0"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/maven-v4_0_0.xsd">
> <modelVersion>4.0.0</modelVersion>
> <groupId>fr.cns.genoscope.nemo</groupId>
> <artifactId>nemo-knowledge-base</artifactId>
> <packaging>pom</packaging>
> <version>1.0-SNAPSHOT</version>
> <name>Nemo Knowledge Base</name>
> <inceptionYear>2006</inceptionYear>
>
> <description>
> This project is the knowledge base for all technologies relative
> to nemo projects.
> </description>
>
> <organization>
> <name>Genoscope - Centre National de Sequencage</name>
> <url>http://www.genoscope.cns.fr/</url>
> </organization>
>
> <url>
> http://www.genoscope.cns.fr/nemo/projects/${project.artifactId}
> </url>
>
> <prerequisites>
> <maven>2.0</maven>
> </prerequisites>
>
>
>
> <developers>
> <developer>
> <id>ccombe</id>
> <name>Cyril Combe</name>
> <email>cyril.combe@gmail.com</email>
> <organization>
> Genoscope- Computational System Biology Group - NEtwork
> MOdelling Group
> </organization>
> <roles>
> <role>Developer</role>
> </roles>
> <timezone>+1</timezone>
> </developer>
> <developer>
> <id>flefevre</id>
> <name>Francois Le Fevre</name>
> <email>flefevre@genoscope.cns.fr</email>
> <organization>
> Genoscope - Computational System Biology Group - NEtwork
> MOdelling Group
> </organization>
> <roles>
> <role>Developer</role>
> </roles>
> <timezone>+1</timezone>
> </developer>
> </developers>
>
> <!-- The issue management system -->
> <issueManagement>
> <system>Bugzilla</system>
> <url>http://mars.pc.local/bugzilla/</url>
> </issueManagement>
>
>
> <!-- The source repository -->
> <scm>
> <connection>
>
> scm:svn:svn+ssh://subversion.genoscope.cns.fr/env/database/subversion/nemo/nemo_studio_repo/${project.artifactId}/trunk
>
> </connection>
> <developerConnection>
>
> scm:svn:svn+ssh://subversion.genoscope.cns.fr/env/database/subversion/nemo/nemo_studio_repo/${project.artifactId}/trunk
>
> </developerConnection>
> <!-- Si viewCVS or fisheye -->
> <!--
> <url>http://www.genoscope.cns.fr/viewcvs.cgi/${project.artifactId}</url>-->
>
>
>
> </scm>
>
> <!-- Continuous integration -->
> <ciManagement>
> <system>continuum</system>
> <url>http://taal.genoscope.cns.fr:8090/continuum</url>
> <notifiers>
> <notifier>
> <type>mail</type>
> <configuration>
> <sendOnSuccess>true</sendOnSuccess>
> <sendOnWarning>true</sendOnWarning>
> <sendOnFailure>true</sendOnFailure>
> <sendOnError>true</sendOnError>
> <address>flefevre@genoscope.cns.fr</address>
> </configuration>
> </notifier>
> </notifiers>
> </ciManagement>
>
> <distributionManagement>
>
> <!-- Configuration pour deployer le site web -->
> <site>
> <id>Maven Developper Doc Website</id>
> <url>
>
> scp://masaya1.genoscope.cns.fr/env/cns/pub/www/data/externe/nemo/projects/${project.artifactId}
>
> </url>
> </site>
>
> <!-- Configuration pour deployer le projet dans le remote
> repository
> attention ne devrait ne plus etre associer au developpeur
> mais seulement a Ci
> donc juste pour la definition dans Ci puis a retirer -->
> <repository>
> <id>inhouse</id>
> <name>Inhouse Internal Release Repository</name>
> <url>
>
> scp://taal.genoscope.cns.fr/var/www/html/maven_repositories/inhouse
> </url>
> </repository>
> <snapshotRepository>
> <id>inhouse_snapshot</id>
> <name>Inhouse Internal Snapshot Repository</name>
> <url>
>
> scp://taal.genoscope.cns.fr/var/www/html/maven_repositories/inhouse_snapshot
>
> </url>
> <uniqueVersion>false</uniqueVersion>
> </snapshotRepository>
>
> </distributionManagement>
>
> <reporting>
> <plugins>
> <!-- JAVADOC -->
> <plugin>
> <artifactId>maven-javadoc-plugin</artifactId>
> </plugin>
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>jxr-maven-plugin</artifactId>
> </plugin>
>
> <!-- CHANGE LOG FROM SCM -->
>
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>changelog-maven-plugin</artifactId>
> </plugin>
>
> <!-- JUNIT REPORT -->
> <plugin>
> <artifactId>maven-surefire-plugin</artifactId>
> </plugin>
>
> <!-- TEST COVERAGE -->
> <plugin>
> <artifactId>maven-clover-plugin</artifactId>
> </plugin>
>
> <!-- CODE ANALYSIS -->
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
>
> <artifactId>maven-pmd-plugin</artifactId>
> <configuration>
> <targetjdk>1.5</targetjdk>
> <rulesets>
> <ruleset>/rulesets/basic.xml</ruleset>
> <ruleset>/rulesets/controversial.xml</ruleset>
> </rulesets>
> <format>xml</format>
> <linkXref>true</linkXref>
> <sourceEncoding>utf-8</sourceEncoding>
>
> <minimumTokens>100</minimumTokens>
> </configuration>
> </plugin>
>
> <!-- RELEASE DOCUMENTATION -->
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>changes-maven-plugin</artifactId>
> </plugin>
>
> <!-- TODO LIST -->
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>taglist-maven-plugin</artifactId>
> </plugin>
>
> </plugins>
> </reporting>
>
>
>
> <dependencies>
> <dependency>
> <groupId>junit</groupId>
> <artifactId>junit</artifactId>
> <version>3.8.1</version>
> <scope>test</scope>
> </dependency>
> </dependencies>
>
> <build>
>
> <extensions>
> <extension>
> <groupId>org.apache.maven.wagon</groupId>
> <artifactId>wagon-ssh-external</artifactId>
> <version>1.0-beta-1</version>
> </extension>
> <extension>
> <groupId>org.apache.maven.wagon</groupId>
> <artifactId>wagon-ssh</artifactId>
> <version>1.0-beta-1</version>
> </extension>
> <extension>
> <groupId>org.apache.maven.wagon</groupId>
> <artifactId>wagon-provider-api</artifactId>
> <version>1.0-beta-1</version>
> </extension>
> </extensions>
>
> </build>
> <repositories>
> <repository>
> <id>andromda</id>
> <name>AndroMDA Repository</name>
> <url>http://team.andromda.org/maven2</url>
> </repository>
> </repositories>
> <pluginRepositories>
> <pluginRepository>
> <id>andromda</id>
> <name>AndroMDA Repository</name>
> <url>http://team.andromda.org/maven2</url>
> </pluginRepository>
> </pluginRepositories>
> <!-- repositories>
> <repository>
> <id>mvnrepository-com</id>
> <name>MVN Repository</name>
> <url>http://mvnrepository.com/artifact/</url>
> </repository>
> </repositories-->
>
> </project>
>
>> I'm not positive, but it is probably something like what I've got for
>> wagon-ftp in one of my projects:
>>
>> <project>
>> ...
>> <extensions>
>> <extension>
>> <groupId>org.apache.maven.wagon</groupId>
>> <artifactId>wagon-ftp</artifactId>
>> <version>1.0-beta-1</version>
>> </extension>
>> </extensions>
>> ...
>> </project>
>>
>> Paul
>>
>>
>> Francois Le Fevre wrote:
>>
>>
>>> Paul,
>>>
>>> i have made a false copy and paste : the post was
>>> http://jira.codehaus.org/browse/WAGONSSH-44
>>>
>>>
>>> a more precise question: where can I overwrite the version of
>>> wagon-ssh-external or wagin-ssh ?
>>> in which pom ? in which parapgraph.
>>>
>>> Thanks a lot.
>>>
>>> Francois
>>>
>>>
>>>
>>>> Dear Paul,
>>>> You are right but I could find the solution.
>>>> I have founded this post :
>>>>
>>>> http://jira.codehaus.org/browse/MASSEMBLY-153
>>>>
>>>> "Upgrading wagon to version 1.0-beta-1 seems to have solved this
>>>> issue for us. Just replace the wagon*.jar files in the maven/lib
>>>> directory with the newer versions."
>>>>
>>>> But it doesn't change anything!
>>>>
>>>> Can you tell me where to configure in my pom which version of wagon
>>>> to use ??
>>>>
>>>> Thanks
>>>>
>>>> Francois
>>>>
>>>>
>>>>
>>>>> Hi Francois,
>>>>>
>>>>> I'm not sure about the password prompt, but the file permissions
>>>>> problem
>>>>> looks like another case of this:
>>>>>
>>>>> http://jira.codehaus.org/browse/MASSEMBLY-153
>>>>>
>>>>> Paul
>>>>>
>>>>>
>>>>> Francois Le Fevre wrote:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>> 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
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>> --
>>> 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
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>
>
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: site-deploy
Posted by Francois Le Fevre <fl...@genoscope.cns.fr>.
Dear Paul,
I have configured my pom as you said. But it doesn't work.
Could you have a look to my pom?
Or to the fulltrace of mvn site-deploy?
You can see that it use evrytime wagon *1.0-alpha-5*
It seems that the ewtensions is not well read.
Thanks again for your help.
If you need more information, do not hesitate.
Francois
=========================
POM
========================
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>fr.cns.genoscope.nemo</groupId>
<artifactId>nemo-knowledge-base</artifactId>
<packaging>pom</packaging>
<version>1.0-SNAPSHOT</version>
<name>Nemo Knowledge Base</name>
<inceptionYear>2006</inceptionYear>
<description>
This project is the knowledge base for all technologies relative
to nemo projects.
</description>
<organization>
<name>Genoscope - Centre National de Sequencage</name>
<url>http://www.genoscope.cns.fr/</url>
</organization>
<url>
http://www.genoscope.cns.fr/nemo/projects/${project.artifactId}
</url>
<prerequisites>
<maven>2.0</maven>
</prerequisites>
<developers>
<developer>
<id>ccombe</id>
<name>Cyril Combe</name>
<email>cyril.combe@gmail.com</email>
<organization>
Genoscope- Computational System Biology Group - NEtwork
MOdelling Group
</organization>
<roles>
<role>Developer</role>
</roles>
<timezone>+1</timezone>
</developer>
<developer>
<id>flefevre</id>
<name>Francois Le Fevre</name>
<email>flefevre@genoscope.cns.fr</email>
<organization>
Genoscope - Computational System Biology Group - NEtwork
MOdelling Group
</organization>
<roles>
<role>Developer</role>
</roles>
<timezone>+1</timezone>
</developer>
</developers>
<!-- The issue management system -->
<issueManagement>
<system>Bugzilla</system>
<url>http://mars.pc.local/bugzilla/</url>
</issueManagement>
<!-- The source repository -->
<scm>
<connection>
scm:svn:svn+ssh://subversion.genoscope.cns.fr/env/database/subversion/nemo/nemo_studio_repo/${project.artifactId}/trunk
</connection>
<developerConnection>
scm:svn:svn+ssh://subversion.genoscope.cns.fr/env/database/subversion/nemo/nemo_studio_repo/${project.artifactId}/trunk
</developerConnection>
<!-- Si viewCVS or fisheye -->
<!--
<url>http://www.genoscope.cns.fr/viewcvs.cgi/${project.artifactId}</url>-->
</scm>
<!-- Continuous integration -->
<ciManagement>
<system>continuum</system>
<url>http://taal.genoscope.cns.fr:8090/continuum</url>
<notifiers>
<notifier>
<type>mail</type>
<configuration>
<sendOnSuccess>true</sendOnSuccess>
<sendOnWarning>true</sendOnWarning>
<sendOnFailure>true</sendOnFailure>
<sendOnError>true</sendOnError>
<address>flefevre@genoscope.cns.fr</address>
</configuration>
</notifier>
</notifiers>
</ciManagement>
<distributionManagement>
<!-- Configuration pour deployer le site web -->
<site>
<id>Maven Developper Doc Website</id>
<url>
scp://masaya1.genoscope.cns.fr/env/cns/pub/www/data/externe/nemo/projects/${project.artifactId}
</url>
</site>
<!-- Configuration pour deployer le projet dans le remote repository
attention ne devrait ne plus etre associer au developpeur
mais seulement a Ci
donc juste pour la definition dans Ci puis a retirer -->
<repository>
<id>inhouse</id>
<name>Inhouse Internal Release Repository</name>
<url>
scp://taal.genoscope.cns.fr/var/www/html/maven_repositories/inhouse
</url>
</repository>
<snapshotRepository>
<id>inhouse_snapshot</id>
<name>Inhouse Internal Snapshot Repository</name>
<url>
scp://taal.genoscope.cns.fr/var/www/html/maven_repositories/inhouse_snapshot
</url>
<uniqueVersion>false</uniqueVersion>
</snapshotRepository>
</distributionManagement>
<reporting>
<plugins>
<!-- JAVADOC -->
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jxr-maven-plugin</artifactId>
</plugin>
<!-- CHANGE LOG FROM SCM -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>changelog-maven-plugin</artifactId>
</plugin>
<!-- JUNIT REPORT -->
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
</plugin>
<!-- TEST COVERAGE -->
<plugin>
<artifactId>maven-clover-plugin</artifactId>
</plugin>
<!-- CODE ANALYSIS -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<configuration>
<targetjdk>1.5</targetjdk>
<rulesets>
<ruleset>/rulesets/basic.xml</ruleset>
<ruleset>/rulesets/controversial.xml</ruleset>
</rulesets>
<format>xml</format>
<linkXref>true</linkXref>
<sourceEncoding>utf-8</sourceEncoding>
<minimumTokens>100</minimumTokens>
</configuration>
</plugin>
<!-- RELEASE DOCUMENTATION -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>changes-maven-plugin</artifactId>
</plugin>
<!-- TODO LIST -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>taglist-maven-plugin</artifactId>
</plugin>
</plugins>
</reporting>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh-external</artifactId>
<version>1.0-beta-1</version>
</extension>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh</artifactId>
<version>1.0-beta-1</version>
</extension>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-provider-api</artifactId>
<version>1.0-beta-1</version>
</extension>
</extensions>
</build>
<repositories>
<repository>
<id>andromda</id>
<name>AndroMDA Repository</name>
<url>http://team.andromda.org/maven2</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>andromda</id>
<name>AndroMDA Repository</name>
<url>http://team.andromda.org/maven2</url>
</pluginRepository>
</pluginRepositories>
<!-- repositories>
<repository>
<id>mvnrepository-com</id>
<name>MVN Repository</name>
<url>http://mvnrepository.com/artifact/</url>
</repository>
</repositories-->
</project>
>I'm not positive, but it is probably something like what I've got for
>wagon-ftp in one of my projects:
>
><project>
> ...
> <extensions>
> <extension>
> <groupId>org.apache.maven.wagon</groupId>
> <artifactId>wagon-ftp</artifactId>
> <version>1.0-beta-1</version>
> </extension>
> </extensions>
> ...
></project>
>
>Paul
>
>
>Francois Le Fevre wrote:
>
>
>>Paul,
>>
>>i have made a false copy and paste : the post was
>>
>>http://jira.codehaus.org/browse/WAGONSSH-44
>>
>>
>>a more precise question: where can I overwrite the version of
>>wagon-ssh-external or wagin-ssh ?
>>in which pom ? in which parapgraph.
>>
>>Thanks a lot.
>>
>>Francois
>>
>>
>>
>>>Dear Paul,
>>>You are right but I could find the solution.
>>>I have founded this post :
>>>
>>>http://jira.codehaus.org/browse/MASSEMBLY-153
>>>
>>>"Upgrading wagon to version 1.0-beta-1 seems to have solved this issue
>>>for us. Just replace the wagon*.jar files in the maven/lib directory
>>>with the newer versions."
>>>
>>>But it doesn't change anything!
>>>
>>>Can you tell me where to configure in my pom which version of wagon to
>>>use ??
>>>
>>>Thanks
>>>
>>>Francois
>>>
>>>
>>>
>>>>Hi Francois,
>>>>
>>>>I'm not sure about the password prompt, but the file permissions problem
>>>>looks like another case of this:
>>>>
>>>>http://jira.codehaus.org/browse/MASSEMBLY-153
>>>>
>>>>Paul
>>>>
>>>>
>>>>Francois Le Fevre wrote:
>>>>
>>>>
>>>>
>>>>
>>>>>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
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>--
>>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
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>>
>>
>>
>
>
>
--
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
Re: site-deploy
Posted by pjungwir <ma...@9stmaryrd.com>.
I'm not positive, but it is probably something like what I've got for
wagon-ftp in one of my projects:
<project>
...
<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ftp</artifactId>
<version>1.0-beta-1</version>
</extension>
</extensions>
...
</project>
Paul
Francois Le Fevre wrote:
>
> Paul,
>
> i have made a false copy and paste : the post was
>
> http://jira.codehaus.org/browse/WAGONSSH-44
>
>
> a more precise question: where can I overwrite the version of
> wagon-ssh-external or wagin-ssh ?
> in which pom ? in which parapgraph.
>
> Thanks a lot.
>
> Francois
>
>> Dear Paul,
>> You are right but I could find the solution.
>> I have founded this post :
>>
>> http://jira.codehaus.org/browse/MASSEMBLY-153
>>
>> "Upgrading wagon to version 1.0-beta-1 seems to have solved this issue
>> for us. Just replace the wagon*.jar files in the maven/lib directory
>> with the newer versions."
>>
>> But it doesn't change anything!
>>
>> Can you tell me where to configure in my pom which version of wagon to
>> use ??
>>
>> Thanks
>>
>> Francois
>>
>>> Hi Francois,
>>>
>>> I'm not sure about the password prompt, but the file permissions problem
>>> looks like another case of this:
>>>
>>> http://jira.codehaus.org/browse/MASSEMBLY-153
>>>
>>> Paul
>>>
>>>
>>> Francois Le Fevre wrote:
>>>
>>>
>>>> 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
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>
>>
>>
>
>
> --
> 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
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/site-deploy-tf2642252s177.html#a7405500
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: site-deploy
Posted by Francois Le Fevre <fl...@genoscope.cns.fr>.
Paul,
i have made a false copy and paste : the post was
http://jira.codehaus.org/browse/WAGONSSH-44
a more precise question: where can I overwrite the version of
wagon-ssh-external or wagin-ssh ?
in which pom ? in which parapgraph.
Thanks a lot.
Francois
> Dear Paul,
> You are right but I could find the solution.
> I have founded this post :
>
> http://jira.codehaus.org/browse/MASSEMBLY-153
>
> "Upgrading wagon to version 1.0-beta-1 seems to have solved this issue
> for us. Just replace the wagon*.jar files in the maven/lib directory
> with the newer versions."
>
> But it doesn't change anything!
>
> Can you tell me where to configure in my pom which version of wagon to
> use ??
>
> Thanks
>
> Francois
>
>> Hi Francois,
>>
>> I'm not sure about the password prompt, but the file permissions problem
>> looks like another case of this:
>>
>> http://jira.codehaus.org/browse/MASSEMBLY-153
>>
>> Paul
>>
>>
>> Francois Le Fevre wrote:
>>
>>
>>> 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
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>
>
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: site-deploy
Posted by Francois Le Fevre <fl...@genoscope.cns.fr>.
Dear Paul,
You are right but I could find the solution.
I have founded this post :
http://jira.codehaus.org/browse/MASSEMBLY-153
"Upgrading wagon to version 1.0-beta-1 seems to have solved this issue
for us. Just replace the wagon*.jar files in the maven/lib directory
with the newer versions."
But it doesn't change anything!
Can you tell me where to configure in my pom which version of wagon to
use ??
Thanks
Francois
>Hi Francois,
>
>I'm not sure about the password prompt, but the file permissions problem
>looks like another case of this:
>
>http://jira.codehaus.org/browse/MASSEMBLY-153
>
>Paul
>
>
>Francois Le Fevre wrote:
>
>
>>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
>>
>>
>>
>>
>>
>
>
>
--
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
Re: site-deploy
Posted by pjungwir <ma...@9stmaryrd.com>.
Hi Francois,
I'm not sure about the password prompt, but the file permissions problem
looks like another case of this:
http://jira.codehaus.org/browse/MASSEMBLY-153
Paul
Francois Le Fevre wrote:
>
> 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
>
>
>
--
View this message in context: http://www.nabble.com/site-deploy-tf2642252s177.html#a7380192
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org