Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
9103 anupam.sin 1
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2
  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
  <groupId>in.shop2020</groupId>
5
  <artifactId>MobileWebsiteApi</artifactId>
6
  <packaging>war</packaging>
7
  <version>1.0-SNAPSHOT</version>
8
 
9
  <name>API for m.saholic.com</name>
10
 
11
  <parent>
12
    <groupId>in.shop2020</groupId>
13
    <artifactId>parent</artifactId>
14
    <version>1.0-SNAPSHOT</version>
15
  </parent>
16
 
17
  <properties>
18
    <env>dev</env>
19
  </properties>
20
 
21
  <build>
22
    <filters>
23
      <filter>src/main/filters/${env}/filters.properties</filter>
24
    </filters>
25
    <resources>
26
      <resource>
27
        <directory>src/main/resources</directory>
28
        <filtering>true</filtering>
29
      </resource>
30
    </resources>
31
    <plugins>
32
      <plugin>
33
        <groupId>org.apache.maven.plugins</groupId>
34
        <artifactId>maven-compiler-plugin</artifactId>
35
        <version>2.3.2</version>
36
        <configuration>
37
          <debug>true</debug>
38
          <optimize>true</optimize>
39
          <source>1.6</source>
40
          <target>1.6</target>
41
        </configuration>
42
      </plugin>
43
    </plugins>
44
  </build>
45
 
46
  <profiles>
47
    <profile>
48
      <activation>
49
        <property>
50
          <name>env</name>
51
          <value>dev</value>
52
        </property>
53
      </activation>
54
      <build>
55
        <plugins>
56
          <plugin>
57
	      	<groupId>org.apache.maven.plugins</groupId>
58
	        <artifactId>maven-war-plugin</artifactId>
59
	        <version>2.1.1</version>
60
		    <configuration>
61
	          <webResources>
62
	            <resource>
63
	              <directory>src/main/webapp</directory>
64
	              <includes>
65
	                <include>WEB-INF/content/*.vm</include>
66
	                <include>WEB-INF/web.xml</include>
67
	              </includes>
68
	              <filtering>true</filtering>
69
	            </resource>
70
		      </webResources>
71
	        </configuration>
72
	      </plugin>
73
        </plugins>
74
      </build>
75
    </profile>
76
 
77
    <profile>
78
      <id>minify</id>
79
      <build>
80
        <plugins>
81
          <plugin>
82
            <groupId>org.apache.maven.plugins</groupId>
83
            <artifactId>maven-resources-plugin</artifactId>
84
            <version>2.4.3</version>
85
            <executions>
86
              <execution>
87
                <id>copy-resources</id>
88
                <!-- here the phase you need -->
89
                <phase>compile</phase>
90
                <goals>
91
                  <goal>copy-resources</goal>
92
                </goals>
93
                <configuration>
94
                  <overwrite>true</overwrite>
95
                  <outputDirectory>${project.build.outputDirectory}</outputDirectory>
96
                  <resources>          
97
                    <resource>
98
                      <directory>src/production/resources</directory>
99
                      <filtering>true</filtering>
100
                    </resource>
101
                  </resources>
102
                </configuration>
103
                </execution>                
104
            </executions>
105
          </plugin>
106
 
107
          <plugin>
108
            <groupId>org.codehaus.mojo</groupId>
109
            <artifactId>exec-maven-plugin</artifactId>
110
            <version>1.1.1</version>
111
            <executions>
112
              <execution>
113
                <id>ImageVersioning</id>
114
                <phase>generate-resources</phase>
115
                <goals>
116
                    <goal>exec</goal>
117
                </goals>
118
                <configuration>
119
                    <executable>${basedir}/scripts/image_version.sh</executable>
120
                </configuration>
121
              </execution>
122
              <execution>
123
                <id>JsVersioning</id>
124
                <phase>prepare-package</phase>
125
                <goals>
126
                    <goal>exec</goal>
127
                </goals>
128
                <configuration>
129
                    <executable>${basedir}/scripts/js_css_version.sh</executable>
130
                </configuration>
131
              </execution>
132
            </executions>
133
          </plugin>
134
 
135
          <plugin>
136
	      	<groupId>org.apache.maven.plugins</groupId>
137
	        <artifactId>maven-war-plugin</artifactId>
138
	        <version>2.1.1</version>
139
	        <executions>
140
			     <execution>
141
			       <id>default-war</id>
142
			       <phase>prepare-package</phase>
143
			       <goals>
144
			         <goal>war</goal>
145
			       </goals>
146
			       <configuration>
147
					  <warSourceExcludes>js/**,css/**,images/**</warSourceExcludes>
148
			          <webResources>
149
				    	<resource>
150
			              <directory>${project.build.directory}/js</directory>
151
			              <targetPath>js</targetPath>
152
			              <filtering>true</filtering>
153
			            </resource>
154
			            <resource>
155
			              <directory>src/main/webapp</directory>
156
			              <includes>
157
			                <include>WEB-INF/content/*.vm</include>
158
			                <include>WEB-INF/web.xml</include>
159
			                <include>js/ga-invoker.js</include>
160
			                <include>js/facebook.js</include>
161
			                <include>js/loginregister.js</include>
162
			                </includes>
163
			              <filtering>true</filtering>
164
			            </resource>
165
				  	  </webResources>
166
			        </configuration>
167
			     </execution>
168
			     <execution>
169
                    <id>build-war</id>
170
                    <phase>package</phase>
171
                    <goals>
172
                    	<goal>war</goal>
173
                    </goals>
174
                     <configuration>
175
                        <warSourceExcludes>**</warSourceExcludes>
176
                    </configuration>
177
                 </execution>
178
	        </executions>
179
	        <configuration>
180
           <useCache>true</useCache>
181
            </configuration>
182
	      </plugin>
183
        </plugins>
184
      </build>
185
    </profile>
186
  </profiles>
187
 
188
  <dependencies>
189
	<!-- Servlet API is only required at compile time. It
190
	 should be provided by the container at the run time. -->
191
    <dependency>
192
      <groupId>readonly.apache</groupId>
193
      <artifactId>servlet-api</artifactId>
194
      <version>2.5</version>
195
      <scope>provided</scope>
196
    </dependency>
197
 
198
	<!-- Internal Dependencies -->
199
    <dependency>
200
      <groupId>in.shop2020</groupId>
201
      <artifactId>ThriftConfig</artifactId>
202
      <version>1.0-SNAPSHOT</version>
203
    </dependency>
204
    <dependency>
205
      <groupId>in.shop2020</groupId>
206
      <artifactId>Common</artifactId>
207
      <version>1.0-SNAPSHOT</version>
208
    </dependency>
209
 
9220 amit.gupta 210
    <dependency>
211
      <groupId>in.shop2020</groupId>
212
      <artifactId>ContentStore</artifactId>
213
      <version>1.0-SNAPSHOT</version>
214
    </dependency>
215
 
9103 anupam.sin 216
	<!-- All the other dependencies. -->
217
	<dependency>
218
      <groupId>readonly.apache</groupId>
219
      <artifactId>commons-codec</artifactId>
220
      <version>1.4</version>
221
    </dependency>
222
    <dependency>
223
      <groupId>readonly.apache</groupId>
224
      <artifactId>commons-collections</artifactId>
225
      <version>3.2.1</version>
226
    </dependency>
227
    <dependency>
228
      <groupId>readonly.apache</groupId>
229
      <artifactId>commons-digester</artifactId>
230
      <version>2.0</version>
231
    </dependency>
232
    <dependency>
233
      <groupId>readonly.apache</groupId>
234
      <artifactId>commons-fileupload</artifactId>
235
      <version>1.2.1</version>
236
    </dependency>
237
    <dependency>
238
      <groupId>readonly.apache</groupId>
239
      <artifactId>commons-io</artifactId>
240
      <version>1.3.2</version>
241
    </dependency>
242
    <dependency>
243
      <groupId>readonly.apache</groupId>
244
      <artifactId>commons-lang</artifactId>
245
      <version>2.4</version>
246
    </dependency>
247
    <dependency>
248
      <groupId>readonly.apache</groupId>
249
      <artifactId>commons-logging</artifactId>
250
      <version>1.0.4</version>
251
    </dependency>
252
    <dependency>
253
      <groupId>readonly.apache</groupId>
254
      <artifactId>commons-logging-api</artifactId>
255
      <version>1.1</version>
256
    </dependency>
257
    <dependency>
258
      <groupId>readonly.apache</groupId>
259
      <artifactId>commons-validator</artifactId>
260
      <version>1.3.1</version>
261
    </dependency>
262
    <dependency>
263
      <groupId>readonly.apache</groupId>
264
      <artifactId>ezmorph</artifactId>
265
      <version>1.0.3</version>
266
    </dependency>
267
    <dependency>
268
      <groupId>readonly.apache</groupId>
269
      <artifactId>json-lib</artifactId>
270
      <version>2.1-jdk15</version>
271
    </dependency>
272
    <dependency>
273
      <groupId>readonly.apache</groupId>
274
      <artifactId>jsp-api</artifactId>
275
      <version>2.1</version>
276
    </dependency>
277
    <dependency>
278
      <groupId>readonly.apache</groupId>
279
      <artifactId>log4j</artifactId>
280
      <version>1.2.16</version>
281
    </dependency>
282
    <dependency>
283
      <groupId>readonly.apache</groupId>
284
      <artifactId>ognl</artifactId>
285
      <version>2.7.3</version>
286
    </dependency>
287
    <dependency>
288
      <groupId>readonly.apache.struts</groupId>
289
      <artifactId>struts2-convention-plugin</artifactId>
290
      <version>2.1.8.1</version>
291
    </dependency>
292
    <dependency>
293
      <groupId>readonly.apache.struts</groupId>
294
      <artifactId>struts2-core</artifactId>
295
      <version>2.1.8.1</version>
296
    </dependency>
297
    <dependency>
298
      <groupId>readonly.apache.struts</groupId>
299
      <artifactId>struts2-rest-plugin</artifactId>
300
      <version>2.1.8.1</version>
301
    </dependency>
302
    <dependency>
303
      <groupId>readonly.apache.struts</groupId>
304
      <artifactId>xstream</artifactId>
305
      <version>1.2.2</version>
306
    </dependency>
307
    <dependency>
308
      <groupId>readonly.apache.struts</groupId>
309
      <artifactId>xwork-core</artifactId>
310
      <version>2.1.6</version>
311
    </dependency>
312
    <dependency>
313
  		<groupId>org.apache.thrift</groupId>
314
  		<artifactId>libthrift</artifactId>
315
  		<version>0.7.0</version>
316
        <exclusions>
317
        <exclusion>
318
		    <groupId>commons-codec</groupId>
319
  			<artifactId>commons-codec</artifactId>
320
        </exclusion>
321
        </exclusions>
322
	</dependency>
323
    <dependency>
324
      <groupId>readonly.apache</groupId>
325
      <artifactId>velocity</artifactId>
326
      <version>1.6.3</version>
327
    </dependency>
328
    <dependency>
329
      <groupId>readonly.apache</groupId>
330
      <artifactId>velocity-tools</artifactId>
331
      <version>1.4</version>
332
    </dependency>
333
    <dependency>
334
      <groupId>readonly.apache</groupId>
335
      <artifactId>xpp3_min</artifactId>
336
      <version>1.1.3.4.O</version>
337
    </dependency>
338
    <dependency>
339
      <groupId>readonly</groupId>
340
      <artifactId>freemarker</artifactId>
341
      <version>2.3.15</version>
342
    </dependency>
343
    <dependency>
344
      <groupId>readonly.slf4j</groupId>
345
      <artifactId>slf4j-api</artifactId>
346
      <version>1.5.8</version>
347
    </dependency>
348
    <dependency>
349
      <groupId>readonly.slf4j</groupId>
350
      <artifactId>slf4j-simple</artifactId>
351
      <version>1.5.8</version>
352
    </dependency>
353
    <dependency>
354
      <groupId>readonly</groupId>
355
      <artifactId>hdfc-payment</artifactId>
356
      <version>2.0</version>
357
    </dependency>
358
    <dependency>
359
      <groupId>readonly</groupId>
360
      <artifactId>yuicompressor</artifactId>
361
      <version>2.4.2</version>
362
    </dependency>
363
    <dependency>
364
        <groupId>org.json</groupId>
365
        <artifactId>json</artifactId>
366
        <version>20090211</version>
367
    </dependency>
368
    <dependency>
369
    	<groupId>com.google.code.gson</groupId>
370
    	<artifactId>gson</artifactId>
371
    	<version>1.7.1</version>
372
    </dependency>
373
    <dependency>
374
        <groupId>net.sf.ehcache</groupId>
375
        <artifactId>ehcache</artifactId>
376
        <version>2.4.4</version>
377
        <type>pom</type>
378
    </dependency>
379
    <dependency>
380
	    <groupId>net.tanesha.recaptcha4j</groupId>
381
	    <artifactId>recaptcha4j</artifactId>
382
	    <version>0.0.7</version>
383
	</dependency>
384
	<!-- Captcha Dependencies -->
385
	<dependency>
386
		<groupId>readonly.nl.captcha</groupId>
387
		<artifactId>SimpleCaptcha</artifactId>
388
		<version>1.2.1</version>
389
	</dependency>
390
        <dependency>
391
	<groupId>com.jcraft</groupId>
392
	<artifactId>jsch</artifactId>
393
	<version>0.1.48</version>
394
</dependency>
395
      <dependency>
396
	<groupId>ant</groupId>
397
	<artifactId>ant-jsch</artifactId>
398
	<version>1.6.5</version>
399
</dependency>
400
    <dependency>
401
	<groupId>org.apache.ant</groupId>
402
	<artifactId>ant</artifactId>
403
	<version>1.7.0</version>
404
</dependency>
405
    <dependency>
406
	<groupId>org.codehaus.groovy.maven.support</groupId>
407
	<artifactId>ant-launcher-1.7.0</artifactId>
408
	<version>1.0-rc-2</version>
409
</dependency>
410
    <dependency>
411
    	<groupId>TrackWebServiceClient</groupId>
412
    	<artifactId>TrackWebServiceClient</artifactId>
413
    	<version>1.0-SNAPSHOT</version>
414
    </dependency>
415
    <dependency>
416
    	<groupId>ShipDEWebServiceClient</groupId>
417
    	<artifactId>ShipDEWebServiceClient</artifactId>
418
    	<version>1.0-SNAPSHOT</version>
419
    </dependency>
420
  </dependencies>
421
</project>