Skip to content

Commit

Permalink
Replace -Ddev by -Pdev to increase build duration
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbrandhof committed May 5, 2011
1 parent 804816f commit daafbf9
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 38 deletions.
15 changes: 0 additions & 15 deletions plugins/sonar-core-gwt/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,19 +76,4 @@
</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>
17 changes: 1 addition & 16 deletions plugins/sonar-design-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
</configuration>
</plugin>

<plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<executions>
Expand Down Expand Up @@ -112,19 +112,4 @@
</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>
10 changes: 5 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -929,11 +929,11 @@

<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>
Expand Down
2 changes: 1 addition & 1 deletion quick-build.bat
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion quick-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit daafbf9

Please sign in to comment.