Subversion Repositories SmartDukaan

Rev

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