Subversion Repositories SmartDukaan

Rev

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