Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- with changeDir(runDir):
- print "mvn clean"
- subprocess.call(["mvn clean"], shell=True)
- with changeDir(runDir):
- print "mvn compile"
- subprocess.call(["mvn compile"], shell=True)
- print "compile time",datetime.now() - startTime
- startTime = datetime.now()
- with changeDir(runDir):
- print "mvn package"
- subprocess.call(["mvn package -DskipTests=true"], shell=True)
- with changeDir(runDir):
- subprocess.call(["export MAVEN_OPTS="-Xmx10g -Xms10g -XX:MaxPermSize=10g -XX:+UseConcMarkSweepGC -XX:-UseGCOverheadLimit""], shell=True)
- print "mvn exec"
- subprocess.call(["mvn exec:java -Dexec.mainClass=examples.Example -Dexec.args="pathToFile"+fname+"""], shell=True)
- [INFO] Scanning for projects...
- [INFO] Inspecting build with total of 1 modules...
- [INFO] Installing Nexus Staging features:
- ....
- ..
- mvn clean
- mvn compile
- compile time 0:00:08.027680
- mvn package
- mvn exec
- mvn clean
- [INFO] Scanning for projects...
- [INFO] Inspecting build with total of 1 modules...
- [INFO] Installing Nexus Staging features:
- ....
- ..
- mvn compile
- [INFO] Scanning for projects...
- [INFO] Inspecting build with total of 1 modules...
- [INFO] Installing Nexus Staging features:
Add Comment
Please, Sign In to add comment