changeset 112:fcd8d6c58998

archetype: force minimal source/target=1.6 for legacy Maven 2 builders.
author shade
date Fri, 16 Aug 2013 11:58:40 +0400
parents 8349e46230d0
children 474e029b1134
files jmh-simple-benchmark-archetype/src/main/resources/archetype-resources/pom.xml
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/jmh-simple-benchmark-archetype/src/main/resources/archetype-resources/pom.xml	Mon Aug 12 19:19:16 2013 +0400
+++ b/jmh-simple-benchmark-archetype/src/main/resources/archetype-resources/pom.xml	Fri Aug 16 11:58:40 2013 +0400
@@ -50,6 +50,16 @@
         <plugins>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <version>3.0</version>
+                <configuration>
+                    <compilerVersion>1.6</compilerVersion>
+                    <source>1.6</source>
+                    <target>1.6</target>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-shade-plugin</artifactId>
                 <version>2.0</version>
                 <executions>