Author: manolo
Date: Fri May 4 09:15:12 2012
New Revision: 1333819
URL: http://svn.apache.org/viewvc?rev=1333819&view=rev
Log:
Do not deliver hupa with demo stuff by default, use -Pdemo to include it
Modified:
james/hupa/trunk/client/pom.xml
james/hupa/trunk/pom.xml
Modified: james/hupa/trunk/client/pom.xml
URL:
http://svn.apache.org/viewvc/james/hupa/trunk/client/pom.xml?rev=1333819&r1=1333818&r2=1333819&view=diff
==============================================================================
--- james/hupa/trunk/client/pom.xml (original)
+++ james/hupa/trunk/client/pom.xml Fri May 4 09:15:12 2012
@@ -39,6 +39,10 @@
</dependency>
<dependency>
<groupId>org.apache.hupa</groupId>
+ <artifactId>hupa-mock</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.hupa</groupId>
<artifactId>hupa-shared</artifactId>
</dependency>
<dependency>
@@ -300,19 +304,4 @@
</plugin>
</plugins>
</build>
- <profiles>
- <profile>
- <id>prod</id>
- <properties>
- <gwt.moduleSuffix>Prod</gwt.moduleSuffix>
- <gwt.disableClassMetadata>true</gwt.disableClassMetadata>
- <gwt.disableCastChecking>true</gwt.disableCastChecking>
- <gwt.logLevel>TRACE</gwt.logLevel>
- </properties>
- </profile>
- </profiles>
- <properties>
- <gwt.moduleSuffix></gwt.moduleSuffix>
- <gwt.logLevel>ERROR</gwt.logLevel>
- </properties>
</project>
Modified: james/hupa/trunk/pom.xml
URL:
http://svn.apache.org/viewvc/james/hupa/trunk/pom.xml?rev=1333819&r1=1333818&r2=1333819&view=diff
==============================================================================
--- james/hupa/trunk/pom.xml (original)
+++ james/hupa/trunk/pom.xml Fri May 4 09:15:12 2012
@@ -61,14 +61,39 @@
<properties>
<gwtVersion>2.4.0</gwtVersion>
<gwtMavenVersion>2.4.0</gwtMavenVersion>
+ <gwt.moduleSuffix></gwt.moduleSuffix>
+ <gwt.logLevel>ERROR</gwt.logLevel>
<jettyVersion>7.3.0.v20110203</jettyVersion>
+ <mock.scope>test</mock.scope>
</properties>
+
+ <profiles>
+ <profile>
+ <!-- Agressive js compression. Compile for all browsers and languages
-->
+ <id>prod</id>
+ <properties>
+ <gwt.moduleSuffix>Prod</gwt.moduleSuffix>
+ <gwt.disableClassMetadata>true</gwt.disableClassMetadata>
+ <gwt.disableCastChecking>true</gwt.disableCastChecking>
+ <gwt.logLevel>TRACE</gwt.logLevel>
+ </properties>
+ </profile>
+ <profile>
+ <!-- Deliver Hupa with Demo stuff -->
+ <id>demo</id>
+ <properties>
+ <mock.scope></mock.scope>
+ </properties>
+ </profile>
+ </profiles>
+
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.apache.hupa</groupId>
<artifactId>hupa-mock</artifactId>
<version>${project.version}</version>
+ <scope>${mock.scope}</scope>
</dependency>
<dependency>
<groupId>org.apache.hupa</groupId>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]