wisemapping-open-source/wise-webapp/pom.xml

551 lines
22 KiB
XML
Raw Normal View History

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>
<relativePath>../pom.xml</relativePath>
2020-11-24 04:39:34 +01:00
<version>5.0.2-SNAPSHOT</version>
2009-06-07 20:59:43 +02:00
</parent>
<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>
</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>
</repository>
</repositories>
<properties>
2022-01-05 03:20:30 +01:00
<org.springframework.version>5.3.14</org.springframework.version>
<org.springframework.addons>5.3.5.RELEASE</org.springframework.addons>
<hibernate.version>5.6.3.Final</hibernate.version>
<hibernate-validator.version>6.0.21.Final</hibernate-validator.version>
</properties>
2009-06-07 20:59:43 +02:00
<dependencies>
<dependency>
<groupId>org.wisemapping</groupId>
<artifactId>wise-ui</artifactId>
<version>${com.wisemapping.version}</version>
2012-02-01 04:03:32 +01:00
<type>war</type>
2009-06-07 20:59:43 +02:00
</dependency>
<dependency>
<groupId>org.apache.velocity</groupId>
<artifactId>velocity</artifactId>
2020-11-07 06:35:54 +01:00
<version>1.7</version>
2009-06-07 20:59:43 +02:00
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>6.9.8</version>
2009-06-07 20:59:43 +02:00
<scope>test</scope>
</dependency>
<dependency>
<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>
<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.addons}</version>
2013-02-18 01:00:08 +01:00
<scope>compile</scope>
</dependency>
<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>
2020-11-07 20:56:38 +01:00
<!-- Hibernate -->
<dependency>
<groupId>org.hibernate</groupId>
2020-11-07 23:42:00 +01:00
<artifactId>hibernate-core</artifactId>
2020-11-07 20:56:38 +01:00
<version>${hibernate.version}</version>
</dependency>
2020-11-07 23:42:00 +01:00
<!-- Hibernate Validator -->
2020-11-07 20:56:38 +01:00
<dependency>
<groupId>org.hibernate.validator</groupId>
2020-11-07 23:42:00 +01:00
<artifactId>hibernate-validator</artifactId>
<version>${hibernate-validator.version}</version>
2020-11-07 20:56:38 +01:00
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-orm</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.25</version>
2012-11-05 04:51:06 +01:00
<scope>runtime</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>
<artifactId>spring-oxm</artifactId>
<version>${org.springframework.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context-support</artifactId>
<version>${org.springframework.version}</version>
<scope>compile</scope>
</dependency>
2022-01-23 08:50:20 +01:00
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-jpa</artifactId>
<version>2.6.1</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<version>5.3.15</version>
<scope>test</scope>
</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.tiles</groupId>
<artifactId>tiles-jsp</artifactId>
2020-11-07 23:46:20 +01:00
<version>3.0.8</version>
2009-06-07 20:59:43 +02:00
<scope>runtime</scope>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
</exclusion>
</exclusions>
2009-06-07 20:59:43 +02:00
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-aop</artifactId>
<version>${org.springframework.version}</version>
2009-06-07 20:59:43 +02:00
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-web</artifactId>
<version>${org.springframework.addons}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-core</artifactId>
<version>${org.springframework.addons}</version>
<scope>compile</scope>
</dependency>
2012-02-13 01:57:11 +01:00
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-config</artifactId>
<version>${org.springframework.addons}</version>
<scope>runtime</scope>
2009-06-07 20:59:43 +02:00
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
<version>${org.springframework.version}</version>
<scope>runtime</scope>
2009-06-07 20:59:43 +02:00
</dependency>
<dependency>
<groupId>aopalliance</groupId>
<artifactId>aopalliance</artifactId>
<version>1.0</version>
2009-06-07 20:59:43 +02:00
<scope>compile</scope>
</dependency>
<dependency>
<groupId>javax.mail</groupId>
<artifactId>mail</artifactId>
<version>1.4.3</version>
2009-06-07 20:59:43 +02:00
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>8.0.27</version>
2009-06-07 20:59:43 +02:00
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-dbcp2</artifactId>
<version>2.9.0</version>
2009-06-07 20:59:43 +02:00
</dependency>
<dependency>
<groupId>commons-fileupload</groupId>
<artifactId>commons-fileupload</artifactId>
<version>1.2.1</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-ehcache</artifactId>
<version>${hibernate.version}</version>
</dependency>
<dependency>
<groupId>javax.cache</groupId>
<artifactId>cache-api</artifactId>
<version>1.0.0</version>
</dependency>
<dependency>
<groupId>org.ehcache</groupId>
<artifactId>ehcache</artifactId>
<version>3.9.9</version>
</dependency>
2009-06-07 20:59:43 +02:00
<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>
<groupId>org.hsqldb</groupId>
2009-06-07 20:59:43 +02:00
<artifactId>hsqldb</artifactId>
<version>2.6.1</version>
2009-06-07 20:59:43 +02:00
<scope>runtime</scope>
</dependency>
2012-02-13 01:57:11 +01:00
<dependency>
2020-11-07 06:35:54 +01:00
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.11.3</version>
2012-02-13 01:57:11 +01:00
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>1.2</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.25</version>
<scope>runtime</scope>
</dependency>
2014-07-14 07:43:24 +02:00
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.1.0</version>
<scope>provided</scope>
2020-11-07 06:35:54 +01:00
</dependency>
<dependency>
2022-01-05 03:20:30 +01:00
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.6</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
2022-01-05 03:20:30 +01:00
<artifactId>fluent-hc</artifactId>
<version>4.5.5</version>
</dependency>
2022-01-23 08:50:20 +01:00
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>RELEASE</version>
<scope>test</scope>
</dependency>
2009-06-07 20:59:43 +02:00
</dependencies>
2014-01-19 16:33:56 +01:00
<profiles>
<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>
<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.6.1</version>
2014-01-19 16:33:56 +01:00
</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>
<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&amp;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>
<plugin>
<groupId>org.hibernate.orm.tooling</groupId>
<artifactId>hibernate-enhance-maven-plugin</artifactId>
<version>${hibernate.version}</version>
<executions>
<execution>
<phase>compile</phase>
<configuration>
<failOnError>true</failOnError>
<enableLazyInitialization>true</enableLazyInitialization>
<enableDirtyTracking>true</enableDirtyTracking>
<enableAssociationManagement>true</enableAssociationManagement>
<enableExtendedEnhancement>false</enableExtendedEnhancement>
<enableExtendedEnhancement>false</enableExtendedEnhancement>
</configuration>
<goals>
<goal>enhance</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>native2ascii-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>native2ascii</goal>
</goals>
</execution>
</executions>
<configuration>
<encoding>UTF-8</encoding>
<includes>
<include>messages*.properties</include>
</includes>
</configuration>
</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>
<version>3.3.2</version>
<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-ui</artifactId>
<targetPath>/static/mindplot/</targetPath>
2011-10-03 00:16:13 +02:00
<includes>
<include>wisemapping-mindplot/package/dist/*</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>wise-ui</artifactId>
<targetPath>/static/webapp/</targetPath>
2009-06-07 20:59:43 +02:00
<includes>
<include>wisemapping-webapp/package/dist/*</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>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
2020-11-07 06:35:54 +01:00
<version>9.4.34.v20201102</version>
2009-06-07 20:59:43 +02:00
<configuration>
2012-03-10 21:35:35 +01:00
<stopKey>foo</stopKey>
<stopPort>9999</stopPort>
<war>${project.build.directory}/wisemapping.war</war>
2012-02-13 01:57:11 +01:00
<reload>automatic</reload>
<webAppConfig>
<overrideDescriptor>${project.basedir}/webdefault.xml</overrideDescriptor>
</webAppConfig>
<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>
</systemProperties>
2009-06-07 20:59:43 +02:00
</configuration>
2012-03-10 21:35:35 +01:00
<executions>
<execution>
2020-11-07 06:35:54 +01:00
<id>run-forked</id>
2012-03-10 21:35:35 +01:00
<phase>pre-integration-test</phase>
<goals>
2020-11-07 06:35:54 +01:00
<goal>run-forked</goal>
2012-03-10 21:35:35 +01:00
</goals>
<configuration>
<scanIntervalSeconds>0</scanIntervalSeconds>
2020-11-07 06:35:54 +01:00
<waitForChild>false</waitForChild>
<jvmArgs>-Ddatabase.base.url=${project.build.directory}</jvmArgs>
2012-03-10 21:35:35 +01:00
</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>
<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>
</plugin>
2009-06-07 20:59:43 +02:00
</plugins>
</build>
</project>