|
5 | 5 | <packaging>war</packaging> |
6 | 6 | <version>1.0-SNAPSHOT</version> |
7 | 7 |
|
8 | | - <groupId>com.google.appengine.samples.unittest</groupId> |
9 | | - <artifactId>unittests</artifactId> |
| 8 | + <groupId>com.google.appengine.samples</groupId> |
| 9 | + <artifactId>appengine-local-testing-samples</artifactId> |
10 | 10 |
|
11 | 11 | <properties> |
12 | 12 | <appengine.app.version>1</appengine.app.version> |
13 | | - <appengine.version>1.9.18</appengine.version> |
| 13 | + <appengine.target.version>1.8.4</appengine.target.version> |
14 | 14 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
15 | 15 | </properties> |
16 | 16 |
|
17 | | - <prerequisites> |
18 | | - <maven>3.1.0</maven> |
19 | | - </prerequisites> |
20 | | - |
21 | 17 | <dependencies> |
22 | 18 | <!-- Compile/runtime dependencies --> |
23 | 19 | <dependency> |
24 | 20 | <groupId>com.google.appengine</groupId> |
25 | 21 | <artifactId>appengine-api-1.0-sdk</artifactId> |
26 | | - <version>${appengine.version}</version> |
| 22 | + <version>${appengine.target.version}</version> |
27 | 23 | </dependency> |
28 | 24 | <dependency> |
29 | 25 | <groupId>javax.servlet</groupId> |
|
41 | 37 | <dependency> |
42 | 38 | <groupId>junit</groupId> |
43 | 39 | <artifactId>junit</artifactId> |
44 | | - <version>4.12</version> |
| 40 | + <version>4.10</version> |
45 | 41 | <scope>test</scope> |
46 | 42 | </dependency> |
47 | 43 | <dependency> |
48 | 44 | <groupId>com.google.appengine</groupId> |
49 | 45 | <artifactId>appengine-testing</artifactId> |
50 | | - <version>${appengine.version}</version> |
| 46 | + <version>${appengine.target.version}</version> |
51 | 47 | <scope>test</scope> |
52 | 48 | </dependency> |
53 | 49 | <dependency> |
54 | 50 | <groupId>com.google.appengine</groupId> |
55 | 51 | <artifactId>appengine-api-stubs</artifactId> |
56 | | - <version>${appengine.version}</version> |
| 52 | + <version>${appengine.target.version}</version> |
| 53 | + <scope>test</scope> |
| 54 | + </dependency> |
| 55 | + <dependency> |
| 56 | + <groupId>com.google.appengine</groupId> |
| 57 | + <artifactId>appengine-tools-sdk</artifactId> |
| 58 | + <version>${appengine.target.version}</version> |
57 | 59 | <scope>test</scope> |
58 | 60 | </dependency> |
59 | 61 | </dependencies> |
60 | 62 |
|
61 | 63 | <build> |
62 | | - <!-- for hot reload of the web application--> |
63 | | - <outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/classes</outputDirectory> |
64 | 64 | <plugins> |
65 | | - <plugin> |
66 | | - <groupId>org.codehaus.mojo</groupId> |
67 | | - <artifactId>versions-maven-plugin</artifactId> |
68 | | - <version>2.1</version> |
69 | | - <executions> |
70 | | - <execution> |
71 | | - <phase>compile</phase> |
72 | | - <goals> |
73 | | - <goal>display-dependency-updates</goal> |
74 | | - <goal>display-plugin-updates</goal> |
75 | | - </goals> |
76 | | - </execution> |
77 | | - </executions> |
78 | | - </plugin> |
79 | 65 | <plugin> |
80 | 66 | <groupId>org.apache.maven.plugins</groupId> |
81 | | - <version>3.1</version> |
| 67 | + <version>2.5.1</version> |
82 | 68 | <artifactId>maven-compiler-plugin</artifactId> |
83 | 69 | <configuration> |
84 | 70 | <source>1.7</source> |
85 | 71 | <target>1.7</target> |
86 | 72 | </configuration> |
87 | 73 | </plugin> |
| 74 | + |
88 | 75 | <plugin> |
89 | 76 | <groupId>org.apache.maven.plugins</groupId> |
90 | 77 | <artifactId>maven-war-plugin</artifactId> |
91 | | - <version>2.4</version> |
| 78 | + <version>2.3</version> |
92 | 79 | <configuration> |
93 | 80 | <archiveClasses>true</archiveClasses> |
94 | 81 | <webResources> |
|
105 | 92 | <plugin> |
106 | 93 | <groupId>com.google.appengine</groupId> |
107 | 94 | <artifactId>appengine-maven-plugin</artifactId> |
108 | | - <version>${appengine.version}</version> |
109 | | - <configuration> |
110 | | - <enableJarClasses>false</enableJarClasses> |
111 | | - <!-- Comment in the below snippet to bind to all IPs instead of just localhost --> |
112 | | - <!-- address>0.0.0.0</address> |
113 | | - <port>8080</port --> |
114 | | - <!-- Comment in the below snippet to enable local debugging with a remove debugger |
115 | | - like those included with Eclipse or IntelliJ --> |
116 | | - <!-- jvmFlags> |
117 | | - <jvmFlag>-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n</jvmFlag> |
118 | | - </jvmFlags --> |
119 | | - </configuration> |
120 | | - </plugin> |
121 | | - <plugin> |
122 | | - <groupId>org.apache.maven.plugins</groupId> |
123 | | - <artifactId>maven-checkstyle-plugin</artifactId> |
124 | | - <version>2.15</version> |
125 | | - <executions> |
126 | | - <execution> |
127 | | - <id>checkstyle</id> |
128 | | - <phase>validate</phase> |
129 | | - <goals> |
130 | | - <goal>check</goal> |
131 | | - </goals> |
132 | | - <configuration> |
133 | | - <failOnViolation>true</failOnViolation> |
134 | | - </configuration> |
135 | | - </execution> |
136 | | - </executions> |
| 95 | + <version>${appengine.target.version}</version> |
137 | 96 | </plugin> |
138 | 97 | </plugins> |
139 | 98 | </build> |
| 99 | + |
140 | 100 | </project> |
0 commit comments