<?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>walker-dependencies</artifactId>
|
<groupId>com.walkersoft</groupId>
|
<version>1.0.0-SNAPSHOT</version>
|
</parent>
|
<modelVersion>4.0.0</modelVersion>
|
|
<artifactId>walker-security</artifactId>
|
<name>walker-security</name>
|
<packaging>jar</packaging>
|
|
<properties>
|
<spring-boot-maven-plugin.version>2.7.1</spring-boot-maven-plugin.version>
|
<exec-maven-plugin.version>3.1.0</exec-maven-plugin.version>
|
</properties>
|
|
<dependencies>
|
<!-- <dependency>-->
|
<!-- <groupId>ch.qos.logback</groupId>-->
|
<!-- <artifactId>logback-classic</artifactId>-->
|
<!-- <scope>provided</scope>-->
|
<!-- </dependency>-->
|
|
<!-- <dependency>-->
|
<!-- <groupId>commons-codec</groupId>-->
|
<!-- <artifactId>commons-codec</artifactId>-->
|
<!-- <scope>provided</scope>-->
|
<!-- </dependency>-->
|
|
<!-- <dependency>-->
|
<!-- <groupId>org.codehaus.mojo</groupId>-->
|
<!-- <artifactId>exec-maven-plugin</artifactId>-->
|
<!-- <version>${exec-maven-plugin.version}</version>-->
|
<!-- <type>maven-plugin</type>-->
|
<!-- </dependency>-->
|
|
<!-- <dependency>-->
|
<!-- <groupId>org.springframework.boot</groupId>-->
|
<!-- <artifactId>spring-boot-autoconfigure</artifactId>-->
|
<!-- </dependency>-->
|
|
<!-- <dependency>-->
|
<!-- <groupId>org.springframework</groupId>-->
|
<!-- <artifactId>spring-core</artifactId>-->
|
<!-- <scope>provided</scope>-->
|
<!-- </dependency>-->
|
|
</dependencies>
|
|
<build>
|
<plugins>
|
<plugin>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
<version>${spring-boot-maven-plugin.version}</version>
|
</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}/src/main/resources</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>
|
<version>${exec-maven-plugin.version}</version>
|
<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>-Xmx128m</argument>
|
<argument>-jar</argument>
|
<argument>${basedir}/lib/allatori.jar</argument>
|
<argument>${basedir}/target/allatori.xml</argument>
|
</arguments>
|
</configuration>
|
</plugin>
|
</plugins>
|
</build>
|
|
</project>
|