Subversion Repositories SmartDukaan

Rev

Rev 4609 | Rev 5045 | 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>
71
	                <include>WEB-INF/content/shipping-index.vm</include>
4053 varun.gupt 72
	                <include>WEB-INF/content/cart-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>
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>
1516 chandransh 149
                    <include>ga-invoker.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>
1487 chandransh 197
              </execution>
198
            </executions>
199
          </plugin>
1935 chandransh 200
          <plugin>
201
	      	<groupId>org.apache.maven.plugins</groupId>
202
	        <artifactId>maven-war-plugin</artifactId>
203
	        <version>2.1.1</version>
204
			<configuration>
205
			  <warSourceExcludes>js/**</warSourceExcludes>
206
	          <webResources>
2453 chandransh 207
		    	<resource>
1935 chandransh 208
	              <directory>${project.build.directory}/js</directory>
209
	              <targetPath>js</targetPath>
210
	              <filtering>true</filtering>
211
	            </resource>
2274 chandransh 212
	            <resource>
213
	              <directory>src/main/webapp</directory>
214
	              <includes>
4085 varun.gupt 215
	                <include>WEB-INF/content/shipping-index.vm</include>
216
	                <include>WEB-INF/content/cart-index.vm</include>
2503 rajveer 217
	                <include>WEB-INF/web.xml</include>
2274 chandransh 218
	              </includes>
219
	              <filtering>true</filtering>
220
	            </resource>
2453 chandransh 221
		  	  </webResources>
1935 chandransh 222
	        </configuration>
2453 chandransh 223
	      </plugin>
1487 chandransh 224
        </plugins>
225
      </build>
226
    </profile>
227
  </profiles>
1040 chandransh 228
 
229
  <dependencies>
1046 chandransh 230
	<!-- Servlet API is only required at compile time. It
231
	 should be provided by the container at the run time. -->
1040 chandransh 232
    <dependency>
233
      <groupId>readonly.apache</groupId>
234
      <artifactId>servlet-api</artifactId>
235
      <version>2.5</version>
236
      <scope>provided</scope>
237
    </dependency>
1046 chandransh 238
 
239
	<!-- Internal Dependencies -->
1040 chandransh 240
    <dependency>
241
      <groupId>in.shop2020</groupId>
242
      <artifactId>ThriftConfig</artifactId>
243
      <version>1.0-SNAPSHOT</version>
244
    </dependency>
245
    <dependency>
246
      <groupId>in.shop2020</groupId>
247
      <artifactId>Common</artifactId>
248
      <version>1.0-SNAPSHOT</version>
249
    </dependency>
1046 chandransh 250
 
251
	<!-- All the other dependencies. -->
252
	<dependency>
253
      <groupId>readonly.apache</groupId>
254
      <artifactId>commons-codec</artifactId>
255
      <version>1.4</version>
256
    </dependency>
1040 chandransh 257
    <dependency>
258
      <groupId>readonly.apache</groupId>
259
      <artifactId>commons-collections</artifactId>
260
      <version>3.2.1</version>
261
    </dependency>
262
    <dependency>
263
      <groupId>readonly.apache</groupId>
264
      <artifactId>commons-digester</artifactId>
265
      <version>2.0</version>
266
    </dependency>
267
    <dependency>
268
      <groupId>readonly.apache</groupId>
269
      <artifactId>commons-fileupload</artifactId>
270
      <version>1.2.1</version>
271
    </dependency>
272
    <dependency>
273
      <groupId>readonly.apache</groupId>
274
      <artifactId>commons-io</artifactId>
275
      <version>1.3.2</version>
276
    </dependency>
277
    <dependency>
278
      <groupId>readonly.apache</groupId>
279
      <artifactId>commons-lang</artifactId>
280
      <version>2.4</version>
281
    </dependency>
282
    <dependency>
283
      <groupId>readonly.apache</groupId>
284
      <artifactId>commons-logging</artifactId>
285
      <version>1.0.4</version>
286
    </dependency>
287
    <dependency>
288
      <groupId>readonly.apache</groupId>
289
      <artifactId>commons-logging-api</artifactId>
290
      <version>1.1</version>
291
    </dependency>
292
    <dependency>
293
      <groupId>readonly.apache</groupId>
294
      <artifactId>commons-validator</artifactId>
295
      <version>1.3.1</version>
296
    </dependency>
297
    <dependency>
298
      <groupId>readonly.apache</groupId>
299
      <artifactId>ezmorph</artifactId>
300
      <version>1.0.3</version>
301
    </dependency>
302
    <dependency>
303
      <groupId>readonly.apache</groupId>
304
      <artifactId>json-lib</artifactId>
305
      <version>2.1-jdk15</version>
306
    </dependency>
307
    <dependency>
308
      <groupId>readonly.apache</groupId>
309
      <artifactId>jsp-api</artifactId>
310
      <version>2.1</version>
311
    </dependency>
312
    <dependency>
313
      <groupId>readonly.apache</groupId>
1046 chandransh 314
      <artifactId>log4j</artifactId>
315
      <version>1.2.16</version>
316
    </dependency>
317
    <dependency>
318
      <groupId>readonly.apache</groupId>
1040 chandransh 319
      <artifactId>ognl</artifactId>
320
      <version>2.7.3</version>
321
    </dependency>
1046 chandransh 322
    <dependency>
323
      <groupId>readonly.apache.struts</groupId>
324
      <artifactId>struts2-convention-plugin</artifactId>
325
      <version>2.1.8.1</version>
326
    </dependency>
327
    <dependency>
328
      <groupId>readonly.apache.struts</groupId>
329
      <artifactId>struts2-core</artifactId>
330
      <version>2.1.8.1</version>
331
    </dependency>
332
    <dependency>
333
      <groupId>readonly.apache.struts</groupId>
334
      <artifactId>struts2-rest-plugin</artifactId>
335
      <version>2.1.8.1</version>
336
    </dependency>
337
    <dependency>
338
      <groupId>readonly.apache.struts</groupId>
339
      <artifactId>xstream</artifactId>
340
      <version>1.2.2</version>
341
    </dependency>
342
    <dependency>
343
      <groupId>readonly.apache.struts</groupId>
344
      <artifactId>xwork-core</artifactId>
345
      <version>2.1.6</version>
346
    </dependency>
347
    <dependency>
3433 rajveer 348
  		<groupId>org.apache.thrift</groupId>
349
  		<artifactId>libthrift</artifactId>
350
  		<version>0.7.0</version>
351
        <exclusions>
352
        <exclusion>
353
		    <groupId>commons-codec</groupId>
354
  			<artifactId>commons-codec</artifactId>
355
        </exclusion>
356
        </exclusions>
357
	</dependency>
1040 chandransh 358
    <dependency>
359
      <groupId>readonly.apache</groupId>
360
      <artifactId>velocity</artifactId>
361
      <version>1.6.3</version>
362
    </dependency>
363
    <dependency>
364
      <groupId>readonly.apache</groupId>
365
      <artifactId>velocity-tools</artifactId>
366
      <version>1.4</version>
367
    </dependency>
368
    <dependency>
369
      <groupId>readonly.apache</groupId>
370
      <artifactId>xpp3_min</artifactId>
371
      <version>1.1.3.4.O</version>
372
    </dependency>
373
    <dependency>
374
      <groupId>readonly</groupId>
375
      <artifactId>freemarker</artifactId>
376
      <version>2.3.15</version>
377
    </dependency>
378
    <dependency>
379
      <groupId>readonly.slf4j</groupId>
380
      <artifactId>slf4j-api</artifactId>
381
      <version>1.5.8</version>
382
    </dependency>
383
    <dependency>
384
      <groupId>readonly.slf4j</groupId>
385
      <artifactId>slf4j-simple</artifactId>
386
      <version>1.5.8</version>
387
    </dependency>
1046 chandransh 388
    <dependency>
389
      <groupId>readonly</groupId>
390
      <artifactId>hdfc-payment</artifactId>
2334 chandransh 391
      <version>2.0</version>
1046 chandransh 392
    </dependency>
393
    <dependency>
394
      <groupId>readonly</groupId>
395
      <artifactId>yuicompressor</artifactId>
396
      <version>2.4.2</version>
397
    </dependency>
1511 rajveer 398
    <dependency>
1765 vikas 399
        <groupId>org.json</groupId>
400
        <artifactId>json</artifactId>
401
        <version>20090211</version>
402
    </dependency>
2907 rajveer 403
    <dependency>
404
    	<groupId>com.google.code.gson</groupId>
405
    	<artifactId>gson</artifactId>
406
    	<version>1.7.1</version>
407
    </dependency>
3050 vikas 408
    <dependency>
409
        <groupId>net.sf.ehcache</groupId>
410
        <artifactId>ehcache</artifactId>
411
        <version>2.4.4</version>
412
        <type>pom</type>
413
    </dependency>
3063 chandransh 414
    <dependency>
415
	    <groupId>net.tanesha.recaptcha4j</groupId>
416
	    <artifactId>recaptcha4j</artifactId>
417
	    <version>0.0.7</version>
418
	</dependency>
4609 phani.kuma 419
	<!-- Captcha Dependencies -->
420
	<dependency>
4626 rajveer 421
		<groupId>readonly.nl.captcha</groupId>
422
		<artifactId>SimpleCaptcha</artifactId>
4609 phani.kuma 423
		<version>1.2.1</version>
424
	</dependency>
1040 chandransh 425
  </dependencies>
426
</project>