Subversion Repositories SmartDukaan

Rev

Rev 8431 | Rev 16318 | 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>
16306 amit.gupta 39
          <source>1.7</source>
40
          <target>1.7</target>
1040 chandransh 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>
16306 amit.gupta 59
	        <version>2.3</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>
1487 chandransh 173
                  </includes>
174
                </aggregation>
175
              </aggregations>
176
            </configuration>
177
          </plugin>
178
          <plugin>
179
            <groupId>org.apache.maven.plugins</groupId>
180
            <artifactId>maven-resources-plugin</artifactId>
181
            <version>2.4.3</version>
182
            <executions>
183
              <execution>
184
                <id>copy-resources</id>
185
                <!-- here the phase you need -->
186
                <phase>compile</phase>
187
                <goals>
188
                  <goal>copy-resources</goal>
189
                </goals>
190
                <configuration>
191
                  <overwrite>true</overwrite>
192
                  <outputDirectory>${project.build.outputDirectory}</outputDirectory>
193
                  <resources>          
194
                    <resource>
195
                      <directory>src/production/resources</directory>
1489 chandransh 196
                      <filtering>true</filtering>
1487 chandransh 197
                    </resource>
4085 varun.gupt 198
                  </resources>
199
                </configuration>
5650 vikram.rag 200
                </execution>                
5633 vikram.rag 201
            </executions>
202
          </plugin>
203
 
204
          <plugin>
205
            <groupId>org.codehaus.mojo</groupId>
206
            <artifactId>exec-maven-plugin</artifactId>
207
            <version>1.1.1</version>
208
            <executions>
209
              <execution>
210
                <id>ImageVersioning</id>
211
                <phase>generate-resources</phase>
212
                <goals>
213
                    <goal>exec</goal>
214
                </goals>
215
                <configuration>
216
                    <executable>${basedir}/scripts/image_version.sh</executable>
217
                </configuration>
1487 chandransh 218
              </execution>
5633 vikram.rag 219
              <execution>
220
                <id>JsVersioning</id>
221
                <phase>prepare-package</phase>
222
                <goals>
223
                    <goal>exec</goal>
224
                </goals>
225
                <configuration>
226
                    <executable>${basedir}/scripts/js_css_version.sh</executable>
227
                </configuration>
228
              </execution>
1487 chandransh 229
            </executions>
230
          </plugin>
5633 vikram.rag 231
 
1935 chandransh 232
          <plugin>
233
	      	<groupId>org.apache.maven.plugins</groupId>
234
	        <artifactId>maven-war-plugin</artifactId>
16306 amit.gupta 235
	        <version>2.3</version>
5162 phani.kuma 236
	        <executions>
237
			     <execution>
238
			       <id>default-war</id>
239
			       <phase>prepare-package</phase>
240
			       <goals>
241
			         <goal>war</goal>
242
			       </goals>
243
			       <configuration>
244
					  <warSourceExcludes>js/**,css/**,images/**</warSourceExcludes>
245
			          <webResources>
246
				    	<resource>
247
			              <directory>${project.build.directory}/js</directory>
248
			              <targetPath>js</targetPath>
249
			              <filtering>true</filtering>
250
			            </resource>
251
			            <resource>
252
			              <directory>src/main/webapp</directory>
253
			              <includes>
5625 vikram.rag 254
			                <include>WEB-INF/content/*.vm</include>
5162 phani.kuma 255
			                <include>WEB-INF/web.xml</include>
5667 amar.kumar 256
			                <include>js/ga-invoker.js</include>
7825 amar.kumar 257
			                <include>js/facebook.js</include>
258
			                <include>js/loginregister.js</include>
5633 vikram.rag 259
			                </includes>
5162 phani.kuma 260
			              <filtering>true</filtering>
261
			            </resource>
262
				  	  </webResources>
263
			        </configuration>
264
			     </execution>
265
			     <execution>
266
                    <id>build-war</id>
267
                    <phase>package</phase>
268
                    <goals>
269
                    	<goal>war</goal>
270
                    </goals>
271
                     <configuration>
272
                        <warSourceExcludes>**</warSourceExcludes>
273
                    </configuration>
274
                 </execution>
275
	        </executions>
276
	        <configuration>
5633 vikram.rag 277
           <useCache>true</useCache>
5162 phani.kuma 278
            </configuration>
2453 chandransh 279
	      </plugin>
1487 chandransh 280
        </plugins>
281
      </build>
282
    </profile>
283
  </profiles>
1040 chandransh 284
 
285
  <dependencies>
1046 chandransh 286
	<!-- Servlet API is only required at compile time. It
287
	 should be provided by the container at the run time. -->
1040 chandransh 288
    <dependency>
289
      <groupId>readonly.apache</groupId>
290
      <artifactId>servlet-api</artifactId>
291
      <version>2.5</version>
292
      <scope>provided</scope>
293
    </dependency>
1046 chandransh 294
 
295
	<!-- Internal Dependencies -->
1040 chandransh 296
    <dependency>
297
      <groupId>in.shop2020</groupId>
298
      <artifactId>ThriftConfig</artifactId>
299
      <version>1.0-SNAPSHOT</version>
300
    </dependency>
301
    <dependency>
302
      <groupId>in.shop2020</groupId>
303
      <artifactId>Common</artifactId>
304
      <version>1.0-SNAPSHOT</version>
305
    </dependency>
1046 chandransh 306
 
307
	<!-- All the other dependencies. -->
308
	<dependency>
309
      <groupId>readonly.apache</groupId>
310
      <artifactId>commons-codec</artifactId>
311
      <version>1.4</version>
312
    </dependency>
1040 chandransh 313
    <dependency>
314
      <groupId>readonly.apache</groupId>
315
      <artifactId>commons-collections</artifactId>
316
      <version>3.2.1</version>
317
    </dependency>
318
    <dependency>
319
      <groupId>readonly.apache</groupId>
320
      <artifactId>commons-digester</artifactId>
321
      <version>2.0</version>
322
    </dependency>
323
    <dependency>
16306 amit.gupta 324
      <groupId>commons-fileupload</groupId>
1040 chandransh 325
      <artifactId>commons-fileupload</artifactId>
16306 amit.gupta 326
      <version>1.3.1</version>
1040 chandransh 327
    </dependency>
328
    <dependency>
329
      <groupId>readonly.apache</groupId>
330
      <artifactId>commons-io</artifactId>
331
      <version>1.3.2</version>
332
    </dependency>
333
    <dependency>
334
      <groupId>readonly.apache</groupId>
335
      <artifactId>commons-lang</artifactId>
336
      <version>2.4</version>
337
    </dependency>
338
    <dependency>
339
      <groupId>readonly.apache</groupId>
340
      <artifactId>commons-logging</artifactId>
341
      <version>1.0.4</version>
342
    </dependency>
343
    <dependency>
344
      <groupId>readonly.apache</groupId>
345
      <artifactId>commons-logging-api</artifactId>
346
      <version>1.1</version>
347
    </dependency>
348
    <dependency>
349
      <groupId>readonly.apache</groupId>
350
      <artifactId>commons-validator</artifactId>
351
      <version>1.3.1</version>
352
    </dependency>
353
    <dependency>
354
      <groupId>readonly.apache</groupId>
355
      <artifactId>ezmorph</artifactId>
356
      <version>1.0.3</version>
357
    </dependency>
358
    <dependency>
359
      <groupId>readonly.apache</groupId>
360
      <artifactId>json-lib</artifactId>
361
      <version>2.1-jdk15</version>
362
    </dependency>
363
    <dependency>
364
      <groupId>readonly.apache</groupId>
365
      <artifactId>jsp-api</artifactId>
366
      <version>2.1</version>
367
    </dependency>
368
    <dependency>
369
      <groupId>readonly.apache</groupId>
1046 chandransh 370
      <artifactId>log4j</artifactId>
371
      <version>1.2.16</version>
372
    </dependency>
373
    <dependency>
374
      <groupId>readonly.apache</groupId>
1040 chandransh 375
      <artifactId>ognl</artifactId>
376
      <version>2.7.3</version>
377
    </dependency>
1046 chandransh 378
    <dependency>
379
      <groupId>readonly.apache.struts</groupId>
380
      <artifactId>struts2-convention-plugin</artifactId>
381
      <version>2.1.8.1</version>
382
    </dependency>
383
    <dependency>
384
      <groupId>readonly.apache.struts</groupId>
385
      <artifactId>struts2-core</artifactId>
386
      <version>2.1.8.1</version>
387
    </dependency>
388
    <dependency>
389
      <groupId>readonly.apache.struts</groupId>
390
      <artifactId>struts2-rest-plugin</artifactId>
391
      <version>2.1.8.1</version>
392
    </dependency>
393
    <dependency>
394
      <groupId>readonly.apache.struts</groupId>
395
      <artifactId>xstream</artifactId>
396
      <version>1.2.2</version>
397
    </dependency>
398
    <dependency>
399
      <groupId>readonly.apache.struts</groupId>
400
      <artifactId>xwork-core</artifactId>
401
      <version>2.1.6</version>
402
    </dependency>
403
    <dependency>
3433 rajveer 404
  		<groupId>org.apache.thrift</groupId>
405
  		<artifactId>libthrift</artifactId>
16306 amit.gupta 406
  		<version>0.9.2</version>
3433 rajveer 407
        <exclusions>
408
        <exclusion>
409
		    <groupId>commons-codec</groupId>
410
  			<artifactId>commons-codec</artifactId>
411
        </exclusion>
412
        </exclusions>
413
	</dependency>
1040 chandransh 414
    <dependency>
415
      <groupId>readonly.apache</groupId>
416
      <artifactId>velocity</artifactId>
417
      <version>1.6.3</version>
418
    </dependency>
419
    <dependency>
420
      <groupId>readonly.apache</groupId>
421
      <artifactId>velocity-tools</artifactId>
422
      <version>1.4</version>
423
    </dependency>
424
    <dependency>
425
      <groupId>readonly.apache</groupId>
426
      <artifactId>xpp3_min</artifactId>
427
      <version>1.1.3.4.O</version>
428
    </dependency>
429
    <dependency>
430
      <groupId>readonly</groupId>
431
      <artifactId>freemarker</artifactId>
432
      <version>2.3.15</version>
433
    </dependency>
434
    <dependency>
435
      <groupId>readonly.slf4j</groupId>
436
      <artifactId>slf4j-api</artifactId>
437
      <version>1.5.8</version>
438
    </dependency>
439
    <dependency>
440
      <groupId>readonly.slf4j</groupId>
441
      <artifactId>slf4j-simple</artifactId>
442
      <version>1.5.8</version>
443
    </dependency>
1046 chandransh 444
    <dependency>
445
      <groupId>readonly</groupId>
446
      <artifactId>hdfc-payment</artifactId>
2334 chandransh 447
      <version>2.0</version>
1046 chandransh 448
    </dependency>
449
    <dependency>
450
      <groupId>readonly</groupId>
451
      <artifactId>yuicompressor</artifactId>
452
      <version>2.4.2</version>
453
    </dependency>
1511 rajveer 454
    <dependency>
1765 vikas 455
        <groupId>org.json</groupId>
456
        <artifactId>json</artifactId>
457
        <version>20090211</version>
458
    </dependency>
2907 rajveer 459
    <dependency>
460
    	<groupId>com.google.code.gson</groupId>
461
    	<artifactId>gson</artifactId>
462
    	<version>1.7.1</version>
463
    </dependency>
3050 vikas 464
    <dependency>
465
        <groupId>net.sf.ehcache</groupId>
466
        <artifactId>ehcache</artifactId>
467
        <version>2.4.4</version>
468
        <type>pom</type>
469
    </dependency>
3063 chandransh 470
    <dependency>
471
	    <groupId>net.tanesha.recaptcha4j</groupId>
472
	    <artifactId>recaptcha4j</artifactId>
473
	    <version>0.0.7</version>
474
	</dependency>
4609 phani.kuma 475
	<!-- Captcha Dependencies -->
476
	<dependency>
4626 rajveer 477
		<groupId>readonly.nl.captcha</groupId>
478
		<artifactId>SimpleCaptcha</artifactId>
4609 phani.kuma 479
		<version>1.2.1</version>
480
	</dependency>
6848 kshitij.so 481
        <dependency>
482
	<groupId>com.jcraft</groupId>
483
	<artifactId>jsch</artifactId>
484
	<version>0.1.48</version>
485
</dependency>
486
      <dependency>
487
	<groupId>ant</groupId>
488
	<artifactId>ant-jsch</artifactId>
489
	<version>1.6.5</version>
490
</dependency>
491
    <dependency>
492
	<groupId>org.apache.ant</groupId>
493
	<artifactId>ant</artifactId>
494
	<version>1.7.0</version>
495
</dependency>
496
    <dependency>
497
	<groupId>org.codehaus.groovy.maven.support</groupId>
498
	<artifactId>ant-launcher-1.7.0</artifactId>
499
	<version>1.0-rc-2</version>
500
</dependency>
7929 manish.sha 501
    <dependency>
502
    	<groupId>TrackWebServiceClient</groupId>
503
    	<artifactId>TrackWebServiceClient</artifactId>
504
    	<version>1.0-SNAPSHOT</version>
505
    </dependency>
7940 manish.sha 506
    <dependency>
507
    	<groupId>ShipDEWebServiceClient</groupId>
508
    	<artifactId>ShipDEWebServiceClient</artifactId>
509
    	<version>1.0-SNAPSHOT</version>
510
    </dependency>
1040 chandransh 511
  </dependencies>
512
</project>