2009-06-07 20:59:43 +02:00
|
|
|
<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">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>wise-webapp</artifactId>
|
|
|
|
<packaging>war</packaging>
|
|
|
|
<name>WiseMapping Webapp</name>
|
|
|
|
<url>http://www.wisemapping.org</url>
|
|
|
|
<parent>
|
|
|
|
<groupId>org.wisemapping</groupId>
|
|
|
|
<artifactId>wisemapping</artifactId>
|
2011-10-02 17:22:09 +02:00
|
|
|
<relativePath>../pom.xml</relativePath>
|
2012-01-31 03:33:05 +01:00
|
|
|
<version>3.0-SNAPSHOT</version>
|
2009-06-07 20:59:43 +02:00
|
|
|
</parent>
|
|
|
|
|
2009-11-07 05:19:41 +01:00
|
|
|
<repositories>
|
2011-10-03 00:16:13 +02:00
|
|
|
<repository>
|
|
|
|
<id>maven2-repository.dev.java.net</id>
|
|
|
|
<name>Java.net Repository for Maven</name>
|
|
|
|
<url>http://download.java.net/maven/2/</url>
|
|
|
|
<layout>default</layout>
|
2009-11-07 05:19:41 +01:00
|
|
|
</repository>
|
2011-10-03 00:16:13 +02:00
|
|
|
<repository>
|
|
|
|
<id>maven2-repository.jahia.org</id>
|
|
|
|
<name>Jahia Repository for Maven</name>
|
|
|
|
<url>http://maven.jahia.org/maven2/</url>
|
|
|
|
<layout>default</layout>
|
2011-06-28 06:18:53 +02:00
|
|
|
</repository>
|
2009-11-07 05:19:41 +01:00
|
|
|
</repositories>
|
|
|
|
|
2012-02-12 06:55:42 +01:00
|
|
|
<properties>
|
|
|
|
<org.springframework.version>3.1.0.RELEASE</org.springframework.version>
|
|
|
|
</properties>
|
|
|
|
|
2009-06-07 20:59:43 +02:00
|
|
|
<dependencies>
|
2012-02-12 06:55:42 +01:00
|
|
|
|
2009-06-07 20:59:43 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.wisemapping</groupId>
|
|
|
|
<artifactId>core-js</artifactId>
|
2012-02-12 06:55:42 +01:00
|
|
|
<version>${com.wisemapping.version}</version>
|
2012-01-31 04:14:49 +01:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.wisemapping</groupId>
|
|
|
|
<artifactId>wise-editor</artifactId>
|
2012-02-12 06:55:42 +01:00
|
|
|
<version>${com.wisemapping.version}</version>
|
2009-06-07 20:59:43 +02:00
|
|
|
<scope>provided</scope>
|
2012-02-01 04:03:32 +01:00
|
|
|
<type>war</type>
|
2009-06-07 20:59:43 +02:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.wisemapping</groupId>
|
|
|
|
<artifactId>mindplot</artifactId>
|
2012-02-12 06:55:42 +01:00
|
|
|
<version>${com.wisemapping.version}</version>
|
2009-06-07 20:59:43 +02:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.velocity</groupId>
|
|
|
|
<artifactId>velocity</artifactId>
|
|
|
|
<version>1.5</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.testng</groupId>
|
|
|
|
<artifactId>testng</artifactId>
|
|
|
|
<version>5.8</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
<classifier>jdk15</classifier>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2011-03-20 22:25:41 +01:00
|
|
|
<groupId>com.intellij</groupId>
|
|
|
|
<artifactId>annotations</artifactId>
|
|
|
|
<version>7.0.3</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2011-10-03 00:16:13 +02:00
|
|
|
<dependency>
|
2009-06-07 20:59:43 +02:00
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-webmvc</artifactId>
|
2012-02-12 06:55:42 +01:00
|
|
|
<version>${org.springframework.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-web</artifactId>
|
|
|
|
<version>${org.springframework.version}</version>
|
2009-06-07 20:59:43 +02:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
2012-02-12 06:55:42 +01:00
|
|
|
<artifactId>spring-struts</artifactId>
|
|
|
|
<version>${org.springframework.version}</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.xml.bind</groupId>
|
|
|
|
<artifactId>jaxb-api</artifactId>
|
|
|
|
<version>2.0</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-oxm</artifactId>
|
|
|
|
<version>${org.springframework.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>antlr</groupId>
|
|
|
|
<artifactId>antlr</artifactId>
|
|
|
|
<version>2.7.6</version>
|
2009-06-07 20:59:43 +02:00
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.struts</groupId>
|
|
|
|
<artifactId>struts-tiles</artifactId>
|
|
|
|
<version>1.3.8</version>
|
|
|
|
<scope>runtime</scope>
|
2012-02-12 06:55:42 +01:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>antlr</groupId>
|
|
|
|
<artifactId>antlr</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2009-06-07 20:59:43 +02:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-aop</artifactId>
|
2012-02-12 06:55:42 +01:00
|
|
|
<version>${org.springframework.version}</version>
|
2009-06-07 20:59:43 +02:00
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-orm</artifactId>
|
2012-02-12 06:55:42 +01:00
|
|
|
<version>${org.springframework.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.security</groupId>
|
|
|
|
<artifactId>spring-security-web</artifactId>
|
|
|
|
<version>${org.springframework.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2012-02-13 01:57:11 +01:00
|
|
|
<dependency>
|
2012-02-12 06:55:42 +01:00
|
|
|
<groupId>org.springframework.security</groupId>
|
|
|
|
<artifactId>spring-security-config</artifactId>
|
|
|
|
<version>${org.springframework.version}</version>
|
2009-06-07 20:59:43 +02:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2009-11-07 05:19:41 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>javax.transaction</groupId>
|
|
|
|
<artifactId>jta</artifactId>
|
|
|
|
<version>1.0.1B</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2011-10-03 00:16:13 +02:00
|
|
|
<groupId>com.octo.captcha</groupId>
|
|
|
|
<artifactId>jcaptcha</artifactId>
|
|
|
|
<version>1.0</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2009-06-07 20:59:43 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-jdbc</artifactId>
|
2012-02-12 06:55:42 +01:00
|
|
|
<version>${org.springframework.version}</version>
|
2009-06-07 20:59:43 +02:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hibernate</groupId>
|
2012-02-12 06:55:42 +01:00
|
|
|
<artifactId>hibernate-entitymanager</artifactId>
|
|
|
|
<version>3.6.0.Final</version>
|
2009-06-07 20:59:43 +02:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2011-10-03 00:16:13 +02:00
|
|
|
<groupId>org.apache.xmlgraphics</groupId>
|
|
|
|
<artifactId>batik-codec</artifactId>
|
|
|
|
<version>1.7</version>
|
|
|
|
<scope>runtime</scope>
|
2009-06-07 20:59:43 +02:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.xmlgraphics</groupId>
|
|
|
|
<artifactId>batik-svg-dom</artifactId>
|
|
|
|
<version>1.7</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>xalan</groupId>
|
|
|
|
<artifactId>xalan</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.xmlgraphics</groupId>
|
|
|
|
<artifactId>batik-transcoder</artifactId>
|
|
|
|
<version>1.7</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>xalan</groupId>
|
|
|
|
<artifactId>xalan</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>servlet-api</artifactId>
|
|
|
|
<version>2.4</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>jstl</artifactId>
|
|
|
|
<version>1.2</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.mail</groupId>
|
|
|
|
<artifactId>mail</artifactId>
|
|
|
|
<version>1.4</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>mysql</groupId>
|
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
|
<version>5.1.5</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-dbcp</groupId>
|
|
|
|
<artifactId>commons-dbcp</artifactId>
|
|
|
|
<version>1.2.2</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-fileupload</groupId>
|
|
|
|
<artifactId>commons-fileupload</artifactId>
|
|
|
|
<version>1.2.1</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
<version>1.2.9</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<!-- Only for test purposes -->
|
|
|
|
<dependency>
|
2012-02-21 18:22:43 +01:00
|
|
|
<groupId>org.hsqldb</groupId>
|
2009-06-07 20:59:43 +02:00
|
|
|
<artifactId>hsqldb</artifactId>
|
2012-02-21 18:22:43 +01:00
|
|
|
<version>2.2.8</version>
|
2009-06-07 20:59:43 +02:00
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
2012-02-13 01:57:11 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.jackson</groupId>
|
|
|
|
<artifactId>jackson-core-asl</artifactId>
|
|
|
|
<version>1.9.4</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.jackson</groupId>
|
|
|
|
<artifactId>jackson-mapper-asl</artifactId>
|
|
|
|
<version>1.9.4</version>
|
|
|
|
</dependency>
|
2012-02-16 05:16:51 +01:00
|
|
|
<dependency>
|
2012-02-21 21:41:51 +01:00
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
<version>1.6.4</version>
|
2012-02-16 05:16:51 +01:00
|
|
|
</dependency>
|
2009-06-07 20:59:43 +02:00
|
|
|
</dependencies>
|
|
|
|
|
2012-02-16 05:16:51 +01:00
|
|
|
|
2009-06-07 20:59:43 +02:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>sql-maven-plugin</artifactId>
|
2012-02-21 18:22:43 +01:00
|
|
|
<version>1.5</version>
|
2009-06-07 20:59:43 +02:00
|
|
|
|
|
|
|
<configuration>
|
2012-02-21 18:22:43 +01:00
|
|
|
<driver>org.hsqldb.jdbc.JDBCDriver</driver>
|
2009-06-07 20:59:43 +02:00
|
|
|
<url>jdbc:hsqldb:file:${basedir}/target/db/wisemapping</url>
|
|
|
|
<username>sa</username>
|
|
|
|
<!--all executions are ignored if -Dmaven.test.skipDB=true
|
|
|
|
Use this flag if you want to reuse an already created HSQL database instance
|
|
|
|
-->
|
|
|
|
<skip>${maven.test.skipDB}</skip>
|
|
|
|
</configuration>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>mysql</groupId>
|
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
|
<version>5.1.5</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2012-02-21 18:22:43 +01:00
|
|
|
<groupId>org.hsqldb</groupId>
|
2009-06-07 20:59:43 +02:00
|
|
|
<artifactId>hsqldb</artifactId>
|
2012-02-21 18:22:43 +01:00
|
|
|
<version>2.2.8</version>
|
2009-06-07 20:59:43 +02:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>drop-schemas</id>
|
|
|
|
<phase>test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>execute</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<onError>continue</onError>
|
|
|
|
<orderFile>ascending</orderFile>
|
|
|
|
<fileset>
|
|
|
|
<basedir>${basedir}</basedir>
|
|
|
|
<includes>
|
|
|
|
<include>src/test/sql/hsql/drop-schemas.sql</include>
|
|
|
|
</includes>
|
|
|
|
</fileset>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>create-schema</id>
|
|
|
|
<phase>test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>execute</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<orderFile>ascending</orderFile>
|
|
|
|
<fileset>
|
|
|
|
<basedir>${basedir}</basedir>
|
|
|
|
<includes>
|
|
|
|
<include>src/test/sql/hsql/create-schemas.sql</include>
|
|
|
|
</includes>
|
|
|
|
</fileset>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>create-data</id>
|
|
|
|
<phase>test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>execute</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<orderFile>ascending</orderFile>
|
|
|
|
<fileset>
|
|
|
|
<basedir>${basedir}</basedir>
|
|
|
|
<includes>
|
|
|
|
<include>src/test/sql/hsql/test-data.sql</include>
|
|
|
|
</includes>
|
|
|
|
</fileset>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
2011-11-24 18:57:28 +01:00
|
|
|
<version>2.1.1</version>
|
2011-10-02 17:22:09 +02:00
|
|
|
<configuration>
|
2009-06-07 20:59:43 +02:00
|
|
|
<warName>wisemapping</warName>
|
|
|
|
<overlays>
|
2012-02-01 04:03:32 +01:00
|
|
|
<overlay>
|
|
|
|
<groupId>org.wisemapping</groupId>
|
|
|
|
<artifactId>wise-editor</artifactId>
|
|
|
|
<type>war</type>
|
2012-02-12 06:55:42 +01:00
|
|
|
<targetPath>/</targetPath>
|
2012-02-01 04:03:32 +01:00
|
|
|
<includes>
|
|
|
|
<include>**/*.css</include>
|
2012-02-12 06:55:42 +01:00
|
|
|
<include>**/*.png</include>
|
|
|
|
<include>**/*.gif</include>
|
2012-02-01 04:03:32 +01:00
|
|
|
<include>**/*.ico</include>
|
|
|
|
<include>**/*.jpg</include>
|
|
|
|
<include>**/*.less</include>
|
2012-02-12 06:55:42 +01:00
|
|
|
<include>js/editor.js</include>
|
2012-02-01 04:03:32 +01:00
|
|
|
</includes>
|
|
|
|
</overlay>
|
2009-06-07 20:59:43 +02:00
|
|
|
<overlay>
|
|
|
|
<groupId>org.wisemapping</groupId>
|
|
|
|
<artifactId>core-js</artifactId>
|
|
|
|
<type>jar</type>
|
|
|
|
<targetPath>js</targetPath>
|
|
|
|
<includes>
|
|
|
|
<include>*.js</include>
|
|
|
|
</includes>
|
|
|
|
</overlay>
|
2011-10-03 00:16:13 +02:00
|
|
|
<overlay>
|
|
|
|
<groupId>org.wisemapping</groupId>
|
|
|
|
<artifactId>mindplot</artifactId>
|
|
|
|
<type>jar</type>
|
|
|
|
<targetPath>css</targetPath>
|
|
|
|
<includes>
|
|
|
|
<include>**/*.css</include>
|
|
|
|
<include>**/*.html</include>
|
|
|
|
</includes>
|
|
|
|
</overlay>
|
2009-06-07 20:59:43 +02:00
|
|
|
<overlay>
|
|
|
|
<groupId>org.wisemapping</groupId>
|
|
|
|
<artifactId>mindplot</artifactId>
|
|
|
|
<type>jar</type>
|
|
|
|
<targetPath>js</targetPath>
|
|
|
|
<includes>
|
2011-10-03 00:16:13 +02:00
|
|
|
<include>**/*.js</include>
|
2009-06-07 20:59:43 +02:00
|
|
|
</includes>
|
|
|
|
</overlay>
|
|
|
|
</overlays>
|
|
|
|
<archiveClasses>true</archiveClasses>
|
|
|
|
<webResources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<targetPath>WEB-INF</targetPath>
|
|
|
|
<includes>
|
|
|
|
<include>*.wsdl</include>
|
|
|
|
<include>*.xsd</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
</webResources>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
2012-02-25 15:56:20 +01:00
|
|
|
<version>2.12</version>
|
2009-06-07 20:59:43 +02:00
|
|
|
<configuration>
|
2011-11-28 01:28:39 +01:00
|
|
|
<parallel>true</parallel>
|
2009-06-07 20:59:43 +02:00
|
|
|
<suiteXmlFiles>
|
|
|
|
<suiteXmlFile>testng.xml</suiteXmlFile>
|
|
|
|
</suiteXmlFiles>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.mortbay.jetty</groupId>
|
2012-02-12 06:55:42 +01:00
|
|
|
<artifactId>jetty-maven-plugin</artifactId>
|
|
|
|
<version>8.1.0.v20120127</version>
|
2009-06-07 20:59:43 +02:00
|
|
|
<configuration>
|
2012-02-12 06:55:42 +01:00
|
|
|
<war>${project.build.directory}/wisemapping.war</war>
|
2012-02-13 01:57:11 +01:00
|
|
|
<reload>automatic</reload>
|
|
|
|
<scanIntervalSeconds>10</scanIntervalSeconds>
|
2009-06-07 20:59:43 +02:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|