Your message has been delivered
Watch Star Fork

Nutz / nutzJavaApache-2.0GVP

Nutz -- Web Framework(Mvc/Ioc/Aop/Dao/Json) for ALL Java developer https://nutz.cn
Clone or download
Copy Edit Raw Blame History
mvn_settings.py 368 Bytes wendal chen authored 2016-11-01 14:58 . ...
#!/usr/bin/env python
import sys
import os
import os.path
import xml.dom.minidom
import subprocess
if "1.8.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 8"

Comment (0)

You need to Sign in for post a comment

3_float_left_people 3_float_left_close