679 lines
26 KiB
XML
679 lines
26 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/xsd/maven-4.0.0.xsd">
|
||
|
||
|
||
<parent>
|
||
<artifactId>metersphere-server</artifactId>
|
||
<groupId>io.metersphere</groupId>
|
||
<version>1.9</version>
|
||
</parent>
|
||
|
||
<modelVersion>4.0.0</modelVersion>
|
||
<artifactId>backend</artifactId>
|
||
|
||
<properties>
|
||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
<shiro.version>1.6.0</shiro.version>
|
||
<java.version>1.8</java.version>
|
||
<jmeter.version>5.4.1</jmeter.version>
|
||
<nacos.version>1.1.3</nacos.version>
|
||
<dubbo.version>2.7.8</dubbo.version>
|
||
<groovy.version>3.0.8</groovy.version>
|
||
<metersphere-jmeter-functions.version>1.4</metersphere-jmeter-functions.version>
|
||
</properties>
|
||
|
||
<dependencies>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-web</artifactId>
|
||
<exclusions>
|
||
<exclusion>
|
||
<artifactId>spring-boot-starter-tomcat</artifactId>
|
||
<groupId>org.springframework.boot</groupId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-configuration-processor</artifactId>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter</artifactId>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-actuator</artifactId>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-test</artifactId>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-aop</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-jetty</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-mail</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.kafka</groupId>
|
||
<artifactId>spring-kafka</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.projectlombok</groupId>
|
||
<artifactId>lombok</artifactId>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.mybatis.spring.boot</groupId>
|
||
<artifactId>mybatis-spring-boot-starter</artifactId>
|
||
<version>2.1.2</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-websocket</artifactId>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-validation</artifactId>
|
||
</dependency>
|
||
|
||
<!-- flyway -->
|
||
<dependency>
|
||
<groupId>org.flywaydb</groupId>
|
||
<artifactId>flyway-core</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>mysql</groupId>
|
||
<artifactId>mysql-connector-java</artifactId>
|
||
<scope>runtime</scope>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.github.pagehelper</groupId>
|
||
<artifactId>pagehelper</artifactId>
|
||
<version>5.0.3</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.apache.shiro</groupId>
|
||
<artifactId>shiro-spring-boot-starter</artifactId>
|
||
<version>${shiro.version}</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.apache.commons</groupId>
|
||
<artifactId>commons-lang3</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.commons</groupId>
|
||
<artifactId>commons-collections4</artifactId>
|
||
<version>4.1</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.commons</groupId>
|
||
<artifactId>commons-text</artifactId>
|
||
<version>1.8</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>commons-codec</groupId>
|
||
<artifactId>commons-codec</artifactId>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.alibaba</groupId>
|
||
<artifactId>fastjson</artifactId>
|
||
<version>1.2.72</version>
|
||
</dependency>
|
||
|
||
<!-- openapi -->
|
||
<dependency>
|
||
<groupId>org.springdoc</groupId>
|
||
<artifactId>springdoc-openapi-ui</artifactId>
|
||
<version>1.5.6</version>
|
||
</dependency>
|
||
|
||
<!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-rsocket -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-rsocket</artifactId>
|
||
</dependency>
|
||
|
||
<!-- jmeter -->
|
||
|
||
<dependency>
|
||
<groupId>org.apache.jmeter</groupId>
|
||
<artifactId>ApacheJMeter_http</artifactId>
|
||
<version>${jmeter.version}</version>
|
||
<exclusions>
|
||
<exclusion>
|
||
<groupId>org.apache.logging.log4j</groupId>
|
||
<artifactId>log4j-slf4j-impl</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<artifactId>xstream</artifactId>
|
||
<groupId>com.thoughtworks.xstream</groupId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
<!-- 排除jmeter中的 xstream 解决bug -->
|
||
<dependency>
|
||
<groupId>com.thoughtworks.xstream</groupId>
|
||
<artifactId>xstream</artifactId>
|
||
<version>1.4.17</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.python</groupId>
|
||
<artifactId>jython-standalone</artifactId>
|
||
<version>2.7.0</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.apache.jmeter</groupId>
|
||
<artifactId>ApacheJMeter_functions</artifactId>
|
||
<version>${jmeter.version}</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.apache.jmeter</groupId>
|
||
<artifactId>ApacheJMeter_jdbc</artifactId>
|
||
<version>${jmeter.version}</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.apache.jmeter</groupId>
|
||
<artifactId>ApacheJMeter_tcp</artifactId>
|
||
<version>${jmeter.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.jmeter</groupId>
|
||
<artifactId>ApacheJMeter_java</artifactId>
|
||
<version>${jmeter.version}</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>io.metersphere</groupId>
|
||
<artifactId>metersphere-jmeter-functions</artifactId>
|
||
<version>${metersphere-jmeter-functions.version}</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.microsoft.sqlserver</groupId>
|
||
<artifactId>mssql-jdbc</artifactId>
|
||
<version>7.4.1.jre8</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.postgresql</groupId>
|
||
<artifactId>postgresql</artifactId>
|
||
<version>42.2.14</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.oracle.database.jdbc</groupId>
|
||
<artifactId>ojdbc8</artifactId>
|
||
<version>19.7.0.0</version>
|
||
</dependency>
|
||
|
||
<!-- Zookeeper -->
|
||
<dependency>
|
||
<groupId>org.apache.dubbo</groupId>
|
||
<artifactId>dubbo</artifactId>
|
||
<version>${dubbo.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.zookeeper</groupId>
|
||
<artifactId>zookeeper</artifactId>
|
||
<version>3.4.14</version>
|
||
<exclusions>
|
||
<exclusion>
|
||
<artifactId>slf4j-log4j12</artifactId>
|
||
<groupId>org.slf4j</groupId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.curator</groupId>
|
||
<artifactId>curator-framework</artifactId>
|
||
<version>4.0.1</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.curator</groupId>
|
||
<artifactId>curator-recipes</artifactId>
|
||
<version>4.0.1</version>
|
||
</dependency>
|
||
|
||
<!-- nacos -->
|
||
<dependency>
|
||
<groupId>org.apache.dubbo</groupId>
|
||
<artifactId>dubbo-registry-nacos</artifactId>
|
||
<version>${dubbo.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.alibaba.nacos</groupId>
|
||
<artifactId>nacos-api</artifactId>
|
||
<version>${nacos.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.alibaba.nacos</groupId>
|
||
<artifactId>nacos-client</artifactId>
|
||
<version>${nacos.version}</version>
|
||
</dependency>
|
||
<!-- easyexcel -->
|
||
<dependency>
|
||
<groupId>com.alibaba</groupId>
|
||
<artifactId>easyexcel</artifactId>
|
||
<version>2.1.7</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.fit2cloud</groupId>
|
||
<artifactId>quartz-spring-boot-starter</artifactId>
|
||
<version>0.0.7</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>io.metersphere</groupId>
|
||
<artifactId>jmeter-plugins-dubbo</artifactId>
|
||
<version>2.7.13</version>
|
||
</dependency>
|
||
|
||
<!-- LDAP Module -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-data-ldap</artifactId>
|
||
</dependency>
|
||
|
||
<!-- swagger 解析 -->
|
||
<dependency>
|
||
<groupId>io.swagger.parser.v3</groupId>
|
||
<artifactId>swagger-parser</artifactId>
|
||
<version>2.0.24</version>
|
||
</dependency>
|
||
|
||
<!-- ApacheJMeter_core scope 是 runtime,这里去掉scope -->
|
||
<dependency>
|
||
<groupId>org.codehaus.groovy</groupId>
|
||
<artifactId>groovy-jsr223</artifactId>
|
||
</dependency>
|
||
|
||
<!-- 执行 js 代码依赖 -->
|
||
<dependency>
|
||
<groupId>org.mozilla</groupId>
|
||
<artifactId>rhino-engine</artifactId>
|
||
<version>1.7.13</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.jsoup</groupId>
|
||
<artifactId>jsoup</artifactId>
|
||
<version>1.10.3</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.atlassian.commonmark</groupId>
|
||
<artifactId>commonmark</artifactId>
|
||
<version>0.15.2</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.apache.commons</groupId>
|
||
<artifactId>commons-compress</artifactId>
|
||
<version>1.21</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.dom4j</groupId>
|
||
<artifactId>dom4j</artifactId>
|
||
<version>2.1.3</version>
|
||
</dependency>
|
||
<!--xpath不加这个依赖会报错-->
|
||
<dependency>
|
||
<groupId>jaxen</groupId>
|
||
<artifactId>jaxen</artifactId>
|
||
<version>1.2.0</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>net.sourceforge.htmlcleaner</groupId>
|
||
<artifactId>htmlcleaner</artifactId>
|
||
<version>2.24</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.json</groupId>
|
||
<artifactId>json</artifactId>
|
||
<version>20171018</version>
|
||
</dependency>
|
||
<!--钉钉sdk-->
|
||
<dependency>
|
||
<groupId>com.aliyun</groupId>
|
||
<artifactId>alibaba-dingtalk-service-sdk</artifactId>
|
||
<version>1.0.1</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.httpcomponents</groupId>
|
||
<artifactId>httpclient</artifactId>
|
||
</dependency>
|
||
<!-- 反射工具包 -->
|
||
<dependency>
|
||
<groupId>net.oneandone.reflections8</groupId>
|
||
<artifactId>reflections8</artifactId>
|
||
<version>0.11.7</version>
|
||
</dependency>
|
||
<!-- k8s client -->
|
||
<dependency>
|
||
<groupId>io.fabric8</groupId>
|
||
<artifactId>kubernetes-client</artifactId>
|
||
<version>4.13.0</version>
|
||
</dependency>
|
||
<!-- 添加jmeter包支持导入的jmx能正常执行 -->
|
||
<dependency>
|
||
<groupId>org.apache.jmeter</groupId>
|
||
<artifactId>ApacheJMeter_bolt</artifactId>
|
||
<version>${jmeter.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.jmeter</groupId>
|
||
<artifactId>ApacheJMeter_jms</artifactId>
|
||
<version>${jmeter.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.jmeter</groupId>
|
||
<artifactId>ApacheJMeter_ftp</artifactId>
|
||
<version>${jmeter.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.jmeter</groupId>
|
||
<artifactId>ApacheJMeter_junit</artifactId>
|
||
<version>${jmeter.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.jmeter</groupId>
|
||
<artifactId>ApacheJMeter_ldap</artifactId>
|
||
<version>${jmeter.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.jmeter</groupId>
|
||
<artifactId>ApacheJMeter_mail</artifactId>
|
||
<version>${jmeter.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.jmeter</groupId>
|
||
<artifactId>ApacheJMeter_components</artifactId>
|
||
<version>${jmeter.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.jmeter</groupId>
|
||
<artifactId>ApacheJMeter_native</artifactId>
|
||
<version>${jmeter.version}</version>
|
||
</dependency>
|
||
<!-- 添加jmeter包支持导入的jmx能正常执行 -->
|
||
<dependency>
|
||
<groupId>com.jayway.jsonpath</groupId>
|
||
<artifactId>json-path</artifactId>
|
||
<version>2.4.0</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.java-websocket</groupId>
|
||
<artifactId>Java-WebSocket</artifactId>
|
||
<version>1.5.0</version>
|
||
</dependency>
|
||
<!-- xmind export-->
|
||
<dependency>
|
||
<groupId>com.github.eljah</groupId>
|
||
<artifactId>xmindjbehaveplugin</artifactId>
|
||
<version>0.8</version>
|
||
</dependency>
|
||
</dependencies>
|
||
|
||
<build>
|
||
<resources>
|
||
<resource>
|
||
<directory>src/main/java</directory>
|
||
<includes>
|
||
<include>**/*.properties</include>
|
||
<include>**/*.xml</include>
|
||
</includes>
|
||
<filtering>false</filtering>
|
||
</resource>
|
||
<resource>
|
||
<directory>src/main/resources</directory>
|
||
<includes>
|
||
<include>**/*</include>
|
||
</includes>
|
||
<filtering>false</filtering>
|
||
</resource>
|
||
</resources>
|
||
<plugins>
|
||
|
||
<plugin>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||
<configuration>
|
||
<addResources>true</addResources>
|
||
<excludes>
|
||
<exclude>
|
||
<groupId>org.projectlombok</groupId>
|
||
<artifactId>lombok</artifactId>
|
||
</exclude>
|
||
<exclude>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-configuration-processor</artifactId>
|
||
</exclude>
|
||
</excludes>
|
||
</configuration>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-surefire-plugin</artifactId>
|
||
<version>2.12.4</version>
|
||
<configuration>
|
||
<skipTests>true</skipTests>
|
||
</configuration>
|
||
</plugin>
|
||
<plugin>
|
||
<artifactId>maven-clean-plugin</artifactId>
|
||
<configuration>
|
||
<filesets>
|
||
<fileset>
|
||
<directory>src/main/resources/static</directory>
|
||
<includes>
|
||
<include>**</include>
|
||
</includes>
|
||
<followSymlinks>false</followSymlinks>
|
||
</fileset>
|
||
<fileset>
|
||
<directory>src/main/resources/public</directory>
|
||
<includes>
|
||
<include>**</include>
|
||
</includes>
|
||
<followSymlinks>false</followSymlinks>
|
||
</fileset>
|
||
</filesets>
|
||
</configuration>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-compiler-plugin</artifactId>
|
||
<configuration>
|
||
<source>1.8</source>
|
||
<target>1.8</target>
|
||
</configuration>
|
||
</plugin>
|
||
|
||
<!-- Overlay guacamole-common-js (zip) -->
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-war-plugin</artifactId>
|
||
<version>2.6</version>
|
||
</plugin>
|
||
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-antrun-plugin</artifactId>
|
||
<executions>
|
||
<execution>
|
||
<id>main-class-placement</id>
|
||
<phase>generate-resources</phase>
|
||
<configuration>
|
||
<target>
|
||
<move todir="src/main/resources/static">
|
||
<fileset dir="../frontend/dist">
|
||
<exclude name="*.html"/>
|
||
</fileset>
|
||
</move>
|
||
<move todir="src/main/resources/public">
|
||
<fileset dir="../frontend/dist">
|
||
<include name="*.html"/>
|
||
</fileset>
|
||
</move>
|
||
<copy todir="src/main/resources/static/css">
|
||
<fileset dir="../frontend/src/assets/theme">
|
||
<include name="index.css"/>
|
||
</fileset>
|
||
</copy>
|
||
</target>
|
||
</configuration>
|
||
<goals>
|
||
<goal>run</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-dependency-plugin</artifactId>
|
||
<executions>
|
||
<execution>
|
||
<id>copy</id>
|
||
<phase>generate-resources</phase>
|
||
<goals>
|
||
<goal>copy</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
<configuration>
|
||
<artifactItems>
|
||
<artifactItem>
|
||
<groupId>org.apache.jmeter</groupId>
|
||
<artifactId>ApacheJMeter_functions</artifactId>
|
||
<version>${jmeter.version}</version>
|
||
<type>jar</type>
|
||
<overWrite>true</overWrite>
|
||
<outputDirectory>src/main/resources/jmeter/lib/ext</outputDirectory>
|
||
<destFileName>ApacheJMeter_functions.jar</destFileName>
|
||
</artifactItem>
|
||
<artifactItem>
|
||
<groupId>io.metersphere</groupId>
|
||
<artifactId>metersphere-jmeter-functions</artifactId>
|
||
<version>${metersphere-jmeter-functions.version}</version>
|
||
<type>jar</type>
|
||
<overWrite>true</overWrite>
|
||
<outputDirectory>src/main/resources/jmeter/lib/ext</outputDirectory>
|
||
<destFileName>metersphere-jmeter-functions.jar</destFileName>
|
||
</artifactItem>
|
||
<artifactItem>
|
||
<groupId>org.python</groupId>
|
||
<artifactId>jython-standalone</artifactId>
|
||
<version>2.7.0</version>
|
||
<type>jar</type>
|
||
<overWrite>true</overWrite>
|
||
<outputDirectory>src/main/resources/jmeter/lib/ext</outputDirectory>
|
||
<destFileName>jython-standalone.jar</destFileName>
|
||
</artifactItem>
|
||
</artifactItems>
|
||
<outputDirectory>${project.build.directory}/wars</outputDirectory>
|
||
<overWriteReleases>false</overWriteReleases>
|
||
<overWriteSnapshots>true</overWriteSnapshots>
|
||
</configuration>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.mybatis.generator</groupId>
|
||
<artifactId>mybatis-generator-maven-plugin</artifactId>
|
||
<version>1.3.7</version>
|
||
<configuration>
|
||
<verbose>true</verbose>
|
||
<overwrite>true</overwrite>
|
||
</configuration>
|
||
<dependencies>
|
||
<dependency>
|
||
<groupId>mysql</groupId>
|
||
<artifactId>mysql-connector-java</artifactId>
|
||
<version>8.0.16</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.itfsw</groupId>
|
||
<artifactId>mybatis-generator-plugin</artifactId>
|
||
<version>1.3.8</version>
|
||
</dependency>
|
||
</dependencies>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-resources-plugin</artifactId>
|
||
<executions>
|
||
<execution>
|
||
<id>copy-and-filter-allatori-config</id>
|
||
<phase>package</phase>
|
||
<goals>
|
||
<goal>copy-resources</goal>
|
||
</goals>
|
||
<configuration>
|
||
<outputDirectory>${basedir}/target</outputDirectory>
|
||
<resources>
|
||
<resource>
|
||
<directory>${basedir}/allatori</directory>
|
||
<includes>
|
||
<include>allatori.xml</include>
|
||
</includes>
|
||
<filtering>true</filtering>
|
||
</resource>
|
||
</resources>
|
||
</configuration>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.codehaus.mojo</groupId>
|
||
<artifactId>exec-maven-plugin</artifactId>
|
||
<executions>
|
||
<execution>
|
||
<id>run-allatori</id>
|
||
<phase>package</phase>
|
||
<goals>
|
||
<goal>exec</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
<configuration>
|
||
<executable>java</executable>
|
||
<arguments>
|
||
<argument>-Xms128m</argument>
|
||
<argument>-Xmx512m</argument>
|
||
<argument>-jar</argument>
|
||
<argument>${basedir}/target/classes/allatori/allatori.jar</argument>
|
||
<argument>${basedir}/target/classes/allatori/allatori.xml</argument>
|
||
</arguments>
|
||
</configuration>
|
||
</plugin>
|
||
</plugins>
|
||
</build>
|
||
|
||
</project>
|