Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[❓]: moonlight-1.20-2.13.25.pom--Maven warehouse no longer exists---404 #1289

Open
wenwen456wenwen opened this issue Dec 23, 2024 · 17 comments
Labels
question Further information is requested

Comments

@wenwen456wenwen
Copy link

Your Question

moonlight-1.20-2.13.25.pom--Maven warehouse no longer exists---404

Detail

moonlight-1.20-2.13.25.pom--Maven warehouse no longer exists---404

@wenwen456wenwen wenwen456wenwen added the question Further information is requested label Dec 23, 2024
@MehVahdJukaar
Copy link
Owner

Huh?

@MehVahdJukaar
Copy link
Owner

What's a Maven warehouse?
If you mean my own maven for this mod why are you saying no longer exist? Because that implies there was something before and I never had one

@MehVahdJukaar
Copy link
Owner

Don't need to, can just grab it from curseforge maven

@wenwen456wenwen
Copy link
Author

I want to download the author's project to learn, but it always fails to build

@wenwen456wenwen
Copy link
Author

It seems that the Maven warehouse no longer exists

@Xelbayria
Copy link
Collaborator

I noticed you are trying to import v2.13.25 of Moonlight Lib, that's quite an older version

@wenwen456wenwen
Copy link
Author

What should I do to successfully build the 1.20 project

@MehVahdJukaar
Copy link
Owner

Replace the import lines with stuff from curse maven

@wenwen456wenwen
Copy link
Author

I changed it to version 1.20-2.13.41, but it still doesn't work

@wenwen456wenwen
Copy link
Author

Can you explain in detail? I'm not very familiar with this aspect

@Xelbayria
Copy link
Collaborator

Xelbayria commented Dec 23, 2024

Have you change it to use Curseforge maven, if not then Go Moonlight Lib's page. Scroll down. where you'll see Curse Maven Snippet
expand it and you'll see the code.

if your building failed. you can use https://mclo.gs/ to share the errors. or take a image

@wenwen456wenwen
Copy link
Author

A problem occurred configuring project ':common'.

Could not resolve all files for configuration ':common:modImplementation'.
Could not download Shimmer-common-1.19.2-0.1.14.jar (com.lowdragmc.shimmer:Shimmer-common:1.19.2-0.1.14)
Could not get resource 'https://maven.firstdarkdev.xyz/snapshots/com/lowdragmc/shimmer/Shimmer-common/1.19.2-0.1.14/Shimmer-common-1.19.2-0.1.14.jar'.
Could not GET 'https://maven.firstdarkdev.xyz/snapshots/com/lowdragmc/shimmer/Shimmer-common/1.19.2-0.1.14/Shimmer-common-1.19.2-0.1.14.jar'.

@wenwen456wenwen
Copy link
Author

Is it my network problem?

@wenwen456wenwen
Copy link
Author

A problem occurred configuring project ':common'.

Could not resolve all files for configuration ':common:modImplementation'.
Could not find selene-common-499980-5854670.jar (curse.maven:selene-common:499980).
Even if I switch to Curse, there are still issues😭

@Xelbayria
Copy link
Collaborator

Xelbayria commented Dec 24, 2024

it's not your network. if your build.gradle (at the root of the project) is missing below:

        maven {
            url = "https://www.cursemaven.com"
            allowInsecureProtocol = true
        }

        maven { url = "https://api.modrinth.com/maven" }

add it. so it will find the required mods to import

and also there is no common. just use fabric instead of common

@wenwen456wenwen
Copy link
Author

After adding it according to your method, there is still an error message. When I opened the website, it displayed on my browser: Unable to find classifier 5854670 as it was not defined.

@Xelbayria
Copy link
Collaborator

Xelbayria commented Dec 24, 2024

i said there is no common for selene. just use FORGE for "FORGE" and FABRIC for "FABRIC" & "COMMON".

Have you change it to use Curseforge maven, if not then Go Moonlight Lib's page. Scroll down. where you'll see Curse Maven Snippet
expand it and you'll see the code.

if you use the code from ☝🏻

it has to be like this: modImplementation("curse.maven:selene-499980:6009558") the last number is the ID of the file for FABRIC-1.20.1


EDIT:
if you uploaded your project to github, then you should share the link so a DEV can take a look at your build.gradle. OR u can use https://sourceb.in/ to share the build.gradle for FORGE|FABRIC|COMMON

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants