You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2010/05/01 01:45:11 UTC

svn commit: r939878 - /myfaces/core/trunk/impl/pom.xml

Author: lu4242
Date: Fri Apr 30 23:45:11 2010
New Revision: 939878

URL: http://svn.apache.org/viewvc?rev=939878&view=rev
Log:
add -Ddev=eclipse profile to prevent add implee6 sources on mvn eclipse:eclipse

Modified:
    myfaces/core/trunk/impl/pom.xml

Modified: myfaces/core/trunk/impl/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/impl/pom.xml?rev=939878&r1=939877&r2=939878&view=diff
==============================================================================
--- myfaces/core/trunk/impl/pom.xml (original)
+++ myfaces/core/trunk/impl/pom.xml Fri Apr 30 23:45:11 2010
@@ -516,6 +516,39 @@
         </build>
     </profile>
     <profile>
+        <!-- USAGE: mvn eclipse:eclipse -Ddev=eclipse -->
+        <id>eclipse-with-unpacked-shared</id>
+        <activation>
+            <property>
+                <name>dev</name>
+                <value>eclipse</value>
+            </property>
+        </activation>
+        <build>
+          <plugins>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>build-helper-maven-plugin</artifactId>
+                <version>1.0</version>
+                <executions>
+                  <execution>
+                    <id>add-source-shared</id>
+                    <phase>process-sources</phase>
+                    <goals>
+                      <goal>add-source</goal>
+                    </goals>
+                    <configuration>
+                      <sources>
+                        <source>${project.build.directory}/shared_sources</source>
+                      </sources>
+                    </configuration>
+                  </execution>
+                </executions>
+            </plugin>
+          </plugins>
+        </build>
+    </profile>
+    <profile>
       <!--
         - Whenever the full website is generated, the command
         -   mvn -Pgenerate-site -Pgenerate-tlddoc site