|
2 | 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
3 | 3 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
4 | 4 | <modelVersion>4.0.0</modelVersion> |
5 | | - <groupId>me.despical</groupId> |
| 5 | + <groupId>com.github.despical</groupId> |
6 | 6 | <artifactId>command-framework</artifactId> |
7 | | - <version>1.5.2</version> |
| 7 | + <version>1.5.3</version> |
8 | 8 |
|
9 | 9 | <name>Command Framework</name> |
10 | 10 | <inceptionYear>2020</inceptionYear> |
| 11 | + <description>Annotation based Command framework.</description> |
11 | 12 | <url>https://www.spigotmc.org/resources/89933/</url> |
12 | 13 | <packaging>jar</packaging> |
13 | 14 |
|
14 | 15 | <properties> |
15 | | - <java.version>8</java.version> |
16 | | - <maven.compiler.target>8</maven.compiler.target> |
| 16 | + <java.version>21</java.version> |
17 | 17 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
18 | 18 | </properties> |
19 | 19 |
|
|
38 | 38 | <url>https://github.com/Despical/CommandFramework/issues/</url> |
39 | 39 | </issueManagement> |
40 | 40 |
|
| 41 | + <distributionManagement> |
| 42 | + <snapshotRepository> |
| 43 | + <id>ossrh</id> |
| 44 | + <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> |
| 45 | + </snapshotRepository> |
| 46 | + <repository> |
| 47 | + <id>ossrh</id> |
| 48 | + <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 49 | + </repository> |
| 50 | + </distributionManagement> |
| 51 | + |
| 52 | + <scm> |
| 53 | + <url>https://github.com/Despical/CommandFramework</url> |
| 54 | + <connection>scm:git:git://github.com/Despical/CommandFramework.git</connection> |
| 55 | + <developerConnection>scm:git:ssh://github.com/Despical/CommandFramework.git</developerConnection> |
| 56 | + </scm> |
| 57 | + |
41 | 58 | <repositories> |
42 | 59 | <repository> |
43 | 60 | <id>papermc</id> |
44 | 61 | <url>https://repo.papermc.io/repository/maven-public/</url> |
45 | 62 | </repository> |
46 | | - <repository> |
47 | | - <id>paper-legacy</id> |
48 | | - <url>https://papermc.io/repo/repository/maven-public/</url> |
49 | | - </repository> |
50 | 63 | </repositories> |
51 | 64 |
|
52 | 65 | <dependencies> |
53 | | - <!-- TEST --> |
54 | 66 | <dependency> |
55 | 67 | <groupId>io.papermc.paper</groupId> |
56 | 68 | <artifactId>paper-api</artifactId> |
57 | | - <version>1.20.1-R0.1-SNAPSHOT</version> |
58 | | - <scope>test</scope> |
59 | | - </dependency> |
60 | | - <dependency> |
61 | | - <groupId>com.destroystokyo.paper</groupId> |
62 | | - <artifactId>paper-api</artifactId> |
63 | | - <version>1.16.5-R0.1-SNAPSHOT</version> |
| 69 | + <version>1.20.1-R0.1-20230917.004407-174</version> |
64 | 70 | <scope>provided</scope> |
65 | 71 | </dependency> |
66 | 72 | <!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api --> |
|
91 | 97 | </dependencies> |
92 | 98 |
|
93 | 99 | <build> |
| 100 | + <resources> |
| 101 | + <resource> |
| 102 | + <directory>src/main/resources</directory> |
| 103 | + <filtering>true</filtering> |
| 104 | + </resource> |
| 105 | + </resources> |
| 106 | + |
94 | 107 | <plugins> |
95 | 108 | <plugin> |
96 | 109 | <groupId>org.apache.maven.plugins</groupId> |
97 | 110 | <artifactId>maven-compiler-plugin</artifactId> |
98 | | - <version>3.8.1</version> |
99 | | - <executions> |
100 | | - <execution> |
101 | | - <id>default-testCompile</id> |
102 | | - <phase>test-compile</phase> |
103 | | - <goals> |
104 | | - <goal>testCompile</goal> |
105 | | - </goals> |
106 | | - <configuration> |
107 | | - <skip>true</skip> |
108 | | - </configuration> |
109 | | - </execution> |
110 | | - </executions> |
111 | | - <goals> |
112 | | - <goal>compile</goal> |
113 | | - </goals> |
| 111 | + <version>3.13.0</version> |
114 | 112 | <configuration> |
115 | 113 | <source>${java.version}</source> |
116 | 114 | <target>${java.version}</target> |
117 | 115 | </configuration> |
118 | 116 | </plugin> |
119 | | - <plugin> |
120 | | - <groupId>org.apache.maven.plugins</groupId> |
121 | | - <artifactId>maven-javadoc-plugin</artifactId> |
122 | | - <version>3.2.0</version> |
123 | | - <executions> |
124 | | - <execution> |
125 | | - <id>attach-javadocs</id> |
126 | | - <goals> |
127 | | - <goal>jar</goal> |
128 | | - </goals> |
129 | | - </execution> |
130 | | - </executions> |
131 | | - </plugin> |
132 | 117 | <plugin> |
133 | 118 | <groupId>org.apache.maven.plugins</groupId> |
134 | 119 | <artifactId>maven-shade-plugin</artifactId> |
135 | | - <version>3.1.1</version> |
| 120 | + <version>3.6.0</version> |
136 | 121 | <executions> |
137 | 122 | <execution> |
138 | 123 | <phase>package</phase> |
|
148 | 133 | <plugin> |
149 | 134 | <groupId>org.apache.maven.plugins</groupId> |
150 | 135 | <artifactId>maven-surefire-plugin</artifactId> |
151 | | - <version>3.0.0-M7</version> |
152 | | - <configuration> |
153 | | - <systemPropertyVariables> |
154 | | - <java.version>17</java.version> |
155 | | - </systemPropertyVariables> |
156 | | - </configuration> |
| 136 | + <version>3.5.2</version> |
157 | 137 | </plugin> |
158 | 138 | </plugins> |
159 | | - <resources> |
160 | | - <resource> |
161 | | - <directory>src/main/resources</directory> |
162 | | - <filtering>true</filtering> |
163 | | - </resource> |
164 | | - </resources> |
165 | 139 | </build> |
| 140 | + |
| 141 | + <profiles> |
| 142 | + <profile> |
| 143 | + <id>release</id> |
| 144 | + <build> |
| 145 | + <plugins> |
| 146 | + <plugin> |
| 147 | + <groupId>org.apache.maven.plugins</groupId> |
| 148 | + <artifactId>maven-source-plugin</artifactId> |
| 149 | + <version>3.3.1</version> |
| 150 | + <executions> |
| 151 | + <execution> |
| 152 | + <id>attach-sources</id> |
| 153 | + <goals> |
| 154 | + <goal>jar</goal> |
| 155 | + </goals> |
| 156 | + </execution> |
| 157 | + </executions> |
| 158 | + </plugin> |
| 159 | + <plugin> |
| 160 | + <groupId>org.apache.maven.plugins</groupId> |
| 161 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 162 | + <version>3.10.0</version> |
| 163 | + <executions> |
| 164 | + <execution> |
| 165 | + <id>attach-javadocs</id> |
| 166 | + <goals> |
| 167 | + <goal>jar</goal> |
| 168 | + </goals> |
| 169 | + </execution> |
| 170 | + </executions> |
| 171 | + <configuration> |
| 172 | + <failOnError>false</failOnError> |
| 173 | + <failOnWarnings>false</failOnWarnings> |
| 174 | + <additionalOptions>-Xdoclint:none</additionalOptions> |
| 175 | + </configuration> |
| 176 | + </plugin> |
| 177 | + <plugin> |
| 178 | + <groupId>org.apache.maven.plugins</groupId> |
| 179 | + <artifactId>maven-gpg-plugin</artifactId> |
| 180 | + <version>3.2.4</version> |
| 181 | + <executions> |
| 182 | + <execution> |
| 183 | + <id>sign-artifacts</id> |
| 184 | + <phase>verify</phase> |
| 185 | + <goals> |
| 186 | + <goal>sign</goal> |
| 187 | + </goals> |
| 188 | + </execution> |
| 189 | + </executions> |
| 190 | + </plugin> |
| 191 | + <plugin> |
| 192 | + <groupId>org.sonatype.central</groupId> |
| 193 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 194 | + <version>0.9.0</version> |
| 195 | + <extensions>true</extensions> |
| 196 | + <configuration> |
| 197 | + <publishingServerId>ossrh</publishingServerId> |
| 198 | + <autoPublish>true</autoPublish> |
| 199 | + </configuration> |
| 200 | + </plugin> |
| 201 | + </plugins> |
| 202 | + </build> |
| 203 | + </profile> |
| 204 | + </profiles> |
166 | 205 | </project> |
0 commit comments