maven-m2-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Casey <jdca...@commonjava.org>
Subject Re: user profile and deploy plugin
Date Thu, 10 Mar 2005 23:03:42 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

More precisely, the user.xml file will look like:

<userModel>
  .
  .
  .
  <serverProfiles>
    <serverProfile>
      <id>repo1</id>
      <username>maven</username>
      <password>somePasswordForUser</password>
      <privateKey>/path/to/private/key/file</privateKey>
      <passphrase>somePassphraseForPrivateKey</passphrase>
    </serverProfile>
  </serverProfiles>
  .
  .
  .
</userModel>

Hope that helps.

- -john

Brett Porter wrote:
> in pom:
> 
> <distributionManagement>
>  <repository>
>    <id>repo1</id>
>   
> <url>scp://repo1.maven.org/home/projects/maven/repository/ibiblio-v2/</url>
>  </repository>
> </distributionManagement>
> 
> in user.xml:
> 
> <serverProfile>
>  <id>repo1</id>
>  <username>maven</username>
>  ... private key, password, passphrase ...
> </serverProfile>
> 
> Emmanuel Venisse wrote:
> 
>> Hi,
>>
>> How to define repo information in relation with distributionManagement
>> for
>> use the deploy plugin?
>> Thanks.
>>
>> Emmanuel
>>
>>
>>  
>>
> 
> 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFCMNJOK3h2CZwO/4URAjRTAJ9H2yHERmy1N0+gEM8W+pPW0d6/TQCfaJxi
7AlY+UKr66FSxsVHhMl9ous=
=CO5c
-----END PGP SIGNATURE-----

Mime
View raw message