summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/distribution
diff options
context:
space:
mode:
authorlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2010-05-26 04:55:12 +0000
committerlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2010-05-26 04:55:12 +0000
commit7752fd6ecdab2516a83fa36ca62be45283a759c6 (patch)
tree63a362d5166939dc88910bc4caa1785a6d8ec07d /sca-java-2.x/trunk/distribution
parent9b894a53ec477609a735f78f86794e45807c2814 (diff)
TUSCANY-3570 - Tweaking assemblies to set proper permissions to files and folders
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@948319 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/distribution')
-rw-r--r--sca-java-2.x/trunk/distribution/all/pom.xml4
-rw-r--r--sca-java-2.x/trunk/distribution/all/src/main/assembly/src.xml2
-rw-r--r--sca-java-2.x/trunk/distribution/all/src/main/components/bin-common.xml4
-rw-r--r--sca-java-2.x/trunk/distribution/all/src/main/components/bin-launcher.xml3
-rw-r--r--sca-java-2.x/trunk/distribution/all/src/main/components/bin-lib.xml5
-rw-r--r--sca-java-2.x/trunk/distribution/all/src/main/components/bin-modules.xml4
-rw-r--r--sca-java-2.x/trunk/distribution/all/src/main/components/bin-samples.xml2
-rw-r--r--sca-java-2.x/trunk/distribution/all/src/main/components/bin-tracing.xml8
8 files changed, 22 insertions, 10 deletions
diff --git a/sca-java-2.x/trunk/distribution/all/pom.xml b/sca-java-2.x/trunk/distribution/all/pom.xml
index cd8208ca9e..1474f3b84e 100644
--- a/sca-java-2.x/trunk/distribution/all/pom.xml
+++ b/sca-java-2.x/trunk/distribution/all/pom.xml
@@ -101,7 +101,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
- <version>2.2-beta-2</version>
+ <version>2.2-beta-3</version>
<executions>
<execution>
<id>distribution-package</id>
@@ -136,7 +136,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
- <version>2.2-beta-2</version>
+ <version>2.2-beta-3</version>
<executions>
<execution>
<id>distribution-package</id>
diff --git a/sca-java-2.x/trunk/distribution/all/src/main/assembly/src.xml b/sca-java-2.x/trunk/distribution/all/src/main/assembly/src.xml
index 0bb6503560..9155099d79 100644
--- a/sca-java-2.x/trunk/distribution/all/src/main/assembly/src.xml
+++ b/sca-java-2.x/trunk/distribution/all/src/main/assembly/src.xml
@@ -39,7 +39,7 @@
<exclude>**/target/**/*</exclude>
<exclude>**/maven-eclipse.xml</exclude>
</excludes>
+ <fileMode>0755</fileMode>
</fileSet>
</fileSets>
-
</assembly>
diff --git a/sca-java-2.x/trunk/distribution/all/src/main/components/bin-common.xml b/sca-java-2.x/trunk/distribution/all/src/main/components/bin-common.xml
index b5b7111096..cd9b1021ef 100644
--- a/sca-java-2.x/trunk/distribution/all/src/main/components/bin-common.xml
+++ b/sca-java-2.x/trunk/distribution/all/src/main/components/bin-common.xml
@@ -28,6 +28,8 @@
<include>README</include>
<include>RELEASE_NOTES</include>
</includes>
+ <directoryMode>0755</directoryMode>
+ <fileMode>0666</fileMode>
</fileSet>
<fileSet>
<directory>src/main/release/bin</directory>
@@ -37,6 +39,8 @@
<include>LICENSE</include>
<include>NOTICE</include>
</includes>
+ <directoryMode>0755</directoryMode>
+ <fileMode>0666</fileMode>
</fileSet>
</fileSets>
diff --git a/sca-java-2.x/trunk/distribution/all/src/main/components/bin-launcher.xml b/sca-java-2.x/trunk/distribution/all/src/main/components/bin-launcher.xml
index 018e041d38..8ece8537d4 100644
--- a/sca-java-2.x/trunk/distribution/all/src/main/components/bin-launcher.xml
+++ b/sca-java-2.x/trunk/distribution/all/src/main/components/bin-launcher.xml
@@ -34,8 +34,9 @@
<include>org.apache.tuscany.sca:tuscany-launcher</include>
</includes>
<outputFileNameMapping>launcher.jar</outputFileNameMapping>
+ <directoryMode>0755</directoryMode>
+ <fileMode>0666</fileMode>
</dependencySet>
-
</dependencySets>
</component>
diff --git a/sca-java-2.x/trunk/distribution/all/src/main/components/bin-lib.xml b/sca-java-2.x/trunk/distribution/all/src/main/components/bin-lib.xml
index bc142101b4..36dfcc4708 100644
--- a/sca-java-2.x/trunk/distribution/all/src/main/components/bin-lib.xml
+++ b/sca-java-2.x/trunk/distribution/all/src/main/components/bin-lib.xml
@@ -31,6 +31,8 @@
<include>wsdl4j:wsdl4j</include>
<include>org.apache.tuscany.sca:tuscany-sca-api</include>
</includes>
+ <directoryMode>0755</directoryMode>
+ <fileMode>0666</fileMode>
</dependencySet>
<dependencySet>
@@ -41,8 +43,9 @@
<include>org.apache.tuscany.sca.shades:tuscany-spring</include>
<include>org.springframework:*</include>
</includes>
+ <directoryMode>0755</directoryMode>
+ <fileMode>0666</fileMode>
</dependencySet>
-
</dependencySets>
</component>
diff --git a/sca-java-2.x/trunk/distribution/all/src/main/components/bin-modules.xml b/sca-java-2.x/trunk/distribution/all/src/main/components/bin-modules.xml
index 7105a89a70..0ae69b50ea 100644
--- a/sca-java-2.x/trunk/distribution/all/src/main/components/bin-modules.xml
+++ b/sca-java-2.x/trunk/distribution/all/src/main/components/bin-modules.xml
@@ -30,8 +30,8 @@
<exclude>org.aspectj:aspectjweaver</exclude>
<exclude>org.apache.tuscany.sca.shades:*</exclude>
</excludes>
+ <directoryMode>0755</directoryMode>
+ <fileMode>0666</fileMode>
</fileSet>
-
</fileSets>
-
</component>
diff --git a/sca-java-2.x/trunk/distribution/all/src/main/components/bin-samples.xml b/sca-java-2.x/trunk/distribution/all/src/main/components/bin-samples.xml
index 5093d6e512..d68950716f 100644
--- a/sca-java-2.x/trunk/distribution/all/src/main/components/bin-samples.xml
+++ b/sca-java-2.x/trunk/distribution/all/src/main/components/bin-samples.xml
@@ -82,6 +82,8 @@
<exclude>webapps/helloworld/target/**/*</exclude>
<exclude>webapps/*/target/**/*</exclude>
</excludes>
+ <directoryMode>0755</directoryMode>
+ <fileMode>0644</fileMode>
</fileSet>
</fileSets>
</component>
diff --git a/sca-java-2.x/trunk/distribution/all/src/main/components/bin-tracing.xml b/sca-java-2.x/trunk/distribution/all/src/main/components/bin-tracing.xml
index 0f272dda24..3440113183 100644
--- a/sca-java-2.x/trunk/distribution/all/src/main/components/bin-tracing.xml
+++ b/sca-java-2.x/trunk/distribution/all/src/main/components/bin-tracing.xml
@@ -21,8 +21,9 @@
<fileSet>
<directory>src/main/release/tracing</directory>
<outputDirectory>bin</outputDirectory>
- <includes>
- </includes>
+ <includes/>
+ <directoryMode>0755</directoryMode>
+ <fileMode>0666</fileMode>
</fileSet>
</fileSets>
@@ -34,8 +35,9 @@
<include>org.aspectj:aspectjweaver</include>
</includes>
<outputFileNameMapping>aspectjweaver.jar</outputFileNameMapping>
+ <directoryMode>0755</directoryMode>
+ <fileMode>0666</fileMode>
</dependencySet>
-
</dependencySets>
</component>