2022-10-28 11:28:37 +08: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">
|
2009-06-08 02:59:43 +08:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>wise-webapp</artifactId>
|
|
|
|
<name>WiseMapping Webapp</name>
|
|
|
|
<url>http://www.wisemapping.org</url>
|
2023-11-25 11:26:36 +08:00
|
|
|
<version>5.1.0-SNAPSHOT</version>
|
|
|
|
|
2009-06-08 02:59:43 +08:00
|
|
|
<parent>
|
2023-11-25 11:26:36 +08:00
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
|
|
<version>3.1.2</version>
|
2009-06-08 02:59:43 +08:00
|
|
|
</parent>
|
2022-02-16 11:38:12 +08:00
|
|
|
|
2012-02-12 13:55:42 +08:00
|
|
|
<properties>
|
2023-11-25 11:26:36 +08:00
|
|
|
<com.wisemapping.version>5.1.0-SNAPSHOT</com.wisemapping.version>
|
|
|
|
<maven.compiler.source>17</maven.compiler.source>
|
|
|
|
<maven.compiler.target>17</maven.compiler.target>
|
|
|
|
<org.springframework.version>6.0.11</org.springframework.version>
|
|
|
|
<org.springframework.addons>6.1.2</org.springframework.addons>
|
2023-07-29 13:46:38 +08:00
|
|
|
<spring-security-taglibs.version>6.0.2</spring-security-taglibs.version>
|
2012-02-12 13:55:42 +08:00
|
|
|
</properties>
|
|
|
|
|
2009-06-08 02:59:43 +08:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.wisemapping</groupId>
|
2021-12-25 10:03:23 +08:00
|
|
|
<artifactId>wise-ui</artifactId>
|
2012-02-12 13:55:42 +08:00
|
|
|
<version>${com.wisemapping.version}</version>
|
2012-02-01 11:03:32 +08:00
|
|
|
<type>war</type>
|
2009-06-08 02:59:43 +08:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.velocity</groupId>
|
|
|
|
<artifactId>velocity</artifactId>
|
2020-11-07 13:35:54 +08:00
|
|
|
<version>1.7</version>
|
2009-06-08 02:59:43 +08:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2023-11-25 11:26:36 +08:00
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
2009-06-08 02:59:43 +08:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2023-11-25 11:26:36 +08:00
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
2011-03-21 05:25:41 +08:00
|
|
|
</dependency>
|
2011-10-03 06:16:13 +08:00
|
|
|
<dependency>
|
2023-11-25 11:26:36 +08:00
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-security</artifactId>
|
2012-02-12 13:55:42 +08:00
|
|
|
</dependency>
|
2023-08-13 09:57:13 +08:00
|
|
|
<dependency>
|
2023-11-25 11:26:36 +08:00
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
2023-08-13 09:57:13 +08:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2023-11-25 11:26:36 +08:00
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-mail</artifactId>
|
2023-08-13 09:57:13 +08:00
|
|
|
</dependency>
|
2023-11-25 11:26:36 +08:00
|
|
|
|
2022-12-06 12:07:35 +08:00
|
|
|
<dependency>
|
2023-11-25 11:26:36 +08:00
|
|
|
<groupId>org.testng</groupId>
|
|
|
|
<artifactId>testng</artifactId>
|
|
|
|
<version>7.7.0</version>
|
|
|
|
<scope>test</scope>
|
2022-12-06 12:07:35 +08:00
|
|
|
</dependency>
|
2012-03-14 02:57:30 +08:00
|
|
|
<dependency>
|
2023-11-25 11:26:36 +08:00
|
|
|
<groupId>com.intellij</groupId>
|
|
|
|
<artifactId>annotations</artifactId>
|
|
|
|
<version>12.0</version>
|
2012-03-14 02:57:30 +08:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2023-11-28 13:08:28 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.tomcat.embed</groupId>
|
|
|
|
<artifactId>tomcat-embed-jasper</artifactId>
|
|
|
|
<version>10.1.9</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2012-03-14 02:57:30 +08:00
|
|
|
<dependency>
|
2023-11-25 11:26:36 +08:00
|
|
|
<groupId>org.postgresql</groupId>
|
|
|
|
<artifactId>postgresql</artifactId>
|
|
|
|
<version>42.5.4</version>
|
2012-03-14 02:57:30 +08:00
|
|
|
</dependency>
|
2023-11-25 11:26:36 +08: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>-->
|
2022-02-20 04:39:38 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.security</groupId>
|
|
|
|
<artifactId>spring-security-taglibs</artifactId>
|
|
|
|
<version>${spring-security-taglibs.version}</version>
|
|
|
|
</dependency>
|
2023-10-30 13:34:45 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>jakarta.xml.bind</groupId>
|
|
|
|
<artifactId>jakarta.xml.bind-api</artifactId>
|
2023-11-25 11:26:36 +08:00
|
|
|
<version>4.0.0</version>
|
2020-11-08 03:56:38 +08:00
|
|
|
</dependency>
|
2020-11-08 06:42:00 +08:00
|
|
|
|
|
|
|
<!-- Hibernate Validator -->
|
2020-11-08 03:56:38 +08:00
|
|
|
<dependency>
|
2021-12-25 10:03:23 +08:00
|
|
|
<groupId>org.hibernate.validator</groupId>
|
2020-11-08 06:42:00 +08:00
|
|
|
<artifactId>hibernate-validator</artifactId>
|
2023-07-29 13:46:38 +08:00
|
|
|
<version>8.0.1.Final</version>
|
2020-11-08 03:56:38 +08:00
|
|
|
</dependency>
|
2009-06-08 02:59:43 +08:00
|
|
|
<dependency>
|
2023-07-29 13:46:38 +08:00
|
|
|
<groupId>jakarta.mail</groupId>
|
|
|
|
<artifactId>jakarta.mail-api</artifactId>
|
|
|
|
<version>2.1.2</version>
|
2009-06-08 02:59:43 +08:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2023-08-12 09:18:40 +08:00
|
|
|
<groupId>com.mysql</groupId>
|
|
|
|
<artifactId>mysql-connector-j</artifactId>
|
|
|
|
<version>8.1.0</version>
|
2009-06-08 02:59:43 +08:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2022-01-17 12:01:56 +08:00
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-dbcp2</artifactId>
|
|
|
|
<version>2.9.0</version>
|
2009-06-08 02:59:43 +08:00
|
|
|
</dependency>
|
2023-08-17 10:35:56 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.angus</groupId>
|
|
|
|
<artifactId>jakarta.mail</artifactId>
|
2023-08-17 11:17:29 +08:00
|
|
|
<version>2.0.2</version>
|
2023-08-17 10:35:56 +08:00
|
|
|
</dependency>
|
2009-06-08 02:59:43 +08:00
|
|
|
<dependency>
|
2022-10-28 11:28:37 +08:00
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
<artifactId>log4j-core</artifactId>
|
2023-04-02 07:56:29 +08:00
|
|
|
<version>2.20.0</version>
|
2009-06-08 02:59:43 +08:00
|
|
|
</dependency>
|
2022-02-15 11:59:36 +08:00
|
|
|
<!-- https://mvnrepository.com/artifact/commons-validator/commons-validator -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-validator</groupId>
|
|
|
|
<artifactId>commons-validator</artifactId>
|
|
|
|
<version>1.7</version>
|
|
|
|
</dependency>
|
2023-07-29 13:46:38 +08:00
|
|
|
|
2009-06-08 02:59:43 +08:00
|
|
|
<!-- Only for test purposes -->
|
|
|
|
<dependency>
|
2012-02-22 01:22:43 +08:00
|
|
|
<groupId>org.hsqldb</groupId>
|
2009-06-08 02:59:43 +08:00
|
|
|
<artifactId>hsqldb</artifactId>
|
2023-04-02 07:56:29 +08:00
|
|
|
<version>2.7.1</version>
|
2009-06-08 02:59:43 +08:00
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
2012-02-13 08:57:11 +08:00
|
|
|
<dependency>
|
2020-11-07 13:35:54 +08:00
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
2023-07-29 13:46:38 +08:00
|
|
|
<version>2.15.1</version>
|
2021-12-25 10:03:23 +08:00
|
|
|
</dependency>
|
2023-07-29 13:46:38 +08:00
|
|
|
|
2012-02-16 12:16:51 +08:00
|
|
|
<dependency>
|
2023-07-29 13:46:38 +08:00
|
|
|
<groupId>jakarta.transaction</groupId>
|
|
|
|
<artifactId>jakarta.transaction-api</artifactId>
|
|
|
|
<version>2.0.1</version>
|
2012-02-16 12:16:51 +08:00
|
|
|
</dependency>
|
2023-07-29 13:46:38 +08:00
|
|
|
|
2014-07-14 13:43:24 +08:00
|
|
|
<dependency>
|
2023-07-29 13:46:38 +08:00
|
|
|
<groupId>jakarta.servlet</groupId>
|
|
|
|
<artifactId>jakarta.servlet-api</artifactId>
|
|
|
|
<version>6.0.0</version>
|
2021-12-25 10:03:23 +08:00
|
|
|
<scope>provided</scope>
|
2020-11-07 13:35:54 +08:00
|
|
|
</dependency>
|
2023-08-01 12:01:33 +08:00
|
|
|
<!-- JSLT implementation -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>jakarta.servlet.jsp.jstl</groupId>
|
|
|
|
<artifactId>jakarta.servlet.jsp.jstl-api</artifactId>
|
|
|
|
<version>3.0.0</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish.web</groupId>
|
|
|
|
<artifactId>jakarta.servlet.jsp.jstl</artifactId>
|
|
|
|
<version>3.0.0</version>
|
|
|
|
</dependency>
|
2018-09-15 08:50:27 +08:00
|
|
|
<dependency>
|
2022-01-05 10:20:30 +08:00
|
|
|
<groupId>commons-io</groupId>
|
|
|
|
<artifactId>commons-io</artifactId>
|
2023-04-02 07:56:29 +08:00
|
|
|
<version>2.11.0</version>
|
2018-09-15 08:50:27 +08:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
2022-01-05 10:20:30 +08:00
|
|
|
<artifactId>fluent-hc</artifactId>
|
2023-04-02 07:56:29 +08:00
|
|
|
<version>4.5.14</version>
|
2018-09-15 08:50:27 +08:00
|
|
|
</dependency>
|
2023-07-29 13:46:38 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.security</groupId>
|
|
|
|
<artifactId>spring-security-config</artifactId>
|
|
|
|
<version>${org.springframework.addons}</version>
|
|
|
|
</dependency>
|
2023-11-28 13:08:28 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
<version>RELEASE</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2009-06-08 02:59:43 +08:00
|
|
|
</dependencies>
|
2014-01-19 23:33:56 +08:00
|
|
|
<build>
|
|
|
|
<plugins>
|
2009-06-08 02:59:43 +08:00
|
|
|
<plugin>
|
2014-07-14 13:43:24 +08:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2009-06-08 02:59:43 +08:00
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
2023-06-30 09:09:40 +08:00
|
|
|
<version>3.4.0</version>
|
2011-10-02 23:22:09 +08:00
|
|
|
<configuration>
|
2009-06-08 02:59:43 +08:00
|
|
|
<warName>wisemapping</warName>
|
|
|
|
<overlays>
|
2012-02-01 11:03:32 +08:00
|
|
|
<overlay>
|
|
|
|
<groupId>org.wisemapping</groupId>
|
2021-12-25 10:03:23 +08:00
|
|
|
<artifactId>wise-ui</artifactId>
|
|
|
|
<targetPath>/static/mindplot/</targetPath>
|
2011-10-03 06:16:13 +08:00
|
|
|
<includes>
|
2021-12-25 10:03:23 +08:00
|
|
|
<include>wisemapping-mindplot/package/dist/*</include>
|
2011-10-03 06:16:13 +08:00
|
|
|
</includes>
|
|
|
|
</overlay>
|
2009-06-08 02:59:43 +08:00
|
|
|
<overlay>
|
|
|
|
<groupId>org.wisemapping</groupId>
|
2021-12-25 10:03:23 +08:00
|
|
|
<artifactId>wise-ui</artifactId>
|
|
|
|
<targetPath>/static/webapp/</targetPath>
|
2009-06-08 02:59:43 +08:00
|
|
|
<includes>
|
2021-12-25 10:03:23 +08:00
|
|
|
<include>wisemapping-webapp/package/dist/*</include>
|
2009-06-08 02:59:43 +08:00
|
|
|
</includes>
|
|
|
|
</overlay>
|
|
|
|
</overlays>
|
|
|
|
<archiveClasses>true</archiveClasses>
|
2023-07-29 13:46:38 +08:00
|
|
|
<packagingExcludes>
|
|
|
|
WEB-INF/lib/commons-logging-*.jar,
|
|
|
|
</packagingExcludes>
|
2009-06-08 02:59:43 +08:00
|
|
|
<webResources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<targetPath>WEB-INF</targetPath>
|
|
|
|
<includes>
|
|
|
|
<include>*.wsdl</include>
|
|
|
|
<include>*.xsd</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
</webResources>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2023-11-25 11:26:36 +08:00
|
|
|
|
|
|
|
|
2009-06-08 02:59:43 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
</plugin>
|
2022-07-30 07:19:14 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.jacoco</groupId>
|
|
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
2023-07-31 09:04:45 +08:00
|
|
|
<version>0.8.10</version>
|
2022-07-30 07:19:14 +08:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>default-prepare-agent</id>
|
|
|
|
<goals>
|
|
|
|
<goal>prepare-agent</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>default-prepare-agent-integration</id>
|
|
|
|
<phase>pre-integration-test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>prepare-agent-integration</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/*Test*</exclude>
|
|
|
|
</excludes>
|
|
|
|
<propertyName>integrationTestArgLine</propertyName>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
|
|
|
|
<execution>
|
|
|
|
<id>default-check</id>
|
|
|
|
<phase>verify</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>check</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<rules>
|
|
|
|
<rule>
|
|
|
|
<element>BUNDLE</element>
|
|
|
|
<limits>
|
|
|
|
<limit>
|
|
|
|
<counter>COMPLEXITY</counter>
|
|
|
|
<value>COVEREDRATIO</value>
|
|
|
|
<minimum>0.10</minimum>
|
|
|
|
</limit>
|
|
|
|
</limits>
|
|
|
|
</rule>
|
|
|
|
</rules>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>default-report</id>
|
|
|
|
<phase>verify</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>report</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2014-01-25 15:53:51 +08:00
|
|
|
|
2012-03-11 04:35:35 +08:00
|
|
|
<plugin>
|
2018-09-15 08:50:27 +08:00
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
2012-02-12 13:55:42 +08:00
|
|
|
<artifactId>jetty-maven-plugin</artifactId>
|
2023-07-29 13:46:38 +08:00
|
|
|
<version>11.0.15</version>
|
2009-06-08 02:59:43 +08:00
|
|
|
<configuration>
|
2022-07-30 07:19:14 +08:00
|
|
|
<httpConnector>
|
|
|
|
<port>8080</port>
|
|
|
|
</httpConnector>
|
2023-07-31 09:04:45 +08:00
|
|
|
<jvmArgs>-Ddatabase.base.url=${project.build.directory} -Djetty.port=8080</jvmArgs>
|
2012-03-11 04:35:35 +08:00
|
|
|
<stopPort>9999</stopPort>
|
2023-07-29 13:46:38 +08:00
|
|
|
<deployMode>FORK</deployMode>
|
2023-07-29 14:09:44 +08:00
|
|
|
<stopKey>foo</stopKey>
|
2023-07-29 13:46:38 +08:00
|
|
|
<webApp>
|
|
|
|
<war>${project.build.directory}/wisemapping.war</war>
|
2014-08-19 08:10:25 +08:00
|
|
|
<overrideDescriptor>${project.basedir}/webdefault.xml</overrideDescriptor>
|
2023-07-29 13:46:38 +08:00
|
|
|
</webApp>
|
2009-06-08 02:59:43 +08:00
|
|
|
</configuration>
|
2012-03-11 04:35:35 +08:00
|
|
|
<executions>
|
|
|
|
<execution>
|
2020-11-07 13:35:54 +08:00
|
|
|
<id>run-forked</id>
|
2012-03-11 04:35:35 +08:00
|
|
|
<phase>pre-integration-test</phase>
|
|
|
|
<goals>
|
2023-07-29 14:09:44 +08:00
|
|
|
<goal>start-war</goal>
|
2012-03-11 04:35:35 +08:00
|
|
|
</goals>
|
|
|
|
<configuration>
|
2022-07-30 07:19:14 +08:00
|
|
|
<useTestScope>true</useTestScope>
|
2012-03-11 04:35:35 +08:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>stop-jetty</id>
|
|
|
|
<phase>post-integration-test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>stop</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2009-06-08 02:59:43 +08:00
|
|
|
</plugin>
|
2012-03-11 03:33:00 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
2012-03-11 04:35:35 +08:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>integration-test</goal>
|
|
|
|
<goal>verify</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2012-03-11 03:33:00 +08:00
|
|
|
</plugin>
|
2022-07-30 07:19:14 +08:00
|
|
|
|
2009-06-08 02:59:43 +08:00
|
|
|
</plugins>
|
|
|
|
</build>
|
2022-07-30 07:19:14 +08:00
|
|
|
</project>
|