|
56 | 56 | <mockito.version>5.11.0</mockito.version> |
57 | 57 | <mock-bukkit.version>v1.21-SNAPSHOT</mock-bukkit.version> |
58 | 58 | <!-- More visible way how to change dependency versions --> |
59 | | - <bentobox.version>2.7.1-SNAPSHOT</bentobox.version> |
| 59 | + <bentobox.version>3.10.0</bentobox.version> |
60 | 60 | <items-adder.version>4.0.10</items-adder.version> |
| 61 | + <nexo.version>1.8.0</nexo.version> |
61 | 62 | <level.version>2.6.2</level.version> |
62 | 63 | <bank.version>1.3.0</bank.version> |
63 | 64 | <!-- Revision variable removes warning about dynamic version --> |
64 | 65 | <revision>${build.version}-SNAPSHOT</revision> |
65 | 66 | <!-- Do not change unless you want different name for local builds. --> |
66 | 67 | <build.number>-LOCAL</build.number> |
67 | 68 | <!-- This allows to change between versions. --> |
68 | | - <build.version>1.22.0</build.version> |
| 69 | + <build.version>1.22.1</build.version> |
69 | 70 | <!-- SonarCloud --> |
70 | 71 | <sonar.projectKey>BentoBoxWorld_AOneBlock</sonar.projectKey> |
71 | 72 | <sonar.organization>bentobox-world</sonar.organization> |
|
123 | 124 |
|
124 | 125 |
|
125 | 126 | <repositories> |
| 127 | + <!-- MockBukkit (com.github.*) snapshots live here --> |
126 | 128 | <repository> |
127 | 129 | <id>jitpack.io</id> |
128 | 130 | <url>https://jitpack.io</url> |
| 131 | + <releases><enabled>true</enabled></releases> |
| 132 | + <snapshots><enabled>true</enabled></snapshots> |
129 | 133 | </repository> |
| 134 | + <!-- BentoBox, Level, Bank releases --> |
130 | 135 | <repository> |
131 | | - <id>papermc</id> |
132 | | - <url>https://repo.papermc.io/repository/maven-public/</url> |
| 136 | + <id>bentoboxworld</id> |
| 137 | + <url>https://repo.codemc.org/repository/bentoboxworld/</url> |
| 138 | + <releases><enabled>true</enabled></releases> |
| 139 | + <snapshots><enabled>false</enabled></snapshots> |
133 | 140 | </repository> |
| 141 | + <!-- Paper API snapshots --> |
134 | 142 | <repository> |
135 | | - <id>minecraft-repo</id> |
136 | | - <url>https://libraries.minecraft.net/</url> |
| 143 | + <id>papermc</id> |
| 144 | + <url>https://repo.papermc.io/repository/maven-public/</url> |
| 145 | + <releases><enabled>true</enabled></releases> |
| 146 | + <snapshots><enabled>true</enabled></snapshots> |
137 | 147 | </repository> |
| 148 | + <!-- ItemsAdder API --> |
138 | 149 | <repository> |
139 | | - <id>bentoboxworld</id> |
140 | | - <url>https://repo.codemc.org/repository/bentoboxworld/</url> |
141 | | - </repository> |
| 150 | + <id>matteodev</id> |
| 151 | + <url>https://maven.devs.beer/</url> |
| 152 | + <releases><enabled>true</enabled></releases> |
| 153 | + <snapshots><enabled>false</enabled></snapshots> |
| 154 | + </repository> |
| 155 | + <!-- Nexo API --> |
142 | 156 | <repository> |
143 | | - <id>codemc</id> |
144 | | - <url>https://repo.codemc.org/repository/maven-snapshots/</url> |
| 157 | + <id>nexomc</id> |
| 158 | + <url>https://repo.nexomc.com/releases/</url> |
| 159 | + <releases><enabled>true</enabled></releases> |
| 160 | + <snapshots><enabled>false</enabled></snapshots> |
145 | 161 | </repository> |
| 162 | + <!-- General Maven public mirror --> |
146 | 163 | <repository> |
147 | 164 | <id>codemc-repo</id> |
148 | 165 | <url>https://repo.codemc.org/repository/maven-public/</url> |
| 166 | + <releases><enabled>true</enabled></releases> |
| 167 | + <snapshots><enabled>false</enabled></snapshots> |
149 | 168 | </repository> |
| 169 | + <!-- Mojang/Minecraft libraries (releases only) --> |
150 | 170 | <repository> |
151 | | - <id>jitpack-repo</id> |
152 | | - <url>https://jitpack.io</url> |
| 171 | + <id>minecraft-repo</id> |
| 172 | + <url>https://libraries.minecraft.net/</url> |
| 173 | + <releases><enabled>true</enabled></releases> |
| 174 | + <snapshots><enabled>false</enabled></snapshots> |
153 | 175 | </repository> |
154 | | - <repository> |
155 | | - <id>matteodev</id> |
156 | | - <url>https://maven.devs.beer/</url> |
| 176 | + <!-- CodeMC snapshots (BentoBox CI builds if needed) --> |
| 177 | + <repository> |
| 178 | + <id>codemc</id> |
| 179 | + <url>https://repo.codemc.org/repository/maven-snapshots/</url> |
| 180 | + <releases><enabled>false</enabled></releases> |
| 181 | + <snapshots><enabled>true</enabled></snapshots> |
157 | 182 | </repository> |
158 | 183 | </repositories> |
159 | 184 |
|
160 | 185 | <dependencies> |
161 | 186 | <dependency> |
162 | 187 | <groupId>com.github.MockBukkit</groupId> |
163 | 188 | <artifactId>MockBukkit</artifactId> |
164 | | - <version>v1.21-SNAPSHOT</version> |
| 189 | + <version>${mock-bukkit.version}</version> |
165 | 190 | <scope>test</scope> |
166 | 191 | </dependency> |
167 | 192 | <dependency> |
168 | 193 | <groupId>io.papermc.paper</groupId> |
169 | 194 | <artifactId>paper-api</artifactId> |
170 | | - <version>1.21.10-R0.1-SNAPSHOT</version> |
| 195 | + <version>1.21.11-R0.1-SNAPSHOT</version> |
171 | 196 | <scope>provided</scope> |
172 | 197 | </dependency> |
173 | 198 | <!-- Apache Commons Text --> |
|
185 | 210 | <scope>provided</scope> |
186 | 211 | </dependency> |
187 | 212 | <!-- Mockito (Unit testing) --> |
188 | | - <!-- Mockito (Unit testing) This goes at the top to ensure the dependencies are accurate. --> |
189 | 213 | <dependency> |
190 | 214 | <groupId>org.junit.jupiter</groupId> |
191 | 215 | <artifactId>junit-jupiter-api</artifactId> |
|
235 | 259 | <version>${items-adder.version}</version> |
236 | 260 | <scope>provided</scope> |
237 | 261 | </dependency> |
| 262 | + <dependency> |
| 263 | + <groupId>com.nexomc</groupId> |
| 264 | + <artifactId>nexo</artifactId> |
| 265 | + <version>${nexo.version}</version> |
| 266 | + <scope>provided</scope> |
| 267 | + <exclusions> |
| 268 | + <exclusion> |
| 269 | + <groupId>*</groupId> |
| 270 | + <artifactId>*</artifactId> |
| 271 | + </exclusion> |
| 272 | + </exclusions> |
| 273 | + </dependency> |
238 | 274 | </dependencies> |
239 | 275 |
|
240 | 276 | <build> |
|
302 | 338 | <artifactId>maven-surefire-plugin</artifactId> |
303 | 339 | <version>3.5.4</version> |
304 | 340 | <configuration> |
| 341 | + <includes> |
| 342 | + <include>**/*Test.java</include> |
| 343 | + <include>**/*Test?.java</include> |
| 344 | + <include>**/*Test??.java</include> |
| 345 | + </includes> |
305 | 346 | <argLine> |
306 | 347 | --add-opens java.base/java.lang=ALL-UNNAMED |
307 | 348 | --add-opens java.base/java.math=ALL-UNNAMED |
|
0 commit comments