Subversion Repositories SmartDukaan

Rev

Rev 2620 | Rev 2871 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
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>
75
 
76
		<!--
77
			Make use of JSP tags. Remove, if you don't use JSPs
78
		-->
79
		<dependency>
80
			<artifactId>standard</artifactId>
81
			<groupId>taglibs</groupId>
82
			<version>1.1.2</version>
83
			<type>jar</type>
84
			<scope>runtime</scope>
85
		</dependency>
86
 
87
		<!-- These dependencies are here just for enabling logging -->
88
		<dependency>
89
			<groupId>org.slf4j</groupId>
90
			<artifactId>slf4j-api</artifactId>
91
			<version>1.6.1</version>
92
		</dependency>
93
 
94
		<dependency>
95
			<groupId>ch.qos.logback</groupId>
96
			<artifactId>logback-classic</artifactId>
97
			<version>0.9.24</version>
98
		</dependency>
99
 
100
		<!-- Test scope -->
101
		<dependency>
102
			<groupId>junit</groupId>
103
			<artifactId>junit</artifactId>
104
			<version>4.5</version>
105
			<scope>test</scope>
106
		</dependency>
107
 
108
		<!--
109
			GAE libraries for local testing as described here:
110
			http://code.google.com/appengine/docs/java/howto/unittesting.html
111
		-->
112
		<dependency>
113
			<groupId>com.google.appengine</groupId>
114
			<artifactId>appengine-api-labs</artifactId>
115
			<version>${gae.version}</version>
116
			<scope>test</scope>
117
		</dependency>
118
 
119
		<dependency>
120
			<groupId>com.google.appengine</groupId>
121
			<artifactId>appengine-api-stubs</artifactId>
122
			<version>${gae.version}</version>
123
			<scope>test</scope>
124
		</dependency>
125
 
126
		<dependency>
127
			<groupId>com.google.appengine</groupId>
128
			<artifactId>appengine-testing</artifactId>
129
			<version>${gae.version}</version>
130
			<scope>test</scope>
131
		</dependency>
132
 
133
        <dependency>
134
            <groupId>javax.jdo</groupId>
135
            <artifactId>jdo2-api</artifactId>
136
            <version>2.3-eb</version>
137
            <exclusions>
138
                <exclusion>
139
                    <groupId>javax.transaction</groupId>
140
                    <artifactId>transaction-api</artifactId>
141
                </exclusion>
142
            </exclusions>
143
        </dependency>
144
	</dependencies>
145
 
146
	<build>
147
		<plugins>
148
			<!--
149
				This plug-in "enhances" your domain model objects (i.e. makes them
150
				persistent for datanucleus)
151
			-->
152
			<plugin>
153
				<groupId>org.datanucleus</groupId>
154
				<artifactId>maven-datanucleus-plugin</artifactId>
155
				<version>1.1.4</version>
156
				<configuration>
157
					<!--
158
						Make sure this path contains your persistent classes!
159
					-->
160
					<mappingIncludes>**/model/*.class</mappingIncludes>
161
					<verbose>true</verbose>
162
					<enhancerName>ASM</enhancerName>
163
					<api>JDO</api>
164
				</configuration>
165
				<executions>
166
					<execution>
167
						<phase>compile</phase>
168
						<goals>
169
							<goal>enhance</goal>
170
						</goals>
171
					</execution>
172
				</executions>
173
				<dependencies>
174
					<dependency>
175
						<groupId>org.datanucleus</groupId>
176
						<artifactId>datanucleus-core</artifactId>
177
						<version>${datanucleus.version}</version>
178
						<exclusions>
179
							<exclusion>
180
								<groupId>javax.transaction</groupId>
181
								<artifactId>transaction-api</artifactId>
182
							</exclusion>
183
						</exclusions>
184
					</dependency>
185
					<dependency>
186
						<groupId>org.datanucleus</groupId>
187
						<artifactId>datanucleus-rdbms</artifactId>
188
						<version>${datanucleus.version}</version>
189
					</dependency>
190
					<dependency>
191
						<groupId>org.datanucleus</groupId>
192
						<artifactId>datanucleus-enhancer</artifactId>
193
						<version>1.1.4</version>
194
					</dependency>
195
					<dependency>
196
						<groupId>javax.jdo</groupId>
197
						<artifactId>jdo2-api</artifactId>
198
						<version>2.3-ec</version>
199
						<scope>runtime</scope>
200
					</dependency>
201
				</dependencies>
202
			</plugin>
203
 
204
			<plugin>
205
				<groupId>org.apache.maven.plugins</groupId>
206
				<artifactId>maven-war-plugin</artifactId>
207
				<version>2.1-beta-1</version>
208
				<configuration>
209
					<webResources>
210
						<resource>
211
							<directory>src/main/webapp</directory>
212
							<filtering>true</filtering>
213
							<includes>
214
								<include>**/appengine-web.xml</include>
215
							</includes>
216
						</resource>
217
					</webResources>
218
				</configuration>
219
			</plugin>
220
 
221
			<!--
222
				The actual maven-gae-plugin. Type "mvn gae:run" to run project, "mvn
223
				gae:deploy" to upload to GAE.
224
			-->
225
			<plugin>
226
				<groupId>net.kindleit</groupId>
227
				<artifactId>maven-gae-plugin</artifactId>
228
				<version>0.8.4</version>
229
        <dependencies>
230
          <dependency>
231
            <groupId>net.kindleit</groupId>
232
            <artifactId>gae-runtime</artifactId>
233
            <version>${gae.version}</version>
234
            <type>pom</type>
235
          </dependency>
236
        </dependencies>
237
			</plugin>
238
 
239
			<!--
240
				Upload application to the appspot automatically, during
241
				release:perform
242
			-->
243
			<plugin>
244
				<artifactId>maven-release-plugin</artifactId>
245
				<configuration>
246
					<goals>gae:deploy</goals>
247
				</configuration>
248
			</plugin>
249
 
250
			<!-- Java compiler version -->
251
			<plugin>
252
				<groupId>org.apache.maven.plugins</groupId>
253
				<artifactId>maven-compiler-plugin</artifactId>
254
				<version>2.0</version>
255
				<configuration>
256
					<source>1.6</source>
257
					<target>1.6</target>
258
				</configuration>
259
			</plugin>
260
		</plugins>
261
	</build>
262
 
263
	<!-- Specify hard-coded project properties here -->
264
	<properties>
265
 
266
	  <!-- Sets the project's default encoding.
267
         http://docs.codehaus.org/display/MAVENUSER/POM+Element+for+Source+File+Encoding -->
268
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
269
 
270
		<!--
271
			This is just for "eclipse:eclipse" goal to always attempt downloading
272
			sources
273
		-->
274
		<downloadSources>true</downloadSources>
275
 
276
		<!--
277
			Specify AppEngine version for your project. It should match SDK
278
			version pointed to by ${gae.home} property (Typically, one used by
279
			your Eclipse plug-in)
280
		-->
281
		<gae.version>1.5.1</gae.version>
282
 
283
		<!--
284
			Upload to http://test.latest.<applicationName>.appspot.com by default
285
		-->
286
		<gae.application.version>test</gae.application.version>
287
 
288
        <datanucleus.version>1.1.5</datanucleus.version>
289
	</properties>
290
 
291
	<profiles>
292
		<!--
293
			We can configure our integration server to activate this profile and
294
			perform gae:deploy, thus uploading latest snapshot to the
295
			http://1.latest.<applicationName>.appspot.com automatically
296
		-->
297
		<profile>
298
			<id>integration-build</id>
299
			<properties>
300
				<gae.application.version>stage</gae.application.version>
301
			</properties>
302
		</profile>
303
 
304
		<!--
305
			This profile will activate automatically during release and upload
306
			application to the http://2.latest.<applicationName>.appspot.com (We
307
			might want to set the 2nd version as our applications Default version
308
			to be accessible at http://<applicationName>.appspot.com)
309
		-->
310
		<profile>
311
			<id>release-build</id>
312
			<activation>
313
				<property>
314
					<name>performRelease</name>
315
					<value>true</value>
316
				</property>
317
			</activation>
318
 
319
			<properties>
320
				<!--
321
					During release, set application version in appengine-web.xml to 2
322
				-->
323
				<gae.application.version>release</gae.application.version>
324
			</properties>
325
		</profile>
326
	</profiles>
327
 
328
</project>