BenCodez / VotifierPlus

Fork of votifier
14 stars 5 forks source link

I can't add your plugin as a dependency #36

Closed FrinshHD closed 1 year ago

FrinshHD commented 1 year ago

This is the error message from maven:

com.github.Ben12345rocks:AdvancedCore:pom:master-SNAPSHOT was not found in https://oss.sonatype.org/content/groups/public/ during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of sonatype has elapsed or updates are forced
com.github.Ben12345rocks:AdvancedCore:pom:master-SNAPSHOT was not found in https://oss.sonatype.org/content/groups/public/ during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of sonatype has elapsed or updates are forced 

I think the error is in your core!

BenCodez commented 1 year ago
<repository>
    <id>BenCodez Repo</id>
    <url>https://nexus.bencodez.com/repository/maven-public/</url>
</repository>

<dependency>
    <groupId>com.bencodez</groupId>
    <artifactId>votifierplus</artifactId>
    <version>LATEST</version>
    <scope>provided</scope>
</dependency>

This work?

FrinshHD commented 1 year ago
Could not find artifact com.bencodez:votifierplus:pom:1.0.7 in sonatype (https://oss.sonatype.org/content/groups/public/)
Could not find artifact com.bencodez:votifierplus:pom:1.0.7 in sonatype (https://oss.sonatype.org/content/groups/public/)

Then this error message comes

BenCodez commented 1 year ago

Did you add the repository correctly?

FrinshHD commented 1 year ago

Yes i added the dependeny and the repository, i copied it and pasted it

BenCodez commented 1 year ago

Send what you have done

FrinshHD commented 1 year ago
com.bencodez votifierplus LATEST provided
    and

            <repository>
        <id>BenCodez Repo</id>
        <url>https://nexus.bencodez.com/repository/maven-public/</url>
    </repository>
BenCodez commented 1 year ago

send the full file

BenCodez commented 1 year ago

try using 1.0.7 as the version maybe? That should be working

FrinshHD commented 1 year ago

wont work Unresolved dependency: 'com.bencodez:votifierplus:jar:1.0.7'

BenCodez commented 1 year ago

I got no idea, you can always use nuvotifier as a dependency

BenCodez commented 1 year ago

try now?

FrinshHD commented 1 year ago

nop

BenCodez commented 1 year ago

does votingplugin work as dependency?

FrinshHD commented 1 year ago

how do you mean that?

BenCodez commented 1 year ago
<repository>
    <id>BenCodez Repo</id>
    <url>https://nexus.bencodez.com/repository/maven-public/</url>
</repository>

<dependency>
    <groupId>com.bencodez</groupId>
    <artifactId>votingplugin</artifactId>
    <version>LATEST</version>
    <scope>provided</scope>
</dependency>

does this work?

FrinshHD commented 1 year ago

yes, this works

BenCodez commented 1 year ago

Yeah I got no idea why it doesn't work then. You can use nuvotifier or something instead if you need

FrinshHD commented 1 year ago

but the api is completely different...

FrinshHD commented 1 year ago

Yeah I got no idea why it doesn't work then. You can use nuvotifier or something instead if you need

i need it for my own plugin

BenCodez commented 1 year ago

What API are you using?

FrinshHD commented 1 year ago

yours

BenCodez commented 1 year ago

But what API exactly that nuvotifier doesn't have?

FrinshHD commented 1 year ago

The votifier event

BenCodez commented 1 year ago

It doesn't matter which plugin you rely on for the votifier event

FrinshHD commented 1 year ago

but i should use the VotifierEvent when using Bungeecord?

BenCodez commented 1 year ago

Just use nuvotifier, it's the same votifierevent

FrinshHD commented 1 year ago

okay