This commit is contained in:
Daniel Mills 2020-01-04 17:06:49 -05:00
parent ef8d48846c
commit f8a40b8fb3

View File

@ -8,6 +8,71 @@
<profiles>
<profile>
<id>dan</id>
<build>
<resources>
<resource>
<filtering>true</filtering>
<directory>C:\Users\cyberpwn\Documents\development\workspace\Iris\src\main\resources</directory>
<includes>
<include>**/*.xml</include>
<include>**/*.yml</include>
<include>**/*.txt</include>
<include>**/*.properties</include>
<include>**/*.html</include>
</includes>
</resource>
</resources>
<plugins>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<minimizeJar>true</minimizeJar>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.2</version>
<executions>
<execution>
<id>runbatchfile</id>
<phase>package</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<skip>false</skip>
<executable>C:\Users\cyberpwn\Documents\development\workspace\Iris/scripts/copy.bat</executable>
<arguments>
<argument>C:\Users\cyberpwn\Documents\development\workspace\Iris\target\Iris-1.0.jar</argument>
<argument>C:\Users\cyberpwn\Documents\development\server\plugins\Iris.jar</argument>
</arguments>
</configuration>
</execution>
</executions>
<configuration>
<skip>false</skip>
<executable>C:\Users\cyberpwn\Documents\development\workspace\Iris/scripts/copy.bat</executable>
<arguments>
<argument>C:\Users\cyberpwn\Documents\development\workspace\Iris\target\Iris-1.0.jar</argument>
<argument>C:\Users\cyberpwn\Documents\development\server\plugins\Iris.jar</argument>
</arguments>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>brian</id>
<build>
<resources>
<resource>
@ -56,72 +121,7 @@
<executable>${project.basedir}/scripts/copy.bat</executable>
<arguments>
<argument>${project.basedir}\target\${project.name}-${project.version}.jar</argument>
<argument>${development.location.dan}</argument>
</arguments>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>brian</id>
<build>
<resources>
<resource>
<filtering>true</filtering>
<directory>D:\Dan\Minecraft\Iris\src\main\resources</directory>
<includes>
<include>**/*.xml</include>
<include>**/*.yml</include>
<include>**/*.txt</include>
<include>**/*.properties</include>
<include>**/*.html</include>
</includes>
</resource>
</resources>
<plugins>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<minimizeJar>true</minimizeJar>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.2</version>
<executions>
<execution>
<id>runbatchfile</id>
<phase>package</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<skip>false</skip>
<executable>D:\Dan\Minecraft\Iris/scripts/copy.bat</executable>
<arguments>
<argument>D:\Dan\Minecraft\Iris\target\Iris-1.0.jar</argument>
<argument>D:\Dan\MinecraftDevelopment\server\plugins\Iris.jar</argument>
</arguments>
</configuration>
</execution>
</executions>
<configuration>
<skip>false</skip>
<executable>D:\Dan\Minecraft\Iris/scripts/copy.bat</executable>
<arguments>
<argument>D:\Dan\Minecraft\Iris\target\Iris-1.0.jar</argument>
<argument>D:\Dan\MinecraftDevelopment\server\plugins\Iris.jar</argument>
<argument>${development.location.brian}</argument>
</arguments>
</configuration>
</plugin>