Subversion Repositories SmartDukaan

Rev

Rev 2699 | Go to most recent revision | Details | Last modification | View Log | RSS feed

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