[81305] trunk/dports/java/groovy

breskeby at macports.org breskeby at macports.org
Thu Jul 28 23:51:02 PDT 2011


Revision: 81305
          http://trac.macports.org/changeset/81305
Author:   breskeby at macports.org
Date:     2011-07-28 23:51:00 -0700 (Thu, 28 Jul 2011)
Log Message:
-----------
#30419 set custom m2 folder to avoid permission problems

Modified Paths:
--------------
    trunk/dports/java/groovy/Portfile

Added Paths:
-----------
    trunk/dports/java/groovy/files/patch-build-maven.xml.diff
    trunk/dports/java/groovy/files/patch-settings.xml.diff

Modified: trunk/dports/java/groovy/Portfile
===================================================================
--- trunk/dports/java/groovy/Portfile	2011-07-29 05:56:11 UTC (rev 81304)
+++ trunk/dports/java/groovy/Portfile	2011-07-29 06:51:00 UTC (rev 81305)
@@ -34,6 +34,7 @@
 extract.cmd     unzip
 extract.pre_args	-qu
 extract.post_args "-d ${workpath}"
+patchfiles      patch-build-maven.xml.diff patch-settings.xml.diff
 build.cmd       ant
 build.target    install -DskipTests=true
 supported_archs noarch

Added: trunk/dports/java/groovy/files/patch-build-maven.xml.diff
===================================================================
--- trunk/dports/java/groovy/files/patch-build-maven.xml.diff	                        (rev 0)
+++ trunk/dports/java/groovy/files/patch-build-maven.xml.diff	2011-07-29 06:51:00 UTC (rev 81305)
@@ -0,0 +1,11 @@
+--- config/ant/build-maven.xml.org	2011-07-29 08:24:08.000000000 +0200
++++ config/ant/build-maven.xml	2011-07-29 08:25:34.000000000 +0200
+@@ -26,7 +26,7 @@
+         <attribute name="scope"/>
+         <attribute name="module"/>
+         <sequential>
+-            <artifact:dependencies useScope="@{scope}" filesetId="fs.@{scope}.@{module}" pomRefId="@{module}.pom"/>
++            <artifact:dependencies useScope="@{scope}" filesetId="fs.@{scope}.@{module}" pomRefId="@{module}.pom" settingsFile="config/maven/settings.xml"/>
+         </sequential>
+     </macrodef>
+ 

Added: trunk/dports/java/groovy/files/patch-settings.xml.diff
===================================================================
--- trunk/dports/java/groovy/files/patch-settings.xml.diff	                        (rev 0)
+++ trunk/dports/java/groovy/files/patch-settings.xml.diff	2011-07-29 06:51:00 UTC (rev 81305)
@@ -0,0 +1,9 @@
+--- config/maven/settings.xml.org	2011-07-29 08:35:58.000000000 +0200
++++ config/maven/settings.xml	2011-07-29 08:36:45.000000000 +0200
+@@ -7,4 +7,5 @@
+       <password>@groovy.deploy.password@</password>
+     </server>
+   </servers>
++  <localRepository>m2</localRepository>
+ </settings>
+\ No newline at end of file
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110728/232c2c33/attachment.html>


More information about the macports-changes mailing list