mirror of
https://github.com/traccar/traccar-web.git
synced 2025-01-09 04:37:33 +08:00
160 lines
4.8 KiB
XML
160 lines
4.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project
|
|
xmlns="http://maven.apache.org/POM/4.0.0"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
|
|
<!-- POM file generated with GWT webAppCreator -->
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>org.traccar.web</groupId>
|
|
<artifactId>traccar-web</artifactId>
|
|
<packaging>war</packaging>
|
|
<version>1.0-SNAPSHOT</version>
|
|
<name>GWT Maven Archetype</name>
|
|
|
|
<properties>
|
|
<gwtVersion>2.5.0</gwtVersion>
|
|
<smartGwtVersion>3.0</smartGwtVersion>
|
|
<webappDirectory>${project.build.directory}/${project.build.finalName}</webappDirectory>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
</properties>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>smartclient</id>
|
|
<name>smartclient.com</name>
|
|
<url>http://www.smartclient.com/maven2</url>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.google.gwt</groupId>
|
|
<artifactId>gwt-servlet</artifactId>
|
|
<version>${gwtVersion}</version>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.gwt</groupId>
|
|
<artifactId>gwt-user</artifactId>
|
|
<version>${gwtVersion}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>4.7</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.validation</groupId>
|
|
<artifactId>validation-api</artifactId>
|
|
<version>1.0.0.GA</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.validation</groupId>
|
|
<artifactId>validation-api</artifactId>
|
|
<version>1.0.0.GA</version>
|
|
<classifier>sources</classifier>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.smartgwt</groupId>
|
|
<artifactId>smartgwt</artifactId>
|
|
<version>${smartGwtVersion}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.gwtopenmaps.openlayers</groupId>
|
|
<artifactId>gwt-openlayers-client</artifactId>
|
|
<version>0.8</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>mysql</groupId>
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
<version>5.1.21</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.hibernate</groupId>
|
|
<artifactId>hibernate-core</artifactId>
|
|
<version>4.1.7.Final</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.hibernate</groupId>
|
|
<artifactId>hibernate-annotations</artifactId>
|
|
<version>3.5.6-Final</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.hibernate</groupId>
|
|
<artifactId>hibernate-entitymanager</artifactId>
|
|
<version>4.1.7.Final</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.hibernate.javax.persistence</groupId>
|
|
<artifactId>hibernate-jpa-2.0-api</artifactId>
|
|
<version>1.0.0.Final</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<!-- Generate compiled stuff in the folder used for developing mode -->
|
|
<outputDirectory>${webappDirectory}/WEB-INF/classes</outputDirectory>
|
|
|
|
<plugins>
|
|
|
|
<!-- GWT Maven Plugin -->
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>gwt-maven-plugin</artifactId>
|
|
<version>2.5.0</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>compile</goal>
|
|
<goal>test</goal>
|
|
<!--<goal>i18n</goal>-->
|
|
<goal>generateAsync</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<!-- Plugin configuration. There are many available options, see
|
|
gwt-maven-plugin documentation at codehaus.org -->
|
|
<configuration>
|
|
<runTarget>traccar.html</runTarget>
|
|
<hostedWebapp>${webappDirectory}</hostedWebapp>
|
|
<i18nMessagesBundle>org.traccar.web.client.Messages</i18nMessagesBundle>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<!-- Copy static web files before executing gwt:run -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
<version>2.1.1</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>compile</phase>
|
|
<goals>
|
|
<goal>exploded</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<webappDirectory>${webappDirectory}</webappDirectory>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>2.3.2</version>
|
|
<configuration>
|
|
<source>1.6</source>
|
|
<target>1.6</target>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|