Skip to content

Chorleyboy Posts

Maven 4 solves a gripe of mine…

So I learned through the latest JetBrains’ Java Annotated Monthly that Maven 4 has fixed (they label it as an improvement) a long standing PITA gripe of mine regarding it’s treatment of timestamps in Multi-Module builds (MMB).

The Problem

Traditionally the timestamp emitted by maven was different per-module in a single build. This meant that if you used the timestamp in your (static) resource file name (see Resources section of the Servlet Specification) as a neat, alternate way of avoiding cache-busting then you would see intermittent issues of resource loading due to timestamp divergence for longer builds where it could change across the relevant related modules of your MMB. The result? No resources loaded at all and a very anaemic looking app at the very least.

The Solution

So finally, the good folks at the Apache SF have now fixed this through fixing a build timestamp for all modules included in the same build. although of course, it still doesn’t mean that you can build just the resources-holding module: you must continue to perform a full build of all your modules that include the static resources being repackaged but, at least now, you know you’re running with resources that can be found!

Hello Wor(l)dPress

That’s right… this is my first  post. I’m trying things out. Kicking the tyres. I had a blog once on Blogger (acquired and rebadged as Blogspot by google) but, that long since sunset so I’m trying my own WordPress platform (a Bitnami distro on AWS to be exact).
I thought about Bluehost (I hosted the A Game Of Two Halves podcast there with a former colleague from 2005-2013) and they offer a tremendous deal at the moment:

However, when you’re wanting to do more with AWS from a development perspective (spin up POC envs) then opting for AWS LightSail seems like a logical choice. It’s going to cost around $8-10/mo (unless I’ve miscalculated 🤪) but, for that I get a bare specs (slightly down on the specs offered by Linode admittedly).
Here’s what I get for my dosh:

Lightsail goodies
AWS Lightsail basic features

Lightsail specialises in bootstrapping your blog very quickly (another one of my criteria) but, all the hosting platforms, cloud or otherwise have similar ‘one-click’ features to do just that.

I of course, hardened WordPress to ensure only https access and to block directory listings and some other basic security hygiene. I’m definitely at the foot of a mountain though, lots more to learn and customise. I think all up though, I’m about 8hrs into this blogging journey and I feel like I’ve come a long way.

I hope to post more on general tech, IT news, any development I can share. I’ll keep the politics to a minimum!