Subversion Repositories SmartDukaan

Rev

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