Closed ivadim closed 10 years ago
I am aware that the plugin is not working for 2.7.0 it is on my TODO for next week.
just use the issue for questions for the time being - I see what else is possible.
to get it compile was a couple of API changes BUT overall there is more thing broken. not sure how much effort this is to fix it.
I am seeing this error when I click on my Proxy Rubygems repository and try to refresh the "Browse Storage" tab. Despite this exception, it still seems to be working. Any thoughts on this error?
which code did you use ? the 2_7_branch ?
anyway I just pushed the latest code for that branch. there are still some issues with that version:
there is respective patch for nexus itself which will solve those issues https://github.com/sonatype/nexus-oss/pull/276
another positive vote will help ;)
My issue was on master. Let me try building the 2_7_branch.
so the nexus-oss branch https://github.com/sonatype/nexus-oss/tree/nexus-2.7.x as well the master branch https://github.com/sonatype/nexus-oss/tree/master will work with the respective nexus-ruby-support branch. so any new nexus release will work with the plugin again.
added a nexus gem 1.2.1 which works with the current nexus-2.7.x which are already out there. so basically things should be in working state new. bundler API will fallback in the complete index and any next release of nexus will have have working bundler API again !!
The plugin still doesn't work for me as I am unable to create a rubygem repository. Is there a known workaround?
hmm. what kind of error do you see ? the 2_7_branch is for nexus-2.7.x
for uploading gems to the hosted gems repo you need the latest nexus gem from rubygems.org
so please provide some more details !
Actually I compiled it off master and probably that's why it's not working for me. However I ran into multiple compilation issues if I try to compile 2.7_branch for Nexus 2.7.0-06. Is there any documentation describing how to compile working rubygem plugin for 2.7.0-06?
I managed to build the plugin off 2.7_branch and it seems to work. I had to edit pom.xml to look for 2.7.0-06 version of nexus-plugins instead of the nonexistant 2.8-SNAPSHOT and got almost all built
[INFO] Nexus Ruby Tools .................................. SUCCESS [8.424s] [INFO] Nexus Ruby Support (Aggregator) ................... SUCCESS [0.094s] [INFO] Nexus Ruby Plugin ................................. SUCCESS [18.516s] [INFO] Gem Command to interact with Nexus server ......... SUCCESS [27.710s] [INFO] Nexus Ruby Plugin ITs ............................. FAILURE [1.582s]
I am yet to figure out how to build nexus-ruby-plugin-its
Here is the error message:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.3.1:enforce (enforce-environment) on project nexus-ruby-support: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. -> [Help 1]
the ITs are just integration tests. I will look into the whole build later on. so the last module is of less importants to some extent.
thanx for hint with the wrong parent version - would not have caused an error on my machine ;)
the last module runs through locally and I pushed all the code online.
On Sat, Dec 28, 2013 at 2:37 PM, christian meier.kristian@gmail.com wrote:
the ITs are just integration tests. I will look into the whole build later on. so the last module is of less importants to some extent.
- christian
Today I've tried to install plugin to nexus oss(and nexus pro) 2.7.0-04. But without success. Signature of one core method might have been changed.
When I try to added new Hosted rubygem repo I got next error:
Plugin was built with maven 3.0.4 on Debian 7.1 mvn clean install -Dnexus.version=2.7.0-04 -Dmaven.test.skip
P.s Is there any email-lists about this plugin where question could be posted?