| 2620 |
vikas |
1 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
|
2 |
<modelVersion>4.0.0</modelVersion>
|
|
|
3 |
|
|
|
4 |
<!-- The Basics -->
|
|
|
5 |
<groupId>in.shop2020</groupId>
|
|
|
6 |
<artifactId>GoogleAppDatalog</artifactId>
|
|
|
7 |
<version>1.0-SNAPSHOT</version>
|
|
|
8 |
<packaging>war</packaging>
|
|
|
9 |
|
|
|
10 |
<name>saholic-datalog</name>
|
|
|
11 |
|
|
|
12 |
<dependencies>
|
|
|
13 |
|
|
|
14 |
<!-- Google App Engine meta-package -->
|
|
|
15 |
<dependency>
|
|
|
16 |
<groupId>net.kindleit</groupId>
|
|
|
17 |
<artifactId>gae-runtime</artifactId>
|
|
|
18 |
<version>${gae.version}</version>
|
|
|
19 |
<type>pom</type>
|
|
|
20 |
</dependency>
|
|
|
21 |
|
|
|
22 |
<dependency>
|
|
|
23 |
<groupId>org.datanucleus</groupId>
|
|
|
24 |
<artifactId>datanucleus-core</artifactId>
|
|
|
25 |
<version>${datanucleus.version}</version>
|
|
|
26 |
<scope>runtime</scope>
|
|
|
27 |
</dependency>
|
|
|
28 |
|
|
|
29 |
<dependency>
|
|
|
30 |
<groupId>javax.transaction</groupId>
|
|
|
31 |
<artifactId>jta</artifactId>
|
|
|
32 |
<version>1.1</version>
|
|
|
33 |
</dependency>
|
|
|
34 |
|
|
|
35 |
<!--
|
|
|
36 |
J2EE Servlet API. We need it to compile IndexServlet class. You can
|
|
|
37 |
probably remove it, if you don't explicitly use Servlets
|
|
|
38 |
-->
|
|
|
39 |
<dependency>
|
|
|
40 |
<groupId>org.apache.geronimo.specs</groupId>
|
|
|
41 |
<artifactId>geronimo-servlet_2.5_spec</artifactId>
|
|
|
42 |
<version>1.2</version>
|
|
|
43 |
<scope>provided</scope>
|
|
|
44 |
</dependency>
|
|
|
45 |
|
|
|
46 |
<dependency>
|
| 2699 |
vikas |
47 |
<groupId>readonly.hadoop</groupId>
|
| 2620 |
vikas |
48 |
<artifactId>hadoop-core</artifactId>
|
|
|
49 |
<version>0.20.2</version>
|
|
|
50 |
</dependency>
|
|
|
51 |
|
|
|
52 |
<dependency>
|
|
|
53 |
<groupId>org.json</groupId>
|
|
|
54 |
<artifactId>json</artifactId>
|
|
|
55 |
<version>20090211</version>
|
|
|
56 |
</dependency>
|
|
|
57 |
|
|
|
58 |
<dependency>
|
|
|
59 |
<groupId>readonly.charts4j</groupId>
|
|
|
60 |
<artifactId>charts4j</artifactId>
|
|
|
61 |
<version>1.2</version>
|
|
|
62 |
</dependency>
|
|
|
63 |
|
|
|
64 |
<dependency>
|
|
|
65 |
<groupId>readonly.guava</groupId>
|
|
|
66 |
<artifactId>guava</artifactId>
|
|
|
67 |
<version>r07</version>
|
|
|
68 |
</dependency>
|
|
|
69 |
|
|
|
70 |
<dependency>
|
|
|
71 |
<groupId>readonly.appengine-mapper</groupId>
|
|
|
72 |
<artifactId>appengine-mapper</artifactId>
|
|
|
73 |
<version>1.0</version>
|
|
|
74 |
</dependency>
|
| 3084 |
vikas |
75 |
<dependency>
|
|
|
76 |
<groupId>com.google.code.gson</groupId>
|
|
|
77 |
<artifactId>gson</artifactId>
|
|
|
78 |
<version>1.7.1</version>
|
|
|
79 |
</dependency>
|
| 2620 |
vikas |
80 |
|
|
|
81 |
<!--
|
|
|
82 |
Make use of JSP tags. Remove, if you don't use JSPs
|
|
|
83 |
-->
|
|
|
84 |
<dependency>
|
| 3004 |
vikas |
85 |
<groupId>readonly.apache</groupId>
|
|
|
86 |
<artifactId>commons-logging</artifactId>
|
|
|
87 |
<version>1.0.4</version>
|
|
|
88 |
</dependency>
|
|
|
89 |
<dependency>
|
| 2620 |
vikas |
90 |
<artifactId>standard</artifactId>
|
|
|
91 |
<groupId>taglibs</groupId>
|
|
|
92 |
<version>1.1.2</version>
|
|
|
93 |
<type>jar</type>
|
|
|
94 |
<scope>runtime</scope>
|
|
|
95 |
</dependency>
|
|
|
96 |
|
|
|
97 |
<!-- These dependencies are here just for enabling logging -->
|
|
|
98 |
<dependency>
|
|
|
99 |
<groupId>org.slf4j</groupId>
|
|
|
100 |
<artifactId>slf4j-api</artifactId>
|
|
|
101 |
<version>1.6.1</version>
|
|
|
102 |
</dependency>
|
|
|
103 |
|
|
|
104 |
<dependency>
|
|
|
105 |
<groupId>ch.qos.logback</groupId>
|
|
|
106 |
<artifactId>logback-classic</artifactId>
|
|
|
107 |
<version>0.9.24</version>
|
|
|
108 |
</dependency>
|
|
|
109 |
|
|
|
110 |
<!-- Test scope -->
|
|
|
111 |
<dependency>
|
|
|
112 |
<groupId>junit</groupId>
|
|
|
113 |
<artifactId>junit</artifactId>
|
|
|
114 |
<version>4.5</version>
|
|
|
115 |
<scope>test</scope>
|
|
|
116 |
</dependency>
|
|
|
117 |
|
|
|
118 |
<!--
|
|
|
119 |
GAE libraries for local testing as described here:
|
|
|
120 |
http://code.google.com/appengine/docs/java/howto/unittesting.html
|
|
|
121 |
-->
|
|
|
122 |
<dependency>
|
|
|
123 |
<groupId>com.google.appengine</groupId>
|
|
|
124 |
<artifactId>appengine-api-labs</artifactId>
|
|
|
125 |
<version>${gae.version}</version>
|
|
|
126 |
<scope>test</scope>
|
|
|
127 |
</dependency>
|
|
|
128 |
|
|
|
129 |
<dependency>
|
|
|
130 |
<groupId>com.google.appengine</groupId>
|
|
|
131 |
<artifactId>appengine-api-stubs</artifactId>
|
|
|
132 |
<version>${gae.version}</version>
|
|
|
133 |
<scope>test</scope>
|
|
|
134 |
</dependency>
|
|
|
135 |
|
|
|
136 |
<dependency>
|
|
|
137 |
<groupId>com.google.appengine</groupId>
|
|
|
138 |
<artifactId>appengine-testing</artifactId>
|
|
|
139 |
<version>${gae.version}</version>
|
|
|
140 |
<scope>test</scope>
|
|
|
141 |
</dependency>
|
|
|
142 |
|
|
|
143 |
<dependency>
|
|
|
144 |
<groupId>javax.jdo</groupId>
|
|
|
145 |
<artifactId>jdo2-api</artifactId>
|
|
|
146 |
<version>2.3-eb</version>
|
|
|
147 |
<exclusions>
|
|
|
148 |
<exclusion>
|
|
|
149 |
<groupId>javax.transaction</groupId>
|
|
|
150 |
<artifactId>transaction-api</artifactId>
|
|
|
151 |
</exclusion>
|
|
|
152 |
</exclusions>
|
|
|
153 |
</dependency>
|
|
|
154 |
</dependencies>
|
|
|
155 |
|
|
|
156 |
<build>
|
| 2871 |
vikas |
157 |
<filters>
|
|
|
158 |
<filter>src/main/filters/${env}/filters.properties</filter>
|
|
|
159 |
</filters>
|
|
|
160 |
<resources>
|
|
|
161 |
<resource>
|
|
|
162 |
<directory>src/main/resources</directory>
|
|
|
163 |
<filtering>true</filtering>
|
|
|
164 |
</resource>
|
|
|
165 |
</resources>
|
| 2620 |
vikas |
166 |
<plugins>
|
|
|
167 |
<!--
|
|
|
168 |
This plug-in "enhances" your domain model objects (i.e. makes them
|
|
|
169 |
persistent for datanucleus)
|
|
|
170 |
-->
|
|
|
171 |
<plugin>
|
|
|
172 |
<groupId>org.datanucleus</groupId>
|
|
|
173 |
<artifactId>maven-datanucleus-plugin</artifactId>
|
|
|
174 |
<version>1.1.4</version>
|
|
|
175 |
<configuration>
|
|
|
176 |
<!--
|
|
|
177 |
Make sure this path contains your persistent classes!
|
|
|
178 |
-->
|
|
|
179 |
<mappingIncludes>**/model/*.class</mappingIncludes>
|
|
|
180 |
<verbose>true</verbose>
|
|
|
181 |
<enhancerName>ASM</enhancerName>
|
|
|
182 |
<api>JDO</api>
|
|
|
183 |
</configuration>
|
|
|
184 |
<executions>
|
|
|
185 |
<execution>
|
|
|
186 |
<phase>compile</phase>
|
|
|
187 |
<goals>
|
|
|
188 |
<goal>enhance</goal>
|
|
|
189 |
</goals>
|
|
|
190 |
</execution>
|
|
|
191 |
</executions>
|
|
|
192 |
<dependencies>
|
|
|
193 |
<dependency>
|
|
|
194 |
<groupId>org.datanucleus</groupId>
|
|
|
195 |
<artifactId>datanucleus-core</artifactId>
|
|
|
196 |
<version>${datanucleus.version}</version>
|
|
|
197 |
<exclusions>
|
|
|
198 |
<exclusion>
|
|
|
199 |
<groupId>javax.transaction</groupId>
|
|
|
200 |
<artifactId>transaction-api</artifactId>
|
|
|
201 |
</exclusion>
|
|
|
202 |
</exclusions>
|
|
|
203 |
</dependency>
|
|
|
204 |
<dependency>
|
|
|
205 |
<groupId>org.datanucleus</groupId>
|
|
|
206 |
<artifactId>datanucleus-rdbms</artifactId>
|
|
|
207 |
<version>${datanucleus.version}</version>
|
|
|
208 |
</dependency>
|
|
|
209 |
<dependency>
|
|
|
210 |
<groupId>org.datanucleus</groupId>
|
|
|
211 |
<artifactId>datanucleus-enhancer</artifactId>
|
|
|
212 |
<version>1.1.4</version>
|
|
|
213 |
</dependency>
|
|
|
214 |
<dependency>
|
|
|
215 |
<groupId>javax.jdo</groupId>
|
|
|
216 |
<artifactId>jdo2-api</artifactId>
|
|
|
217 |
<version>2.3-ec</version>
|
|
|
218 |
<scope>runtime</scope>
|
|
|
219 |
</dependency>
|
|
|
220 |
</dependencies>
|
|
|
221 |
</plugin>
|
|
|
222 |
|
|
|
223 |
<plugin>
|
|
|
224 |
<groupId>org.apache.maven.plugins</groupId>
|
|
|
225 |
<artifactId>maven-war-plugin</artifactId>
|
|
|
226 |
<version>2.1-beta-1</version>
|
|
|
227 |
<configuration>
|
|
|
228 |
<webResources>
|
|
|
229 |
<resource>
|
|
|
230 |
<directory>src/main/webapp</directory>
|
|
|
231 |
<filtering>true</filtering>
|
|
|
232 |
<includes>
|
|
|
233 |
<include>**/appengine-web.xml</include>
|
|
|
234 |
</includes>
|
|
|
235 |
</resource>
|
|
|
236 |
</webResources>
|
|
|
237 |
</configuration>
|
|
|
238 |
</plugin>
|
|
|
239 |
|
|
|
240 |
<!--
|
|
|
241 |
The actual maven-gae-plugin. Type "mvn gae:run" to run project, "mvn
|
|
|
242 |
gae:deploy" to upload to GAE.
|
|
|
243 |
-->
|
|
|
244 |
<plugin>
|
|
|
245 |
<groupId>net.kindleit</groupId>
|
|
|
246 |
<artifactId>maven-gae-plugin</artifactId>
|
| 3702 |
vikas |
247 |
<version>0.9.1</version>
|
| 2871 |
vikas |
248 |
<configuration>
|
|
|
249 |
<serverId>appengine.google.com</serverId>
|
|
|
250 |
</configuration>
|
|
|
251 |
|
| 2620 |
vikas |
252 |
<dependencies>
|
|
|
253 |
<dependency>
|
|
|
254 |
<groupId>net.kindleit</groupId>
|
|
|
255 |
<artifactId>gae-runtime</artifactId>
|
|
|
256 |
<version>${gae.version}</version>
|
|
|
257 |
<type>pom</type>
|
|
|
258 |
</dependency>
|
|
|
259 |
</dependencies>
|
|
|
260 |
</plugin>
|
|
|
261 |
|
|
|
262 |
<!--
|
|
|
263 |
Upload application to the appspot automatically, during
|
|
|
264 |
release:perform
|
|
|
265 |
-->
|
|
|
266 |
<plugin>
|
|
|
267 |
<artifactId>maven-release-plugin</artifactId>
|
|
|
268 |
<configuration>
|
|
|
269 |
<goals>gae:deploy</goals>
|
|
|
270 |
</configuration>
|
|
|
271 |
</plugin>
|
|
|
272 |
|
|
|
273 |
<!-- Java compiler version -->
|
|
|
274 |
<plugin>
|
|
|
275 |
<groupId>org.apache.maven.plugins</groupId>
|
|
|
276 |
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
277 |
<version>2.0</version>
|
|
|
278 |
<configuration>
|
|
|
279 |
<source>1.6</source>
|
|
|
280 |
<target>1.6</target>
|
|
|
281 |
</configuration>
|
|
|
282 |
</plugin>
|
|
|
283 |
</plugins>
|
|
|
284 |
</build>
|
|
|
285 |
|
|
|
286 |
<!-- Specify hard-coded project properties here -->
|
|
|
287 |
<properties>
|
|
|
288 |
|
|
|
289 |
<!-- Sets the project's default encoding.
|
|
|
290 |
http://docs.codehaus.org/display/MAVENUSER/POM+Element+for+Source+File+Encoding -->
|
|
|
291 |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
292 |
|
|
|
293 |
<!--
|
|
|
294 |
This is just for "eclipse:eclipse" goal to always attempt downloading
|
|
|
295 |
sources
|
|
|
296 |
-->
|
|
|
297 |
<downloadSources>true</downloadSources>
|
|
|
298 |
|
|
|
299 |
<!--
|
|
|
300 |
Specify AppEngine version for your project. It should match SDK
|
|
|
301 |
version pointed to by ${gae.home} property (Typically, one used by
|
|
|
302 |
your Eclipse plug-in)
|
|
|
303 |
-->
|
|
|
304 |
<gae.version>1.5.1</gae.version>
|
|
|
305 |
|
|
|
306 |
<!--
|
|
|
307 |
Upload to http://test.latest.<applicationName>.appspot.com by default
|
|
|
308 |
-->
|
|
|
309 |
<gae.application.version>test</gae.application.version>
|
|
|
310 |
|
|
|
311 |
<datanucleus.version>1.1.5</datanucleus.version>
|
| 2871 |
vikas |
312 |
<env>dev</env>
|
| 2620 |
vikas |
313 |
</properties>
|
|
|
314 |
|
|
|
315 |
<profiles>
|
|
|
316 |
<!--
|
|
|
317 |
We can configure our integration server to activate this profile and
|
|
|
318 |
perform gae:deploy, thus uploading latest snapshot to the
|
|
|
319 |
http://1.latest.<applicationName>.appspot.com automatically
|
|
|
320 |
-->
|
|
|
321 |
<profile>
|
|
|
322 |
<id>integration-build</id>
|
|
|
323 |
<properties>
|
|
|
324 |
<gae.application.version>stage</gae.application.version>
|
|
|
325 |
</properties>
|
|
|
326 |
</profile>
|
|
|
327 |
|
|
|
328 |
<!--
|
|
|
329 |
This profile will activate automatically during release and upload
|
|
|
330 |
application to the http://2.latest.<applicationName>.appspot.com (We
|
|
|
331 |
might want to set the 2nd version as our applications Default version
|
|
|
332 |
to be accessible at http://<applicationName>.appspot.com)
|
|
|
333 |
-->
|
|
|
334 |
<profile>
|
|
|
335 |
<id>release-build</id>
|
|
|
336 |
<activation>
|
|
|
337 |
<property>
|
|
|
338 |
<name>performRelease</name>
|
|
|
339 |
<value>true</value>
|
|
|
340 |
</property>
|
|
|
341 |
</activation>
|
|
|
342 |
|
|
|
343 |
<properties>
|
|
|
344 |
<!--
|
|
|
345 |
During release, set application version in appengine-web.xml to 2
|
|
|
346 |
-->
|
|
|
347 |
<gae.application.version>release</gae.application.version>
|
|
|
348 |
</properties>
|
|
|
349 |
</profile>
|
|
|
350 |
</profiles>
|
|
|
351 |
|
|
|
352 |
</project>
|