Hi, On Feb 18, 2011, at 8:55 AM, Andreas Tille wrote:
> Hi, > > Please excuse for my ignorance but it seems that I need more detailed > advise. I applied this to the previosely suggested pom.xml (see > attachment) but now I get Sorry, my bad. I thought you had a bit more knowledge about maven pom files. >> Or update to a more recent version of maven or the compiler plugin. They've >> updated the default for source and target to 1.5 for some time now. > > I also have no idea how to follow this hint: > > $ apt-cache policy maven2 > maven2: > Installiert: 2.2.1-5 > Kandidat: 2.2.1-5 > Versionstabelle: > *** 2.2.1-5 0 > 501 http://debian.tu-bs.de/debian/ testing/main amd64 Packages > 50 http://ftp.de.debian.org/debian/ unstable/main amd64 Packages > 100 /var/lib/dpkg/status > > What more recent version do you mean? Hm. Weird I thought Maven 2.2.1 already contained a recent enough default of the maven-compiler-plugin in its super-pom. The source appears to suggest as much (http://svn.apache.org/viewvc/maven/maven-2/tags/maven-2.2.1/pom.xml?view=markup) maybe adding a version to the compiler plugin broke it. Anyway. You're not using one of the 2.0.x or 2.1.x versions I assumed you were running. Version 2.2.1 is the latest 2.x release and you don't want to try maven 3 yet. Too many 3rd-party plugins need to be fixed still, not to mention applications. So don't worry about upgrading yet. Kind regards, Thomas -- To UNSUBSCRIBE, email to debian-java-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/5051fac6-8d4e-44fb-92eb-7e45cfa49...@xs4all.nl