]> source.dussan.org Git - sonarqube.git/commitdiff
Replace -Ddev by -Pdev to increase build duration
authorsimonbrandhof <simon.brandhof@gmail.com>
Thu, 5 May 2011 20:30:48 +0000 (22:30 +0200)
committersimonbrandhof <simon.brandhof@gmail.com>
Thu, 5 May 2011 20:30:59 +0000 (22:30 +0200)
plugins/sonar-core-gwt/pom.xml
plugins/sonar-design-plugin/pom.xml
pom.xml
quick-build.bat
quick-build.sh

index 09ea1321343a2818932819ffb684e62b3a88a832..a55e9b7150dc440c0ffc31c3601b34c6754fe1c8 100644 (file)
       </plugin>
     </plugins>
   </build>
-
-  <profiles>
-    <profile>
-      <id>dev</id>
-      <activation>
-        <property>
-          <name>dev</name>
-        </property>
-      </activation>
-      <properties>
-        <gwt.permutationSuffix>Dev</gwt.permutationSuffix>
-        <gwt.extraJvmArgs>-Xmx512m -Xss1024k -Dgwt.draftCompile=true</gwt.extraJvmArgs>
-      </properties>
-    </profile>
-  </profiles>
 </project>
\ No newline at end of file
index 3ee5968619b444d65f45cf3d706d8207fcbd2196..949f76180b70e9629151720683baee16978db5c7 100644 (file)
@@ -67,7 +67,7 @@
         </configuration>
       </plugin>
 
-            <plugin>
+      <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>gwt-maven-plugin</artifactId>
         <executions>
       </plugin>
     </plugins>
   </build>
-  
-  <profiles>
-    <profile>
-      <id>dev</id>
-      <activation>
-        <property>
-          <name>dev</name>
-        </property>
-      </activation>
-      <properties>
-        <gwt.permutationSuffix>Dev</gwt.permutationSuffix>
-        <gwt.extraJvmArgs>-Xmx512m -Xss1024k -Dgwt.draftCompile=true</gwt.extraJvmArgs>
-      </properties>
-    </profile>
-  </profiles>
 </project>
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 7b9dc56d4660ce5035b0ca3bdb59baf559e3be20..2e1b798433e7bc3b2f69b9f07e62c3df30fb7d0a 100644 (file)
--- a/pom.xml
+++ b/pom.xml
     
     <profile>
       <id>dev</id>
-      <activation>
-        <property>
-          <name>dev</name>
-        </property>
-      </activation>
+      <properties>
+           <!-- used in sonar-core-gwt and sonar-design-plugin -->
+        <gwt.permutationSuffix>Dev</gwt.permutationSuffix>
+        <gwt.extraJvmArgs>-Xmx512m -Xss1024k -Dgwt.draftCompile=true</gwt.extraJvmArgs>
+      </properties>
     </profile>
 
     <profile>
index d83b5db50311a988bf91afcc0f6102b93e152145..8330a14032b4539d7192f7db958332ab755a7c52 100644 (file)
@@ -1,2 +1,2 @@
 set MAVEN_OPTS=-Xmx768m -XX:MaxPermSize=256m
-mvn clean install -Dtest=false -DfailIfNoTests=false -Ddev
+mvn clean install -Dtest=false -DfailIfNoTests=false -Pdev
index f0755770766cae4c028215da3b2ea3ec2a2915b6..691586994069e7fcbc81b06842f414b0a764446b 100755 (executable)
@@ -9,4 +9,4 @@ echo ''
 echo '-------------------------------------------------'
 
 # it is recommended to use maven 3 for faster builds
-mvn clean install -Dtest=false -DfailIfNoTests=false -Ddev
+mvn clean install -Dtest=false -DfailIfNoTests=false -Pdev