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>
|
2015-10-30 03:06:57 +01:00
|
|
|
<version>4.0.3</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>
|
2013-02-18 01:26:42 +01:00
|
|
|
<org.springframework.version>3.1.3.RELEASE</org.springframework.version>
|
2012-02-12 06:55:42 +01:00
|
|
|
</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>
|
2013-02-18 01:00:08 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.security</groupId>
|
|
|
|
<artifactId>spring-security-ldap</artifactId>
|
|
|
|
<version>${org.springframework.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2013-03-10 23:05:33 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.security</groupId>
|
|
|
|
<artifactId>spring-security-openid</artifactId>
|
|
|
|
<version>${org.springframework.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2012-03-13 19:57:30 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-beans</artifactId>
|
|
|
|
<version>${org.springframework.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-tx</artifactId>
|
|
|
|
<version>${org.springframework.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-context</artifactId>
|
|
|
|
<version>${org.springframework.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2012-11-05 04:51:06 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
<version>1.7.2</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
2012-02-12 06:55:42 +01:00
|
|
|
<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>
|
2012-03-13 19:57:30 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.xmlgraphics</groupId>
|
|
|
|
<artifactId>fop</artifactId>
|
|
|
|
<version>0.94</version>
|
|
|
|
</dependency>
|
2012-02-12 06:55:42 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-oxm</artifactId>
|
|
|
|
<version>${org.springframework.version}</version>
|
2012-06-03 16:16:38 +02:00
|
|
|
<scope>compile</scope>
|
2012-03-13 19:57:30 +01:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-context-support</artifactId>
|
|
|
|
<version>${org.springframework.version}</version>
|
|
|
|
<scope>compile</scope>
|
2012-02-12 06:55:42 +01:00
|
|
|
</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>
|
2012-06-16 19:32:26 +02:00
|
|
|
<groupId>org.apache.tiles</groupId>
|
|
|
|
<artifactId>tiles-jsp</artifactId>
|
|
|
|
<version>2.1.4</version>
|
2009-06-07 20:59:43 +02:00
|
|
|
<scope>runtime</scope>
|
|
|
|
</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>
|
2012-11-10 21:19:28 +01:00
|
|
|
<scope>compile</scope>
|
2012-03-13 19:57:30 +01:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.security</groupId>
|
|
|
|
<artifactId>spring-security-core</artifactId>
|
|
|
|
<version>${org.springframework.version}</version>
|
2012-02-12 06:55:42 +01:00
|
|
|
<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>
|
2012-03-13 19:57:30 +01:00
|
|
|
<scope>runtime</scope>
|
2009-06-07 20:59:43 +02:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-jdbc</artifactId>
|
2012-02-12 06:55:42 +01:00
|
|
|
<version>${org.springframework.version}</version>
|
2012-03-13 19:57:30 +01:00
|
|
|
<scope>runtime</scope>
|
2009-06-07 20:59:43 +02:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hibernate</groupId>
|
2012-02-12 06:55:42 +01:00
|
|
|
<artifactId>hibernate-entitymanager</artifactId>
|
|
|
|
<version>3.6.0.Final</version>
|
2012-03-13 19:57:30 +01:00
|
|
|
<scope>runtime</scope>
|
2009-06-07 20:59:43 +02:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2012-03-13 19:57:30 +01:00
|
|
|
<groupId>org.hibernate</groupId>
|
|
|
|
<artifactId>hibernate-core</artifactId>
|
|
|
|
<version>3.6.0.Final</version>
|
|
|
|
<scope>compile</scope>
|
2009-06-07 20:59:43 +02:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2012-03-13 19:57:30 +01:00
|
|
|
<groupId>aopalliance</groupId>
|
|
|
|
<artifactId>aopalliance</artifactId>
|
|
|
|
<version>1.0</version>
|
2009-06-07 20:59:43 +02:00
|
|
|
<scope>compile</scope>
|
|
|
|
</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>
|
2012-06-20 22:48:29 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.xmlgraphics</groupId>
|
|
|
|
<artifactId>batik-codec</artifactId>
|
|
|
|
<version>1.7</version>
|
|
|
|
</dependency>
|
2009-06-07 20:59:43 +02:00
|
|
|
<dependency>
|
2014-01-26 23:28:54 +01:00
|
|
|
<groupId>javax</groupId>
|
|
|
|
<artifactId>javaee-api</artifactId>
|
|
|
|
<version>6.0</version>
|
2009-06-07 20:59:43 +02:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.mail</groupId>
|
|
|
|
<artifactId>mail</artifactId>
|
|
|
|
<version>1.4</version>
|
|
|
|
</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>
|
2012-11-05 04:51:06 +01:00
|
|
|
<version>1.2.17</version>
|
2009-06-07 20:59:43 +02:00
|
|
|
<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>
|
2012-03-13 19:57:30 +01:00
|
|
|
<scope>compile</scope>
|
2012-02-13 01:57:11 +01:00
|
|
|
</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>
|
2012-11-05 04:51:06 +01:00
|
|
|
<version>1.7.2</version>
|
2012-03-13 19:57:30 +01:00
|
|
|
<scope>runtime</scope>
|
2012-02-16 05:16:51 +01:00
|
|
|
</dependency>
|
2012-03-07 03:26:11 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>xerces</groupId>
|
|
|
|
<artifactId>xercesImpl</artifactId>
|
|
|
|
<version>2.10.0</version>
|
2012-03-13 19:57:30 +01:00
|
|
|
<scope>compile</scope>
|
2012-03-07 03:26:11 +01:00
|
|
|
</dependency>
|
2012-03-22 03:30:07 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>net.tanesha.recaptcha4j</groupId>
|
|
|
|
<artifactId>recaptcha4j</artifactId>
|
|
|
|
<version>0.0.7</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2012-09-29 20:27:16 +02:00
|
|
|
<dependency>
|
|
|
|
<!-- jsoup HTML parser library @ http://jsoup.org/ -->
|
|
|
|
<groupId>org.jsoup</groupId>
|
|
|
|
<artifactId>jsoup</artifactId>
|
|
|
|
<version>1.7.1</version>
|
|
|
|
</dependency>
|
2014-01-25 02:58:25 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.mangofactory</groupId>
|
|
|
|
<artifactId>swagger-springmvc</artifactId>
|
|
|
|
<version>0.6.6</version>
|
|
|
|
</dependency>
|
2014-01-26 23:28:54 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.wordnik</groupId>
|
|
|
|
<artifactId>swagger-annotations_2.9.1</artifactId>
|
|
|
|
<version>1.2.0</version>
|
|
|
|
</dependency>
|
2014-07-14 07:43:24 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>jstl</artifactId>
|
|
|
|
<version>1.2</version>
|
|
|
|
</dependency>
|
2014-01-26 23:28:54 +01:00
|
|
|
|
2009-06-07 20:59:43 +02:00
|
|
|
</dependencies>
|
2014-01-19 16:33:56 +01:00
|
|
|
<profiles>
|
2014-01-26 23:28:54 +01:00
|
|
|
<profile>
|
|
|
|
<id>coverage</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.jacoco</groupId>
|
|
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
|
|
<version>0.6.4.201312101107</version>
|
|
|
|
<executions>
|
|
|
|
<!--
|
|
|
|
Prepares the property pointing to the JaCoCo runtime agent which
|
|
|
|
is passed as VM argument when Maven the Surefire plugin is executed.
|
|
|
|
-->
|
|
|
|
<execution>
|
|
|
|
<id>pre-unit-test</id>
|
|
|
|
<goals>
|
|
|
|
<goal>prepare-agent</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
<!--
|
|
|
|
Ensures that the code coverage report for unit tests is created after
|
|
|
|
unit tests have been run.
|
|
|
|
-->
|
|
|
|
<execution>
|
|
|
|
<id>post-unit-test</id>
|
|
|
|
<phase>test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>report</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2014-01-19 16:33:56 +01:00
|
|
|
<profile>
|
|
|
|
<id>hsqldb</id>
|
|
|
|
<activation>
|
|
|
|
<activeByDefault>true</activeByDefault>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>sql-maven-plugin</artifactId>
|
|
|
|
<version>1.5</version>
|
2009-06-07 20:59:43 +02:00
|
|
|
|
2014-01-19 16:33:56 +01:00
|
|
|
<configuration>
|
|
|
|
<driver>org.hsqldb.jdbc.JDBCDriver</driver>
|
|
|
|
<url>jdbc:hsqldb:file:${project.build.directory}/db/wisemapping</url>
|
|
|
|
<username>sa</username>
|
|
|
|
</configuration>
|
2009-06-07 20:59:43 +02:00
|
|
|
|
2014-01-19 16:33:56 +01:00
|
|
|
<dependencies>
|
2014-01-25 22:16:21 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>mysql</groupId>
|
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
|
<version>5.1.5</version>
|
|
|
|
</dependency>
|
2014-01-19 16:33:56 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.hsqldb</groupId>
|
|
|
|
<artifactId>hsqldb</artifactId>
|
|
|
|
<version>2.2.8</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2009-06-07 20:59:43 +02:00
|
|
|
|
2014-01-19 16:33:56 +01:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>drop-schemas</id>
|
|
|
|
<phase>prepare-package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>execute</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<onError>continue</onError>
|
|
|
|
<orderFile>descending</orderFile>
|
|
|
|
<fileset>
|
|
|
|
<basedir>${project.basedir}</basedir>
|
|
|
|
<includes>
|
|
|
|
<include>config/database/hsql/drop-schemas.sql</include>
|
|
|
|
<include>config/database/hsql/create-schemas.sql</include>
|
2014-01-25 22:16:21 +01:00
|
|
|
<include>config/database/hsql/apopulate-schemas.sql</include>
|
2014-01-19 16:33:56 +01:00
|
|
|
</includes>
|
|
|
|
</fileset>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>mysqldb</id>
|
|
|
|
<activation>
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>sql-maven-plugin</artifactId>
|
|
|
|
<version>1.5</version>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>mysql</groupId>
|
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
|
<version>5.1.5</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>init-schema</id>
|
|
|
|
<goals>
|
|
|
|
<goal>execute</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>prepare-package</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2009-06-07 20:59:43 +02:00
|
|
|
<configuration>
|
2014-01-19 16:33:56 +01:00
|
|
|
<driver>com.mysql.jdbc.Driver</driver>
|
|
|
|
<username>root</username>
|
|
|
|
<password></password>
|
|
|
|
<url>jdbc:mysql://127.0.0.1:3306/?useUnicode=true&characterEncoding=UTF-8</url>
|
|
|
|
<autocommit>false</autocommit>
|
|
|
|
<srcFiles>
|
|
|
|
<srcFile>config/database/mysql/create-database.sql</srcFile>
|
|
|
|
<srcFile>config/database/mysql/create-schemas.sql</srcFile>
|
2014-01-26 03:53:17 +01:00
|
|
|
<srcFile>config/database/mysql/apopulate-schemas.sql</srcFile>
|
2014-01-19 16:33:56 +01:00
|
|
|
</srcFiles>
|
2009-06-07 20:59:43 +02:00
|
|
|
</configuration>
|
2014-01-19 16:33:56 +01:00
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
2012-08-23 05:46:15 +02:00
|
|
|
<plugin>
|
2012-08-24 03:25:15 +02:00
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>native2ascii-maven-plugin</artifactId>
|
2012-08-23 05:46:15 +02:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
2012-08-24 03:25:15 +02:00
|
|
|
<goal>native2ascii</goal>
|
2012-08-23 05:46:15 +02:00
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2012-08-24 03:25:15 +02:00
|
|
|
<configuration>
|
|
|
|
<encoding>UTF-8</encoding>
|
|
|
|
<includes>
|
|
|
|
<include>messages*.properties</include>
|
|
|
|
</includes>
|
|
|
|
</configuration>
|
2012-08-23 05:46:15 +02:00
|
|
|
</plugin>
|
2009-06-07 20:59:43 +02:00
|
|
|
<plugin>
|
2014-07-14 07:43:24 +02:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2009-06-07 20:59:43 +02:00
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
2014-07-14 07:43:24 +02:00
|
|
|
<version>2.4</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>
|
2014-09-22 08:28:34 +02:00
|
|
|
<include>js/hotkeys.js</include>
|
|
|
|
<include>js/jquery-mousewheel.js</include>
|
|
|
|
<include>js/underscore.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>
|
2012-06-03 16:16:38 +02:00
|
|
|
<include>**/*l</include>
|
2011-10-03 00:16:13 +02:00
|
|
|
</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>
|
|
|
|
</plugin>
|
2014-01-26 23:28:54 +01:00
|
|
|
|
2012-03-10 21:35:35 +01:00
|
|
|
<plugin>
|
2014-01-25 08:53:51 +01:00
|
|
|
<groupId>org.apache.tomcat.maven</groupId>
|
|
|
|
<artifactId>tomcat7-maven-plugin</artifactId>
|
2014-01-25 19:27:03 +01:00
|
|
|
<version>2.0</version>
|
2014-01-25 08:53:51 +01:00
|
|
|
<configuration>
|
|
|
|
<path>/wisemapping</path>
|
|
|
|
<warFile>${project.build.directory}/wisemapping.war</warFile>
|
|
|
|
<mode>war</mode>
|
|
|
|
<update>true</update>
|
|
|
|
<systemProperties>
|
|
|
|
<database.base.url>${project.build.directory}</database.base.url>
|
|
|
|
</systemProperties>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
2012-03-10 21:35:35 +01:00
|
|
|
<plugin>
|
2014-08-19 00:20:59 +02:00
|
|
|
<groupId>org.mortbay.jetty</groupId>
|
2012-02-12 06:55:42 +01:00
|
|
|
<artifactId>jetty-maven-plugin</artifactId>
|
2014-08-19 00:20:59 +02:00
|
|
|
<version>8.1.14.v20131031</version>
|
2009-06-07 20:59:43 +02:00
|
|
|
<configuration>
|
2014-07-14 07:43:24 +02:00
|
|
|
<baseAppFirst>false</baseAppFirst>
|
2012-03-10 21:35:35 +01:00
|
|
|
<stopKey>foo</stopKey>
|
|
|
|
<stopPort>9999</stopPort>
|
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>
|
2014-08-19 02:10:25 +02:00
|
|
|
<webAppConfig>
|
|
|
|
<overrideDescriptor>${project.basedir}/webdefault.xml</overrideDescriptor>
|
|
|
|
</webAppConfig>
|
2012-04-05 19:18:13 +02:00
|
|
|
<systemProperties>
|
2014-08-19 00:20:59 +02:00
|
|
|
<systemProperty>
|
|
|
|
<name>org.mortbay.util.FileResource.checkAliases</name>
|
|
|
|
<value>false</value>
|
|
|
|
</systemProperty>
|
|
|
|
<systemProperty>
|
|
|
|
<name>org.mortbay.util.FileResource.checkAliases</name>
|
|
|
|
<value>false</value>
|
|
|
|
</systemProperty>
|
2012-11-04 05:06:02 +01:00
|
|
|
<systemProperty>
|
|
|
|
<name>database.base.url</name>
|
|
|
|
<value>${project.build.directory}</value>
|
|
|
|
</systemProperty>
|
2012-04-05 19:18:13 +02:00
|
|
|
</systemProperties>
|
2009-06-07 20:59:43 +02:00
|
|
|
</configuration>
|
2012-03-10 21:35:35 +01:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>start-jetty</id>
|
|
|
|
<phase>pre-integration-test</phase>
|
|
|
|
<goals>
|
2012-11-04 05:06:02 +01:00
|
|
|
<goal>run</goal>
|
2012-03-10 21:35:35 +01:00
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<scanIntervalSeconds>0</scanIntervalSeconds>
|
|
|
|
<daemon>true</daemon>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>stop-jetty</id>
|
|
|
|
<phase>post-integration-test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>stop</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2009-06-07 20:59:43 +02:00
|
|
|
</plugin>
|
2012-08-20 17:41:16 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
2012-08-23 05:46:15 +02:00
|
|
|
<goals>
|
|
|
|
<goal>copy</goal>
|
|
|
|
</goals>
|
2012-08-20 17:41:16 +02:00
|
|
|
<configuration>
|
|
|
|
<artifactItems>
|
|
|
|
<artifactItem>
|
2014-08-19 00:20:59 +02:00
|
|
|
<groupId>org.mortbay.jetty</groupId>
|
2012-08-20 17:41:16 +02:00
|
|
|
<artifactId>jetty-runner</artifactId>
|
2014-08-19 00:20:59 +02:00
|
|
|
<version>7.4.5.v20110725</version>
|
2012-08-20 17:41:16 +02:00
|
|
|
<destFileName>jetty-runner.jar</destFileName>
|
|
|
|
</artifactItem>
|
|
|
|
</artifactItems>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2012-08-17 17:27:07 +02:00
|
|
|
|
2012-03-07 03:26:11 +01:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.jvnet.jaxb2.maven2</groupId>
|
|
|
|
<artifactId>maven-jaxb2-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>mindmap-generate</id>
|
|
|
|
<goals>
|
|
|
|
<goal>generate</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<schemaDirectory>src/main/resources/</schemaDirectory>
|
|
|
|
<schemaIncludes>
|
|
|
|
<include>mindmap.xsd</include>
|
|
|
|
</schemaIncludes>
|
|
|
|
<bindingDirectory>src/main/resources/</bindingDirectory>
|
|
|
|
<bindingIncludes>
|
|
|
|
<include>mindmap.xjb</include>
|
|
|
|
</bindingIncludes>
|
2012-03-10 20:33:00 +01:00
|
|
|
<generatePackage>com.wisemapping.jaxb.wisemap</generatePackage>
|
2012-03-07 03:26:11 +01:00
|
|
|
<generateDirectory>${project.build.directory}/generated-sources/xjc1</generateDirectory>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>freemind-generate</id>
|
|
|
|
<goals>
|
|
|
|
<goal>generate</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<schemaDirectory>src/main/resources/</schemaDirectory>
|
|
|
|
<schemaIncludes>
|
|
|
|
<include>freemind_0.9.0.xsd</include>
|
|
|
|
</schemaIncludes>
|
|
|
|
<bindingDirectory>src/main/resources/</bindingDirectory>
|
|
|
|
<bindingIncludes>
|
|
|
|
<include>freemind_0.9.0.xjb</include>
|
|
|
|
</bindingIncludes>
|
|
|
|
<generatePackage>com.wisemapping.jaxb.freemind</generatePackage>
|
|
|
|
<generateDirectory>${project.build.directory}/generated-sources/xjc2</generateDirectory>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2012-03-10 20:33:00 +01:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
2012-03-10 21:35:35 +01:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>integration-test</goal>
|
|
|
|
<goal>verify</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2012-03-10 20:33:00 +01:00
|
|
|
</plugin>
|
2009-06-07 20:59:43 +02:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|