Subversion Repositories SmartDukaan

Rev

Rev 1487 | Rev 1511 | 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>
84
                    <include>jquery.truncate.min.js</include>
85
                    <include>charLimit.js</include>
86
                    <include>jsapi.js</include>
87
                    <include>gallery.js</include>
88
                    <include>scrolltab.js</include>
89
                    <include>widget_slidetab.js</include>
90
                    <include>jquery.Storage.js</include>
91
                    <include>jquery.cookie.js</include>
92
                    <include>custom-jquery.js</include>
93
                    <include>myaccount.js</include>
94
                    <include>jquery.number_format.js</include>
95
                    <include>jquery.validate.js</include>
96
                    <include>jquery.tipsy.js</include>
97
                    <include>loopedslider.js</include>
98
                    <include>widget_accordion.js</include>
99
                    <include>shippingAddress.js</include>
100
                    <include>productCategory.js</include>
101
                  </includes>
102
                </aggregation>
103
              </aggregations>
104
            </configuration>
105
          </plugin>
106
          <plugin>
107
            <groupId>org.apache.maven.plugins</groupId>
108
            <artifactId>maven-resources-plugin</artifactId>
109
            <version>2.4.3</version>
110
            <executions>
111
              <execution>
112
                <id>copy-resources</id>
113
                <!-- here the phase you need -->
114
                <phase>compile</phase>
115
                <goals>
116
                  <goal>copy-resources</goal>
117
                </goals>
118
                <configuration>
119
                  <overwrite>true</overwrite>
120
                  <outputDirectory>${project.build.outputDirectory}</outputDirectory>
121
                  <resources>          
122
                    <resource>
123
                      <directory>src/production/resources</directory>
1489 chandransh 124
                      <filtering>true</filtering>
1487 chandransh 125
                    </resource>
126
                  </resources>              
127
                </configuration>            
128
              </execution>
129
            </executions>
130
          </plugin>
131
        </plugins>
132
      </build>
133
    </profile>
134
    <profile>
135
      <build>
136
      </build>
137
    </profile>
138
  </profiles>
1040 chandransh 139
 
140
  <dependencies>
1046 chandransh 141
	<!-- Servlet API is only required at compile time. It
142
	 should be provided by the container at the run time. -->
1040 chandransh 143
    <dependency>
144
      <groupId>readonly.apache</groupId>
145
      <artifactId>servlet-api</artifactId>
146
      <version>2.5</version>
147
      <scope>provided</scope>
148
    </dependency>
1046 chandransh 149
 
150
	<!-- Internal Dependencies -->
1040 chandransh 151
    <dependency>
152
      <groupId>in.shop2020</groupId>
153
      <artifactId>ThriftConfig</artifactId>
154
      <version>1.0-SNAPSHOT</version>
155
    </dependency>
156
    <dependency>
157
      <groupId>in.shop2020</groupId>
158
      <artifactId>Common</artifactId>
159
      <version>1.0-SNAPSHOT</version>
160
    </dependency>
1046 chandransh 161
 
162
	<!-- All the other dependencies. -->
163
	<dependency>
164
      <groupId>readonly.apache</groupId>
165
      <artifactId>commons-codec</artifactId>
166
      <version>1.4</version>
167
    </dependency>
1040 chandransh 168
    <dependency>
169
      <groupId>readonly.apache</groupId>
170
      <artifactId>commons-collections</artifactId>
171
      <version>3.2.1</version>
172
    </dependency>
173
    <dependency>
174
      <groupId>readonly.apache</groupId>
175
      <artifactId>commons-digester</artifactId>
176
      <version>2.0</version>
177
    </dependency>
178
    <dependency>
179
      <groupId>readonly.apache</groupId>
180
      <artifactId>commons-fileupload</artifactId>
181
      <version>1.2.1</version>
182
    </dependency>
183
    <dependency>
184
      <groupId>readonly.apache</groupId>
185
      <artifactId>commons-io</artifactId>
186
      <version>1.3.2</version>
187
    </dependency>
188
    <dependency>
189
      <groupId>readonly.apache</groupId>
190
      <artifactId>commons-lang</artifactId>
191
      <version>2.4</version>
192
    </dependency>
193
    <dependency>
194
      <groupId>readonly.apache</groupId>
195
      <artifactId>commons-logging</artifactId>
196
      <version>1.0.4</version>
197
    </dependency>
198
    <dependency>
199
      <groupId>readonly.apache</groupId>
200
      <artifactId>commons-logging-api</artifactId>
201
      <version>1.1</version>
202
    </dependency>
203
    <dependency>
204
      <groupId>readonly.apache</groupId>
205
      <artifactId>commons-validator</artifactId>
206
      <version>1.3.1</version>
207
    </dependency>
208
    <dependency>
209
      <groupId>readonly.apache</groupId>
210
      <artifactId>ezmorph</artifactId>
211
      <version>1.0.3</version>
212
    </dependency>
213
    <dependency>
214
      <groupId>readonly.apache</groupId>
215
      <artifactId>json-lib</artifactId>
216
      <version>2.1-jdk15</version>
217
    </dependency>
218
    <dependency>
219
      <groupId>readonly.apache</groupId>
220
      <artifactId>jsp-api</artifactId>
221
      <version>2.1</version>
222
    </dependency>
223
    <dependency>
224
      <groupId>readonly.apache</groupId>
1046 chandransh 225
      <artifactId>log4j</artifactId>
226
      <version>1.2.16</version>
227
    </dependency>
228
    <dependency>
229
      <groupId>readonly.apache</groupId>
1040 chandransh 230
      <artifactId>ognl</artifactId>
231
      <version>2.7.3</version>
232
    </dependency>
1046 chandransh 233
    <dependency>
234
      <groupId>readonly.apache.struts</groupId>
235
      <artifactId>struts2-convention-plugin</artifactId>
236
      <version>2.1.8.1</version>
237
    </dependency>
238
    <dependency>
239
      <groupId>readonly.apache.struts</groupId>
240
      <artifactId>struts2-core</artifactId>
241
      <version>2.1.8.1</version>
242
    </dependency>
243
    <dependency>
244
      <groupId>readonly.apache.struts</groupId>
245
      <artifactId>struts2-rest-plugin</artifactId>
246
      <version>2.1.8.1</version>
247
    </dependency>
248
    <dependency>
249
      <groupId>readonly.apache.struts</groupId>
250
      <artifactId>xstream</artifactId>
251
      <version>1.2.2</version>
252
    </dependency>
253
    <dependency>
254
      <groupId>readonly.apache.struts</groupId>
255
      <artifactId>xwork-core</artifactId>
256
      <version>2.1.6</version>
257
    </dependency>
258
    <dependency>
1040 chandransh 259
      <groupId>readonly.apache</groupId>
1046 chandransh 260
      <artifactId>thrift</artifactId>
261
      <version>0.2.0</version>
262
    </dependency>
1040 chandransh 263
    <dependency>
264
      <groupId>readonly.apache</groupId>
265
      <artifactId>velocity</artifactId>
266
      <version>1.6.3</version>
267
    </dependency>
268
    <dependency>
269
      <groupId>readonly.apache</groupId>
270
      <artifactId>velocity-tools</artifactId>
271
      <version>1.4</version>
272
    </dependency>
273
    <dependency>
274
      <groupId>readonly.apache</groupId>
275
      <artifactId>xpp3_min</artifactId>
276
      <version>1.1.3.4.O</version>
277
    </dependency>
278
    <dependency>
279
      <groupId>readonly</groupId>
280
      <artifactId>freemarker</artifactId>
281
      <version>2.3.15</version>
282
    </dependency>
283
    <dependency>
284
      <groupId>readonly.slf4j</groupId>
285
      <artifactId>slf4j-api</artifactId>
286
      <version>1.5.8</version>
287
    </dependency>
288
    <dependency>
289
      <groupId>readonly.slf4j</groupId>
290
      <artifactId>slf4j-simple</artifactId>
291
      <version>1.5.8</version>
292
    </dependency>
1046 chandransh 293
    <dependency>
294
      <groupId>readonly</groupId>
295
      <artifactId>hdfc-payment</artifactId>
296
      <version>1.0</version>
297
    </dependency>
298
    <dependency>
299
      <groupId>readonly</groupId>
300
      <artifactId>yuicompressor</artifactId>
301
      <version>2.4.2</version>
302
    </dependency>
1040 chandransh 303
  </dependencies>
304
</project>