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
          </exclusions>
124
      </dependency>
125
      <dependency>
126
          <groupId>com.googlecode.gwt-crypto</groupId>
127
          <artifactId>gwt-crypto</artifactId>
128
          <version>2.3.0</version>
129
      </dependency>
130
      <dependency>
131
          <groupId>com.googlecode.gwtquery</groupId>
132
          <artifactId>gwtquery</artifactId>
133
          <version>1.4.3</version>
134
          <scope>compile</scope>
135
      </dependency>
136
      <dependency>
137
          <groupId>commons-fileupload</groupId>
138
          <artifactId>commons-fileupload</artifactId>
139
          <version>1.3</version>
140
      </dependency>
141
      <dependency>
142
          <groupId>commons-io</groupId>
143
          <artifactId>commons-io</artifactId>
144
          <version>2.4</version>
145
      </dependency>
146
      <dependency>
147
          <groupId>com.claudiushauptmann</groupId>
148
          <artifactId>gwt-recaptcha</artifactId>
149
          <version>1.0.0.Beta2</version>
150
      </dependency>
151
      <dependency>
152
          <groupId>com.google.code.maven-play-plugin.net.tanesha.recaptcha4j</groupId>
153
          <artifactId>recaptcha4j</artifactId>
154
          <version>0.0.8</version>
155
      </dependency>
156
      <dependency>
157
          <groupId>com.sencha.gxt</groupId>
158
          <artifactId>gxt</artifactId>
159
          <version>3.1.1</version>
160
      </dependency>
161
      <dependency>
162
          <groupId>org.moxieapps.gwt</groupId>
163
          <artifactId>org.moxieapps.gwt.highcharts</artifactId>
164
          <version>1.5.0</version>
165
      </dependency>
166
      <dependency>
167
          <groupId>com.googlecode.gwt-charts</groupId>
168
          <artifactId>gwt-charts</artifactId>
169
          <version>0.9.10</version>
170
      </dependency>
171
  </dependencies>
172

    
173
  <build>
174
    <!-- Generate compiled stuff in the folder used for developing mode -->
175
    <outputDirectory>${webappDirectory}/WEB-INF/classes</outputDirectory>
176

    
177
    <plugins>
178

    
179
      <!-- GWT Maven Plugin -->
180
      <plugin>
181
        <groupId>org.codehaus.mojo</groupId>
182
        <artifactId>gwt-maven-plugin</artifactId>
183
        <version>${gwtVersion}</version>
184
        <executions>
185
          <execution>
186
            <goals>
187
              <goal>compile</goal>
188
              <goal>test</goal>
189
              <goal>i18n</goal>
190
              <goal>generateAsync</goal>
191
            </goals>
192
          </execution>
193
        </executions>
194
        <!-- Plugin configuration. There are many available options, see 
195
          gwt-maven-plugin documentation at codehaus.org -->
196
        <configuration>
197
          <runTarget>GoldOAPortal.html</runTarget>
198
          <hostedWebapp>${webappDirectory}</hostedWebapp>
199
          <i18nMessagesBundle>eu.dnetlib.client.Messages</i18nMessagesBundle>
200
        </configuration>
201
      </plugin>
202

    
203
      <!-- Copy static web files before executing gwt:run -->
204
      <plugin>
205
        <groupId>org.apache.maven.plugins</groupId>
206
        <artifactId>maven-war-plugin</artifactId>
207
        <version>2.1.1</version>
208
        <executions>
209
          <execution>
210
            <phase>compile</phase>
211
            <goals>
212
              <goal>exploded</goal>
213
            </goals>
214
          </execution>
215
        </executions>
216
        <configuration>
217
          <webappDirectory>${webappDirectory}</webappDirectory>
218
        </configuration>
219
      </plugin>
220
      <plugin>
221
        <groupId>org.apache.maven.plugins</groupId>
222
        <artifactId>maven-compiler-plugin</artifactId>
223
        <version>2.3.2</version>
224
        <configuration>
225
          <source>1.7</source>
226
          <target>1.7</target>
227
        </configuration>
228
      </plugin>
229
    </plugins>
230
  </build>
231

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