Subversion Repositories SmartDukaan

Rev

Rev 2699 | Rev 3004 | 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>
2871 vikas 147
	    <filters>
148
          <filter>src/main/filters/${env}/filters.properties</filter>
149
        </filters>
150
        <resources>
151
          <resource>
152
            <directory>src/main/resources</directory>
153
            <filtering>true</filtering>
154
          </resource>
155
        </resources>
2620 vikas 156
		<plugins>
157
			<!--
158
				This plug-in "enhances" your domain model objects (i.e. makes them
159
				persistent for datanucleus)
160
			-->
161
			<plugin>
162
				<groupId>org.datanucleus</groupId>
163
				<artifactId>maven-datanucleus-plugin</artifactId>
164
				<version>1.1.4</version>
165
				<configuration>
166
					<!--
167
						Make sure this path contains your persistent classes!
168
					-->
169
					<mappingIncludes>**/model/*.class</mappingIncludes>
170
					<verbose>true</verbose>
171
					<enhancerName>ASM</enhancerName>
172
					<api>JDO</api>
173
				</configuration>
174
				<executions>
175
					<execution>
176
						<phase>compile</phase>
177
						<goals>
178
							<goal>enhance</goal>
179
						</goals>
180
					</execution>
181
				</executions>
182
				<dependencies>
183
					<dependency>
184
						<groupId>org.datanucleus</groupId>
185
						<artifactId>datanucleus-core</artifactId>
186
						<version>${datanucleus.version}</version>
187
						<exclusions>
188
							<exclusion>
189
								<groupId>javax.transaction</groupId>
190
								<artifactId>transaction-api</artifactId>
191
							</exclusion>
192
						</exclusions>
193
					</dependency>
194
					<dependency>
195
						<groupId>org.datanucleus</groupId>
196
						<artifactId>datanucleus-rdbms</artifactId>
197
						<version>${datanucleus.version}</version>
198
					</dependency>
199
					<dependency>
200
						<groupId>org.datanucleus</groupId>
201
						<artifactId>datanucleus-enhancer</artifactId>
202
						<version>1.1.4</version>
203
					</dependency>
204
					<dependency>
205
						<groupId>javax.jdo</groupId>
206
						<artifactId>jdo2-api</artifactId>
207
						<version>2.3-ec</version>
208
						<scope>runtime</scope>
209
					</dependency>
210
				</dependencies>
211
			</plugin>
212
 
213
			<plugin>
214
				<groupId>org.apache.maven.plugins</groupId>
215
				<artifactId>maven-war-plugin</artifactId>
216
				<version>2.1-beta-1</version>
217
				<configuration>
218
					<webResources>
219
						<resource>
220
							<directory>src/main/webapp</directory>
221
							<filtering>true</filtering>
222
							<includes>
223
								<include>**/appengine-web.xml</include>
224
							</includes>
225
						</resource>
226
					</webResources>
227
				</configuration>
228
			</plugin>
229
 
230
			<!--
231
				The actual maven-gae-plugin. Type "mvn gae:run" to run project, "mvn
232
				gae:deploy" to upload to GAE.
233
			-->
234
			<plugin>
235
				<groupId>net.kindleit</groupId>
236
				<artifactId>maven-gae-plugin</artifactId>
237
				<version>0.8.4</version>
2871 vikas 238
                                <configuration>
239
                                    <serverId>appengine.google.com</serverId>
240
                                </configuration>
241
 
2620 vikas 242
        <dependencies>
243
          <dependency>
244
            <groupId>net.kindleit</groupId>
245
            <artifactId>gae-runtime</artifactId>
246
            <version>${gae.version}</version>
247
            <type>pom</type>
248
          </dependency>
249
        </dependencies>
250
			</plugin>
251
 
252
			<!--
253
				Upload application to the appspot automatically, during
254
				release:perform
255
			-->
256
			<plugin>
257
				<artifactId>maven-release-plugin</artifactId>
258
				<configuration>
259
					<goals>gae:deploy</goals>
260
				</configuration>
261
			</plugin>
262
 
263
			<!-- Java compiler version -->
264
			<plugin>
265
				<groupId>org.apache.maven.plugins</groupId>
266
				<artifactId>maven-compiler-plugin</artifactId>
267
				<version>2.0</version>
268
				<configuration>
269
					<source>1.6</source>
270
					<target>1.6</target>
271
				</configuration>
272
			</plugin>
273
		</plugins>
274
	</build>
275
 
276
	<!-- Specify hard-coded project properties here -->
277
	<properties>
278
 
279
	  <!-- Sets the project's default encoding.
280
         http://docs.codehaus.org/display/MAVENUSER/POM+Element+for+Source+File+Encoding -->
281
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
282
 
283
		<!--
284
			This is just for "eclipse:eclipse" goal to always attempt downloading
285
			sources
286
		-->
287
		<downloadSources>true</downloadSources>
288
 
289
		<!--
290
			Specify AppEngine version for your project. It should match SDK
291
			version pointed to by ${gae.home} property (Typically, one used by
292
			your Eclipse plug-in)
293
		-->
294
		<gae.version>1.5.1</gae.version>
295
 
296
		<!--
297
			Upload to http://test.latest.<applicationName>.appspot.com by default
298
		-->
299
		<gae.application.version>test</gae.application.version>
300
 
301
        <datanucleus.version>1.1.5</datanucleus.version>
2871 vikas 302
        <env>dev</env>
2620 vikas 303
	</properties>
304
 
305
	<profiles>
306
		<!--
307
			We can configure our integration server to activate this profile and
308
			perform gae:deploy, thus uploading latest snapshot to the
309
			http://1.latest.<applicationName>.appspot.com automatically
310
		-->
311
		<profile>
312
			<id>integration-build</id>
313
			<properties>
314
				<gae.application.version>stage</gae.application.version>
315
			</properties>
316
		</profile>
317
 
318
		<!--
319
			This profile will activate automatically during release and upload
320
			application to the http://2.latest.<applicationName>.appspot.com (We
321
			might want to set the 2nd version as our applications Default version
322
			to be accessible at http://<applicationName>.appspot.com)
323
		-->
324
		<profile>
325
			<id>release-build</id>
326
			<activation>
327
				<property>
328
					<name>performRelease</name>
329
					<value>true</value>
330
				</property>
331
			</activation>
332
 
333
			<properties>
334
				<!--
335
					During release, set application version in appengine-web.xml to 2
336
				-->
337
				<gae.application.version>release</gae.application.version>
338
			</properties>
339
		</profile>
340
	</profiles>
341
 
342
</project>