The error I'm getting in IntelliJ is Could not find artifact ... https://hub.spigotmc.org/nexus/content/repositories/snapshots/ ...
Skiptocontent
{{message}}
aikar
/
commands
Public
Notifications
Fork
119
Star
387
Code
Issues
56
Pullrequests
12
Actions
Wiki
Security
Insights
More
Code
Issues
Pullrequests
Actions
Wiki
Security
Insights
Newissue
Haveaquestionaboutthisproject?SignupforafreeGitHubaccounttoopenanissueandcontactitsmaintainersandthecommunity.
Pickausername
EmailAddress
Password
SignupforGitHub
Byclicking“SignupforGitHub”,youagreetoourtermsofserviceand
privacystatement.We’lloccasionallysendyouaccountrelatedemails.
AlreadyonGitHub?
Signin
toyouraccount
Jumptobottom
Maven:Couldnotfindartifact
#345
Open
mpschorropenedthisissue
Sep13,2021
·4comments
Open
Maven:Couldnotfindartifact
#345
mpschorropenedthisissue
Sep13,2021
·4comments
Comments
Copylink
mpschorr
commented
Sep13,2021
Hello,I'mhavinganissuewhentryingtoimportcommandsasadependency.
I'musingIntelliJIDEACommunityEdition2020.2.2
Hittingthe"ReloadAllMavenProjects"buttonintheMaventabiswhatgeneratestheerror.
TheerrorI'mgettinginIntelliJisCouldnotfindartifactco.aikar:acf-spigot:pom:0.5.0inaikar(https://repo.aikar.co/content/groups/aikar/)
andtheerrorI'mgettingwhentryingtorunmvncleanpackageisCouldnotresolvedependenciesforprojectga.jeelzzz:GenJ:jar:1.0-SNAPSHOT:Failuretofindco.aikar:acf-spigot:jar:0.5.0inhttps://repo.aikar.co/content/groups/aikar/wascachedinthelocalrepository,resolutionwillnotbereattempteduntiltheupdateintervalofaikarhaselapsedorupdatesareforced.
I'mnewtousingMaven/Java,sopleasekeepthatinmindwithyouranswers.
pom.xml:
aikar
https://repo.aikar.co/content/groups/aikar/
spigotmc-repo
https://hub.spigotmc.org/nexus/content/repositories/snapshots/
sonatype
https://oss.sonatype.org/content/groups/public/
co.aikar
acf-spigot
0.5.0
org.spigotmc
spigot-api
1.17.1-R0.1-SNAPSHOT
provided
ga.jeelzzz
MarbleLib
1.0-SNAPSHOT
Thetextwasupdatedsuccessfully,buttheseerrorswereencountered:
Allreactions
Copylink
Collaborator
chickeneer
commented
Sep13,2021
https://github.com/aikar/commands/blob/master/docs/README.md#:~:text=bukkit%3A%20acf-bukkit%20(for%20targetting%20bukkit%2Fspigot)
Youneedtouseacf-bukkit.Thatdoeslooklikea"bug"inthatbukkitapiisnolongeravalidapitarget.Buttherealsoisn'tanyspigotapiwhichbenefitsACF-sothedistinctionreallyisnotnecessaryatthispoint.
Leavingopen,asitispossibleweshouldrevisitthenamingofthatmodule.Butitmakesnofunctionaldifference.
Allreactions
Sorry,somethingwentwrong.
Copylink
Author
mpschorr
commented
Sep13,2021
Thatmakessensethatitwouldbeanamingissue,howeverI'mstillhavingtheissue.AllI'vechangedistheartifactIdinthedependency.
GettingCouldnotfindartifactco.aikar:acf-bukkit:pom:0.5.0inaikar(https://repo.aikar.co/content/groups/aikar/)inIntelliJ
andCouldnotresolvedependenciesforprojectga.jeelzzz:GenJ:jar:1.0-SNAPSHOT:Failuretofindco.aikar:acf-bukkit:jar:0.5.0inhttps://repo.aikar.co/content/groups/aikar/wascachedinthelocalrepository,resolutionwillnotbereattempteduntiltheupdateintervalofaikarhaselapsedorupdatesareforcedwithmvncleanpackage.Thankyouforyourearlierresponse!
Allreactions
Sorry,somethingwentwrong.
Copylink
Collaborator
chickeneer
commented
Sep13,2021
Haveyoutriedusing0.5.0-SNAPSHOT?
Allreactions
Sorry,somethingwentwrong.
Copylink
Author
mpschorr
commented
Sep13,2021
Thatworked,thankyou!Iwaslookingthroughtherepofilesandsawthattherewasn'ta0.5.0-SNAPSHOTone,andforgottochangetheversionwhenIchangedtheartifactId.
Allreactions
Sorry,somethingwentwrong.
Signupforfree
tojointhisconversationonGitHub.
Alreadyhaveanaccount?
Signintocomment
Assignees
Nooneassigned
Labels
Noneyet
Projects
Noneyet
Milestone
Nomilestone
Development
Nobranchesorpullrequests
2participants
Youcan’tperformthatactionatthistime.
Yousignedinwithanothertaborwindow.Reloadtorefreshyoursession.
Yousignedoutinanothertaborwindow.Reloadtorefreshyoursession.