Subversion Repositories SmartDukaan

Rev

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