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
    </repositories>
39

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

    
73
      <dependency>
74
          <groupId>com.github.gwtbootstrap</groupId>
75
          <artifactId>gwt-bootstrap</artifactId>
76
          <version>2.3.2.1-SNAPSHOT</version>
77
      </dependency>
78
      <dependency>
79
          <groupId>eu.dnetlib</groupId>
80
          <artifactId>uoa-goldoa-service</artifactId>
81
          <version>1.0.0-SNAPSHOT</version>
82
      </dependency>
83
      <dependency>
84
          <groupId>org.springframework</groupId>
85
          <artifactId>spring-context</artifactId>
86
          <version>${spring.version}</version>
87
      </dependency>
88
      <dependency>
89
          <groupId>org.springframework</groupId>
90
          <artifactId>spring-webmvc</artifactId>
91
          <version>${spring.version}</version>
92
      </dependency>
93
      <dependency>
94
          <groupId>log4j</groupId>
95
          <artifactId>log4j</artifactId>
96
          <version>(1.2, 1.5]</version>
97
          <scope>compile</scope>
98
      </dependency>
99
      <dependency>
100
          <groupId>eu.dnetlib</groupId>
101
          <artifactId>dnet-runtime</artifactId>
102
          <version>[0.0.9, ]</version>
103
          <exclusions>
104
              <exclusion>
105
                  <groupId>asm</groupId>
106
                  <artifactId>asm</artifactId>
107
              </exclusion>
108
          </exclusions>
109
      </dependency>
110
      <dependency>
111
          <groupId>eu.dnetlib</groupId>
112
          <artifactId>uoa-utils</artifactId>
113
          <version>[1.0.0, ]</version>
114
          <exclusions>
115
              <exclusion>
116
                  <groupId>asm</groupId>
117
                  <artifactId>asm</artifactId>
118
              </exclusion>
119
          </exclusions>
120
      </dependency>
121
      <dependency>
122
          <groupId>com.googlecode.gwt-crypto</groupId>
123
          <artifactId>gwt-crypto</artifactId>
124
          <version>2.3.0</version>
125
      </dependency>
126
      <dependency>
127
          <groupId>commons-fileupload</groupId>
128
          <artifactId>commons-fileupload</artifactId>
129
          <version>1.3</version>
130
      </dependency>
131
      <dependency>
132
          <groupId>commons-io</groupId>
133
          <artifactId>commons-io</artifactId>
134
          <version>2.4</version>
135
      </dependency>
136

    
137
  </dependencies>
138

    
139
  <build>
140
    <!-- Generate compiled stuff in the folder used for developing mode -->
141
    <outputDirectory>${webappDirectory}/WEB-INF/classes</outputDirectory>
142

    
143
    <plugins>
144

    
145
      <!-- GWT Maven Plugin -->
146
      <plugin>
147
        <groupId>org.codehaus.mojo</groupId>
148
        <artifactId>gwt-maven-plugin</artifactId>
149
        <version>${gwtVersion}</version>
150
        <executions>
151
          <execution>
152
            <goals>
153
              <goal>compile</goal>
154
              <goal>test</goal>
155
              <goal>i18n</goal>
156
              <goal>generateAsync</goal>
157
            </goals>
158
          </execution>
159
        </executions>
160
        <!-- Plugin configuration. There are many available options, see 
161
          gwt-maven-plugin documentation at codehaus.org -->
162
        <configuration>
163
          <runTarget>GoldOAPortal.html</runTarget>
164
          <hostedWebapp>${webappDirectory}</hostedWebapp>
165
          <i18nMessagesBundle>eu.dnetlib.client.Messages</i18nMessagesBundle>
166
        </configuration>
167
      </plugin>
168

    
169
      <!-- Copy static web files before executing gwt:run -->
170
      <plugin>
171
        <groupId>org.apache.maven.plugins</groupId>
172
        <artifactId>maven-war-plugin</artifactId>
173
        <version>2.1.1</version>
174
        <executions>
175
          <execution>
176
            <phase>compile</phase>
177
            <goals>
178
              <goal>exploded</goal>
179
            </goals>
180
          </execution>
181
        </executions>
182
        <configuration>
183
          <webappDirectory>${webappDirectory}</webappDirectory>
184
        </configuration>
185
      </plugin>
186
      <plugin>
187
        <groupId>org.apache.maven.plugins</groupId>
188
        <artifactId>maven-compiler-plugin</artifactId>
189
        <version>2.3.2</version>
190
        <configuration>
191
          <source>1.7</source>
192
          <target>1.7</target>
193
        </configuration>
194
      </plugin>
195
    </plugins>
196
  </build>
197

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