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

    
184
  </dependencies>
185

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

    
190
    <plugins>
191

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

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

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