Subversion Repositories SmartDukaan

Rev

Rev 2453 | Rev 2718 | 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>
1487 chandransh 157
                  </includes>
158
                </aggregation>
159
              </aggregations>
160
            </configuration>
161
          </plugin>
162
          <plugin>
163
            <groupId>org.apache.maven.plugins</groupId>
164
            <artifactId>maven-resources-plugin</artifactId>
165
            <version>2.4.3</version>
166
            <executions>
167
              <execution>
168
                <id>copy-resources</id>
169
                <!-- here the phase you need -->
170
                <phase>compile</phase>
171
                <goals>
172
                  <goal>copy-resources</goal>
173
                </goals>
174
                <configuration>
175
                  <overwrite>true</overwrite>
176
                  <outputDirectory>${project.build.outputDirectory}</outputDirectory>
177
                  <resources>          
178
                    <resource>
179
                      <directory>src/production/resources</directory>
1489 chandransh 180
                      <filtering>true</filtering>
1487 chandransh 181
                    </resource>
182
                  </resources>              
183
                </configuration>            
184
              </execution>
185
            </executions>
186
          </plugin>
1935 chandransh 187
          <plugin>
188
	      	<groupId>org.apache.maven.plugins</groupId>
189
	        <artifactId>maven-war-plugin</artifactId>
190
	        <version>2.1.1</version>
191
			<configuration>
192
			  <warSourceExcludes>js/**</warSourceExcludes>
193
	          <webResources>
2453 chandransh 194
		    	<resource>
1935 chandransh 195
	              <directory>${project.build.directory}/js</directory>
196
	              <targetPath>js</targetPath>
197
	              <filtering>true</filtering>
198
	            </resource>
2274 chandransh 199
	            <resource>
200
	              <directory>src/main/webapp</directory>
201
	              <includes>
202
	                <include>WEB-INF/content/shipping-index.vm</include>
2503 rajveer 203
	                <include>WEB-INF/web.xml</include>
2274 chandransh 204
	              </includes>
205
	              <filtering>true</filtering>
206
	            </resource>
2453 chandransh 207
		  	  </webResources>
1935 chandransh 208
	        </configuration>
2453 chandransh 209
	      </plugin>
1487 chandransh 210
        </plugins>
211
      </build>
212
    </profile>
213
  </profiles>
1040 chandransh 214
 
215
  <dependencies>
1046 chandransh 216
	<!-- Servlet API is only required at compile time. It
217
	 should be provided by the container at the run time. -->
1040 chandransh 218
    <dependency>
219
      <groupId>readonly.apache</groupId>
220
      <artifactId>servlet-api</artifactId>
221
      <version>2.5</version>
222
      <scope>provided</scope>
223
    </dependency>
1046 chandransh 224
 
225
	<!-- Internal Dependencies -->
1040 chandransh 226
    <dependency>
227
      <groupId>in.shop2020</groupId>
228
      <artifactId>ThriftConfig</artifactId>
229
      <version>1.0-SNAPSHOT</version>
230
    </dependency>
231
    <dependency>
232
      <groupId>in.shop2020</groupId>
233
      <artifactId>Common</artifactId>
234
      <version>1.0-SNAPSHOT</version>
235
    </dependency>
1046 chandransh 236
 
237
	<!-- All the other dependencies. -->
238
	<dependency>
239
      <groupId>readonly.apache</groupId>
240
      <artifactId>commons-codec</artifactId>
241
      <version>1.4</version>
242
    </dependency>
1040 chandransh 243
    <dependency>
244
      <groupId>readonly.apache</groupId>
245
      <artifactId>commons-collections</artifactId>
246
      <version>3.2.1</version>
247
    </dependency>
248
    <dependency>
249
      <groupId>readonly.apache</groupId>
250
      <artifactId>commons-digester</artifactId>
251
      <version>2.0</version>
252
    </dependency>
253
    <dependency>
254
      <groupId>readonly.apache</groupId>
255
      <artifactId>commons-fileupload</artifactId>
256
      <version>1.2.1</version>
257
    </dependency>
258
    <dependency>
259
      <groupId>readonly.apache</groupId>
260
      <artifactId>commons-io</artifactId>
261
      <version>1.3.2</version>
262
    </dependency>
263
    <dependency>
264
      <groupId>readonly.apache</groupId>
265
      <artifactId>commons-lang</artifactId>
266
      <version>2.4</version>
267
    </dependency>
268
    <dependency>
269
      <groupId>readonly.apache</groupId>
270
      <artifactId>commons-logging</artifactId>
271
      <version>1.0.4</version>
272
    </dependency>
273
    <dependency>
274
      <groupId>readonly.apache</groupId>
275
      <artifactId>commons-logging-api</artifactId>
276
      <version>1.1</version>
277
    </dependency>
278
    <dependency>
279
      <groupId>readonly.apache</groupId>
280
      <artifactId>commons-validator</artifactId>
281
      <version>1.3.1</version>
282
    </dependency>
283
    <dependency>
284
      <groupId>readonly.apache</groupId>
285
      <artifactId>ezmorph</artifactId>
286
      <version>1.0.3</version>
287
    </dependency>
288
    <dependency>
289
      <groupId>readonly.apache</groupId>
290
      <artifactId>json-lib</artifactId>
291
      <version>2.1-jdk15</version>
292
    </dependency>
293
    <dependency>
294
      <groupId>readonly.apache</groupId>
295
      <artifactId>jsp-api</artifactId>
296
      <version>2.1</version>
297
    </dependency>
298
    <dependency>
299
      <groupId>readonly.apache</groupId>
1046 chandransh 300
      <artifactId>log4j</artifactId>
301
      <version>1.2.16</version>
302
    </dependency>
303
    <dependency>
304
      <groupId>readonly.apache</groupId>
1040 chandransh 305
      <artifactId>ognl</artifactId>
306
      <version>2.7.3</version>
307
    </dependency>
1046 chandransh 308
    <dependency>
309
      <groupId>readonly.apache.struts</groupId>
310
      <artifactId>struts2-convention-plugin</artifactId>
311
      <version>2.1.8.1</version>
312
    </dependency>
313
    <dependency>
314
      <groupId>readonly.apache.struts</groupId>
315
      <artifactId>struts2-core</artifactId>
316
      <version>2.1.8.1</version>
317
    </dependency>
318
    <dependency>
319
      <groupId>readonly.apache.struts</groupId>
320
      <artifactId>struts2-rest-plugin</artifactId>
321
      <version>2.1.8.1</version>
322
    </dependency>
323
    <dependency>
324
      <groupId>readonly.apache.struts</groupId>
325
      <artifactId>xstream</artifactId>
326
      <version>1.2.2</version>
327
    </dependency>
328
    <dependency>
329
      <groupId>readonly.apache.struts</groupId>
330
      <artifactId>xwork-core</artifactId>
331
      <version>2.1.6</version>
332
    </dependency>
333
    <dependency>
1040 chandransh 334
      <groupId>readonly.apache</groupId>
1046 chandransh 335
      <artifactId>thrift</artifactId>
336
      <version>0.2.0</version>
337
    </dependency>
1040 chandransh 338
    <dependency>
339
      <groupId>readonly.apache</groupId>
340
      <artifactId>velocity</artifactId>
341
      <version>1.6.3</version>
342
    </dependency>
343
    <dependency>
344
      <groupId>readonly.apache</groupId>
345
      <artifactId>velocity-tools</artifactId>
346
      <version>1.4</version>
347
    </dependency>
348
    <dependency>
349
      <groupId>readonly.apache</groupId>
350
      <artifactId>xpp3_min</artifactId>
351
      <version>1.1.3.4.O</version>
352
    </dependency>
353
    <dependency>
354
      <groupId>readonly</groupId>
355
      <artifactId>freemarker</artifactId>
356
      <version>2.3.15</version>
357
    </dependency>
358
    <dependency>
359
      <groupId>readonly.slf4j</groupId>
360
      <artifactId>slf4j-api</artifactId>
361
      <version>1.5.8</version>
362
    </dependency>
363
    <dependency>
364
      <groupId>readonly.slf4j</groupId>
365
      <artifactId>slf4j-simple</artifactId>
366
      <version>1.5.8</version>
367
    </dependency>
1046 chandransh 368
    <dependency>
369
      <groupId>readonly</groupId>
370
      <artifactId>hdfc-payment</artifactId>
2334 chandransh 371
      <version>2.0</version>
1046 chandransh 372
    </dependency>
373
    <dependency>
374
      <groupId>readonly</groupId>
375
      <artifactId>yuicompressor</artifactId>
376
      <version>2.4.2</version>
377
    </dependency>
1511 rajveer 378
    <dependency>
1765 vikas 379
        <groupId>org.json</groupId>
380
        <artifactId>json</artifactId>
381
        <version>20090211</version>
382
    </dependency>
1040 chandransh 383
  </dependencies>
384
</project>