Subversion Repositories SmartDukaan

Rev

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