zaterdag 14 juli 2007

maven and tiger

By default the maven compiler plugin assumes you're working with 1.3 compatible sources. So tiger (java 1.5) sources will throw an UnsupportedClassVersionError.

The solution is to configure the maven-compiler plugin in your pom file to generate 1.5 sources like this:

<?xml version="1.0"?>
<!-- dependencies here -->


Geen opmerkingen:

Een reactie plaatsen