Peter Palaga created CXF-9158:
---------------------------------
Summary: Make CXF buildable offline
Key: CXF-9158
URL: https://issues.apache.org/jira/browse/CXF-9158
Project: CXF
Issue Type: Improvement
Reporter: Peter Palaga
To build CXF, one has to be online, because we download
https://publicsuffix.org/list/effective_tld_names.dat on each build.
This makes it impossible to build CXF, when offline, e.g. in an aircraft.
I wonder whether we could do something like the following?
* Download to
rt/transports/http/src/main/resources/mozilla/public-suffix-list.txt instead of
target
* Put the plugin into a new profile called `online` that would be active by
default unless the build is run with `-Doffline`
* Add a check to the CI script to fail if there are uncommitted changes in
rt/transports/http/src/main/resources/mozilla/public-suffix-list.txt so that we
are notified if the list is changed and so that we are forced to have all the
changes in git for the offline build.
This would also help to make this aspect of the build reproducible (when
building with -Doffline).
A PR follows.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)