You are viewing a plain text version of this content. The canonical link for it is here.
Posted to m2-dev@maven.apache.org by Emmanuel Venisse <em...@venisse.net> on 2005/03/10 18:41:30 UTC

user profile and deploy plugin

Hi,

How to define repo information in relation with distributionManagement for
use the deploy plugin?
Thanks.

Emmanuel


Re: user profile and deploy plugin

Posted by John Casey <jd...@commonjava.org>.
-----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-----

Re: user profile and deploy plugin

Posted by Brett Porter <br...@apache.org>.
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
>
>
>  
>