View difference between Paste ID: yBiV7KiJ and Pvrkkasf
SHOW: | | - or go back to the newest paste.
1
<project xmlns="http://maven.apache.org/POM/4.0.0"
2
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
4
	<modelVersion>4.0.0</modelVersion>
5
	<groupId>TreasureMiner</groupId>
6
	<artifactId>TreasureMiner</artifactId>
7
	<version>0.0.1-SNAPSHOT</version>
8
	<name>TreasureMiner</name>
9
	<repositories>
10
		<repository>
11
			<id>spigot-repo</id>
12
			<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
13
		</repository>
14
	</repositories>
15
	<dependencies>
16
		<dependency>
17
			<groupId>org.projectlombok</groupId>
18
			<artifactId>lombok</artifactId>
19
			<version>1.18.12</version>
20
			<scope>provided</scope>
21
		</dependency>
22
		<!-- https://mvnrepository.com/artifact/org.jetbrains/annotations -->
23
		<dependency>
24
			<groupId>org.jetbrains</groupId>
25
			<artifactId>annotations</artifactId>
26
			<version>16.0.1</version>
27
		</dependency>
28
		<dependency>
29
			<groupId>me.mattstudios.utils</groupId>
30
			<artifactId>matt-framework-gui</artifactId>
31
			<version>2.0.2</version> <!-- replace version here -->
32
		</dependency>
33
		<dependency>
34
			<groupId>org.spigotmc</groupId>
35
			<artifactId>spigot</artifactId>
36
			<version>1.8.8-R0.1-SNAPSHOT</version>
37
			<scope>provided</scope>
38
		</dependency>
39
	</dependencies>
40
	<build>
41
		<sourceDirectory>src</sourceDirectory>
42
		<resources>
43
			<resource>
44
				<directory>src</directory>
45
				<excludes>
46
					<exclude>**/*.java</exclude>
47
				</excludes>
48
			</resource>
49
		</resources>
50
		<plugins>
51
			<plugin>
52
				<artifactId>maven-compiler-plugin</artifactId>
53
				<version>3.8.0</version>
54
				<configuration>
55
56
					<source>1.8</source>
57
					<target>1.8</target>
58
				</configuration>
59
			</plugin>
60
      <plugin>
61
        <groupId>org.apache.maven.plugins</groupId>
62
        <artifactId>maven-shade-plugin</artifactId>
63
        <version>3.2.4</version>
64-
				<executions>
64+
        <executions>
65-
					<execution>
65+
          <execution>
66-
						<phase>package</phase>
66+
            <phase>package</phase>
67-
						<goals>
67+
            <goals>
68-
							<goal>shade</goal>
68+
              <goal>shade</goal>
69-
						</goals>
69+
            </goals>
70-
					</execution>
70+
            <configuration>
71-
				</executions>
71+
72
						<relocation>
73
							<pattern>me.mattstudios.mfgui</pattern>
74
							<shadedPattern>me.yuval270.treasure_miner.mfgui</shadedPattern> <!-- Replace package here here -->
75
						</relocation>
76
					</relocations>
77
            </configuration>
78
          </execution>
79
        </executions>
80
      </plugin>
81
		</plugins>
82
	</build>
83
</project>