To main content

Ben’s Build and B(r)ass Notes

Regex vs. Email Addresses: A Battle You’ll Always Lose

Published by Benjamin Marwell on

You can register and log in into many websites using your email address as login ID. But what happens if you cannot enter your valid email address into the form? The root cause of this often is that some developers did not read RFC 2822. Many web services do not allow email addresses which are valid, according to the specification.

Feed the Daemon: Faster Builds with Maven Reactor Modules #SnailToRocket

Published by Benjamin Marwell on

Tired of sluggish Apache Maven builds slowing down your development cycle? Maven Reactor Modules allow you to split a project into smaller, independently buildable units. Discover how strategically breaking down your application into Maven Reactor Modules can dramatically accelerate build times through parallel execution and improve your overall software architecture.

Properly nesting annotation processors in Apache Maven projects

Published by Benjamin Marwell on

I recently encountered a Maven multi module (reactor) project where each module had one annotation processor defined, but the database project had two defined. This can be done easier using the lesser known combine.children="append" attribute in a pom.xml. This article will give you a hint how to do this.