This particular bit of configuration is your friend. Put it in the <plugins> section of your POM:
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.5</source> <target>1.5</target> </configuration> </plugin> (I forgot to put it in yesterday and kept getting messages that -source 1.3 did not support generics and annotations). Jason -----Original Message----- From: Severin Ecker [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 10, 2007 2:12 AM To: Maven Users List Subject: Default java source version Hi, i was wondering if i can change de default java source and target version for the compiler plugin to let's say 1.5 oder 1.6 globally in the settings.xml (or somewhere else), and only override it in the pom file if i need an older version. thanks! cheers, severin --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]