summaryrefslogtreecommitdiffstats
path: root/java/sca/distribution
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-01-29 19:04:37 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-01-29 19:04:37 +0000
commit14d5471f17989e8f8051d45b124fe1d9c5cfd26f (patch)
tree0b190cdd33e9f2c41ca7c462ddcc1bd67266d89d /java/sca/distribution
parentae99f459b6482920ddcb6e8aa678a4ab0e86da9e (diff)
Push the archive assembly into distribution profile
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@738965 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/distribution')
-rw-r--r--java/sca/distribution/all/pom.xml44
1 files changed, 24 insertions, 20 deletions
diff --git a/java/sca/distribution/all/pom.xml b/java/sca/distribution/all/pom.xml
index e66896e570..b7284ea5fb 100644
--- a/java/sca/distribution/all/pom.xml
+++ b/java/sca/distribution/all/pom.xml
@@ -121,36 +121,40 @@
</dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-maven-bundle-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>distribution-modules</id>
+ <phase>generate-resources</phase>
+ <goals>
+ <goal>generate-modules</goal>
+ </goals>
+ <configuration>
+ <targetDirectory>target/modules</targetDirectory>
+ <useDistributionName>false</useDistributionName>
+ <generateManifestJar>true</generateManifestJar>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
<profiles>
<!-- Build profile that can be used to build the distro packages -->
<profile>
<id>distribution</id>
<activation>
- <activeByDefault>true</activeByDefault>
+ <activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-maven-bundle-plugin</artifactId>
- <executions>
- <execution>
- <id>distribution-modules</id>
- <phase>generate-resources</phase>
- <goals>
- <goal>generate-modules</goal>
- </goals>
- <configuration>
- <targetDirectory>target/modules</targetDirectory>
- <useDistributionName>false</useDistributionName>
- <generateManifestJar>true</generateManifestJar>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>