|
4 | 4 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
5 | 5 | <modelVersion>4.0.0</modelVersion> |
6 | 6 |
|
7 | | - <groupId>me.hsgamer.bettergui</groupId> |
| 7 | + <parent> |
| 8 | + <groupId>me.hsgamer.bettergui</groupId> |
| 9 | + <artifactId>addon-parent</artifactId> |
| 10 | + <version>1.0-SNAPSHOT</version> |
| 11 | + </parent> |
| 12 | + |
8 | 13 | <artifactId>ExampleAddon</artifactId> |
9 | 14 | <version>1.0-SNAPSHOT</version> |
10 | 15 | <packaging>jar</packaging> |
|
13 | 18 | <description>An Example addon for BetterGUI</description> |
14 | 19 |
|
15 | 20 | <properties> |
16 | | - <java.version>1.8</java.version> |
17 | | - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
18 | 21 | <project.mainClass>me.hsgamer.bettergui.exampleaddon.ExampleAddon</project.mainClass> |
19 | 22 | </properties> |
20 | 23 |
|
21 | | - <build> |
22 | | - <defaultGoal>clean package</defaultGoal> |
23 | | - <plugins> |
24 | | - <plugin> |
25 | | - <groupId>org.apache.maven.plugins</groupId> |
26 | | - <artifactId>maven-compiler-plugin</artifactId> |
27 | | - <version>3.10.1</version> |
28 | | - <configuration> |
29 | | - <source>${java.version}</source> |
30 | | - <target>${java.version}</target> |
31 | | - </configuration> |
32 | | - </plugin> |
33 | | - <plugin> |
34 | | - <groupId>org.apache.maven.plugins</groupId> |
35 | | - <artifactId>maven-shade-plugin</artifactId> |
36 | | - <version>3.3.0</version> |
37 | | - <executions> |
38 | | - <execution> |
39 | | - <phase>package</phase> |
40 | | - <goals> |
41 | | - <goal>shade</goal> |
42 | | - </goals> |
43 | | - <configuration> |
44 | | - <createDependencyReducedPom>false</createDependencyReducedPom> |
45 | | - </configuration> |
46 | | - </execution> |
47 | | - </executions> |
48 | | - </plugin> |
49 | | - </plugins> |
50 | | - <resources> |
51 | | - <resource> |
52 | | - <directory>src/main/resources</directory> |
53 | | - <filtering>true</filtering> |
54 | | - </resource> |
55 | | - </resources> |
56 | | - </build> |
57 | | - |
58 | 24 | <repositories> |
59 | 25 | <repository> |
60 | | - <id>papermc-repo</id> |
61 | | - <url>https://papermc.io/repo/repository/maven-public/</url> |
62 | | - </repository> |
63 | | - <repository> |
64 | | - <id>sonatype</id> |
65 | | - <url>https://oss.sonatype.org/content/groups/public/</url> |
66 | | - </repository> |
67 | | - <repository> |
68 | | - <id>codemc-releases</id> |
69 | | - <url>https://repo.codemc.io/repository/maven-releases/</url> |
70 | | - </repository> |
71 | | - <repository> |
72 | | - <id>codemc-snapshots</id> |
73 | | - <url>https://repo.codemc.io/repository/maven-snapshots/</url> |
| 26 | + <id>codemc-public</id> |
| 27 | + <url>https://repo.codemc.io/repository/maven-public/</url> |
74 | 28 | </repository> |
75 | 29 | </repositories> |
76 | | - |
77 | | - <dependencies> |
78 | | - <dependency> |
79 | | - <groupId>com.destroystokyo.paper</groupId> |
80 | | - <artifactId>paper-api</artifactId> |
81 | | - <version>1.12.2-R0.1-SNAPSHOT</version> |
82 | | - <scope>provided</scope> |
83 | | - </dependency> |
84 | | - <dependency> |
85 | | - <groupId>me.HSGamer</groupId> |
86 | | - <artifactId>BetterGUI</artifactId> |
87 | | - <version>6.5</version> |
88 | | - <scope>provided</scope> |
89 | | - </dependency> |
90 | | - </dependencies> |
91 | 30 | </project> |
0 commit comments