Subversion Repositories SmartDukaan

Rev

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