Fix maven repo access again.

This commit is contained in:
baztian
2017-03-07 20:34:31 +01:00
parent 2e3d8ce1a8
commit 72dbb832d9
3 changed files with 4 additions and 3 deletions
+16
View File
@@ -0,0 +1,16 @@
#!/usr/bin/env python
from __future__ import print_function
from os import path
import sys
home=sys.argv[1]
dist=sys.argv[2]
with open(path.join(home, '.jip'), "w") as out:
print("""[repos:local]
uri={0}/.m2/repository/
type=local
[repos:central]
uri=http://repo1.maven.org/maven2/
type=remote
""".format(dist), file=out)