Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
1040 chandransh 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>Website</artifactId>
6
  <packaging>war</packaging>
7
  <version>1.0-SNAPSHOT</version>
8
 
9
  <name>Web UI for saholic.com</name>
10
 
11
  <parent>
12
    <groupId>in.shop2020</groupId>
13
    <artifactId>parent</artifactId>
14
    <version>1.0-SNAPSHOT</version>
15
  </parent>
16
 
1658 vikas 17
  <properties>
18
    <env>dev</env>
19
  </properties>
20
 
1040 chandransh 21
  <build>
1658 vikas 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>
1040 chandransh 31
    <plugins>
32
      <plugin>
33
        <groupId>org.apache.maven.plugins</groupId>
34
        <artifactId>maven-compiler-plugin</artifactId>
1287 chandransh 35
        <version>2.3.2</version>
1040 chandransh 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>
2274 chandransh 44
  </build>
1487 chandransh 45
 
46
  <profiles>
47
    <profile>
1935 chandransh 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>
2453 chandransh 60
		    <configuration>
1935 chandransh 61
	          <webResources>
2453 chandransh 62
                <resource>
1935 chandransh 63
	              <directory>src/main/webapp/js</directory>
64
	              <targetPath>js</targetPath>
65
	              <filtering>true</filtering>
66
	            </resource>
2274 chandransh 67
	            <resource>
68
	              <directory>src/main/webapp</directory>
69
	              <includes>
5625 vikram.rag 70
	                <include>WEB-INF/content/*.vm</include>
2503 rajveer 71
	                <include>WEB-INF/web.xml</include>
5667 amar.kumar 72
	                <include>js/ga-invoker.js</include>
7825 amar.kumar 73
	                <include>js/facebook.js</include>
74
	                <include>js/loginregister.js</include>
2274 chandransh 75
	              </includes>
76
	              <filtering>true</filtering>
77
	            </resource>
2453 chandransh 78
		      </webResources>
1935 chandransh 79
	        </configuration>
2453 chandransh 80
	      </plugin>
1935 chandransh 81
        </plugins>
82
      </build>
83
    </profile>
84
 
85
    <profile>
1487 chandransh 86
      <id>minify</id>
87
      <build>
88
        <plugins>
89
          <plugin>
90
            <groupId>net.alchim31.maven</groupId>
91
            <artifactId>yuicompressor-maven-plugin</artifactId>
92
            <version>1.1</version>
93
            <executions>
94
              <execution>
95
                <goals>
96
                  <!-- <goal>jslint</goal> -->
97
                  <goal>compress</goal>
98
                </goals>
99
              </execution>
100
            </executions>
101
            <configuration>
1935 chandransh 102
 
1487 chandransh 103
              <linebreakpos>-1</linebreakpos>
104
              <nosuffix>true</nosuffix>
105
              <aggregations>
106
                <aggregation>
5162 phani.kuma 107
                  <removeIncluded>true</removeIncluded>
1487 chandransh 108
                  <output>${project.build.directory}/${project.build.finalName}/css/saholic-min.css</output>
109
                  <!-- files to include, path relative to output's directory or absolute path-->
110
                  <!--inputDir>base directory for non absolute includes, default to parent dir of output</inputDir-->
111
                  <inputDir>${project.build.directory}/${project.build.finalName}/css</inputDir>
112
                  <includes>
113
                    <include>style.css</include>
114
                    <include>common.css</include>
3830 chandransh 115
                    <include>header-footer.css</include>
116
                    <include>widgets.css</include>
117
                    <include>cartflow.css</include>
1487 chandransh 118
                    <include>widget.css</include>
119
                    <include>demoStyles.css</include>
120
                    <include>product.css</include>
121
                    <include>cart.css</include>
122
                    <include>contactus.css</include>
5716 anupam.sin 123
                    <include>shipping.css</include>
1487 chandransh 124
                    <include>signinsignup.css</include>
125
                    <include>myaccount.css</include>
126
                    <include>gc_safari.css</include>
1827 chandransh 127
                    <include>comparision.css</include>
128
                    <include>scroller.css</include>
3101 chandransh 129
                    <include>proceed-to-pay.css</include>
3176 chandransh 130
                    <include>payment-modes.css</include>
3283 rajveer 131
                    <include>jquery.ui.autocomplete.css</include>
6072 amit.gupta 132
                    <include>recharge.css</include>
1487 chandransh 133
                  </includes>
134
                </aggregation>
135
                <aggregation>
1935 chandransh 136
                  <removeIncluded>true</removeIncluded>
137
                  <output>${project.build.directory}/js/saholic-min.js</output>
1487 chandransh 138
                  <!-- files to include, path relative to output's directory or absolute path-->
139
                  <!--inputDir>base directory for non absolute includes, default to parent dir of output</inputDir-->
140
                  <inputDir>${project.build.directory}/${project.build.finalName}/js</inputDir>
141
                  <includes>
142
                    <include>jquery-1.4.2.js</include>
143
                    <include>jquery-ui.min.js</include>
1841 rajveer 144
                    <include>jquery.validate.js</include>
145
                    <include>jquery.Storage.js</include>
146
                    <include>jquery.cookie.js</include>
147
                    <include>jquery.number_format.js</include>
148
                    <include>jquery.tipsy.js</include>
149
                    <include>jquery.truncate.min.js</include>
1487 chandransh 150
                    <include>loginpop.js</include>
151
                    <include>all.js</include>
3830 chandransh 152
                    <include>common.js</include>
1487 chandransh 153
                    <include>charLimit.js</include>
154
                    <include>jsapi.js</include>
155
                    <include>gallery.js</include>
156
                    <include>scrolltab.js</include>
157
                    <include>widget_slidetab.js</include>
158
                    <include>custom-jquery.js</include>
159
                    <include>myaccount.js</include>
1832 varun.gupt 160
                    <include>loginregister.js</include>
1487 chandransh 161
                    <include>loopedslider.js</include>
162
                    <include>widget_accordion.js</include>
163
                    <include>shippingAddress.js</include>
164
                    <include>productCategory.js</include>
1827 chandransh 165
                    <include>comparison.js</include>
1908 chandransh 166
                    <include>paymode-selection.js</include>
2718 varun.gupt 167
                    <include>jquery.colorbox-min.js</include>
4126 varun.gupt 168
                    <include>widgets.js</include>
3111 vikas 169
                    <include>remarketing.js</include>
3830 chandransh 170
                    <include>jquery.ui.autocomplete.js</include>
171
                    <include>cart-details.js</include>
6088 anupam.sin 172
                    <include>recharge.js</include>
7825 amar.kumar 173
                    <include>facebook.js</include>
1487 chandransh 174
                  </includes>
175
                </aggregation>
176
              </aggregations>
177
            </configuration>
178
          </plugin>
179
          <plugin>
180
            <groupId>org.apache.maven.plugins</groupId>
181
            <artifactId>maven-resources-plugin</artifactId>
182
            <version>2.4.3</version>
183
            <executions>
184
              <execution>
185
                <id>copy-resources</id>
186
                <!-- here the phase you need -->
187
                <phase>compile</phase>
188
                <goals>
189
                  <goal>copy-resources</goal>
190
                </goals>
191
                <configuration>
192
                  <overwrite>true</overwrite>
193
                  <outputDirectory>${project.build.outputDirectory}</outputDirectory>
194
                  <resources>          
195
                    <resource>
196
                      <directory>src/production/resources</directory>
1489 chandransh 197
                      <filtering>true</filtering>
1487 chandransh 198
                    </resource>
4085 varun.gupt 199
                  </resources>
200
                </configuration>
5650 vikram.rag 201
                </execution>                
5633 vikram.rag 202
            </executions>
203
          </plugin>
204
 
205
          <plugin>
206
            <groupId>org.codehaus.mojo</groupId>
207
            <artifactId>exec-maven-plugin</artifactId>
208
            <version>1.1.1</version>
209
            <executions>
210
              <execution>
211
                <id>ImageVersioning</id>
212
                <phase>generate-resources</phase>
213
                <goals>
214
                    <goal>exec</goal>
215
                </goals>
216
                <configuration>
217
                    <executable>${basedir}/scripts/image_version.sh</executable>
218
                </configuration>
1487 chandransh 219
              </execution>
5633 vikram.rag 220
              <execution>
221
                <id>JsVersioning</id>
222
                <phase>prepare-package</phase>
223
                <goals>
224
                    <goal>exec</goal>
225
                </goals>
226
                <configuration>
227
                    <executable>${basedir}/scripts/js_css_version.sh</executable>
228
                </configuration>
229
              </execution>
1487 chandransh 230
            </executions>
231
          </plugin>
5633 vikram.rag 232
 
1935 chandransh 233
          <plugin>
234
	      	<groupId>org.apache.maven.plugins</groupId>
235
	        <artifactId>maven-war-plugin</artifactId>
236
	        <version>2.1.1</version>
5162 phani.kuma 237
	        <executions>
238
			     <execution>
239
			       <id>default-war</id>
240
			       <phase>prepare-package</phase>
241
			       <goals>
242
			         <goal>war</goal>
243
			       </goals>
244
			       <configuration>
245
					  <warSourceExcludes>js/**,css/**,images/**</warSourceExcludes>
246
			          <webResources>
247
				    	<resource>
248
			              <directory>${project.build.directory}/js</directory>
249
			              <targetPath>js</targetPath>
250
			              <filtering>true</filtering>
251
			            </resource>
252
			            <resource>
253
			              <directory>src/main/webapp</directory>
254
			              <includes>
5625 vikram.rag 255
			                <include>WEB-INF/content/*.vm</include>
5162 phani.kuma 256
			                <include>WEB-INF/web.xml</include>
5667 amar.kumar 257
			                <include>js/ga-invoker.js</include>
7825 amar.kumar 258
			                <include>js/facebook.js</include>
259
			                <include>js/loginregister.js</include>
5633 vikram.rag 260
			                </includes>
5162 phani.kuma 261
			              <filtering>true</filtering>
262
			            </resource>
263
				  	  </webResources>
264
			        </configuration>
265
			     </execution>
266
			     <execution>
267
                    <id>build-war</id>
268
                    <phase>package</phase>
269
                    <goals>
270
                    	<goal>war</goal>
271
                    </goals>
272
                     <configuration>
273
                        <warSourceExcludes>**</warSourceExcludes>
274
                    </configuration>
275
                 </execution>
276
	        </executions>
277
	        <configuration>
5633 vikram.rag 278
           <useCache>true</useCache>
5162 phani.kuma 279
            </configuration>
2453 chandransh 280
	      </plugin>
1487 chandransh 281
        </plugins>
282
      </build>
283
    </profile>
284
  </profiles>
1040 chandransh 285
 
286
  <dependencies>
1046 chandransh 287
	<!-- Servlet API is only required at compile time. It
288
	 should be provided by the container at the run time. -->
1040 chandransh 289
    <dependency>
290
      <groupId>readonly.apache</groupId>
291
      <artifactId>servlet-api</artifactId>
292
      <version>2.5</version>
293
      <scope>provided</scope>
294
    </dependency>
1046 chandransh 295
 
296
	<!-- Internal Dependencies -->
1040 chandransh 297
    <dependency>
298
      <groupId>in.shop2020</groupId>
299
      <artifactId>ThriftConfig</artifactId>
300
      <version>1.0-SNAPSHOT</version>
301
    </dependency>
302
    <dependency>
303
      <groupId>in.shop2020</groupId>
304
      <artifactId>Common</artifactId>
305
      <version>1.0-SNAPSHOT</version>
306
    </dependency>
1046 chandransh 307
 
308
	<!-- All the other dependencies. -->
309
	<dependency>
310
      <groupId>readonly.apache</groupId>
311
      <artifactId>commons-codec</artifactId>
312
      <version>1.4</version>
313
    </dependency>
1040 chandransh 314
    <dependency>
315
      <groupId>readonly.apache</groupId>
316
      <artifactId>commons-collections</artifactId>
317
      <version>3.2.1</version>
318
    </dependency>
319
    <dependency>
320
      <groupId>readonly.apache</groupId>
321
      <artifactId>commons-digester</artifactId>
322
      <version>2.0</version>
323
    </dependency>
324
    <dependency>
325
      <groupId>readonly.apache</groupId>
326
      <artifactId>commons-fileupload</artifactId>
327
      <version>1.2.1</version>
328
    </dependency>
329
    <dependency>
330
      <groupId>readonly.apache</groupId>
331
      <artifactId>commons-io</artifactId>
332
      <version>1.3.2</version>
333
    </dependency>
334
    <dependency>
335
      <groupId>readonly.apache</groupId>
336
      <artifactId>commons-lang</artifactId>
337
      <version>2.4</version>
338
    </dependency>
339
    <dependency>
340
      <groupId>readonly.apache</groupId>
341
      <artifactId>commons-logging</artifactId>
342
      <version>1.0.4</version>
343
    </dependency>
344
    <dependency>
345
      <groupId>readonly.apache</groupId>
346
      <artifactId>commons-logging-api</artifactId>
347
      <version>1.1</version>
348
    </dependency>
349
    <dependency>
350
      <groupId>readonly.apache</groupId>
351
      <artifactId>commons-validator</artifactId>
352
      <version>1.3.1</version>
353
    </dependency>
354
    <dependency>
355
      <groupId>readonly.apache</groupId>
356
      <artifactId>ezmorph</artifactId>
357
      <version>1.0.3</version>
358
    </dependency>
359
    <dependency>
360
      <groupId>readonly.apache</groupId>
361
      <artifactId>json-lib</artifactId>
362
      <version>2.1-jdk15</version>
363
    </dependency>
364
    <dependency>
365
      <groupId>readonly.apache</groupId>
366
      <artifactId>jsp-api</artifactId>
367
      <version>2.1</version>
368
    </dependency>
369
    <dependency>
370
      <groupId>readonly.apache</groupId>
1046 chandransh 371
      <artifactId>log4j</artifactId>
372
      <version>1.2.16</version>
373
    </dependency>
374
    <dependency>
375
      <groupId>readonly.apache</groupId>
1040 chandransh 376
      <artifactId>ognl</artifactId>
377
      <version>2.7.3</version>
378
    </dependency>
1046 chandransh 379
    <dependency>
380
      <groupId>readonly.apache.struts</groupId>
381
      <artifactId>struts2-convention-plugin</artifactId>
382
      <version>2.1.8.1</version>
383
    </dependency>
384
    <dependency>
385
      <groupId>readonly.apache.struts</groupId>
386
      <artifactId>struts2-core</artifactId>
387
      <version>2.1.8.1</version>
388
    </dependency>
389
    <dependency>
390
      <groupId>readonly.apache.struts</groupId>
391
      <artifactId>struts2-rest-plugin</artifactId>
392
      <version>2.1.8.1</version>
393
    </dependency>
394
    <dependency>
395
      <groupId>readonly.apache.struts</groupId>
396
      <artifactId>xstream</artifactId>
397
      <version>1.2.2</version>
398
    </dependency>
399
    <dependency>
400
      <groupId>readonly.apache.struts</groupId>
401
      <artifactId>xwork-core</artifactId>
402
      <version>2.1.6</version>
403
    </dependency>
404
    <dependency>
3433 rajveer 405
  		<groupId>org.apache.thrift</groupId>
406
  		<artifactId>libthrift</artifactId>
407
  		<version>0.7.0</version>
408
        <exclusions>
409
        <exclusion>
410
		    <groupId>commons-codec</groupId>
411
  			<artifactId>commons-codec</artifactId>
412
        </exclusion>
413
        </exclusions>
414
	</dependency>
1040 chandransh 415
    <dependency>
416
      <groupId>readonly.apache</groupId>
417
      <artifactId>velocity</artifactId>
418
      <version>1.6.3</version>
419
    </dependency>
420
    <dependency>
421
      <groupId>readonly.apache</groupId>
422
      <artifactId>velocity-tools</artifactId>
423
      <version>1.4</version>
424
    </dependency>
425
    <dependency>
426
      <groupId>readonly.apache</groupId>
427
      <artifactId>xpp3_min</artifactId>
428
      <version>1.1.3.4.O</version>
429
    </dependency>
430
    <dependency>
431
      <groupId>readonly</groupId>
432
      <artifactId>freemarker</artifactId>
433
      <version>2.3.15</version>
434
    </dependency>
435
    <dependency>
436
      <groupId>readonly.slf4j</groupId>
437
      <artifactId>slf4j-api</artifactId>
438
      <version>1.5.8</version>
439
    </dependency>
440
    <dependency>
441
      <groupId>readonly.slf4j</groupId>
442
      <artifactId>slf4j-simple</artifactId>
443
      <version>1.5.8</version>
444
    </dependency>
1046 chandransh 445
    <dependency>
446
      <groupId>readonly</groupId>
447
      <artifactId>hdfc-payment</artifactId>
2334 chandransh 448
      <version>2.0</version>
1046 chandransh 449
    </dependency>
450
    <dependency>
451
      <groupId>readonly</groupId>
452
      <artifactId>yuicompressor</artifactId>
453
      <version>2.4.2</version>
454
    </dependency>
1511 rajveer 455
    <dependency>
1765 vikas 456
        <groupId>org.json</groupId>
457
        <artifactId>json</artifactId>
458
        <version>20090211</version>
459
    </dependency>
2907 rajveer 460
    <dependency>
461
    	<groupId>com.google.code.gson</groupId>
462
    	<artifactId>gson</artifactId>
463
    	<version>1.7.1</version>
464
    </dependency>
3050 vikas 465
    <dependency>
466
        <groupId>net.sf.ehcache</groupId>
467
        <artifactId>ehcache</artifactId>
468
        <version>2.4.4</version>
469
        <type>pom</type>
470
    </dependency>
3063 chandransh 471
    <dependency>
472
	    <groupId>net.tanesha.recaptcha4j</groupId>
473
	    <artifactId>recaptcha4j</artifactId>
474
	    <version>0.0.7</version>
475
	</dependency>
4609 phani.kuma 476
	<!-- Captcha Dependencies -->
477
	<dependency>
4626 rajveer 478
		<groupId>readonly.nl.captcha</groupId>
479
		<artifactId>SimpleCaptcha</artifactId>
4609 phani.kuma 480
		<version>1.2.1</version>
481
	</dependency>
6848 kshitij.so 482
        <dependency>
483
	<groupId>com.jcraft</groupId>
484
	<artifactId>jsch</artifactId>
485
	<version>0.1.48</version>
486
</dependency>
487
      <dependency>
488
	<groupId>ant</groupId>
489
	<artifactId>ant-jsch</artifactId>
490
	<version>1.6.5</version>
491
</dependency>
492
    <dependency>
493
	<groupId>org.apache.ant</groupId>
494
	<artifactId>ant</artifactId>
495
	<version>1.7.0</version>
496
</dependency>
497
    <dependency>
498
	<groupId>org.codehaus.groovy.maven.support</groupId>
499
	<artifactId>ant-launcher-1.7.0</artifactId>
500
	<version>1.0-rc-2</version>
501
</dependency>
7929 manish.sha 502
    <dependency>
503
    	<groupId>TrackWebServiceClient</groupId>
504
    	<artifactId>TrackWebServiceClient</artifactId>
505
    	<version>1.0-SNAPSHOT</version>
506
    </dependency>
7940 manish.sha 507
    <dependency>
508
    	<groupId>ShipDEWebServiceClient</groupId>
509
    	<artifactId>ShipDEWebServiceClient</artifactId>
510
    	<version>1.0-SNAPSHOT</version>
511
    </dependency>
1040 chandransh 512
  </dependencies>
513
</project>