gump-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1880736 - /gump/live/python/gump/core/build/mvn.py
Date Mon, 10 Aug 2020 10:54:42 GMT
Author: markt
Date: Mon Aug 10 10:54:42 2020
New Revision: 1880736

URL: http://svn.apache.org/viewvc?rev=1880736&view=rev
Log:
Attempt to fix failing Checkstyle build.

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

Modified: gump/live/python/gump/core/build/mvn.py
URL: http://svn.apache.org/viewvc/gump/live/python/gump/core/build/mvn.py?rev=1880736&r1=1880735&r2=1880736&view=diff
==============================================================================
--- gump/live/python/gump/core/build/mvn.py (original)
+++ gump/live/python/gump/core/build/mvn.py Mon Aug 10 10:54:42 2020
@@ -222,13 +222,16 @@ class MavenBuilder(BaseBuilder):
   <localRepository>%s</localRepository>""")
                     % (project.getName(), strftime('%Y-%m-%d %H:%M:%S'), local_repo))
         if not self.run.getEnvironment().noMvnRepoProxy:
-            props.write("<mirrors>")
+            props.write("""
+  <mirrors>""")
             for (name, prefix, _url) in PROXY_CONFIG:
                 write_mirror_entry(props, prefix, name, \
                                        self.run.getWorkspace().mvnRepoProxyPort)
-            props.write("</mirrors>")
+            props.write("""
+  </mirrors>""")
 
-        props.write("</settings>")
+        props.write("""
+</settings>""")
 
         return settings
 



Mime
View raw message