diff --git a/admin/startadmin.bat b/admin/startadmin.bat index 74ec7c8b8..0ca38f515 100755 --- a/admin/startadmin.bat +++ b/admin/startadmin.bat @@ -8,8 +8,8 @@ REM # TOMCAT_MEMORY - Defaults to -Xmx1536M -XX:MaxPermSize=512M set cwd=%cd% REM # Do an install of the core jar in case anything changed since the last restart and we're not using jrebel -cd ../core -call mvn install +cd .. +call mvn -pl admin -am clean install REM # Go back to where we just were to get ready to run the Tomcat Maven plugin cd %cwd% @@ -34,4 +34,4 @@ SET BROADLEAF_OPTS=%TOMCAT_MEMORY% -Xdebug -Xrunjdwp:transport=dt_socket,address SET MAVEN_OPTS=%MAVEN_OPTS% %BROADLEAF_OPTS% call mvn tomcat7:run-war -endlocal \ No newline at end of file +endlocal diff --git a/admin/startadmin.sh b/admin/startadmin.sh index 58fd45ed2..2cc11bd1b 100755 --- a/admin/startadmin.sh +++ b/admin/startadmin.sh @@ -9,8 +9,8 @@ cwd=$(pwd) # Do an install of the core jar in case anything changed since the last restart and we're not using jrebel -cd ../core -mvn install +cd .. +mvn -pl admin -am clean install # Go back to where we just were to get ready to run the Tomcat Maven plugin cd $cwd diff --git a/site/startsite.bat b/site/startsite.bat index 9d14227d9..47f797029 100755 --- a/site/startsite.bat +++ b/site/startsite.bat @@ -8,8 +8,8 @@ REM # TOMCAT_MEMORY - Defaults to -Xmx1536M -XX:MaxPermSize=512M set cwd=%cd% REM # Do an install of the core jar in case anything changed since the last restart and we're not using jrebel -cd ../core -call mvn install +cd .. +call mvn -pl site -am clean install REM # Go back to where we just were to get ready to run the Tomcat Maven plugin cd %cwd% diff --git a/site/startsite.sh b/site/startsite.sh index 2a28370f6..53d832d63 100755 --- a/site/startsite.sh +++ b/site/startsite.sh @@ -9,8 +9,8 @@ cwd=$(pwd) # Do an install of the core jar in case anything changed since the last restart and we're not using jrebel -cd ../core -mvn install +cd .. +mvn -pl site -am clean install # Go back to where we just were to get ready to run the Tomcat Maven plugin cd $cwd