press-monster-java/press-monster-assembly/pom.xml

63 lines
2.1 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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>io.github.kazusa</groupId>
<artifactId>press-monster-agent</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
<artifactId>press-monster-assembly</artifactId>
<packaging>pom</packaging>
<name>Press Monster Assembly</name>
<description>Assembly module for Press Monster distribution</description>
<dependencies>
<!-- Core agent -->
<dependency>
<groupId>io.github.kazusa</groupId>
<artifactId>press-monster-core</artifactId>
<version>${project.version}</version>
</dependency>
<!-- All plugins -->
<dependency>
<groupId>io.github.kazusa</groupId>
<artifactId>mvc-plugin</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
<build>
<plugins>
<!-- Maven Assembly Plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.6.0</version>
<configuration>
<descriptors>
<descriptor>src/main/assembly/agent-distribution.xml</descriptor>
</descriptors>
<outputDirectory>../</outputDirectory>
<finalName>press-monster-agent</finalName>
<appendAssemblyId>false</appendAssemblyId>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>