mirror of
https://gitee.com/nutz/nutzboot.git
synced 2024-12-02 19:58:53 +08:00
11 lines
368 B
Python
11 lines
368 B
Python
#!/usr/bin/env python
|
|
import sys
|
|
import os
|
|
import os.path
|
|
import xml.dom.minidom
|
|
import subprocess
|
|
|
|
if "1.6.0" in subprocess.check_output("java -Xmx32m -version", shell=1, stderr=subprocess.STDOUT) :
|
|
subprocess.check_call("mvn -Dmaven.test.skip=true clean source:jar deploy --settings mvn_settings.xml", shell=1, stderr=subprocess.STDOUT)
|
|
else :
|
|
print "not java 6" |