<!-- apt-maven-pluginのバージョンをalpha-5に変更 --> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>apt-maven-plugin</artifactId> <version>1.0-alpha-5</version> <dependencies> <dependency> <groupId>org.slim3</groupId> <artifactId>slim3-gen</artifactId> <version>${slim3.version}</version> </dependency> </dependencies> </plugin> ・・・ <!-- maven-compiler-pluginのパラメータでJavaのバージョンを1.7に変更 --> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>3.0</version> <configuration> <encoding>utf-8</encoding> <source>1.7</source> <target>1.7</target> </configuration> </plugin> ・・・ <!-- apt-maven-pluginのoutputDirectoryタグをsourceOutputDirectoryに変更 --> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>apt-maven-plugin</artifactId> <configuration> <encoding>utf-8</encoding> <sourceOutputDirectory>${generated.src}</sourceOutputDirectory> </configuration> <executions> <execution> <phase>process-sources</phase> <goals> <goal>process</goal> </goals> </execution> </executions> </plugin> ・・・ <!-- maven-war-pluginのバージョンを2.2に変更 --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <version>2.2</version> <configuration> <webXml>war/WEB-INF/web.xml</webXml> <warSourceExcludes>.gwt-tmp/**</warSourceExcludes> </configuration> </plugin>