-
Notifications
You must be signed in to change notification settings - Fork 16
/
pom.xml
129 lines (125 loc) · 5.03 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<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>
<groupId>com.github.barteks2x</groupId>
<artifactId>b173gen</artifactId>
<version>2.4-MC1.12</version>
<name>173generator</name>
<description>Beta 1.7.* terrain generator for bukkit</description>
<properties>
<!--Special git describe version allows for empty prefix & suffix-->
<gitdescribe-prefix/>
<gitdescribe-suffix/>
<protocolLibVersion>4.3.0</protocolLibVersion>
</properties>
<dependencies>
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
<version>1.12.2-R0.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.flowpowered</groupId>
<artifactId>flow-nbt</artifactId>
<version>1.0.1-SNAPSHOT</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.10</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<version>1.9.5</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<!--Rsource filtering allows to use project propertietes ({$describe}) in plugin.yml-->
<defaultGoal>compile package</defaultGoal>
<sourceDirectory>${basedir}/src/main/java</sourceDirectory>
<resources>
<resource>
<includes>
<include>plugin.yml</include>
<include>world.yml</include>
<include>config.yml</include>
</includes>
<directory>${basedir}/src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
<finalName>${project.artifactId}-2.4-MC1.12</finalName>
<pluginManagement>
<plugins>
<!--git-describe plugin-->
<plugin>
<groupId>org.barteks2x</groupId>
<artifactId>gitdescribe-maven-plugin-barteks2x</artifactId>
<version>1.4-SNAPSHOT</version>
<configuration>
<outputPrefix>${gitdescribe-prefix}</outputPrefix>
<outputPostfix>${gitdescribe-suffix}</outputPostfix>
<match>true</match>
<matchValue>[0-9].*</matchValue>
</configuration>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>gitdescribe</goal>
</goals>
</execution>
</executions>
</plugin>
<!--compile plugin-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.0.2</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<showDeprecation>false</showDeprecation>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<!--Repositories-->
<repositories>
<!--Bukkitrepository-->
<repository>
<id>Bukkit</id>
<name>Bukkit Repository</name>
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
</repository>
<repository>
<id>dmulloy2-repo</id>
<url>http://repo.dmulloy2.net/content/groups/public/</url>
</repository>
<repository>
<id>sonatype-nexus</id>
<url>https://oss.sonatype.org/content/groups/public</url>
</repository>
</repositories>
<!--Plugin repositories-->
<pluginRepositories>
<!--Repository for modified git-describe plugin (allows empty prefix and suffix)-->
<pluginRepository>
<id>Github-maven-repo</id>
<url>https://github.com/Barteks2x/maven-repo/raw/master/snapshots</url>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
</pluginRepository>
</pluginRepositories>
<scm>
<connection>scm:git:git://github.com/Barteks2x/173generator.git</connection>
<developerConnection>scm:git:ssh://git@github.com/Barteks2x/173generator.git</developerConnection>
<url>https://github.com/Barteks2x/173generator</url>
</scm>
</project>