summaryrefslogtreecommitdiffstats
path: root/java/sca/distribution
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2009-01-30 14:58:01 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2009-01-30 14:58:01 +0000
commitcc79a0f4730051baab7fe19efd8d608368e97a16 (patch)
tree0e51cb971b4747ceaac6e62a03f9c9b5e9b6cef6 /java/sca/distribution
parentf0adc97eeea9b406779ba0c17f3871f81ffb9c87 (diff)
Add an eclipse target to the all pom. Two issues here. 1) I have to change the pom to have a jar target to get the plugin to run. 2) the tuscany-maven-bundle-plugin has two entries in here. On for producing the target and one for producing the eclipse files. Not sure if this can be rationlaized.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@739299 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/distribution')
-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>