|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | | -<project xmlns="http://maven.apache.org/POM/4.0.0" |
3 | | - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
4 | | - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
5 | | - <modelVersion>4.0.0</modelVersion> |
| 2 | +<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | + xmlns="http://maven.apache.org/POM/4.0.0" |
| 4 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 5 | + <modelVersion>4.0.0</modelVersion> |
6 | 6 |
|
7 | | - <parent> |
8 | | - <groupId>me.hsgamer.bettergui</groupId> |
9 | | - <artifactId>addon-parent</artifactId> |
10 | | - <version>4.0</version> |
11 | | - </parent> |
| 7 | + <parent> |
| 8 | + <groupId>me.hsgamer.bettergui</groupId> |
| 9 | + <artifactId>addon-parent</artifactId> |
| 10 | + <version>4.0</version> |
| 11 | + </parent> |
12 | 12 |
|
13 | | - <artifactId>BetterDialogs</artifactId> |
14 | | - <version>1.0-SNAPSHOT</version> |
15 | | - <packaging>jar</packaging> |
| 13 | + <artifactId>BetterDialogs</artifactId> |
| 14 | + <version>1.0-SNAPSHOT</version> |
| 15 | + <packaging>jar</packaging> |
16 | 16 |
|
17 | | - <name>BetterDialogs</name> |
18 | | - <description>Another addon for creating dialogs</description> |
| 17 | + <name>BetterDialogs</name> |
| 18 | + <description>Another addon for creating dialogs</description> |
19 | 19 |
|
20 | | - <properties> |
21 | | - <unidialog.version>1.3.1</unidialog.version> |
22 | | - <java.version>21</java.version> |
23 | | - <project.mainClass>me.hsgamer.bettergui.betterdialogs.BetterDialogs</project.mainClass> |
24 | | - </properties> |
| 20 | + <properties> |
| 21 | + <core.version>4.5.7</core.version> |
| 22 | + <unidialog.version>1.3.1</unidialog.version> |
| 23 | + <java.version>21</java.version> |
| 24 | + <project.mainClass>me.hsgamer.bettergui.betterdialogs.BetterDialogs</project.mainClass> |
| 25 | + <license.packageName>me.hsgamer.bettergui.betterdialogs.license</license.packageName> |
| 26 | + </properties> |
25 | 27 |
|
26 | | - <repositories> |
27 | | - <repository> |
28 | | - <id>codemc-public</id> |
29 | | - <url>https://repo.codemc.io/repository/maven-public/</url> |
30 | | - </repository> |
31 | | - </repositories> |
| 28 | + <repositories> |
| 29 | + <repository> |
| 30 | + <id>codemc-public</id> |
| 31 | + <url>https://repo.codemc.io/repository/maven-public/</url> |
| 32 | + </repository> |
| 33 | + </repositories> |
32 | 34 |
|
33 | | - <build> |
34 | | - <plugins> |
35 | | - <plugin> |
36 | | - <groupId>org.apache.maven.plugins</groupId> |
37 | | - <artifactId>maven-shade-plugin</artifactId> |
38 | | - <executions> |
39 | | - <execution> |
40 | | - <phase>package</phase> |
41 | | - <goals> |
42 | | - <goal>shade</goal> |
43 | | - </goals> |
44 | | - <configuration> |
45 | | - <shadedArtifactAttached>true</shadedArtifactAttached> |
46 | | - <createDependencyReducedPom>false</createDependencyReducedPom> |
47 | | - <relocations> |
48 | | - <!-- HSCore --> |
49 | | - <relocation> |
50 | | - <pattern>me.hsgamer.hscore</pattern> |
51 | | - <shadedPattern>me.hsgamer.bettergui.lib.core</shadedPattern> |
52 | | - </relocation> |
| 35 | + <build> |
| 36 | + <plugins> |
| 37 | + <plugin> |
| 38 | + <groupId>org.apache.maven.plugins</groupId> |
| 39 | + <artifactId>maven-shade-plugin</artifactId> |
| 40 | + <executions> |
| 41 | + <execution> |
| 42 | + <phase>package</phase> |
| 43 | + <goals> |
| 44 | + <goal>shade</goal> |
| 45 | + </goals> |
| 46 | + <configuration> |
| 47 | + <shadedArtifactAttached>true</shadedArtifactAttached> |
| 48 | + <createDependencyReducedPom>false</createDependencyReducedPom> |
| 49 | + <relocations> |
| 50 | + <!-- HSCore License --> |
| 51 | + <relocation> |
| 52 | + <pattern>me.hsgamer.hscore.license</pattern> |
| 53 | + <shadedPattern>${license.packageName}</shadedPattern> |
| 54 | + </relocation> |
53 | 55 |
|
54 | | - <!-- MineLib --> |
55 | | - <relocation> |
56 | | - <pattern>io.github.projectunified.minelib</pattern> |
57 | | - <shadedPattern>me.hsgamer.bettergui.lib.minelib</shadedPattern> |
58 | | - </relocation> |
| 56 | + <!-- HSCore --> |
| 57 | + <relocation> |
| 58 | + <pattern>me.hsgamer.hscore</pattern> |
| 59 | + <shadedPattern>me.hsgamer.bettergui.lib.core</shadedPattern> |
| 60 | + </relocation> |
59 | 61 |
|
60 | | - <!-- bStats --> |
61 | | - <relocation> |
62 | | - <pattern>org.bstats</pattern> |
63 | | - <shadedPattern>me.hsgamer.bettergui.lib.bstats</shadedPattern> |
64 | | - </relocation> |
| 62 | + <!-- MineLib --> |
| 63 | + <relocation> |
| 64 | + <pattern>io.github.projectunified.minelib</pattern> |
| 65 | + <shadedPattern>me.hsgamer.bettergui.lib.minelib</shadedPattern> |
| 66 | + </relocation> |
65 | 67 |
|
66 | | - <!-- UniDialog --> |
67 | | - <relocation> |
68 | | - <pattern>io.github.projectunified.unidialog</pattern> |
69 | | - <shadedPattern>me.hsgamer.bettergui.betterdialogs.lib.unidialog</shadedPattern> |
70 | | - </relocation> |
71 | | - </relocations> |
72 | | - </configuration> |
73 | | - </execution> |
74 | | - </executions> |
75 | | - </plugin> |
76 | | - </plugins> |
77 | | - </build> |
| 68 | + <!-- bStats --> |
| 69 | + <relocation> |
| 70 | + <pattern>org.bstats</pattern> |
| 71 | + <shadedPattern>me.hsgamer.bettergui.lib.bstats</shadedPattern> |
| 72 | + </relocation> |
78 | 73 |
|
79 | | - <dependencies> |
80 | | - <dependency> |
81 | | - <groupId>io.github.projectunified</groupId> |
82 | | - <artifactId>uni-dialog-packetevents</artifactId> |
83 | | - <version>${unidialog.version}</version> |
84 | | - </dependency> |
85 | | - <dependency> |
86 | | - <groupId>io.github.projectunified</groupId> |
87 | | - <artifactId>uni-dialog-paper</artifactId> |
88 | | - <version>${unidialog.version}</version> |
89 | | - </dependency> |
90 | | - <dependency> |
91 | | - <groupId>io.github.projectunified</groupId> |
92 | | - <artifactId>uni-dialog-spigot</artifactId> |
93 | | - <version>${unidialog.version}</version> |
94 | | - </dependency> |
95 | | - <dependency> |
96 | | - <groupId>com.github.retrooper</groupId> |
97 | | - <artifactId>packetevents-spigot</artifactId> |
98 | | - <version>2.9.1</version> |
99 | | - <scope>provided</scope> |
100 | | - </dependency> |
101 | | - <dependency> |
102 | | - <groupId>org.jetbrains</groupId> |
103 | | - <artifactId>annotations</artifactId> |
104 | | - <version>26.0.2</version> |
105 | | - <scope>provided</scope> |
106 | | - </dependency> |
107 | | - </dependencies> |
| 74 | + <!-- UniDialog --> |
| 75 | + <relocation> |
| 76 | + <pattern>io.github.projectunified.unidialog</pattern> |
| 77 | + <shadedPattern>me.hsgamer.bettergui.betterdialogs.lib.unidialog</shadedPattern> |
| 78 | + </relocation> |
| 79 | + </relocations> |
| 80 | + </configuration> |
| 81 | + </execution> |
| 82 | + </executions> |
| 83 | + </plugin> |
| 84 | + </plugins> |
| 85 | + </build> |
| 86 | + |
| 87 | + <dependencies> |
| 88 | + <dependency> |
| 89 | + <groupId>io.github.projectunified</groupId> |
| 90 | + <artifactId>uni-dialog-packetevents</artifactId> |
| 91 | + <version>${unidialog.version}</version> |
| 92 | + </dependency> |
| 93 | + <dependency> |
| 94 | + <groupId>io.github.projectunified</groupId> |
| 95 | + <artifactId>uni-dialog-paper</artifactId> |
| 96 | + <version>${unidialog.version}</version> |
| 97 | + </dependency> |
| 98 | + <dependency> |
| 99 | + <groupId>io.github.projectunified</groupId> |
| 100 | + <artifactId>uni-dialog-spigot</artifactId> |
| 101 | + <version>${unidialog.version}</version> |
| 102 | + </dependency> |
| 103 | + <dependency> |
| 104 | + <groupId>com.github.retrooper</groupId> |
| 105 | + <artifactId>packetevents-spigot</artifactId> |
| 106 | + <version>2.9.1</version> |
| 107 | + <scope>provided</scope> |
| 108 | + </dependency> |
| 109 | + <dependency> |
| 110 | + <groupId>org.jetbrains</groupId> |
| 111 | + <artifactId>annotations</artifactId> |
| 112 | + <version>26.0.2</version> |
| 113 | + <scope>provided</scope> |
| 114 | + </dependency> |
| 115 | + <dependency> |
| 116 | + <groupId>me.hsgamer</groupId> |
| 117 | + <artifactId>hscore-license-spigotmc</artifactId> |
| 118 | + <version>${core.version}</version> |
| 119 | + </dependency> |
| 120 | + <dependency> |
| 121 | + <groupId>me.hsgamer</groupId> |
| 122 | + <artifactId>hscore-license-polymart</artifactId> |
| 123 | + <version>${core.version}</version> |
| 124 | + <exclusions> |
| 125 | + <exclusion> |
| 126 | + <groupId>me.hsgamer</groupId> |
| 127 | + <artifactId>hscore-gson</artifactId> |
| 128 | + </exclusion> |
| 129 | + <exclusion> |
| 130 | + <groupId>me.hsgamer</groupId> |
| 131 | + <artifactId>hscore-web</artifactId> |
| 132 | + </exclusion> |
| 133 | + </exclusions> |
| 134 | + </dependency> |
| 135 | + </dependencies> |
108 | 136 | </project> |
0 commit comments