CoreProtect

CoreProtect

1M Downloads

Setting branch name in build.gradle or pom.xml does not help.

TrucluByu-mal4ik opened this issue ยท 7 comments

commented

[01:39:52 INFO]: [CoreProtect] Invalid plugin version (branch has not been set).
[01:39:52 INFO]: [CoreProtect] To continue, set project branch to "development".
[01:39:52 INFO]: [CoreProtect] Running development code may result in data corruption.
[01:39:52 INFO]: [CoreProtect] CoreProtect Community Edition was unable to start.
[01:39:52 INFO]: [CoreProtect] Disabling CoreProtect v22.4
[01:39:52 INFO]: [CoreProtect] Finishing up data logging. Please wait...
[01:39:52 INFO]: [CoreProtect] Success! Disabled CoreProtect v22.4

build.gradle
group = 'net.coreprotect'
String projectVersion = '22.4'
String projectBranch = 'development'
version = projectVersion // version might be modified, we don't always want that (e.g. plugin.yml)
description = 'Provides block protection for your server.'
sourceCompatibility = '21'

pom.xml

4.0.0
net.coreprotect
CoreProtect
22.4

<project.branch>development</project.branch>

commented

Still this issue
[02:03:29 INFO]: [CoreProtect] Invalid plugin version (branch has not been set).
[02:03:29 INFO]: [CoreProtect] To continue, set project branch to "development".
[02:03:29 INFO]: [CoreProtect] Running development code may result in data corruption.
[02:03:29 INFO]: [CoreProtect] CoreProtect Community Edition was unable to start.
[02:03:29 INFO]: [CoreProtect] Disabling CoreProtect v22.4
[02:03:29 INFO]: [CoreProtect] Finishing up data logging. Please wait...
[02:03:29 INFO]: [CoreProtect] Success! Disabled CoreProtect v22.4

commented

Are you building with maven or Gradle?

commented

Gradle

commented

image

commented

Try maven. Make sure you set the version and branch

commented

Try setting the version in both build.gradle and Pom.xml to 23.1

commented

Nothing changed.
image
image
image