Author: acheype Date: 2013-02-18 09:20:31 +0100 (Mon, 18 Feb 2013) New Revision: 120 Url: http://forge.codelutin.com/projects/cantharella/repository/revisions/120 Log: Specify a jdk version for the formatter and the compiler Modified: trunk/pom.xml Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2013-02-18 07:27:17 UTC (rev 119) +++ trunk/pom.xml 2013-02-18 08:20:31 UTC (rev 120) @@ -96,6 +96,7 @@ <projectId>cantharella</projectId> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + <jdk.version>1.6</jdk.version> <!-- license header configuration --> <license.organizationName> @@ -104,6 +105,7 @@ <license.licenseName>agpl_v3</license.licenseName> <!-- plugin versions --> + <version.maven-compiler-plugin>3.0</version.maven-compiler-plugin> <version.hibernate3-maven-plugin>3.0</version.hibernate3-maven-plugin> <version.maven-surefire-plugin>2.13</version.maven-surefire-plugin> <version.animal-sniffer-maven-plugin>1.10</version.animal-sniffer-maven-plugin> @@ -149,6 +151,16 @@ <pluginManagement> <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>${version.maven-compiler-plugin}</version> + <configuration> + <source>${jdk.version}</source> + <target>${jdk.version}</target> + <showDeprecation>true</showDeprecation> + </configuration> + </plugin> <!-- plugin site --> <plugin> <artifactId>maven-site-plugin</artifactId>
participants (1)
-
acheype@users.forge.codelutin.com