Open jacklollz2 opened 1 year ago
The version of wolfyutils is like that because of how I use it locally. I might change that in the future to make it easier to compile.
Is that the repo specified in the pom.xml is targeting the public or private wolfyscript repo?
If it is still the private one, you need to update to the latest master, or change private
to public
.
The version of wolfyutils is like that because of how I use it locally. I might change that in the future to make it easier to compile.
Is that the repo specified in the pom.xml is targeting the public or private wolfyscript repo? If it is still the private one, you need to update to the latest master, or change
private
topublic
.
I just went to the github repo and directly downloaded the zip. I didn't set anything to private or public, and these are problems you need to fix, not me.
Well, the latest commit fixed the private repo issue, and it should compile together with the wolfyutils version change in the pom.xml.
No changes I can see. Last file updated 6 hours ago. I already have this build. Just re-downloaded it, imported the repository, and got an error about invalid version for wolfyutils. Changed it to 4.16.12-beta.1, got the 113 errors again. No private entries.
Hmm, I really don't know why it fails. I just now tested it on my laptop, that doesn't have any of these dependencies already fetched, and it worked just fine.
Though I never tested it on Windows nor in eclipse, so that might be causing the invalid build path?
In IntelliJ, I usually have to reload the maven project after the version change. Not sure how eclipse handles that.
I also got people on my discord that got it to compile with just the wolfyutils version edit, but I don't know if one of them is using windows or eclipse.
It could be an Eclipse problem, I'll try IntelliJ.
113 errors are gone, seems to be an Eclipse problem.
However, a new error has risen:
Could not find artifact com.wolfyscript:jackson-dataformat-hocon:pom:2.1-SNAPSHOT in wolfyscript-public (https://maven.wolfyscript.com/repository/public/)
authentication failed for https://maven.wolfyscript.com/repository/private/com/wolfyscript/jackson-dataformat-hocon/2.1-SNAPSHOT/jackson-dataformat-hocon-2.1-SNAPSHOT.pom, status: 401 Unauthorized
Yep, kinda forgot about that one. Thought it would be provided by wolfyutils.
But you should just need to clone it, run mvn install
and that's it.
https://github.com/WolfyScript/jackson-dataformat-hocon
Thank you for providing me instructions on how to fix it, however I would prefer not needing to do hacks to get it to work.
After attempting to compile it, there's 111 unresolved dependencies errors.
Unresolved dependency: 'com.wolfyscript.wolfyutils.spigot:wolfyutils-spigot:jar:4.16.12-beta.1'
Unresolved dependency: 'io.papermc.paper:paper-api:jar:1.20.1-R0.1-SNAPSHOT'
Unresolved dependency: 'com.mojang:authlib:jar:3.11.50'
Unresolved dependency: 'org.jetbrains:annotations:jar:23.0.0'
Unresolved dependency: 'io.netty:netty-all:jar:4.1.86.Final'
Unresolved dependency: 'com.comphenix.protocol:ProtocolLib:jar:5.0.0-SNAPSHOT'
Unresolved dependency: 'me.clip:placeholderapi:jar:2.10.4'
Unresolved dependency: 'io.lumine.xikage:mythicmobs:jar:4.10.1'
Unresolved dependency: 'org.bstats:bstats-bukkit:jar:3.0.0'
Unresolved dependency: 'com.github.oraxen:oraxen:jar:1.156.0'
Unresolved dependency: 'com.wolfyscript.wolfyutils:wolfyutilities:jar:4.16.1-SNAPSHOT'
Unresolved dependency: 'com.wolfyscript.wolfyutils.spigot:core:jar:4.16.12-beta.1'
Unresolved dependency: 'com.wolfyscript.wolfyutils.spigot:plugin-compatibility-artifact:jar:4.16.12-beta.1'
Unresolved dependency: 'com.wolfyscript.wolfyutils.spigot:nmsutil-artifact:jar:4.16.12-beta.1'
Unresolved dependency: 'org.reflections:reflections:jar:0.10.2'
Unresolved dependency: 'org.javassist:javassist:jar:3.29.1-GA'
Unresolved dependency: 'com.fasterxml.jackson.core:jackson-databind:jar:2.14.0-rc1'
Unresolved dependency: 'net.kyori:adventure-api:jar:4.14.0'
Unresolved dependency: 'net.kyori:adventure-platform-bukkit:jar:4.3.0'
Unresolved dependency: 'net.kyori:adventure-text-minimessage:jar:4.14.0'
Unresolved dependency: 'de.tr7zw:item-nbt-api:jar:2.11.3'
Unresolved dependency: 'de.tr7zw:nbt-data-api:jar:2.11.3'
Unresolved dependency: 'com.google.inject:guice:jar:5.1.0'
Unresolved dependency: 'com.google.guava:guava:jar:31.1-jre'
Unresolved dependency: 'com.google.code.gson:gson:jar:2.10'
Unresolved dependency: 'net.md-5:bungeecord-chat:jar:1.16-R0.4-deprecated+build.9'
Unresolved dependency: 'org.yaml:snakeyaml:jar:2.0'
Unresolved dependency: 'org.joml:joml:jar:1.10.5'
Unresolved dependency: 'com.googlecode.json-simple:json-simple:jar:1.1.1'
Unresolved dependency: 'it.unimi.dsi:fastutil:jar:8.5.6'
Unresolved dependency: 'org.apache.logging.log4j:log4j-api:jar:2.17.1'
Unresolved dependency: 'org.slf4j:slf4j-api:jar:1.8.0-beta4'
Unresolved dependency: 'org.apache.maven:maven-resolver-provider:jar:3.8.5'
Unresolved dependency: 'net.kyori:adventure-text-serializer-gson:jar:4.14.0'
Unresolved dependency: 'net.kyori:adventure-text-serializer-legacy:jar:4.14.0'
Unresolved dependency: 'net.kyori:adventure-text-serializer-plain:jar:4.14.0'
Unresolved dependency: 'net.kyori:adventure-text-logger-slf4j:jar:4.14.0'
Unresolved dependency: 'org.checkerframework:checker-qual:jar:3.21.0'
Unresolved dependency: 'org.ow2.asm:asm:jar:9.4'
Unresolved dependency: 'org.ow2.asm:asm-commons:jar:9.4'
Unresolved dependency: 'com.google.code.findbugs:jsr305:jar:3.0.2'
Unresolved dependency: 'commons-io:commons-io:jar:2.11.0'
Unresolved dependency: 'org.apache.commons:commons-lang3:jar:3.12.0'
Unresolved dependency: 'io.netty:netty-buffer:jar:4.1.86.Final'
Unresolved dependency: 'io.netty:netty-codec:jar:4.1.86.Final'
Unresolved dependency: 'io.netty:netty-codec-dns:jar:4.1.86.Final'
Unresolved dependency: 'io.netty:netty-codec-haproxy:jar:4.1.86.Final'
Unresolved dependency: 'io.netty:netty-codec-http:jar:4.1.86.Final'
Unresolved dependency: 'io.netty:netty-codec-http2:jar:4.1.86.Final'
Unresolved dependency: 'io.netty:netty-codec-memcache:jar:4.1.86.Final'
Unresolved dependency: 'io.netty:netty-codec-mqtt:jar:4.1.86.Final'
Unresolved dependency: 'io.netty:netty-codec-redis:jar:4.1.86.Final'
Unresolved dependency: 'io.netty:netty-codec-smtp:jar:4.1.86.Final'
Unresolved dependency: 'io.netty:netty-codec-socks:jar:4.1.86.Final'
Unresolved dependency: 'io.netty:netty-codec-stomp:jar:4.1.86.Final'
Unresolved dependency: 'io.netty:netty-codec-xml:jar:4.1.86.Final'
Unresolved dependency: 'io.netty:netty-common:jar:4.1.86.Final'
Unresolved dependency: 'io.netty:netty-handler:jar:4.1.86.Final'
Unresolved dependency: 'io.netty:netty-transport-native-unix-common:jar:4.1.86.Final'
Unresolved dependency: 'io.netty:netty-handler-proxy:jar:4.1.86.Final'
Unresolved dependency: 'io.netty:netty-handler-ssl-ocsp:jar:4.1.86.Final'
Unresolved dependency: 'io.netty:netty-resolver:jar:4.1.86.Final'
Unresolved dependency: 'io.netty:netty-resolver-dns:jar:4.1.86.Final'
Unresolved dependency: 'io.netty:netty-transport:jar:4.1.86.Final'
Unresolved dependency: 'io.netty:netty-transport-rxtx:jar:4.1.86.Final'
Unresolved dependency: 'io.netty:netty-transport-sctp:jar:4.1.86.Final'
Unresolved dependency: 'io.netty:netty-transport-udt:jar:4.1.86.Final'
Unresolved dependency: 'io.netty:netty-transport-classes-epoll:jar:4.1.86.Final'
Unresolved dependency: 'io.netty:netty-transport-classes-kqueue:jar:4.1.86.Final'
Unresolved dependency: 'io.netty:netty-resolver-dns-classes-macos:jar:4.1.86.Final'
Unresolved dependency: 'io.netty:netty-transport-native-epoll:jar:4.1.86.Final'
Unresolved dependency: 'io.netty:netty-transport-native-epoll:jar:4.1.86.Final'
Unresolved dependency: 'io.netty:netty-transport-native-kqueue:jar:4.1.86.Final'
Unresolved dependency: 'io.netty:netty-transport-native-kqueue:jar:4.1.86.Final'
Unresolved dependency: 'io.netty:netty-resolver-dns-native-macos:jar:4.1.86.Final'
Unresolved dependency: 'io.netty:netty-resolver-dns-native-macos:jar:4.1.86.Final'
Unresolved dependency: 'net.bytebuddy:byte-buddy:jar:1.14.3'
Unresolved dependency: 'org.bstats:bstats-base:jar:3.0.0'
Unresolved dependency: 'com.wolfyscript:jackson-dataformat-hocon:jar:2.1-SNAPSHOT'
Unresolved dependency: 'com.fasterxml.jackson.core:jackson-annotations:jar:2.14.0-rc1'
Unresolved dependency: 'com.fasterxml.jackson.core:jackson-core:jar:2.14.0-rc1'
Unresolved dependency: 'net.kyori:adventure-key:jar:4.14.0'
Unresolved dependency: 'net.kyori:examination-api:jar:1.3.0'
Unresolved dependency: 'net.kyori:examination-string:jar:1.3.0'
Unresolved dependency: 'net.kyori:adventure-platform-api:jar:4.3.0'
Unresolved dependency: 'net.kyori:adventure-text-serializer-bungeecord:jar:4.3.0'
Unresolved dependency: 'net.kyori:adventure-nbt:jar:4.13.0'
Unresolved dependency: 'net.kyori:adventure-text-serializer-gson-legacy-impl:jar:4.13.0'
Unresolved dependency: 'net.kyori:adventure-platform-facet:jar:4.3.0'
Unresolved dependency: 'net.kyori:adventure-platform-viaversion:jar:4.3.0'
Unresolved dependency: 'de.tr7zw:functional-annotations:jar:0.1-SNAPSHOT'
Unresolved dependency: 'javax.inject:javax.inject:jar:1'
Unresolved dependency: 'aopalliance:aopalliance:jar:1.0'
Unresolved dependency: 'com.google.guava:failureaccess:jar:1.0.1'
Unresolved dependency: 'com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava'
Unresolved dependency: 'com.google.errorprone:error_prone_annotations:jar:2.11.0'
Unresolved dependency: 'com.google.j2objc:j2objc-annotations:jar:1.3'
Unresolved dependency: 'org.apache.maven:maven-model:jar:3.8.5'
Unresolved dependency: 'org.apache.maven:maven-model-builder:jar:3.8.5'
Unresolved dependency: 'org.apache.maven:maven-repository-metadata:jar:3.8.5'
Unresolved dependency: 'org.apache.maven.resolver:maven-resolver-api:jar:1.6.3'
Unresolved dependency: 'org.apache.maven.resolver:maven-resolver-spi:jar:1.6.3'
Unresolved dependency: 'org.apache.maven.resolver:maven-resolver-util:jar:1.6.3'
Unresolved dependency: 'org.apache.maven.resolver:maven-resolver-impl:jar:1.6.3'
Unresolved dependency: 'org.codehaus.plexus:plexus-utils:jar:3.3.0'
Unresolved dependency: 'net.kyori:adventure-text-serializer-json:jar:4.14.0'
Unresolved dependency: 'org.ow2.asm:asm-tree:jar:9.4'
Unresolved dependency: 'org.codehaus.plexus:plexus-interpolation:jar:1.26'
Unresolved dependency: 'org.apache.maven:maven-artifact:jar:3.8.5'
Unresolved dependency: 'org.apache.maven:maven-builder-support:jar:3.8.5'
Unresolved dependency: 'org.eclipse.sisu:org.eclipse.sisu.inject:jar:0.3.5'
That really aren't 'hacks' it's just one extra dependency you need to build.
On Linux, the build procedure is just a few commands:
git clone https://github.com/WolfyScript/jackson-dataformat-hocon.git
cd jackson-dataformat-hocon
mvn install
cd ..
git clone https://github.com/WolfyScript/CustomCrafting.git
cd CustomCrafting
vim pom.xml # Edit the wolfyutils version
mvn install
That is all I did. No need for an IDE or anything. I just tested it on my laptop again, deleted the entire local repo, so no dependency is available, made sure there is no private repo in use, and ran the commands above.
Unfortunately, I cannot test it on Windows and so cannot help you there.
Will you fix the problem so I don't have to manually build it?
I am not sure what issue you mean, as there is none related to building it.
The update is available for free now on Modrinth, so you no longer have to build it.
No, as in, fixing the need to build Jackson data format.
What happened?
I imported this Maven project into Eclipse, and it's broken. The pom.xml supplies an invalid WolfyUtils version, when corrected to 4.16.12-beta.1 instead of 4.16.12-SNAPSHOT I get 113 errors for missing artifacts. Am I doing something wrong, or is this just impossible to compile from source?
How can the bug be reproduced?
Eclipse > Import > Existing Maven Projects > CustomCrafting-master
Expected Behaviour?
No errors and a full compilation.
Plugin version
v4.16.8-beta.3
Server software
Eclipse, OpenJDK 64-Bit Server VM Temurin-20.0.1+9 (build 20.0.1+9, mixed mode, sharing)
Relevant log output
Submit issue