summaryrefslogtreecommitdiffstats
path: root/java/sca
diff options
context:
space:
mode:
Diffstat (limited to 'java/sca')
-rw-r--r--java/sca/distribution/all/pom.xml29
1 files changed, 28 insertions, 1 deletions
diff --git a/java/sca/distribution/all/pom.xml b/java/sca/distribution/all/pom.xml
index df534380b7..94b43982f9 100644
--- a/java/sca/distribution/all/pom.xml
+++ b/java/sca/distribution/all/pom.xml
@@ -28,7 +28,7 @@
<artifactId>tuscany-distribution-all</artifactId>
<name>Apache Tuscany SCA All-in-one Distribution</name>
- <packaging>pom</packaging>
+ <packaging>jar</packaging>
<dependencies>
@@ -145,6 +145,33 @@
</build>
<profiles>
+
+ <!-- Build profile that can be used to build and eclipse project to make -->
+ <!-- it easy to import the pde target into the workspace -->
+ <profile>
+ <id>eclipse</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-maven-bundle-plugin</artifactId>
+ <version>2.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <executions>
+ <execution>
+ <id>generate-pde</id>
+ <phase>generate-resources</phase>
+ <goals>
+ <goal>eclipse</goal>
+ </goals>
+ <configuration>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
<!-- Build profile that can be used to build the distro packages -->
<profile>