Subversion Repositories SmartDukaan

Rev

Rev 1841 | Rev 1908 | 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>
1487 chandransh 133
                  </includes>
134
                </aggregation>
135
              </aggregations>
136
            </configuration>
137
          </plugin>
138
          <plugin>
139
            <groupId>org.apache.maven.plugins</groupId>
140
            <artifactId>maven-resources-plugin</artifactId>
141
            <version>2.4.3</version>
142
            <executions>
143
              <execution>
144
                <id>copy-resources</id>
145
                <!-- here the phase you need -->
146
                <phase>compile</phase>
147
                <goals>
148
                  <goal>copy-resources</goal>
149
                </goals>
150
                <configuration>
151
                  <overwrite>true</overwrite>
152
                  <outputDirectory>${project.build.outputDirectory}</outputDirectory>
153
                  <resources>          
154
                    <resource>
155
                      <directory>src/production/resources</directory>
1489 chandransh 156
                      <filtering>true</filtering>
1487 chandransh 157
                    </resource>
158
                  </resources>              
159
                </configuration>            
160
              </execution>
161
            </executions>
162
          </plugin>
163
        </plugins>
164
      </build>
165
    </profile>
166
  </profiles>
1040 chandransh 167
 
168
  <dependencies>
1046 chandransh 169
	<!-- Servlet API is only required at compile time. It
170
	 should be provided by the container at the run time. -->
1040 chandransh 171
    <dependency>
172
      <groupId>readonly.apache</groupId>
173
      <artifactId>servlet-api</artifactId>
174
      <version>2.5</version>
175
      <scope>provided</scope>
176
    </dependency>
1046 chandransh 177
 
178
	<!-- Internal Dependencies -->
1040 chandransh 179
    <dependency>
180
      <groupId>in.shop2020</groupId>
181
      <artifactId>ThriftConfig</artifactId>
182
      <version>1.0-SNAPSHOT</version>
183
    </dependency>
184
    <dependency>
185
      <groupId>in.shop2020</groupId>
186
      <artifactId>Common</artifactId>
187
      <version>1.0-SNAPSHOT</version>
188
    </dependency>
1046 chandransh 189
 
190
	<!-- All the other dependencies. -->
191
	<dependency>
192
      <groupId>readonly.apache</groupId>
193
      <artifactId>commons-codec</artifactId>
194
      <version>1.4</version>
195
    </dependency>
1040 chandransh 196
    <dependency>
197
      <groupId>readonly.apache</groupId>
198
      <artifactId>commons-collections</artifactId>
199
      <version>3.2.1</version>
200
    </dependency>
201
    <dependency>
202
      <groupId>readonly.apache</groupId>
203
      <artifactId>commons-digester</artifactId>
204
      <version>2.0</version>
205
    </dependency>
206
    <dependency>
207
      <groupId>readonly.apache</groupId>
208
      <artifactId>commons-fileupload</artifactId>
209
      <version>1.2.1</version>
210
    </dependency>
211
    <dependency>
212
      <groupId>readonly.apache</groupId>
213
      <artifactId>commons-io</artifactId>
214
      <version>1.3.2</version>
215
    </dependency>
216
    <dependency>
217
      <groupId>readonly.apache</groupId>
218
      <artifactId>commons-lang</artifactId>
219
      <version>2.4</version>
220
    </dependency>
221
    <dependency>
222
      <groupId>readonly.apache</groupId>
223
      <artifactId>commons-logging</artifactId>
224
      <version>1.0.4</version>
225
    </dependency>
226
    <dependency>
227
      <groupId>readonly.apache</groupId>
228
      <artifactId>commons-logging-api</artifactId>
229
      <version>1.1</version>
230
    </dependency>
231
    <dependency>
232
      <groupId>readonly.apache</groupId>
233
      <artifactId>commons-validator</artifactId>
234
      <version>1.3.1</version>
235
    </dependency>
236
    <dependency>
237
      <groupId>readonly.apache</groupId>
238
      <artifactId>ezmorph</artifactId>
239
      <version>1.0.3</version>
240
    </dependency>
241
    <dependency>
242
      <groupId>readonly.apache</groupId>
243
      <artifactId>json-lib</artifactId>
244
      <version>2.1-jdk15</version>
245
    </dependency>
246
    <dependency>
247
      <groupId>readonly.apache</groupId>
248
      <artifactId>jsp-api</artifactId>
249
      <version>2.1</version>
250
    </dependency>
251
    <dependency>
252
      <groupId>readonly.apache</groupId>
1046 chandransh 253
      <artifactId>log4j</artifactId>
254
      <version>1.2.16</version>
255
    </dependency>
256
    <dependency>
257
      <groupId>readonly.apache</groupId>
1040 chandransh 258
      <artifactId>ognl</artifactId>
259
      <version>2.7.3</version>
260
    </dependency>
1046 chandransh 261
    <dependency>
262
      <groupId>readonly.apache.struts</groupId>
263
      <artifactId>struts2-convention-plugin</artifactId>
264
      <version>2.1.8.1</version>
265
    </dependency>
266
    <dependency>
267
      <groupId>readonly.apache.struts</groupId>
268
      <artifactId>struts2-core</artifactId>
269
      <version>2.1.8.1</version>
270
    </dependency>
271
    <dependency>
272
      <groupId>readonly.apache.struts</groupId>
273
      <artifactId>struts2-rest-plugin</artifactId>
274
      <version>2.1.8.1</version>
275
    </dependency>
276
    <dependency>
277
      <groupId>readonly.apache.struts</groupId>
278
      <artifactId>xstream</artifactId>
279
      <version>1.2.2</version>
280
    </dependency>
281
    <dependency>
282
      <groupId>readonly.apache.struts</groupId>
283
      <artifactId>xwork-core</artifactId>
284
      <version>2.1.6</version>
285
    </dependency>
286
    <dependency>
1040 chandransh 287
      <groupId>readonly.apache</groupId>
1046 chandransh 288
      <artifactId>thrift</artifactId>
289
      <version>0.2.0</version>
290
    </dependency>
1040 chandransh 291
    <dependency>
292
      <groupId>readonly.apache</groupId>
293
      <artifactId>velocity</artifactId>
294
      <version>1.6.3</version>
295
    </dependency>
296
    <dependency>
297
      <groupId>readonly.apache</groupId>
298
      <artifactId>velocity-tools</artifactId>
299
      <version>1.4</version>
300
    </dependency>
301
    <dependency>
302
      <groupId>readonly.apache</groupId>
303
      <artifactId>xpp3_min</artifactId>
304
      <version>1.1.3.4.O</version>
305
    </dependency>
306
    <dependency>
307
      <groupId>readonly</groupId>
308
      <artifactId>freemarker</artifactId>
309
      <version>2.3.15</version>
310
    </dependency>
311
    <dependency>
312
      <groupId>readonly.slf4j</groupId>
313
      <artifactId>slf4j-api</artifactId>
314
      <version>1.5.8</version>
315
    </dependency>
316
    <dependency>
317
      <groupId>readonly.slf4j</groupId>
318
      <artifactId>slf4j-simple</artifactId>
319
      <version>1.5.8</version>
320
    </dependency>
1046 chandransh 321
    <dependency>
322
      <groupId>readonly</groupId>
323
      <artifactId>hdfc-payment</artifactId>
324
      <version>1.0</version>
325
    </dependency>
326
    <dependency>
327
      <groupId>readonly</groupId>
328
      <artifactId>yuicompressor</artifactId>
329
      <version>2.4.2</version>
330
    </dependency>
1511 rajveer 331
    <dependency>
1765 vikas 332
        <groupId>org.json</groupId>
333
        <artifactId>json</artifactId>
334
        <version>20090211</version>
335
    </dependency>
1040 chandransh 336
  </dependencies>
337
</project>