|
43 | 43 | <properties>
|
44 | 44 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
45 | 45 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
46 |
| - <java.version>1.8</java.version> |
| 46 | + <java.version>17</java.version> |
47 | 47 | <powermock.version>2.0.2</powermock.version>
|
48 | 48 | <!-- More visible way how to change dependency versions -->
|
49 |
| - <spigot.version>1.16.4-R0.1-SNAPSHOT</spigot.version> |
50 |
| - <bentobox.version>1.15.4</bentobox.version> |
| 49 | + <spigot.version>1.18-R0.1-SNAPSHOT</spigot.version> |
| 50 | + <bentobox.version>1.20.0-SNAPSHOT</bentobox.version> |
| 51 | + <bank.version>1.4.0</bank.version> |
51 | 52 | <level.version>2.5.0</level.version>
|
52 | 53 | <greenhouses.version>1.4.0-SNAPSHOT</greenhouses.version>
|
53 | 54 | <vault.version>1.7</vault.version>
|
| 55 | + <panelutils.version>1.0.0</panelutils.version> |
54 | 56 | <!-- Revision variable removes warning about dynamic version -->
|
55 | 57 | <revision>${build.version}-SNAPSHOT</revision>
|
56 | 58 | <!-- This allows to change between versions and snapshots. -->
|
57 |
| - <build.version>1.14.0</build.version> |
| 59 | + <build.version>2.0.0</build.version> |
58 | 60 | <build.number>-LOCAL</build.number>
|
| 61 | + <!-- Sonar Cloud --> |
| 62 | + <sonar.projectKey>BentoBoxWorld_Biomes</sonar.projectKey> |
| 63 | + <sonar.organization>bentobox-world</sonar.organization> |
| 64 | + <sonar.host.url>https://sonarcloud.io</sonar.host.url> |
59 | 65 | </properties>
|
60 | 66 |
|
61 | 67 | <profiles>
|
|
148 | 154 | <version>${spigot.version}</version>
|
149 | 155 | <scope>provided</scope>
|
150 | 156 | </dependency>
|
| 157 | + <dependency> |
| 158 | + <groupId>org.spigotmc</groupId> |
| 159 | + <artifactId>plugin-annotations</artifactId> |
| 160 | + <version>1.2.3-SNAPSHOT</version> |
| 161 | + <scope>provided</scope> |
| 162 | + </dependency> |
151 | 163 | <dependency>
|
152 | 164 | <groupId>world.bentobox</groupId>
|
153 | 165 | <artifactId>bentobox</artifactId>
|
154 | 166 | <version>${bentobox.version}</version>
|
155 | 167 | <scope>provided</scope>
|
156 | 168 | </dependency>
|
| 169 | + <dependency> |
| 170 | + <groupId>world.bentobox</groupId> |
| 171 | + <artifactId>bank</artifactId> |
| 172 | + <version>${bank.version}</version> |
| 173 | + <scope>provided</scope> |
| 174 | + </dependency> |
157 | 175 | <dependency>
|
158 | 176 | <groupId>world.bentobox</groupId>
|
159 | 177 | <artifactId>level</artifactId>
|
|
166 | 184 | <version>${greenhouses.version}</version>
|
167 | 185 | <scope>provided</scope>
|
168 | 186 | </dependency>
|
| 187 | + <dependency> |
| 188 | + <groupId>lv.id.bonne</groupId> |
| 189 | + <artifactId>panelutils</artifactId> |
| 190 | + <version>${panelutils.version}</version> |
| 191 | + <scope>compile</scope> |
| 192 | + </dependency> |
169 | 193 | <dependency>
|
170 | 194 | <groupId>net.milkbowl.vault</groupId>
|
171 | 195 | <artifactId>VaultAPI</artifactId>
|
|
191 | 215 | <version>${powermock.version}</version>
|
192 | 216 | <scope>test</scope>
|
193 | 217 | </dependency>
|
| 218 | + <dependency> |
| 219 | + <groupId>org.jetbrains</groupId> |
| 220 | + <artifactId>annotations</artifactId> |
| 221 | + <version>22.0.0</version> |
| 222 | + <scope>provided</scope> |
| 223 | + </dependency> |
194 | 224 | </dependencies>
|
195 | 225 |
|
196 | 226 | <build>
|
|
234 | 264 | <configuration>
|
235 | 265 | <source>${java.version}</source>
|
236 | 266 | <target>${java.version}</target>
|
| 267 | + <release>${java.version}</release> |
237 | 268 | </configuration>
|
238 | 269 | </plugin>
|
239 | 270 | <plugin>
|
|
280 | 311 | <plugin>
|
281 | 312 | <groupId>org.apache.maven.plugins</groupId>
|
282 | 313 | <artifactId>maven-shade-plugin</artifactId>
|
283 |
| - <version>3.1.1</version> |
| 314 | + <version>3.3.1-SNAPSHOT</version> |
284 | 315 | <configuration>
|
285 | 316 | <minimizeJar>true</minimizeJar>
|
| 317 | + <artifactSet> |
| 318 | + <includes> |
| 319 | + <include>lv.id.bonne:panelutils:*</include> |
| 320 | + </includes> |
| 321 | + </artifactSet> |
| 322 | + <transformers> |
| 323 | + <!-- Add a transformer to exclude any other manifest files (possibly from dependencies). --> |
| 324 | + <transformer implementation="org.apache.maven.plugins.shade.resource.DontIncludeResourceTransformer"> |
| 325 | + <resource>MANIFEST.MF</resource> |
| 326 | + </transformer> |
| 327 | + <!-- Add a transformer to include your custom manifest file. --> |
| 328 | + <transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer"> |
| 329 | + <resource>META-INF/MANIFEST.MF</resource> |
| 330 | + <file>src/main/resources/META-INF/MANIFEST.MF</file> |
| 331 | + </transformer> |
| 332 | + </transformers> |
286 | 333 | </configuration>
|
287 | 334 | <executions>
|
288 | 335 | <execution>
|
|
0 commit comments