|
47 | 47 | <powermock.version>1.7.4</powermock.version> |
48 | 48 | <!-- More visible way how to change dependency versions --> |
49 | 49 | <spigot.version>1.13.2-R0.1-SNAPSHOT</spigot.version> |
50 | | - <bentobox.version>1.4.0</bentobox.version> |
51 | | - <level.version>1.3.0</level.version> |
| 50 | + <bentobox.version>1.5.0</bentobox.version> |
| 51 | + <level.version>1.4.0</level.version> |
52 | 52 | <vault.version>1.7</vault.version> |
53 | 53 | <anvilgui.version>1.2.1-SNAPSHOT</anvilgui.version> |
54 | 54 | <!-- Revision variable removes warning about dynamic version --> |
55 | 55 | <revision>${build.version}-SNAPSHOT</revision> |
56 | 56 | <!-- This allows to change between versions and snapshots. --> |
57 | | - <build.version>0.4.5</build.version> |
| 57 | + <build.version>1.5.0.0</build.version> |
58 | 58 | <build.number>-LOCAL</build.number> |
59 | 59 | </properties> |
60 | 60 |
|
|
70 | 70 | </activation> |
71 | 71 | <properties> |
72 | 72 | <!-- Override only if necessary --> |
73 | | - <build.number>-#${env.BUILD_NUMBER}</build.number> |
| 73 | + <build.number>-b${env.BUILD_NUMBER}</build.number> |
74 | 74 | <!-- GIT_BRANCH --> |
75 | 75 | </properties> |
76 | 76 | </profile> |
|
126 | 126 | <version>${bentobox.version}</version> |
127 | 127 | <scope>provided</scope> |
128 | 128 | </dependency> |
| 129 | + <dependency> |
| 130 | + <groupId>world.bentobox</groupId> |
| 131 | + <artifactId>level</artifactId> |
| 132 | + <version>${level.version}</version> |
| 133 | + <scope>provided</scope> |
| 134 | + </dependency> |
129 | 135 | <dependency> |
130 | 136 | <groupId>net.wesjd</groupId> |
131 | 137 | <artifactId>anvilgui</artifactId> |
|
140 | 146 | </dependencies> |
141 | 147 |
|
142 | 148 | <build> |
| 149 | + <!-- By default ${revision} is ${build.version}-SNAPSHOT --> |
| 150 | + <!-- If GIT_BRANCH variable is set to origin/master, then it will be only ${build.version}. --> |
| 151 | + |
| 152 | + <!-- By default ${build.number} is -LOCAL. --> |
| 153 | + <!-- If the BUILD_NUMBER variable is set, then it will be -b[number]. --> |
| 154 | + <!-- If GIT_BRANCH variable is set to origin/master, then it will be the empty string. --> |
| 155 | + <finalName>${project.name}-${revision}${build.number}</finalName> |
| 156 | + |
143 | 157 | <defaultGoal>clean package</defaultGoal> |
144 | 158 | <resources> |
145 | 159 | <resource> |
|
0 commit comments