You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by st...@apache.org on 2012/05/12 14:43:12 UTC

svn commit: r1337522 - /myfaces/extensions/cdi/trunk/examples/pom.xml

Author: struberg
Date: Sat May 12 12:43:12 2012
New Revision: 1337522

URL: http://svn.apache.org/viewvc?rev=1337522&view=rev
Log:
EXTCDI-286 prevent deploying of our examples

There are a few reasons to _not_ deploy examples:
* they contain jars in WEB-INF/lib which
 can cause legal issues under certain conditions
* they are not part of our core distribution

Modified:
    myfaces/extensions/cdi/trunk/examples/pom.xml

Modified: myfaces/extensions/cdi/trunk/examples/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/extensions/cdi/trunk/examples/pom.xml?rev=1337522&r1=1337521&r2=1337522&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/examples/pom.xml (original)
+++ myfaces/extensions/cdi/trunk/examples/pom.xml Sat May 12 12:43:12 2012
@@ -35,39 +35,21 @@
 
     <modules>
         <module>jsf-examples</module>
+        <module>jsf-playground</module>
     </modules>
 
-    <profiles>
-        <profile>
-            <id>playground</id>
-            <modules>
-                <module>jsf-playground</module>
-            </modules>
-        </profile>
-        
-        <!-- This profile is invoked by -DprepareRelease=true.  This allows mvn release:prepare to
-            run successfully on the assembly projects. -->
-        <profile>
-            <id>prepare-release</id>
-            <activation>
-                <property>
-                    <name>prepareRelease</name>
-                </property>
-            </activation>
-            <modules>
-                <module>assembly</module>
-            </modules>
-            <build>
-                <plugins>
-                    <plugin>
-                        <artifactId>maven-release-plugin</artifactId>
-                        <configuration>
-                            <arguments>-DprepareRelease</arguments>
-                        </configuration>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-    </profiles>
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-deploy-plugin</artifactId>
+                <configuration>
+                    <!-- we do _not_ deploy those packages! -->
+                    <skip>true</skip>
+                </configuration>
+
+            </plugin>
+        </plugins>
+    </build>
 
 </project>