Subversion Repositories SmartDukaan

Rev

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