gump-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r761159 - /gump/trunk/python/gump/core/build/mvn.py
Date Thu, 02 Apr 2009 04:12:35 GMT
Author: bodewig
Date: Thu Apr  2 04:12:34 2009
New Revision: 761159

URL: http://svn.apache.org/viewvc?rev=761159&view=rev
Log:
mirror some additional repositories

Modified:
    gump/trunk/python/gump/core/build/mvn.py

Modified: gump/trunk/python/gump/core/build/mvn.py
URL: http://svn.apache.org/viewvc/gump/trunk/python/gump/core/build/mvn.py?rev=761159&r1=761158&r2=761159&view=diff
==============================================================================
--- gump/trunk/python/gump/core/build/mvn.py (original)
+++ gump/trunk/python/gump/core/build/mvn.py Thu Apr  2 04:12:34 2009
@@ -35,14 +35,14 @@
 # Classes
 ###############################################################################
 
-def write_mirror_entry(props, prefix, mirror_for, port):
+def write_mirror_entry(props, prefix, mirror_of, port):
     props.write("""
     <mirror>
       <id>gump-%s</id>
-      <name>Gump %s</name>
+      <name>Gump proxying %s</name>
       <url>http://localhost:%s/%s</url>
       <mirrorOf>%s</mirrorOf>
-    </mirror>""" % (mirror_for, mirror_for, port, prefix, mirror_for) )
+    </mirror>""" % (mirror_of, mirror_of, port, prefix, mirror_of) )
 
 class Maven2Builder(RunSpecific):
 
@@ -244,7 +244,13 @@
         if not self.run.getEnvironment().noMvnRepoProxy:
             props.write("<mirrors>")
             write_mirror_entry(props, 'maven2', 'central', \
-                               self.run.getWorkspace().mvnRepoProxyPort)
+                                   self.run.getWorkspace().mvnRepoProxyPort)
+            write_mirror_entry(props, 'repo/m2-snapshot-repository', \
+                                   'apache.snapshots', \
+                                   self.run.getWorkspace().mvnRepoProxyPort)
+            write_mirror_entry(props, 'maven/2', \
+                                   'maven2-repository.dev.java.net', \
+                                   self.run.getWorkspace().mvnRepoProxyPort)
             props.write("</mirrors>")
 
         props.write("</settings>")



Mime
View raw message