forked from starlis/empirecraft
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpom.xml
96 lines (91 loc) · 3.87 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>com.empireminecraft</groupId>
<artifactId>empirecraft-parent</artifactId>
<version>dev-SNAPSHOT</version>
<packaging>pom</packaging>
<name>EmpireCraft (Parent)</name>
<properties>
<repo>https://empireminecraft.com/nexus/content/repositories/empireminecraft</repo>
<skipTests>true</skipTests>
</properties>
<distributionManagement>
<snapshotRepository>
<uniqueVersion>false</uniqueVersion>
<id>empireminecraft</id>
<name>Empire Minecraft</name>
<url>https://empireminecraft.com/nexus/content/repositories/empireminecraft</url>
<layout>default</layout>
</snapshotRepository>
</distributionManagement>
<repositories>
<repository>
<id>empireminecraft</id>
<url>https://repo.aikar.co/content/groups/public/</url>
</repository>
<repository>
<id>aikar</id>
<url>https://repo.aikar.co/content/repositories/aikar/</url>
</repository>
</repositories>
<build>
<defaultGoal>install</defaultGoal>
<finalName>${project.artifactId}</finalName>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.3</version>
<executions>
<execution>
<id>install</id>
<phase>install</phase>
<configuration>
<tasks>
<taskdef resource="net/sf/antcontrib/antlib.xml" classpathref="maven.plugin.classpath" />
<if>
<and>
<not><isset property="isBuildServer"/></not>
<equals arg1="${project.artifactId}" arg2="empirecraft" />
</and>
<then>
<copy tofile="${project.build.directory}/../../../EMC-Test-Server/minecraft_server.jar">
<fileset dir="${project.build.directory}" includes="${project.artifactId}.jar" />
</copy>
<copy tofile="${project.build.directory}/../../../EMC-Core/server/minecraft_server.jar">
<fileset dir="${project.build.directory}" includes="${project.artifactId}.jar" />
</copy>
</then>
</if>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>ant-contrib</groupId>
<artifactId>ant-contrib</artifactId>
<version>1.0b3</version>
<exclusions>
<exclusion>
<groupId>ant</groupId>
<artifactId>ant</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>ant</groupId>
<artifactId>ant-nodeps</artifactId>
<version>1.6.5</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
<modules>
<module>EmpireCraft-API</module>
<module>EmpireCraft-Server</module>
</modules>
</project>