浏览代码

Use Java 5 to illustrate annotation support.

Ben Alex 17 年之前
父节点
当前提交
d90ff50686
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8 0
      samples/tutorial/pom.xml

+ 8 - 0
samples/tutorial/pom.xml

@@ -56,6 +56,14 @@
 
     <build>
         <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <configuration>
+          <source>1.5</source>
+          <target>1.5</target>
+        </configuration>
+      </plugin>
             <plugin>
                 <groupId>org.mortbay.jetty</groupId>
                 <artifactId>maven-jetty-plugin</artifactId>