Subversion Repositories SmartDukaan

Rev

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