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
  <modelVersion>4.0.0</modelVersion>
8
  <groupId>eu.dnetlib</groupId>
9
  <artifactId>uoa-stats-config</artifactId>
10
  <packaging>war</packaging>
11
  <version>1.0-SNAPSHOT</version>
12
  <name>GWT Maven Archetype</name>
13

    
14
  <properties>
15
    <!-- Convenience property to set the GWT version -->
16
    <gwtVersion>2.7.0</gwtVersion>
17

    
18
    <!-- GWT needs at least java 1.6 -->
19
    <maven.compiler.source>1.7</maven.compiler.source>
20
    <maven.compiler.target>1.7</maven.compiler.target>
21

    
22
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
23
  </properties>
24

    
25
  <dependencyManagement>
26
    <dependencies>
27
      <dependency>
28
        <groupId>com.google.gwt</groupId>
29
        <artifactId>gwt</artifactId>
30
        <version>${gwtVersion}</version>
31
        <type>pom</type>
32
        <scope>import</scope>
33
      </dependency>
34
    </dependencies>
35
  </dependencyManagement>
36

    
37
  <dependencies>
38
    <dependency>
39
      <groupId>com.google.gwt</groupId>
40
      <artifactId>gwt-servlet</artifactId>
41
      <scope>runtime</scope>
42
    </dependency>
43
    <dependency>
44
      <groupId>com.google.gwt</groupId>
45
      <artifactId>gwt-user</artifactId>
46
      <scope>provided</scope>
47
    </dependency>
48
    <dependency>
49
      <groupId>com.google.gwt</groupId>
50
      <artifactId>gwt-dev</artifactId>
51
      <scope>provided</scope>
52
    </dependency>
53
    <dependency>
54
      <groupId>junit</groupId>
55
      <artifactId>junit</artifactId>
56
      <version>4.11</version>
57
      <scope>test</scope>
58
    </dependency>
59
    <dependency>
60
	    <groupId>com.github.highcharts4gwt</groupId>
61
	    <artifactId>highcharts</artifactId>
62
	    <version>0.0.6</version>
63
	</dependency>
64

    
65
      <dependency>
66
          <groupId>com.github.gwtbootstrap</groupId>
67
          <artifactId>gwt-bootstrap</artifactId>
68
          <version>2.3.2.0</version>
69
      </dependency>
70

    
71

    
72
  </dependencies>
73

    
74
  <build>
75
    <!-- Output classes directly into the webapp, so that IDEs and "mvn process-classes" update them in DevMode -->
76
    <outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/classes</outputDirectory>
77

    
78
    <plugins>
79

    
80
      <!-- GWT Maven Plugin -->
81
      <plugin>
82
        <groupId>org.codehaus.mojo</groupId>
83
        <artifactId>gwt-maven-plugin</artifactId>
84
        <version>2.7.0</version>
85
        <executions>
86
          <execution>
87
            <goals>
88
              <goal>compile</goal>
89
              <goal>test</goal>
90
              <goal>generateAsync</goal>
91
            </goals>
92
          </execution>
93
        </executions>
94
        <!-- Plugin configuration. There are many available options, see 
95
          gwt-maven-plugin documentation at codehaus.org -->
96
        <configuration>
97
          <runTarget>StatsConfig.html</runTarget>
98
          <modules>
99
            <module>eu.dnetlib.StatsConfig</module>
100
          </modules>
101
          <compileSourcesArtifacts>
102
            <artifact>com.github.highcharts4gwt:highcharts</artifact>
103
          </compileSourcesArtifacts>
104
        </configuration>
105
      </plugin>
106
    </plugins>
107
  </build>
108

    
109
</project>
(1-1/2)