[cxf] branch 3.3.x-fixes updated: Parameterize suffix-list data file with cmd line for firewalled build

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[cxf] branch 3.3.x-fixes updated: Parameterize suffix-list data file with cmd line for firewalled build

ffang
This is an automated email from the ASF dual-hosted git repository.

ffang pushed a commit to branch 3.3.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git


The following commit(s) were added to refs/heads/3.3.x-fixes by this push:
     new 9ee6f01  Parameterize suffix-list data file with cmd line for firewalled build
     new 76d01c5  Merge pull request #595 from cunningt/firewall-fixes
9ee6f01 is described below

commit 9ee6f01a6a04ba4cd084c4a0f2d6b1055b99422e
Author: Freeman Fang <[hidden email]>
AuthorDate: Wed Sep 6 17:09:53 2017 +0800

    Parameterize suffix-list data file with cmd line for firewalled build
---
 rt/transports/http/pom.xml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/rt/transports/http/pom.xml b/rt/transports/http/pom.xml
index 3b1de82..e471743 100644
--- a/rt/transports/http/pom.xml
+++ b/rt/transports/http/pom.xml
@@ -53,6 +53,9 @@
         <cxf.export.service>
             org.apache.aries.blueprint.NamespaceHandler;osgi.service.blueprint.namespace="http://cxf.apache.org/transports/http/configuration"
         </cxf.export.service>
+        <cxf.public.suffix.list.url>
+            https://publicsuffix.org/list/effective_tld_names.dat
+        </cxf.public.suffix.list.url>
     </properties>
     <dependencies>
         <dependency>
@@ -228,7 +231,7 @@
                             <goal>wget</goal>
                         </goals>
                         <configuration>
-                            <url>https://publicsuffix.org/list/effective_tld_names.dat</url>
+                            <url>${cxf.public.suffix.list.url}</url>
                             <outputDirectory>${project.build.outputDirectory}/mozilla</outputDirectory>
                             <outputFileName>public-suffix-list.txt</outputFileName>
                         </configuration>