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

    
158
  <build>
159
    <!-- Generate compiled stuff in the folder used for developing mode -->
160
    <outputDirectory>${webappDirectory}/WEB-INF/classes</outputDirectory>
161

    
162
    <plugins>
163

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

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

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