Subversion Repositories SmartDukaan

Rev

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