mirai/mirai-core/pom.xml

66 lines
2.1 KiB
XML
Raw Normal View History

2019-08-07 18:26:11 +08:00
<?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>
<artifactId>mirai-core</artifactId>
<version>1.0</version>
2019-08-07 18:33:25 +08:00
<packaging>jar</packaging>
2019-08-07 18:26:11 +08:00
<parent>
<groupId>net.mamoe</groupId>
<artifactId>mirai</artifactId>
<version>1.0</version>
<relativePath>../pom.xml</relativePath>
</parent>
<build>
2019-08-07 18:33:25 +08:00
<sourceDirectory>/src/main/java</sourceDirectory>
<resources>
<resource>
<directory>/src/main/resources</directory>
<includes>
<include>**/*.*</include>
</includes>
</resource>
</resources>
2019-08-07 18:26:11 +08:00
<plugins>
2019-08-07 18:33:25 +08:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<mainClass>net.mamoe.mirai.MiraiMain</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
2019-08-07 18:26:11 +08:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
2019-08-07 18:33:25 +08:00
<version>2.4.3</version>
2019-08-07 18:26:11 +08:00
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
<configuration>
2019-08-07 18:33:25 +08:00
<shadedArtifactAttached>true</shadedArtifactAttached>
<shadedClassifierName>shaded</shadedClassifierName>
2019-08-07 18:26:11 +08:00
</configuration>
</plugin>
</plugins>
</build>
</project>