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
  </dependencies>
162

    
163
  <build>
164
    <!-- Generate compiled stuff in the folder used for developing mode -->
165
    <outputDirectory>${webappDirectory}/WEB-INF/classes</outputDirectory>
166

    
167
    <plugins>
168

    
169
      <!-- GWT Maven Plugin -->
170
      <plugin>
171
        <groupId>org.codehaus.mojo</groupId>
172
        <artifactId>gwt-maven-plugin</artifactId>
173
        <version>${gwtVersion}</version>
174
        <executions>
175
          <execution>
176
            <goals>
177
              <goal>compile</goal>
178
              <goal>test</goal>
179
              <goal>i18n</goal>
180
              <goal>generateAsync</goal>
181
            </goals>
182
          </execution>
183
        </executions>
184
        <!-- Plugin configuration. There are many available options, see 
185
          gwt-maven-plugin documentation at codehaus.org -->
186
        <configuration>
187
          <runTarget>GoldOAPortal.html</runTarget>
188
          <hostedWebapp>${webappDirectory}</hostedWebapp>
189
          <i18nMessagesBundle>eu.dnetlib.client.Messages</i18nMessagesBundle>
190
        </configuration>
191
      </plugin>
192

    
193
      <!-- Copy static web files before executing gwt:run -->
194
      <plugin>
195
        <groupId>org.apache.maven.plugins</groupId>
196
        <artifactId>maven-war-plugin</artifactId>
197
        <version>2.1.1</version>
198
        <executions>
199
          <execution>
200
            <phase>compile</phase>
201
            <goals>
202
              <goal>exploded</goal>
203
            </goals>
204
          </execution>
205
        </executions>
206
        <configuration>
207
          <webappDirectory>${webappDirectory}</webappDirectory>
208
        </configuration>
209
      </plugin>
210
      <plugin>
211
        <groupId>org.apache.maven.plugins</groupId>
212
        <artifactId>maven-compiler-plugin</artifactId>
213
        <version>2.3.2</version>
214
        <configuration>
215
          <source>1.7</source>
216
          <target>1.7</target>
217
        </configuration>
218
      </plugin>
219
    </plugins>
220
  </build>
221

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