Subversion Repositories SmartDukaan

Rev

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