Cube-Nation Nexus
blablubbabcDEV opened this issue · 8 comments
Migrated from: https://dev.bukkit.org/projects/shopkeepers/issues/519
Originally posted by dirtyequi (Mar 14, 2017):
Hi,
Â
Cube-Nation updated it's Nexus to version 3 - so the URL slightly changed to: http://nexus3.cube-nation.de/. The repository paths changed as well.
You may want to use the "maven-public" group-repository where all (hosted and proxy) maven2 repositories are grouped together (snapshot and releases):
http://nexus3.cube-nation.de/repository/maven-public/
Â
Please note, that we did not migrate old packages from Nexus 2 to Nexus 3. Nexus 2 will be shutdown in about 4 weeks.
Â
Â
When it comes to Nexus 2 shutdown, Shopkeeper packages won't be available anymore. We also can create a designated deployment user for you where you can deploy your packages to the new Nexus. Please let us know asap.
Originally commented by blablubbabc (Mar 18, 2017):
Hey, nisovin set this up with you guys in the past, so I am currently trying to figure out what I need to update regarding those changes.
Â
I can see that your repository is referenced in shopkeeper here: https://github.com/nisovin/Shopkeepers/blob/master/pom.xml#L41
So I will update this to 'http://nexus3.cube-nation.de/repository/maven-public/' soon.
Â
Though the new repository seems to miss some of shopkeeper's dependencies currently: towny (0.84.0) and citizens (2.0.16-SNAPSHOT)
Maybe you could add those to the new repository?
Â
And as far as I can tell from the current readme file in the repository, you guys were hosting shopkeeper (dev) builds in the past here: http://ci.cube-nation.de/job/Shopkeepers/
Â
This link seems to be dead now, is there any alternative to it available?
Originally commented by dirtyequi (Mar 19, 2017):
Hi,
Â
We replaced the Jenkins server (ci.cube-nation.de) with bitbucket pipelines which automatically deploys it into our Nexus. Maybe you want to switch to Bitbucket, too? Pipelines is the new shit ;) (at zero costs). If not, you can deploy your builds manually from your PC (with mvn deploy).
Â
In both cases you need login credentials for our Nexus - I just sent you a PN with the deployment credentials.
For correct repository and deployment setup, make sure you have the following in your pom.xml:
Â
Spoiler (click to show)
de.cube-nation.nexus.public
http://nexus3.cube-nation.de/repository/maven-public/
de.cube-nation.nexus.release
http://nexus3.cube-nation.de/repository/releases
de.cube-nation.nexus.snapshot
http://nexus3.cube-nation.de/repository/snapshots
Â
Regarding the missing dependencies: I will try to find repositories for Towny and Citizens and add them to the maven-publicgroup-repository. Hopefully I can find some matching repositories...
Edited Mar 19, 2017
Originally commented by dirtyequi (Mar 19, 2017):
Okay, I give up formatting the xml code ...
Originally commented by blablubbabc (Mar 19, 2017):
You can find those towny and citizens builds in your old nexus 2 repository. So you could just manually get them there and add them to the new repository.
Originally commented by blablubbabc (Mar 19, 2017):
Okay, I updated the repository information, but I left the old repository in there for now, because of the towny dependency.
Â
I also deployed the first shopkeepers snapshot to test that as well. Seems to work fine, thanks for that:-)
Originally commented by dirtyequi (Mar 19, 2017):
I've added Citizens2 to the maven-public repository. Please note that the dependency version must be LATEST (which is currently 2.0.21-SNAPSHOT).
Â
For Towny: The author did not use maven and does not provide a repository. I will convert his current source to a maven project, build in on my own and come back to you here once it is in our repository.