mirror of
https://github.com/ME1312/SubServers-2.git
synced 2024-11-24 19:25:30 +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>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>prepare-package</phase>
|
||||
<phase>process-resources</phase>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
@ -97,9 +97,6 @@
|
||||
<tasks>
|
||||
<mkdir dir="${project.build.directory}" />
|
||||
<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>
|
||||
</configuration>
|
||||
</execution>
|
||||
@ -125,7 +122,7 @@
|
||||
<manifestFile>src/META-INF/MANIFEST.MF</manifestFile>
|
||||
</archive>
|
||||
<descriptors>
|
||||
<descriptor>../Common/jar-with-some-dependencies.xml</descriptor>
|
||||
<descriptor>../Folia/jar-with-some-dependencies-plus-folia.xml</descriptor>
|
||||
</descriptors>
|
||||
<appendAssemblyId>false</appendAssemblyId>
|
||||
</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>
|
||||
</archive>
|
||||
<descriptors>
|
||||
<descriptor>../Common/jar-with-some-dependencies.xml</descriptor>
|
||||
<descriptor>../Folia/jar-with-some-dependencies-plus-folia.xml</descriptor>
|
||||
</descriptors>
|
||||
<appendAssemblyId>false</appendAssemblyId>
|
||||
</configuration>
|
||||
|
Loading…
Reference in New Issue
Block a user