File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
commandapi-platforms/commandapi-bukkit/commandapi-bukkit-plugin-mojang-mapped Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change 110110 </excludes >
111111 </filter >
112112 </filters >
113+ <relocations >
114+ <relocation >
115+ <pattern >org.bukkit.craftbukkit.v1_20_R4</pattern >
116+ <shadedPattern >org.bukkit.craftbukkit</shadedPattern >
117+ </relocation >
118+ </relocations >
113119 <transformers >
114120 <transformer implementation =" org.apache.maven.plugins.shade.resource.AppendingTransformer" >
115121 <resource >LICENSE</resource >
119125 </execution >
120126 </executions >
121127 </plugin >
128+ <!-- Add the maven-jar-plugin to mark the Mojang mapped plugin (this one) as mojang mapped
129+ as Paper would assume Spigot mappings when no manifest entry is given and a plugin.yml is used -->
130+ <plugin >
131+ <groupId >org.apache.maven.plugins</groupId >
132+ <artifactId >maven-jar-plugin</artifactId >
133+ <version >3.4.1</version >
134+ <configuration >
135+ <archive >
136+ <manifestEntries >
137+ <paperweight-mappings-namespace >mojang</paperweight-mappings-namespace >
138+ </manifestEntries >
139+ </archive >
140+ </configuration >
141+ </plugin >
122142 </plugins >
123143 </build >
124144</project >
You can’t perform that action at this time.
0 commit comments