Author: slaws
Date: Fri Jan 30 14:58:01 2009
New Revision: 739299

URL: http://svn.apache.org/viewvc?rev=739299&view=rev
Log:
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. 

Modified:
    tuscany/java/sca/distribution/all/pom.xml

Modified: tuscany/java/sca/distribution/all/pom.xml
URL: 
http://svn.apache.org/viewvc/tuscany/java/sca/distribution/all/pom.xml?rev=739299&r1=739298&r2=739299&view=diff
==============================================================================
--- tuscany/java/sca/distribution/all/pom.xml (original)
+++ tuscany/java/sca/distribution/all/pom.xml Fri Jan 30 14:58:01 2009
@@ -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>


Reply via email to