Skip to content

Instantly share code, notes, and snippets.

@vvakame
Created February 20, 2013 03:43
Show Gist options
  • Save vvakame/4992695 to your computer and use it in GitHub Desktop.
Save vvakame/4992695 to your computer and use it in GitHub Desktop.
Slim3プロジェクトをJava7で開発できるようにした。@zaki50 さんありがとう。 仕事のプロジェクトなので、全体貼るのがめんどくさいのでdiffだけぺとんちょ。
Date: Wed, 20 Feb 2013 12:40:23 +0900
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
appengine/pom.xml | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/appengine/pom.xml b/appengine/pom.xml
index 6509242..6edb8af 100644
--- a/appengine/pom.xml
+++ b/appengine/pom.xml
@@ -140,7 +140,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>apt-maven-plugin</artifactId>
- <version>1.0-alpha-3</version>
+ <version>1.0-alpha-5</version>
<dependencies>
<dependency>
<groupId>org.slim3</groupId>
@@ -171,11 +171,11 @@
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
- <version>2.3.2</version>
+ <version>3.0</version>
<configuration>
<encoding>utf-8</encoding>
- <source>1.6</source>
- <target>1.6</target>
+ <source>1.7</source>
+ <target>1.7</target>
<encoding>UTF-8</encoding>
<compilerArgument>-proc:none</compilerArgument>
</configuration>
@@ -203,7 +203,7 @@
<artifactId>apt-maven-plugin</artifactId>
<configuration>
<encoding>utf-8</encoding>
- <outputDirectory>${generated.src}</outputDirectory>
+ <sourceOutputDirectory>${generated.src}</sourceOutputDirectory>
</configuration>
<executions>
<execution>
@@ -321,7 +321,7 @@
<buildcommand>com.google.appengine.eclipse.core.projectValidator</buildcommand>
</additionalBuildcommands>
<classpathContainers>
- <classpathContainer>org.eclipse.jdt.launching.JRE_CONTAINER</classpathContainer>
+ <classpathContainer>org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7</classpathContainer>
<classpathContainer>com.google.appengine.eclipse.core.GAE_CONTAINER</classpathContainer>
</classpathContainers>
<additionalConfig>
@@ -372,11 +372,11 @@ ormEnhancementInclusions=
<name>.settings/org.eclipse.jdt.core.prefs</name>
<content>
<![CDATA[
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.processAnnotations=enabled
-org.eclipse.jdt.core.compiler.source=1.6
-org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.source=1.7
+org.eclipse.jdt.core.compiler.compliance=1.7
org.eclipse.jdt.core.builder.cleanOutputFolder=clean
org.eclipse.jdt.core.builder.duplicateResourceTask=warning
org.eclipse.jdt.core.builder.invalidClasspath=abort
--
1.7.11.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment