You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ch...@apache.org on 2010/07/07 05:53:03 UTC

svn commit: r961097 - /activemq/sandbox/activemq-apollo-actor/activemq-web/pom.xml

Author: chirino
Date: Wed Jul  7 03:53:02 2010
New Revision: 961097

URL: http://svn.apache.org/viewvc?rev=961097&view=rev
Log:
better dev vs production build settings.

Modified:
    activemq/sandbox/activemq-apollo-actor/activemq-web/pom.xml

Modified: activemq/sandbox/activemq-apollo-actor/activemq-web/pom.xml
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-apollo-actor/activemq-web/pom.xml?rev=961097&r1=961096&r2=961097&view=diff
==============================================================================
--- activemq/sandbox/activemq-apollo-actor/activemq-web/pom.xml (original)
+++ activemq/sandbox/activemq-apollo-actor/activemq-web/pom.xml Wed Jul  7 03:53:02 2010
@@ -39,12 +39,6 @@
     <!-- Web Framework APIs -->
     <dependency>
       <groupId>org.fusesource.scalate</groupId>
-      <artifactId>scalate-war</artifactId>
-      <version>${scalate-version}</version>
-      <type>war</type>
-    </dependency>
-    <dependency>
-      <groupId>org.fusesource.scalate</groupId>
       <artifactId>scalate-guice</artifactId>
       <version>${scalate-version}</version>
     </dependency>
@@ -140,8 +134,25 @@
   </build>
   
   <profiles>
+
+    <profile>
+      <id>dev</id>
+      <activation>
+        <activeByDefault>true</activeByDefault>
+      </activation>
+      <dependencies>
+        <!-- include the scalate overlay during development =-->
+        <dependency>
+          <groupId>org.fusesource.scalate</groupId>
+          <artifactId>scalate-war</artifactId>
+          <version>${scalate-version}</version>
+          <type>war</type>
+        </dependency>
+      </dependencies>
+    </profile>
+
     <profile>
-      <id>precompile</id>
+      <id>release</id>
       <build>
         <plugins>
           <plugin>