Project

General

Profile

1
<?xml version="1.0" encoding="UTF-8"?>
2
<project
3
  xmlns="http://maven.apache.org/POM/4.0.0"
4
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
6

    
7
    <parent>
8
        <groupId>eu.dnetlib</groupId>
9
        <artifactId>dnet-parent</artifactId>
10
        <version>1.0.0-SNAPSHOT</version>
11
    </parent>
12

    
13
  <!-- POM file generated with GWT webAppCreator -->
14
  <modelVersion>4.0.0</modelVersion>
15
  <groupId>eu.dnetlib</groupId>
16
  <artifactId>uoa-goldoa-portal</artifactId>
17
  <packaging>war</packaging>
18
  <version>1.0-SNAPSHOT</version>
19
  <name>GWT Maven Archetype</name>
20

    
21
  <properties>
22
    <!-- Convenience property to set the GWT version -->
23
    <gwtVersion>2.7.0</gwtVersion>
24
    <!-- GWT needs at least java 1.5 -->
25
    <webappDirectory>${project.build.directory}/${project.build.finalName}</webappDirectory>
26
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
27
  </properties>
28

    
29
    <repositories>
30
        <repository>
31
            <id>sonatype-nexus-snapshots</id>
32
            <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
33
        </repository>
34
        <repository>
35
            <id>gwt-crypto repo</id>
36
            <url>http://gwt-crypto.googlecode.com/svn/trunk/repo/</url>
37
        </repository>
38
        <repository>
39
            <id>gwt-recaptcha</id>
40
            <url>http://gwt-recaptcha.googlecode.com/svn/repo</url>
41
        </repository>
42
    </repositories>
43

    
44
  <dependencies>
45
    <dependency>
46
      <groupId>com.google.gwt</groupId>
47
      <artifactId>gwt-servlet</artifactId>
48
      <version>${gwtVersion}</version>
49
      <scope>runtime</scope>
50
    </dependency>
51
    <dependency>
52
      <groupId>com.google.gwt</groupId>
53
      <artifactId>gwt-user</artifactId>
54
      <version>${gwtVersion}</version>
55
      <scope>provided</scope>
56
    </dependency>
57
    <dependency>
58
      <groupId>junit</groupId>
59
      <artifactId>junit</artifactId>
60
      <version>4.7</version>
61
      <scope>test</scope>
62
    </dependency>
63
    <dependency>
64
      <groupId>javax.validation</groupId>
65
      <artifactId>validation-api</artifactId>
66
      <version>1.0.0.GA</version>
67
      <scope>test</scope>
68
    </dependency>
69
    <dependency>
70
      <groupId>javax.validation</groupId>
71
      <artifactId>validation-api</artifactId>
72
      <version>1.0.0.GA</version>
73
      <classifier>sources</classifier>
74
      <scope>test</scope>
75
    </dependency>
76

    
77
      <dependency>
78
          <groupId>com.github.gwtbootstrap</groupId>
79
          <artifactId>gwt-bootstrap</artifactId>
80
          <version>2.3.2.1-SNAPSHOT</version>
81
      </dependency>
82
      <dependency>
83
          <groupId>eu.dnetlib</groupId>
84
          <artifactId>uoa-goldoa-service</artifactId>
85
          <version>1.0.0-SNAPSHOT</version>
86
      </dependency>
87
      <dependency>
88
          <groupId>org.springframework</groupId>
89
          <artifactId>spring-context</artifactId>
90
          <version>${spring.version}</version>
91
      </dependency>
92
      <dependency>
93
          <groupId>org.springframework</groupId>
94
          <artifactId>spring-webmvc</artifactId>
95
          <version>${spring.version}</version>
96
      </dependency>
97
      <dependency>
98
          <groupId>log4j</groupId>
99
          <artifactId>log4j</artifactId>
100
          <version>(1.2, 1.5]</version>
101
          <scope>compile</scope>
102
      </dependency>
103
      <dependency>
104
          <groupId>eu.dnetlib</groupId>
105
          <artifactId>dnet-runtime</artifactId>
106
          <version>[0.0.9, ]</version>
107
          <exclusions>
108
              <exclusion>
109
                  <groupId>asm</groupId>
110
                  <artifactId>asm</artifactId>
111
              </exclusion>
112
          </exclusions>
113
      </dependency>
114
      <dependency>
115
          <groupId>eu.dnetlib</groupId>
116
          <artifactId>uoa-utils</artifactId>
117
          <version>[1.0.0, ]</version>
118
          <exclusions>
119
              <exclusion>
120
                  <groupId>asm</groupId>
121
                  <artifactId>asm</artifactId>
122
              </exclusion>
123
              <exclusion>
124
                  <groupId>org.hibernate</groupId>
125
                  <artifactId>hibernate-annotations</artifactId>
126
              </exclusion>
127
              <exclusion>
128
                  <groupId>org.hibernate</groupId>
129
                  <artifactId>hibernate-commons-annotations</artifactId>
130
              </exclusion>
131
              <exclusion>
132
                  <groupId>org.hibernate.javax.persistence</groupId>
133
                  <artifactId>hibernate-jpa-2.0-api</artifactId>
134
              </exclusion>
135
          </exclusions>
136
      </dependency>
137
      <dependency>
138
          <groupId>com.googlecode.gwt-crypto</groupId>
139
          <artifactId>gwt-crypto</artifactId>
140
          <version>2.3.0</version>
141
      </dependency>
142
      <dependency>
143
          <groupId>com.googlecode.gwtquery</groupId>
144
          <artifactId>gwtquery</artifactId>
145
          <version>1.4.3</version>
146
          <scope>compile</scope>
147
      </dependency>
148
      <dependency>
149
          <groupId>commons-fileupload</groupId>
150
          <artifactId>commons-fileupload</artifactId>
151
          <version>1.3</version>
152
      </dependency>
153
      <dependency>
154
          <groupId>commons-io</groupId>
155
          <artifactId>commons-io</artifactId>
156
          <version>2.4</version>
157
      </dependency>
158
      <dependency>
159
          <groupId>com.claudiushauptmann</groupId>
160
          <artifactId>gwt-recaptcha</artifactId>
161
          <version>1.0.0.Beta2</version>
162
      </dependency>
163
      <dependency>
164
          <groupId>com.google.code.maven-play-plugin.net.tanesha.recaptcha4j</groupId>
165
          <artifactId>recaptcha4j</artifactId>
166
          <version>0.0.8</version>
167
      </dependency>
168
      <dependency>
169
          <groupId>com.sencha.gxt</groupId>
170
          <artifactId>gxt</artifactId>
171
          <version>3.1.1</version>
172
      </dependency>
173
      <dependency>
174
          <groupId>org.moxieapps.gwt</groupId>
175
          <artifactId>org.moxieapps.gwt.highcharts</artifactId>
176
          <version>1.5.0</version>
177
      </dependency>
178
      <dependency>
179
          <groupId>com.googlecode.gwt-charts</groupId>
180
          <artifactId>gwt-charts</artifactId>
181
          <version>0.9.10</version>
182
      </dependency>
183
  </dependencies>
184

    
185
  <build>
186
    <!-- Generate compiled stuff in the folder used for developing mode -->
187
    <outputDirectory>${webappDirectory}/WEB-INF/classes</outputDirectory>
188

    
189
    <plugins>
190

    
191
      <!-- GWT Maven Plugin -->
192
      <plugin>
193
        <groupId>org.codehaus.mojo</groupId>
194
        <artifactId>gwt-maven-plugin</artifactId>
195
        <version>${gwtVersion}</version>
196
        <executions>
197
          <execution>
198
            <goals>
199
              <goal>compile</goal>
200
              <goal>test</goal>
201
              <goal>i18n</goal>
202
              <goal>generateAsync</goal>
203
            </goals>
204
              <configuration>
205
                  <style>DETAILED</style>
206
              </configuration>
207
          </execution>
208
        </executions>
209
        <!-- Plugin configuration. There are many available options, see 
210
          gwt-maven-plugin documentation at codehaus.org -->
211
        <configuration>
212
          <runTarget>GoldOAPortal.html</runTarget>
213
          <hostedWebapp>${webappDirectory}</hostedWebapp>
214
          <i18nMessagesBundle>eu.dnetlib.client.Messages</i18nMessagesBundle>
215
        </configuration>
216
      </plugin>
217

    
218
      <!-- Copy static web files before executing gwt:run -->
219
      <plugin>
220
        <groupId>org.apache.maven.plugins</groupId>
221
        <artifactId>maven-war-plugin</artifactId>
222
        <version>2.1.1</version>
223
        <executions>
224
          <execution>
225
            <phase>compile</phase>
226
            <goals>
227
              <goal>exploded</goal>
228
            </goals>
229
          </execution>
230
        </executions>
231
        <configuration>
232
          <webappDirectory>${webappDirectory}</webappDirectory>
233
        </configuration>
234
      </plugin>
235
      <plugin>
236
        <groupId>org.apache.maven.plugins</groupId>
237
        <artifactId>maven-compiler-plugin</artifactId>
238
        <version>2.3.2</version>
239
        <configuration>
240
          <source>1.7</source>
241
          <target>1.7</target>
242
        </configuration>
243
      </plugin>
244
    </plugins>
245
  </build>
246

    
247
</project>
    (1-1/1)