Maven

I have used Apache Maven as a dependency management and build tool for most of my professional career. This page contains my blog entries which describes solutions for common problems faced by developers who are using Maven.

One of the fundamental requirements of a build process is that it must be possible to use different configuration for binaries, which are used in different environments. If you are using Maven, it is possible to fulfill this requirement by using build profiles. This is blog entry is written to demonstrate how build profiles can [...]

{ 1 comment }

Read the full article...

A few days ago I was looking for a way to create a runnable binary distribution of a standalone Java application by using Maven. Of course I could have used the jar-with-dependencies assembly descriptor of the Maven Assembly Plugin , which packages the binary output of my project and its unpacked dependencies inside the same [...]

{ 10 comments }

Read the full article...

One common performance requirement for large websites is that different domain names should be used to serve static and dynamic content. The reason behind this requirement is that usually browsers do not download more than two components in parallel per domain name, because of the HTTP 1.1 specification. Thus, separating static and dynamic content under [...]

{ 7 comments }

Read the full article...