[ http://jira.codehaus.org/browse/MNG-1990?page=comments#action_62347 ]
Trustin Lee commented on MNG-1990: ---------------------------------- My scenario: $ svn co http://svn.apache.org/repos/asf/directory/trunks directory $ cd directory $ mvn -N deploy # this will deploy the root POM only Here's the data Brett requested to me: $ mvn -N help:effective-settings help:effective-pom [INFO] [help:effective-settings] [INFO] Effective settings: <?xml version="1.0" encoding="UTF-8"?><settings> <localRepository>C:\Documents and Settings\trustin\.m2\repository</localRepository> <servers> <server> <username>trustin</username> <privateKey>D:\.ssh\id_rsa</privateKey> <filePermissions>664</filePermissions> <directoryPermissions>775</directoryPermissions> <id>apache.snapshots</id> </server> <server> <username>trustin</username> <privateKey>D:\.ssh\id_rsa</privateKey> <filePermissions>664</filePermissions> <directoryPermissions>775</directoryPermissions> <id>apache.websites</id> </server> <server> <username>neo</username> <privateKey>D:\.ssh\id_rsa</privateKey> <filePermissions>664</filePermissions> <directoryPermissions>775</directoryPermissions> <id>1noon.snapshots</id> </server> <server> <username>neo</username> <privateKey>D:\.ssh\id_rsa</privateKey> <filePermissions>664</filePermissions> <directoryPermissions>775</directoryPermissions> <id>1noon.websites</id> </server> </servers> </settings> [INFO] ---------------------------------------------------------------------------- [INFO] Building Apache Directory Build [INFO] task-segment: [help:effective-pom] (aggregator-style) [INFO] ---------------------------------------------------------------------------- [INFO] [help:effective-pom] [INFO] ************************************************************************************ Effective POM for project 'org.apache.directory:build:pom:1.0.3-SNAPSHOT' ************************************************************************************ <?xml version="1.0" encoding="ISO-8859-1"?><project> <modelVersion>4.0.0</modelVersion> <groupId>org.apache.directory</groupId> <artifactId>build</artifactId> <packaging>pom</packaging> <name>Apache Directory Build</name> <version>1.0.3-SNAPSHOT</version> <inceptionYear>2004</inceptionYear> <licenses> <license> <name>Apache Software License 2.0</name> <url>http://directory.apache.org/license.html</url> </license> </licenses> <build> <sourceDirectory>w:\directory\trunks\src\main\java</sourceDirectory> <scriptSourceDirectory>src/main/scripts</scriptSourceDirectory> <testSourceDirectory>w:\directory\trunks\src\test\java</testSourceDirectory> <outputDirectory>w:\directory\trunks\target\classes</outputDirectory> <testOutputDirectory>w:\directory\trunks\target\test-classes</testOutputDirectory> <resources> <resource> <directory>w:\directory\trunks\src\main\resources</directory> </resource> </resources> <testResources> <testResource> <directory>w:\directory\trunks\src\test\resources</directory> </testResource> </testResources> <directory>w:\directory\trunks\target</directory> <finalName>build-1.0.3-SNAPSHOT</finalName> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>2.0.1-20060328.105412-2</version> <configuration> <source>1.4</source> <target>1.4</target> </configuration> </plugin> <plugin> <artifactId>maven-help-plugin</artifactId> <version>2.0</version> </plugin> </plugins> </build> <modules> <module>mina</module> <module>apacheds</module> <module>shared</module> <module>daemon</module> </modules> <repositories> <repository> <id>apache.snapshots</id> <name>Apache Snapshot Repository</name> <url>http://cvs.apache.org/maven-snapshot-repository</url> </repository> <repository> <id>safehaus</id> <name>Alternate Repository for Missing Ibiblio Artifacts</name> <url>http://m2.safehaus.org</url> </repository> <repository> <snapshots> <enabled>false</enabled> </snapshots> <id>central</id> <name>Maven Repository Switchboard</name> <url>http://repo1.maven.org/maven2</url> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>snapshots</id> <name>snapshot plugins</name> <url>http://snapshots.maven.codehaus.org/maven2</url> </pluginRepository> <pluginRepository> <id>apache.snapshots</id> <name>Apache Snapshot Plugins</name> <url>http://cvs.apache.org/maven-snapshot-repository</url> </pluginRepository> <pluginRepository> <releases> <updatePolicy>never</updatePolicy> </releases> <snapshots> <enabled>false</enabled> </snapshots> <id>central</id> <name>Maven Plugin Repository</name> <url>http://repo1.maven.org/maven2</url> </pluginRepository> </pluginRepositories> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> <scope>test</scope> </dependency> </dependencies> <reporting> <outputDirectory>target/site</outputDirectory> </reporting> <distributionManagement> <repository> <id>apache.snapshots</id> <name>ASF Mirrored M2 Distributions</name> <url>scp://minotaur.apache.org/www/www.apache.org/dist/maven-repository</url> </repository> <snapshotRepository> <id>apache.snapshots</id> <url>scp://cvs.apache.org/www/cvs.apache.org/maven-snapshot-repository</url> </snapshotRepository> </distributionManagement> </project> ************************************************************************************ $ mvn --version Maven version: 2.0.3 > directoryPermissions is not repected when I deploy a POM > -------------------------------------------------------- > > Key: MNG-1990 > URL: http://jira.codehaus.org/browse/MNG-1990 > Project: Maven 2 > Type: Bug > Environment: Debian Linux unstable, Sun JDK 1.5.0_06 > Reporter: Trustin Lee > Assignee: Brett Porter > Fix For: 2.0.4 > > > It seems like 'directoryPermissions' doesn't work at all though > 'filePermissions' do. I tried both scp and scpexe. Nothing worked. I also > changed my umask to 002, but it didn't help at all. > If you have committership in the Apache Directory Project (Brett? :), then > you can try it by yourself: > -------- > svn co https://svn.apache.org/repos/asf/directory/trunks/ directory > cd directory > mvn --non-recursive deploy > -------- > This is my ~/.m2/settings.xml > -------- > <?xml version="1.0" encoding="UTF-8"?> > <settings> > <servers> > <server> > <id>apache.snapshots</id> > <username>trustin</username> > <privateKey>/home/trustin/.ssh/id_rsa</privateKey> > <directoryPermissions>0775</directoryPermissions> > <filePermissions>0664</filePermissions> > </server> > </servers> > </settings> > -------- -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
