You should use a repo manager and deploy over http, then  you'll be on
the well-worn path.

On Mon, Jul 26, 2010 at 11:11 AM, Refr Bruhl <refr_br...@yahoo.com> wrote:
>
> Team
>
> I can get maven to scp files to a remote repository.
>
> However when I config the server entry in the settings file it seems like the
> directory and file perms are ignored leading me to suspect the server 
> directives
> are ignored that or I am not sure I understand how the server directive works 
> in
> distribution Management.
>
> Directories should be created with a perm of 2775 and files with perms of 
> 0664.
> The umask is set to 002 on the account for the remote host. Directories are
> being created with a 755 perm and files are 644. Its almost like maven is
> overriding the users umask.
>
> Another set of eyes is appreciated here... Thanks!
>
>
>
>
> My settings file contains:
>
>
>    <servers>
>          <server>
>              <id>ragga-release</id>
>              <privateKey>${user.home}/.ssh/id_rsa</privateKey>
>              <directoryPermissions>2775</directoryPermissions>
>              <filePermissions>664</filePermissions>
>          </server>
>          <server>
>              <id>ragga-snapshot</id>
>              <privateKey>${user.home}/.ssh/id_rsa</privateKey>
>              <directoryPermissions>2775</directoryPermissions>
>              <filePermissions>664</filePermissions>
>          </server>
>      </servers>
>
>
>
>    <profiles>
>         <profile>
>             <id>devConfig</id>
>             <properties>
>               <!--  Base unc path -->
>                <uncPath>file:////ragga/reftr/development</uncPath>
>                <flePath>file///u/refr/development</flePath>
>                <scpPath>scp://r...@ragga:/maven</scpPath>
>
>                 <!-- Ragga Repositories -->
>
> <ragga.distributionManagement.site.hostpath>${scpPath}/repositories/site
>                    </ragga.distributionManagement.site.hostpath>
>
> <ragga.repository.url>${scpPath}/repositories/m2repository</ragga.repository.url>
>
>
> <ragga.snapshotRepository.url>${scpPath}/repositories/m2snapshotrepository</ragga.snapshotRepository.url>
>
>
> <ragga.distributionManagement.repository.url>${scpPath}/repositories/dmrepository</ragga.distributionManagement.repository.url>
>
>
> <ragga.distributionManagement.snapshotRepository.url>${scpPath}/repositories/dmsnapshotrepository</ragga.distributionManagement.snapshotRepository.url>
>
>
> <ragga.distributionManagement.repository.uniqueVersion>true</ragga.distributionManagement.repository.uniqueVersion>
>
>
> <ragga.distributionManagement.snapshotRepository.uniqueVersion>false</ragga.distributionManagement.snapshotRepository.uniqueVersion>
>
>
>
>              </properties>
>
>
>        </profile>
>    </profiles>
>    <activeProfiles>
>        <activeProfile>devConfig</activeProfile>
>    </activeProfiles>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> My pom file contains
>
>        <repositories>
>        <repository>
>            <id>ragga-release</id>
>            <name>Raga Repository</name>
>            <url>${ragga.repository.url}</url>
>            <snapshots>
>                <enabled>false</enabled>
>            </snapshots>
>        </repository>
>        <repository>
>            <id>ragga-snapshot</id>
>            <name>Ragga Snapshot Repository</name>
>            <url>${ragga.snapshotRepository.url}</url>
>            <releases>
>                <enabled>false</enabled>
>            </releases>
>        </repository>
>    </repositories>
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to