Subversion Repositories SmartDukaan

Rev

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