defined a system property to remove MAVEN_OPTS from Maven builds forked inside.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34044 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2010-08-23 19:05:03 +00:00
1 parent 457315f40f
commit 21ad12ffc0
3 files changed
+10 -1

No files matched your search

+5
View File
@@ -183,6 +183,11 @@ public class Main {
*/
public static boolean isUnitTest = false;
/**
* Set to true if we are running inside "mvn hpi:run" or "mvn hudson-dev:run"
*/
public static boolean isDevelopmentMode = Boolean.getBoolean(Main.class.getName()+".development");
/**
* Time out for socket connection to Hudson.
*/