Subversion Repositories SmartDukaan

Rev

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