|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
3 | | - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
4 | | - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 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 | 7 | <groupId>world.bentobox</groupId> |
|
14 | 14 |
|
15 | 15 | <inceptionYear>2019</inceptionYear> |
16 | 16 |
|
17 | | - <!-- SCM is a GitHub link to your project --> |
18 | | - <!-- Can be removed --> |
| 17 | + <!-- SCM is a GitHub link to your project --> |
| 18 | + <!-- Can be removed --> |
19 | 19 | <scm> |
20 | 20 | <connection>scm:git:https://github.com/BentoBoxWorld/ControlPanel.git</connection> |
21 | 21 | <developerConnection>scm:git:git@github.com:BentoBoxWorld/ControlPanel.git</developerConnection> |
22 | 22 | <url>https://github.com/BentoBoxWorld/ControlPanel</url> |
23 | 23 | </scm> |
24 | 24 |
|
25 | | - <!-- ciManagement is a build server that runs builds for your project --> |
26 | | - <!-- Can be removed --> |
| 25 | + <!-- ciManagement is a build server that runs builds for your project --> |
| 26 | + <!-- Can be removed --> |
27 | 27 | <ciManagement> |
28 | 28 | <system>jenkins</system> |
29 | 29 | <url>http://ci.codemc.org/job/BentoBoxWorld/job/ControlPanel</url> |
30 | 30 | </ciManagement> |
31 | 31 |
|
32 | | - <!-- issueManagement is a link to issues page. --> |
33 | | - <!-- Can be removed --> |
| 32 | + <!-- issueManagement is a link to issues page. --> |
| 33 | + <!-- Can be removed --> |
34 | 34 | <issueManagement> |
35 | 35 | <system>GitHub</system> |
36 | 36 | <url>https://github.com/BentoBoxWorld/ControlPanel/issues</url> |
37 | 37 | </issueManagement> |
38 | 38 |
|
39 | | - <!-- distributionManagement contains public maven repositories for your addon --> |
40 | | - <!-- Can be removed --> |
| 39 | + <!-- distributionManagement contains public maven repositories for your |
| 40 | + addon --> |
| 41 | + <!-- Can be removed --> |
41 | 42 | <distributionManagement> |
42 | 43 | <snapshotRepository> |
43 | 44 | <id>codemc-snapshots</id> |
|
49 | 50 | </repository> |
50 | 51 | </distributionManagement> |
51 | 52 |
|
52 | | - <!-- Properties contains all variables that can offten change, f.e. BentoBox API version --> |
| 53 | + <!-- Properties contains all variables that can offten change, f.e. BentoBox |
| 54 | + API version --> |
53 | 55 | <properties> |
54 | | - <!-- Some JAVA encoding settings --> |
| 56 | + <!-- Some JAVA encoding settings --> |
55 | 57 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
56 | 58 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
57 | 59 | <java.version>1.8</java.version> |
58 | 60 |
|
59 | 61 | <!-- SPIGOT API version --> |
60 | | - <spigot.version>1.14.4-R0.1-SNAPSHOT</spigot.version> |
| 62 | + <spigot.version>1.15.2-R0.1-SNAPSHOT</spigot.version> |
61 | 63 |
|
62 | 64 | <!-- BentoBox API version --> |
63 | | - <bentobox.version>1.7.0</bentobox.version> |
| 65 | + <bentobox.version>1.14.0</bentobox.version> |
64 | 66 |
|
65 | 67 | <!-- Revision variable removes warning about dynamic version --> |
66 | 68 | <revision>${build.version}-SNAPSHOT</revision> |
67 | 69 | <!-- This allows to change between versions and snapshots. --> |
68 | | - <build.version>1.7.0</build.version> |
| 70 | + <build.version>1.13.0</build.version> |
69 | 71 | <build.number>-LOCAL</build.number> |
| 72 | + <!-- Sonar Cloud --> |
| 73 | + <sonar.projectKey>BentoBoxWorld_ControlPanel</sonar.projectKey> |
| 74 | + <sonar.organization>bentobox-world</sonar.organization> |
| 75 | + <sonar.host.url>https://sonarcloud.io</sonar.host.url> |
70 | 76 | </properties> |
71 | 77 |
|
72 | 78 | <profiles> |
|
79 | 85 | </activation> |
80 | 86 | <properties> |
81 | 87 | <!-- Override only if necessary --> |
82 | | - <build.number>-#${env.BUILD_NUMBER}</build.number> |
| 88 | + <build.number>-b${env.BUILD_NUMBER}</build.number> |
83 | 89 | <!-- GIT_BRANCH --> |
84 | 90 | </properties> |
85 | 91 | </profile> |
|
94 | 100 | <properties> |
95 | 101 | <!-- Override only if necessary --> |
96 | 102 | <revision>${build.version}</revision> |
97 | | - <!-- Empties build number variable.--> |
| 103 | + <!-- Empties build number variable. --> |
98 | 104 | <build.number></build.number> |
99 | 105 | </properties> |
100 | 106 | </profile> |
101 | 107 | </profiles> |
102 | 108 |
|
103 | | - <!-- Repositories contains links from were dependencies will be searched --> |
| 109 | + <!-- Repositories contains links from were dependencies will be searched --> |
104 | 110 | <repositories> |
105 | 111 | <repository> |
106 | 112 | <id>spigot-repo</id> |
|
120 | 126 | </repository> |
121 | 127 | </repositories> |
122 | 128 |
|
123 | | - <!-- Your addon must contain Spigot and BentoBox APIs dependencies. --> |
| 129 | + <!-- Your addon must contain Spigot and BentoBox APIs dependencies. --> |
124 | 130 | <dependencies> |
125 | 131 | <dependency> |
126 | 132 | <groupId>org.spigotmc</groupId> |
|
135 | 141 | <version>${bentobox.version}</version> |
136 | 142 | <scope>provided</scope> |
137 | 143 | </dependency> |
| 144 | + |
| 145 | + <dependency> |
| 146 | + <groupId>org.jetbrains</groupId> |
| 147 | + <artifactId>annotations</artifactId> |
| 148 | + <version>18.0.0</version> |
| 149 | + </dependency> |
138 | 150 | </dependencies> |
139 | 151 |
|
140 | | - <!-- Build contains information for maven. It allows to create correct jar file. --> |
| 152 | + <!-- Build contains information for maven. It allows to create correct |
| 153 | + jar file. --> |
141 | 154 | <build> |
142 | 155 | <finalName>${project.name}-${revision}${build.number}</finalName> |
143 | 156 |
|
|
0 commit comments