NIFI-12285 Added py4j.url build property

The py4j.url property allows the URL for downloading py4j to be specified by a Maven command-line option

This closes #7946

Signed-off-by: David Handermann <exceptionfactory@apache.org>
This commit is contained in:
Mark Bean 2023-10-27 18:27:11 +00:00 committed by exceptionfactory
parent 94e746dc47
commit 5ecc12f405
No known key found for this signature in database
GPG Key ID: 29B6A52D2AAE8DBA

View File

@ -27,6 +27,7 @@
<properties>
<py4j.version>0.10.9.7</py4j.version>
<py4j.url>https://files.pythonhosted.org/packages/10/30/a58b32568f1623aaad7db22aa9eafc4c6c194b429ff35bdc55ca2726da47/py4j-${py4j.version}-py2.py3-none-any.whl</py4j.url>
</properties>
<build>
@ -43,7 +44,7 @@
</goals>
<phase>generate-resources</phase>
<configuration>
<url>https://files.pythonhosted.org/packages/10/30/a58b32568f1623aaad7db22aa9eafc4c6c194b429ff35bdc55ca2726da47/py4j-${py4j.version}-py2.py3-none-any.whl</url>
<url>${py4j.url}</url>
<outputFileName>py4j-${py4j.version}.zip</outputFileName>
<unpack>true</unpack>
<outputDirectory>${project.build.directory}/py4j-${py4j.version}</outputDirectory>