1889 Commits

Author SHA1 Message Date
31c6dcf7f2 Upgrade dependencies to latest versions 2024-12-29 11:02:02 +11:00
1d3ce233cb Upgrade gradle wrapper script
This file was missed when upgrading the gradle wrapper
2024-12-29 11:02:02 +11:00
4c3cbd61b2 Upgrade to gradle 8.12 2024-12-28 14:52:13 +11:00
21403479e7 Upgrade test db server from Fedora 38 to 41 2024-12-28 14:42:38 +11:00
552cb211fe Adopt new Dockerfile ENV syntax
Include '=' sign between key and value of environment variable. The old
syntax has been deprecated.
2024-12-28 14:39:51 +11:00
89d67fb5cb Switch over to docker buildx command
The docker build command is deprecated and should no longer be used.
2024-12-28 14:38:58 +11:00
519dcaf1fe Update to latest JDK 17 2024-12-27 18:00:21 +11:00
5cb3af11e9 Merge branch 'chore/upgrade-springboot-version' into fix-broken-build 2024-12-27 17:29:26 +11:00
4f98055369 Remove obsolete docker compose version attribute 2024-12-27 17:22:37 +11:00
0572845229 Fix typo in Github Actions job 2024-12-27 17:20:45 +11:00
a6c7cd166d Use docker compose plugin 2024-12-27 17:19:55 +11:00
898c8daef4 chore(spring): upgrade springboot version to fix CVE-2022-22965
Ref: #154
2024-12-26 11:01:08 -03:00
ca2669c977 Update changes.txt in preparation for release 0.49.2 2023-12-03 14:22:45 +11:00
518de5d3d5 Merge pull request #141 from alfh/revert_jpf_removal_pr
Revert the "Remove Java Plugin Framework" commits in 0.49.0, to allow external plugins to be loaded in the usual manner
2023-12-02 17:34:55 +11:00
26188585af Remove whitespace at end of lines in JPF related files 2023-11-26 10:29:57 +01:00
9130aae99c Revert "Remove Java Plugin Framework"
This reverts the main part of commit 95a380b372,
i.e. all of the Java changes are reverted.

Got conflict when reverting the whole commit, so I had to add
the dependency towards JPF to the osmosis-core/build.gradle file
manually.
2023-11-26 10:29:31 +01:00
2a446f6492 Revert "Remove Java Plugin Framework core plugin file"
This reverts commit 0db10a1a6c.
2023-11-22 18:38:18 +01:00
5cd4d7295a Fix maven publish to include all artefacts
The existing Maven publishing configuration was quite old and with the
current version of Gradle only publishes the POM file. This change
updates the config to follow the latest docs for maven-publish plugin
and publishes all artefacts again.
0.49.1
2023-11-03 23:15:25 +11:00
bfe16e3d3e Include patch number in version 0.49.0 2023-11-03 21:54:23 +11:00
15a109d88e Update changes.txt in preparation for release 2023-11-03 21:38:45 +11:00
92282b72d0 Install correct package for en_US locale files 2023-11-03 21:38:45 +11:00
80f293e700 Document correct distribution zip/tgz location 2023-11-03 21:38:45 +11:00
30e2dbd714 Upgrade dependencies to latest versions 2023-11-03 21:38:45 +11:00
503380aa37 Fix development docs to specify correct 1.17 version of Java 2023-11-03 21:38:45 +11:00
1d04320761 Add @Deprecated annotation to deprecated methods
This eliminates compiler warnings on methods that previously only had
the @deprecated javadoc tag.
2023-11-03 21:38:45 +11:00
f2a3487efb Merge pull request #134 from frodrigo/closed_partial_linestring
On enableKeepPartialLinestring, output a closed linestring if the original way is closed even on missing start/end node #133
2023-09-02 10:57:44 +10:00
e32e9c2258 On enableKeepPartialLinestring, output a closed linestring if the original way is closed even on missing start/end node #133 2023-08-29 10:50:11 +02:00
81b0027363 Merge pull request #131 from brettch/maintain
General maintenance and cleanups
2023-08-26 16:26:56 +10:00
b07b0bf863 Remove obsolete dependencies from osmosis-core 2023-06-10 15:50:08 +10:00
0db10a1a6c Remove Java Plugin Framework core plugin file
This file and build script support was missed in an earlier change to
remove JPF.
2023-06-10 14:48:05 +10:00
cfb17a8e0e Move to Gradle Application plugin
Use the Gradle Application plugin to generate the distribution. This has
a number of advantages including much simpler Gradle configuration,
elimination of Plexus Classworlds bootstrap, more mature/tested launch
scripts.
There are some differences in the generated archives including
incorporation of a base path in all files names (probably a good thing),
elimination of /bin/extract* launch scripts (unlikely to be used any
more), and creation of a tar instead of tgz (not a major issue).
2023-06-03 17:11:45 +10:00
85bb5cc01c Enable Java 17 language features
Modify Gradle build to use Java 17 source compatibility. This will
unlock the ability to use new language features that have appeared in
Java since Java 8.
2023-06-02 20:15:00 +10:00
3bfbdfb0ae Add @Deprecated annotation to deprecated methods
This eliminates compiler warnings on methods that previously only had
the @deprecated javadoc tag.
2023-06-02 20:15:00 +10:00
dfe9d0278a Make shell script execution more strict
Scripts will now fail if they have unset variables or if any step in a
pipeline fails.
2023-05-19 19:18:59 +10:00
e2788e06b9 Upgradle to Gradle 8.1.1
This is currently the latest version of Gradle.
2023-05-16 17:33:34 +10:00
6719f974ce Eliminate use of deprecated Gradle attributes for jar creation
We create two custom jars. We must use the archiveClassifier attribute
now instead of classifier. This is required by Gradle 8.
2023-05-16 17:32:53 +10:00
b76e606934 Add explicit Gradle dependencies on code generation tasks
The sourcesJar task packages up files including those generated by the
generateJavaSources and generateResources tasks. This dependency must be
explicitly declared otherwise build warnings occur and some Gradle
optimisations are auto disabled.
2023-05-16 17:18:45 +10:00
c06fd21f35 Remove shadow jar and jcenter
jcenter is not available from Gradle 8 so needs to be removed.
The shadow plugin is the only dependency retrieved from jcenter. I have
removed it for the moment because I don't understand why it is required
and why standard Maven dependency management can't be used to retrieve
dependencies. If it is required an alternative repo hosting it will need
to be used.
2023-05-16 17:04:28 +10:00
f280522787 Eliminate deprecate method use in tagtransform DataSourceCSV 2023-05-16 08:27:51 +10:00
c2cfcd1bad Fix ChangeSimplifierTest to close ChangeSimplifier
ChangeSimplifier doesn't contain any heavyweight resources so this
change just eliminates warnings.
2023-05-15 20:03:16 +10:00
26fa26c864 Fix EntityFeatureDao to avoid deprecated JdbcTemplate methods 2023-05-15 19:54:08 +10:00
6cc8860165 Improve ApidbChangeReader to provably release resources
This new approach fixes compiler warnings by making sure that all
ReleasableIterator instances are closed rather than ignoring the
DeltaToDiffReader which doesn't hold any heavyweight resources.
2023-05-15 19:39:58 +10:00
eaec695c79 Ensure PBF file is closed after reading completes
Fix the OsmosisReader class (--read-pbf) to correctly close the PBF
input stream on completion.
2023-05-15 19:21:58 +10:00
ca999a2082 Remove unnecessary interfaces from PGHStore
The Serializable and Cloneable interfaces are already implemented by the
parent type PBobject.
2023-05-14 22:26:21 +10:00
05468d6ede Use valueOf for number type instantiation
The constructors for Character, Integer, and Long are deprecated as of
Java 9, the static valueOf methods should be used instead.
2023-05-14 22:20:41 +10:00
9346307a1c Add explicit null handling for db value unboxing
Several queries assume that a value will be loaded from the database.
This logic has been improved to include an error message if a
NullPointerException is thrown. It eliminates IDE/compiler warnings.
2023-05-14 22:12:46 +10:00
43bf16ac99 Eliminate use of finalize
Object.finalize has been deprecated as of Java 9. It was only being used
in the various DatabaseContext instances as a last resort cleanup if
resources weren't closed explicitly.
2023-05-14 21:54:17 +10:00
bab9d9146c Upgrade dependencies to latest versions 2023-05-14 21:44:23 +10:00
80672f7ba5 Upgrade to Gradle 7.6.1
This is a minor version upgrade but will help uncover issues preventing
an upgrade to 8.
A newer version of Checkstyle has been included by Gradle and requires
some minor syntax changes for the JavadocMethod check.
2023-05-14 17:48:21 +10:00
7b2de2b256 Upgrade to latest Java 17
Java 17 is the latest LTS release so will be around for a number of
years.
I have chosen to use the Temurin distribution because it appears to be a
good sensible default according to https://whichjdk.com/
I have included an SDKMAN config file to make it easier to install and
select the right version of Java locally.
2023-05-14 17:17:45 +10:00