Subversion Repositories SmartDukaan

Rev

Rev 1516 | Rev 1658 | 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
 
18
  <build>
19
    <plugins>
20
      <plugin>
21
        <groupId>org.apache.maven.plugins</groupId>
22
        <artifactId>maven-compiler-plugin</artifactId>
1287 chandransh 23
        <version>2.3.2</version>
1040 chandransh 24
        <configuration>
25
          <debug>true</debug>
26
          <optimize>true</optimize>
27
          <source>1.6</source>
28
          <target>1.6</target>
29
        </configuration>
30
      </plugin>
31
    </plugins>
1335 vikas 32
  </build> 
1487 chandransh 33
 
34
  <profiles>
35
    <profile>
36
      <id>minify</id>
37
      <build>
38
        <plugins>
39
          <plugin>
40
            <groupId>net.alchim31.maven</groupId>
41
            <artifactId>yuicompressor-maven-plugin</artifactId>
42
            <version>1.1</version>
43
            <executions>
44
              <execution>
45
                <goals>
46
                  <!-- <goal>jslint</goal> -->
47
                  <goal>compress</goal>
48
                </goals>
49
              </execution>
50
            </executions>
51
            <configuration>
52
              <linebreakpos>-1</linebreakpos>
53
              <nosuffix>true</nosuffix>
54
              <aggregations>
55
                <aggregation>
56
                  <output>${project.build.directory}/${project.build.finalName}/css/saholic-min.css</output>
57
                  <!-- files to include, path relative to output's directory or absolute path-->
58
                  <!--inputDir>base directory for non absolute includes, default to parent dir of output</inputDir-->
59
                  <inputDir>${project.build.directory}/${project.build.finalName}/css</inputDir>
60
                  <includes>
61
                    <include>style.css</include>
62
                    <include>common.css</include>
63
                    <include>nav.css</include>
64
                    <include>widget.css</include>
65
                    <include>demoStyles.css</include>
66
                    <include>product.css</include>
67
                    <include>cart.css</include>
68
                    <include>contactus.css</include>
69
                    <include>signinsignup.css</include>
70
                    <include>myaccount.css</include>
71
                    <include>gc_safari.css</include>
72
                  </includes>
73
                </aggregation>
74
                <aggregation>
75
                  <output>${project.build.directory}/${project.build.finalName}/js/saholic-min.js</output>
76
                  <!-- files to include, path relative to output's directory or absolute path-->
77
                  <!--inputDir>base directory for non absolute includes, default to parent dir of output</inputDir-->
78
                  <inputDir>${project.build.directory}/${project.build.finalName}/js</inputDir>
79
                  <includes>
80
                    <include>jquery-1.4.2.js</include>
81
                    <include>jquery-ui.min.js</include>
82
                    <include>loginpop.js</include>
83
                    <include>all.js</include>
1516 chandransh 84
                    <include>ga-invoker.js</include>
1487 chandransh 85
                    <include>jquery.truncate.min.js</include>
86
                    <include>charLimit.js</include>
87
                    <include>jsapi.js</include>
88
                    <include>gallery.js</include>
89
                    <include>scrolltab.js</include>
90
                    <include>widget_slidetab.js</include>
91
                    <include>jquery.Storage.js</include>
92
                    <include>jquery.cookie.js</include>
93
                    <include>custom-jquery.js</include>
94
                    <include>myaccount.js</include>
95
                    <include>jquery.number_format.js</include>
96
                    <include>jquery.validate.js</include>
97
                    <include>jquery.tipsy.js</include>
98
                    <include>loopedslider.js</include>
99
                    <include>widget_accordion.js</include>
100
                    <include>shippingAddress.js</include>
101
                    <include>productCategory.js</include>
102
                  </includes>
103
                </aggregation>
104
              </aggregations>
105
            </configuration>
106
          </plugin>
107
          <plugin>
108
            <groupId>org.apache.maven.plugins</groupId>
109
            <artifactId>maven-resources-plugin</artifactId>
110
            <version>2.4.3</version>
111
            <executions>
112
              <execution>
113
                <id>copy-resources</id>
114
                <!-- here the phase you need -->
115
                <phase>compile</phase>
116
                <goals>
117
                  <goal>copy-resources</goal>
118
                </goals>
119
                <configuration>
120
                  <overwrite>true</overwrite>
121
                  <outputDirectory>${project.build.outputDirectory}</outputDirectory>
122
                  <resources>          
123
                    <resource>
124
                      <directory>src/production/resources</directory>
1489 chandransh 125
                      <filtering>true</filtering>
1487 chandransh 126
                    </resource>
127
                  </resources>              
128
                </configuration>            
129
              </execution>
130
            </executions>
131
          </plugin>
132
        </plugins>
133
      </build>
134
    </profile>
135
    <profile>
1636 chandransh 136
      <id>minify-wo-ga</id>
1487 chandransh 137
      <build>
1636 chandransh 138
        <plugins>
139
          <plugin>
140
            <groupId>net.alchim31.maven</groupId>
141
            <artifactId>yuicompressor-maven-plugin</artifactId>
142
            <version>1.1</version>
143
            <executions>
144
              <execution>
145
                <goals>
146
                  <!-- <goal>jslint</goal> -->
147
                  <goal>compress</goal>
148
                </goals>
149
              </execution>
150
            </executions>
151
            <configuration>
152
              <linebreakpos>-1</linebreakpos>
153
              <nosuffix>true</nosuffix>
154
              <aggregations>
155
                <aggregation>
156
                  <output>${project.build.directory}/${project.build.finalName}/css/saholic-min.css</output>
157
                  <!-- files to include, path relative to output's directory or absolute path-->
158
                  <!--inputDir>base directory for non absolute includes, default to parent dir of output</inputDir-->
159
                  <inputDir>${project.build.directory}/${project.build.finalName}/css</inputDir>
160
                  <includes>
161
                    <include>style.css</include>
162
                    <include>common.css</include>
163
                    <include>nav.css</include>
164
                    <include>widget.css</include>
165
                    <include>demoStyles.css</include>
166
                    <include>product.css</include>
167
                    <include>cart.css</include>
168
                    <include>contactus.css</include>
169
                    <include>signinsignup.css</include>
170
                    <include>myaccount.css</include>
171
                    <include>gc_safari.css</include>
172
                  </includes>
173
                </aggregation>
174
                <aggregation>
175
                  <output>${project.build.directory}/${project.build.finalName}/js/saholic-min.js</output>
176
                  <!-- files to include, path relative to output's directory or absolute path-->
177
                  <!--inputDir>base directory for non absolute includes, default to parent dir of output</inputDir-->
178
                  <inputDir>${project.build.directory}/${project.build.finalName}/js</inputDir>
179
                  <includes>
180
                    <include>jquery-1.4.2.js</include>
181
                    <include>jquery-ui.min.js</include>
182
                    <include>loginpop.js</include>
183
                    <include>all.js</include>
184
                    <include>jquery.truncate.min.js</include>
185
                    <include>charLimit.js</include>
186
                    <include>jsapi.js</include>
187
                    <include>gallery.js</include>
188
                    <include>scrolltab.js</include>
189
                    <include>widget_slidetab.js</include>
190
                    <include>jquery.Storage.js</include>
191
                    <include>jquery.cookie.js</include>
192
                    <include>custom-jquery.js</include>
193
                    <include>myaccount.js</include>
194
                    <include>jquery.number_format.js</include>
195
                    <include>jquery.validate.js</include>
196
                    <include>jquery.tipsy.js</include>
197
                    <include>loopedslider.js</include>
198
                    <include>widget_accordion.js</include>
199
                    <include>shippingAddress.js</include>
200
                    <include>productCategory.js</include>
201
                  </includes>
202
                </aggregation>
203
              </aggregations>
204
            </configuration>
205
          </plugin>
206
          <plugin>
207
            <groupId>org.apache.maven.plugins</groupId>
208
            <artifactId>maven-resources-plugin</artifactId>
209
            <version>2.4.3</version>
210
            <executions>
211
              <execution>
212
                <id>copy-resources</id>
213
                <!-- here the phase you need -->
214
                <phase>compile</phase>
215
                <goals>
216
                  <goal>copy-resources</goal>
217
                </goals>
218
                <configuration>
219
                  <overwrite>true</overwrite>
220
                  <outputDirectory>${project.build.outputDirectory}</outputDirectory>
221
                  <resources>          
222
                    <resource>
223
                      <directory>src/production/resources</directory>
224
                      <filtering>true</filtering>
225
                    </resource>
226
                  </resources>              
227
                </configuration>            
228
              </execution>
229
            </executions>
230
          </plugin>
231
        </plugins>
1487 chandransh 232
      </build>
233
    </profile>
234
  </profiles>
1040 chandransh 235
 
236
  <dependencies>
1046 chandransh 237
	<!-- Servlet API is only required at compile time. It
238
	 should be provided by the container at the run time. -->
1040 chandransh 239
    <dependency>
240
      <groupId>readonly.apache</groupId>
241
      <artifactId>servlet-api</artifactId>
242
      <version>2.5</version>
243
      <scope>provided</scope>
244
    </dependency>
1046 chandransh 245
 
246
	<!-- Internal Dependencies -->
1040 chandransh 247
    <dependency>
248
      <groupId>in.shop2020</groupId>
249
      <artifactId>ThriftConfig</artifactId>
250
      <version>1.0-SNAPSHOT</version>
251
    </dependency>
252
    <dependency>
253
      <groupId>in.shop2020</groupId>
254
      <artifactId>Common</artifactId>
255
      <version>1.0-SNAPSHOT</version>
256
    </dependency>
1046 chandransh 257
 
258
	<!-- All the other dependencies. -->
259
	<dependency>
260
      <groupId>readonly.apache</groupId>
261
      <artifactId>commons-codec</artifactId>
262
      <version>1.4</version>
263
    </dependency>
1040 chandransh 264
    <dependency>
265
      <groupId>readonly.apache</groupId>
266
      <artifactId>commons-collections</artifactId>
267
      <version>3.2.1</version>
268
    </dependency>
269
    <dependency>
270
      <groupId>readonly.apache</groupId>
271
      <artifactId>commons-digester</artifactId>
272
      <version>2.0</version>
273
    </dependency>
274
    <dependency>
275
      <groupId>readonly.apache</groupId>
276
      <artifactId>commons-fileupload</artifactId>
277
      <version>1.2.1</version>
278
    </dependency>
279
    <dependency>
280
      <groupId>readonly.apache</groupId>
281
      <artifactId>commons-io</artifactId>
282
      <version>1.3.2</version>
283
    </dependency>
284
    <dependency>
285
      <groupId>readonly.apache</groupId>
286
      <artifactId>commons-lang</artifactId>
287
      <version>2.4</version>
288
    </dependency>
289
    <dependency>
290
      <groupId>readonly.apache</groupId>
291
      <artifactId>commons-logging</artifactId>
292
      <version>1.0.4</version>
293
    </dependency>
294
    <dependency>
295
      <groupId>readonly.apache</groupId>
296
      <artifactId>commons-logging-api</artifactId>
297
      <version>1.1</version>
298
    </dependency>
299
    <dependency>
300
      <groupId>readonly.apache</groupId>
301
      <artifactId>commons-validator</artifactId>
302
      <version>1.3.1</version>
303
    </dependency>
304
    <dependency>
305
      <groupId>readonly.apache</groupId>
306
      <artifactId>ezmorph</artifactId>
307
      <version>1.0.3</version>
308
    </dependency>
309
    <dependency>
310
      <groupId>readonly.apache</groupId>
311
      <artifactId>json-lib</artifactId>
312
      <version>2.1-jdk15</version>
313
    </dependency>
314
    <dependency>
315
      <groupId>readonly.apache</groupId>
316
      <artifactId>jsp-api</artifactId>
317
      <version>2.1</version>
318
    </dependency>
319
    <dependency>
320
      <groupId>readonly.apache</groupId>
1046 chandransh 321
      <artifactId>log4j</artifactId>
322
      <version>1.2.16</version>
323
    </dependency>
324
    <dependency>
325
      <groupId>readonly.apache</groupId>
1040 chandransh 326
      <artifactId>ognl</artifactId>
327
      <version>2.7.3</version>
328
    </dependency>
1046 chandransh 329
    <dependency>
330
      <groupId>readonly.apache.struts</groupId>
331
      <artifactId>struts2-convention-plugin</artifactId>
332
      <version>2.1.8.1</version>
333
    </dependency>
334
    <dependency>
335
      <groupId>readonly.apache.struts</groupId>
336
      <artifactId>struts2-core</artifactId>
337
      <version>2.1.8.1</version>
338
    </dependency>
339
    <dependency>
340
      <groupId>readonly.apache.struts</groupId>
341
      <artifactId>struts2-rest-plugin</artifactId>
342
      <version>2.1.8.1</version>
343
    </dependency>
344
    <dependency>
345
      <groupId>readonly.apache.struts</groupId>
346
      <artifactId>xstream</artifactId>
347
      <version>1.2.2</version>
348
    </dependency>
349
    <dependency>
350
      <groupId>readonly.apache.struts</groupId>
351
      <artifactId>xwork-core</artifactId>
352
      <version>2.1.6</version>
353
    </dependency>
354
    <dependency>
1040 chandransh 355
      <groupId>readonly.apache</groupId>
1046 chandransh 356
      <artifactId>thrift</artifactId>
357
      <version>0.2.0</version>
358
    </dependency>
1040 chandransh 359
    <dependency>
360
      <groupId>readonly.apache</groupId>
361
      <artifactId>velocity</artifactId>
362
      <version>1.6.3</version>
363
    </dependency>
364
    <dependency>
365
      <groupId>readonly.apache</groupId>
366
      <artifactId>velocity-tools</artifactId>
367
      <version>1.4</version>
368
    </dependency>
369
    <dependency>
370
      <groupId>readonly.apache</groupId>
371
      <artifactId>xpp3_min</artifactId>
372
      <version>1.1.3.4.O</version>
373
    </dependency>
374
    <dependency>
375
      <groupId>readonly</groupId>
376
      <artifactId>freemarker</artifactId>
377
      <version>2.3.15</version>
378
    </dependency>
379
    <dependency>
380
      <groupId>readonly.slf4j</groupId>
381
      <artifactId>slf4j-api</artifactId>
382
      <version>1.5.8</version>
383
    </dependency>
384
    <dependency>
385
      <groupId>readonly.slf4j</groupId>
386
      <artifactId>slf4j-simple</artifactId>
387
      <version>1.5.8</version>
388
    </dependency>
1046 chandransh 389
    <dependency>
390
      <groupId>readonly</groupId>
391
      <artifactId>hdfc-payment</artifactId>
392
      <version>1.0</version>
393
    </dependency>
394
    <dependency>
395
      <groupId>readonly</groupId>
396
      <artifactId>yuicompressor</artifactId>
397
      <version>2.4.2</version>
398
    </dependency>
1511 rajveer 399
    <dependency>
400
      <groupId>readonly.nl.bitwalker</groupId>
401
      <artifactId>UserAgentUtils</artifactId>
402
      <version>1.2.3</version>
403
    </dependency>
1040 chandransh 404
  </dependencies>
405
</project>