mirror of
https://github.com/ME1312/SubServers-2.git
synced 2024-11-28 13:15:38 +01:00
Ensure folia is not required to compile against us
This commit is contained in:
parent
ba80e0a16a
commit
b23aa18661
@ -89,7 +89,7 @@
|
|||||||
<artifactId>maven-antrun-plugin</artifactId>
|
<artifactId>maven-antrun-plugin</artifactId>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<phase>prepare-package</phase>
|
<phase>process-resources</phase>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>run</goal>
|
<goal>run</goal>
|
||||||
</goals>
|
</goals>
|
||||||
@ -97,9 +97,6 @@
|
|||||||
<tasks>
|
<tasks>
|
||||||
<mkdir dir="${project.build.directory}" />
|
<mkdir dir="${project.build.directory}" />
|
||||||
<copy file="${basedir}/../../LICENSE" todir="${project.build.directory}/classes" />
|
<copy file="${basedir}/../../LICENSE" todir="${project.build.directory}/classes" />
|
||||||
<copy overwrite="true" todir="${project.build.directory}/classes">
|
|
||||||
<fileset dir="../../out/compile/target/SubServers.Client.Folia/classes" />
|
|
||||||
</copy>
|
|
||||||
</tasks>
|
</tasks>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
@ -125,7 +122,7 @@
|
|||||||
<manifestFile>src/META-INF/MANIFEST.MF</manifestFile>
|
<manifestFile>src/META-INF/MANIFEST.MF</manifestFile>
|
||||||
</archive>
|
</archive>
|
||||||
<descriptors>
|
<descriptors>
|
||||||
<descriptor>../Common/jar-with-some-dependencies.xml</descriptor>
|
<descriptor>../Folia/jar-with-some-dependencies-plus-folia.xml</descriptor>
|
||||||
</descriptors>
|
</descriptors>
|
||||||
<appendAssemblyId>false</appendAssemblyId>
|
<appendAssemblyId>false</appendAssemblyId>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
@ -0,0 +1,29 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.1.1 https://maven.apache.org/xsd/assembly-2.1.1.xsd">
|
||||||
|
<id>jar-with-some-dependencies-plus-folia</id>
|
||||||
|
<formats>
|
||||||
|
<format>jar</format>
|
||||||
|
</formats>
|
||||||
|
<includeBaseDirectory>false</includeBaseDirectory>
|
||||||
|
<dependencySets>
|
||||||
|
<dependencySet>
|
||||||
|
<outputDirectory>/</outputDirectory>
|
||||||
|
<useProjectArtifact>true</useProjectArtifact>
|
||||||
|
<unpack>true</unpack>
|
||||||
|
<scope>runtime</scope>
|
||||||
|
<excludes>
|
||||||
|
<exclude>org.json:json</exclude>
|
||||||
|
<exclude>org.yaml:snakeyaml</exclude>
|
||||||
|
</excludes>
|
||||||
|
</dependencySet>
|
||||||
|
</dependencySets>
|
||||||
|
<fileSets>
|
||||||
|
<fileSet>
|
||||||
|
<outputDirectory>/</outputDirectory>
|
||||||
|
<directory>../../out/compile/target/SubServers.Client.Folia/classes</directory>
|
||||||
|
<includes>
|
||||||
|
<include>**</include>
|
||||||
|
</includes>
|
||||||
|
</fileSet>
|
||||||
|
</fileSets>
|
||||||
|
</assembly>
|
@ -45,7 +45,7 @@
|
|||||||
<manifestFile>MANIFEST.MF</manifestFile>
|
<manifestFile>MANIFEST.MF</manifestFile>
|
||||||
</archive>
|
</archive>
|
||||||
<descriptors>
|
<descriptors>
|
||||||
<descriptor>../Common/jar-with-some-dependencies.xml</descriptor>
|
<descriptor>../Folia/jar-with-some-dependencies-plus-folia.xml</descriptor>
|
||||||
</descriptors>
|
</descriptors>
|
||||||
<appendAssemblyId>false</appendAssemblyId>
|
<appendAssemblyId>false</appendAssemblyId>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
Loading…
Reference in New Issue
Block a user