Usually you wouldn’t mix versions. Build environments like Maven should handle this for you – although even maven can get things wrong. Yesterday I was playing with Apache TomEE looking at migrating some webapp’s away from Apache Tomcat 7. The impetus for this was to get Rest services working and one of the TomEE profiles […]Read more "The problem of mixing library versions"
Usually maven will download an artefact on it’s own however there are times when you need to do this manually – in this instance the local Nexus installation is down for maintenance so I had no choice but do it the hard way. In this instance I needed the exec-maven-plugin which my local repository didn’t have but fortunately the […]Read more "Manually downloading an artefact in Maven"
This article covers how to get NetBeans to use a Maven installation on a remote server. This has been tested with Maven 3.0.2 but should work on any other version. It may also work for other IDE’s like Eclipse if you can get them to use an alternate maven installation other than the internal one. […]Read more "Performing remote Maven 3 builds with NetBeans 7.0"
Netbeans has supported for quite some time the ability to set the license for a project so that when a new file is created, the template automatically inserts the correct one. The problem is that in the past this has not been that well supported when it comes to maven based projects. Now in some […]Read more "Getting NetBeans 6.9 RC1 to insert the correct copyright text in maven projects"
It’s been a couple of busy months with most of my time being taken up with my day job. Most of my time has been spent with either tracking down issues with our live environment, or trying to finish off a couple major projects (both related to XMPP) interspersed with the usual major partner getting […]Read more "It’s been a busy couple of months"
In this article I’ll briefly cover how to use Groovy to generate java sources as part of a maven build. There are times when you need to generate Java source which is either repetitive, based on external data or both. Now there are tools out there for some tasks like this, but for most simple […]Read more "Using groovy to generate java sources in maven"
Ever since the website feature appeared on Kenai I’ve been trying to get releases to work using it to host the maven repository. Although it works, it’s always had the odd issue where whilst uploading artifacts to the repository, the connection would timeout causing the release build to fail. For small projects this isn’t really […]Read more "Releasing to Kenai via Maven"