Subversion Repositories SmartDukaan

Rev

Rev 2786 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2354 chandransh 1
<?xml version="1.0" encoding="UTF-8"?>
2
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4
 
5
  <!-- POM file generated with GWT webAppCreator -->
6
  <modelVersion>4.0.0</modelVersion>
7
  <groupId>in.shop2020</groupId>
8
  <artifactId>HotspotDashboard</artifactId>
9
  <packaging>war</packaging>
10
  <version>1.0-SNAPSHOT</version>
11
  <name>GWT Maven Archetype</name>
12
 
13
  <properties>
14
    <!-- Convenience property to set the GWT version -->
15
    <gwtVersion>2.1.0</gwtVersion>
16
    <!-- GWT needs at least java 1.5 -->
17
    <maven.compiler.source>1.5</maven.compiler.source>
18
    <maven.compiler.target>1.5</maven.compiler.target>
19
    <webappDirectory>${project.build.directory}/${project.build.finalName}</webappDirectory>
20
  </properties>
21
 
22
  <dependencies>
23
    <dependency>
24
      <groupId>in.shop2020</groupId>
25
      <artifactId>ThriftConfig</artifactId>
26
      <version>1.0-SNAPSHOT</version>
27
    </dependency>
28
    <dependency>
29
      <groupId>in.shop2020</groupId>
30
      <artifactId>Common</artifactId>
31
      <version>1.0-SNAPSHOT</version>
32
    </dependency>
33
 
34
    <dependency>
35
      <groupId>readonly.apache</groupId>
36
      <artifactId>thrift</artifactId>
37
      <version>0.2.0</version>
38
    </dependency>
39
    <dependency>
40
      <groupId>com.google.gwt</groupId>
41
      <artifactId>gwt-servlet</artifactId>
42
      <version>2.1.0</version>
43
      <scope>runtime</scope>
44
    </dependency>
45
    <dependency>
46
      <groupId>com.google.gwt</groupId>
47
      <artifactId>gwt-user</artifactId>
48
      <version>2.1.0</version>
49
      <scope>provided</scope>
50
    </dependency>  
51
    <dependency>
52
      <groupId>aopalliance</groupId>
53
      <artifactId>aopalliance</artifactId>
54
      <version>1.0</version>
55
    </dependency>
56
    <dependency>
57
      <groupId>com.google.gwt.inject</groupId>
58
      <artifactId>gin</artifactId>
59
      <version>1.0</version>
60
    </dependency>
61
    <dependency>
62
      <groupId>com.google.inject</groupId>
63
      <artifactId>guice</artifactId>
64
      <version>2.0</version>
65
    </dependency>
66
    <dependency>
67
      <groupId>com.google.inject.extensions</groupId>
68
      <artifactId>guice-servlet</artifactId>
69
      <version>2.0</version>
70
    </dependency>
71
    <dependency>
72
      <groupId>net.customware.gwt.dispatch</groupId>
73
      <artifactId>gwt-dispatch</artifactId>
74
      <version>1.0.0</version>
75
    </dependency>
76
    <dependency>
77
      <groupId>readonly.gwt-mvp</groupId>
78
      <artifactId>gwt-mvp</artifactId>
79
      <version>1.0.0</version>
80
    </dependency>
81
 
82
 
83
    <dependency>
84
      <groupId>junit</groupId>
85
      <artifactId>junit</artifactId>
86
      <version>4.7</version>
87
      <scope>test</scope>
88
    </dependency>
89
  </dependencies>
90
 
91
  <build>
92
    <!-- Generate compiled stuff in the folder used for developing mode -->
93
    <outputDirectory>${webappDirectory}/WEB-INF/classes</outputDirectory>
94
 
95
    <plugins>
96
 
97
      <!-- GWT Maven Plugin -->
98
      <plugin>
99
        <groupId>org.codehaus.mojo</groupId>
100
        <artifactId>gwt-maven-plugin</artifactId>
101
        <version>2.1.0-1</version>
102
        <executions>
103
          <execution>
104
            <goals>
105
              <goal>compile</goal>
106
              <goal>test</goal>
107
              <!-- <goal>i18n</goal> -->
108
              <goal>generateAsync</goal>
109
            </goals>
110
          </execution>
111
        </executions>
112
        <!-- Plugin configuration. There are many available options, see gwt-maven-plugin 
113
          documentation at codehaus.org -->
114
        <configuration>
115
          <runTarget>HotspotDashboard.html</runTarget>
116
          <hostedWebapp>${webappDirectory}</hostedWebapp>
117
          <i18nMessagesBundle>in.shop2020.hotspot.dashboard.client.Messages</i18nMessagesBundle>
118
        </configuration>
119
      </plugin>
120
 
121
      <!-- Copy static web files before executing gwt:run -->
122
      <plugin>
123
        <groupId>org.apache.maven.plugins</groupId>
124
        <artifactId>maven-war-plugin</artifactId>
125
        <version>2.1.1</version>
126
        <executions>
127
          <execution>
128
            <phase>compile</phase>
129
            <goals>
130
              <goal>exploded</goal>
131
            </goals>
132
          </execution>
133
        </executions>
134
        <configuration>
135
          <webappDirectory>${webappDirectory}</webappDirectory>
136
        </configuration>
137
      </plugin>
138
 
139
    </plugins>
140
  </build>
141
 
142
</project>