Encapsulate!

Encapsulate! No developers were harmed in this article! The object names was changed to protect the developers involved. I often see objects implemented as value objects (such as POJOs) that should be fully fledge objects instead! I have implemented a bunch of them myself over the years – but they usually infer problems like bugs … Read more

maven-antrun-plugin and Windows

Had a “funny” problem today, created a multi-pom project in Netbeans (on Linux) and it worked fine until my colleague tried to build the project on his Windows machine (same Maven 2 version). Maven produced the following code in the head pom file: <plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-antrun-plugin</artifactId>….</plugin> which worked fine in Linux, but not in Windows. It took … Read more