So I'm getting started with Maven and I'm trying Maven 2.0.2, since it's the
future direction.

I want a repository where my team can deploy projects that we share. Our
repository will be on a Red Hat Linux machine. We each need to be able to
deploy over snapshots that may have been deployed by someone else. (I
think.)

I've set up my settings.xml file to use

  <servers> 
    <server> 
      <id>itcm-repository</id>
      <filePermissions>774</filePermissions>
      <directoryPermissions>775</directoryPermissions>
      <username>blahblah</username>
      <privateKey>/path/to/my/private/key</privateKey>
      <passphrase>my-passphrase</passphrase>
    </server> 
  </servers>       
...
  <profiles>       
    <profile>      
      <id>myprofile</id>
      <repositories>
        <repository>
          <id>itcm-repository</id>
          <name>IT Core Middleware Repository</name>
          <url>scp://mysharedhost/path/to/shared/repository</url>
        </repository>
      </repositories>
    </profile>     
  </profiles>      
  <activeProfiles> 
    <activeProfile>myprofile</activeProfile>
  </activeProfiles>

My problem is that the directories still get created with 755 and the files
with 744. The write permission is not being granted. Is this a umask thing
or is this a problem with Maven?

Is there something else I should be doing to achieve my goal of a shared
repository for my team?

BTW, I'm accessing the repository using scp and that's working fine.

--
Kathryn Huxtable
Middleware Architect
Core Middleware
Information Technology, a division of Information Services
The University of Kansas


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to