Subversion Repositories SmartDukaan

Rev

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