Name: nexus-repository-r
Owner: Sonatype Community
Description: R, v data science, much functional programming, doge
Created: 2017-05-19 16:40:22.0
Updated: 2018-05-17 22:43:21.0
Pushed: 2018-05-17 22:43:22.0
Size: 1251
Language: Java
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Go read our contribution guidelines to get a bit more familiar with how we would like things to flow.
Also, there is a good amount of information available at Bundle Development
To build the project and generate the bundle use Maven
mvn clean install
If everything checks out, the bundle for R should be available in the target
folder
After installing the plugin, we have detailed instructions on how to get started here!
There are a range of options for installing the R plugin. You'll need to build it first, and then install the plugin with the options shown below:
Installations done via the Karaf console will be wiped out with every restart of Nexus Repository. This is a good installation path if you are just testing or doing development on the plugin.
Of note, version 1.0.1 is for Nexus Repository 3.8.0-02 and above, please use 1.0.0 if you are using an older version.
Enable Nexus console: edit <nexus_dir>/bin/nexus.vmoptions
and change karaf.startLocalConsole
to true
.
More details here: https://help.sonatype.com/display/NXRM3/Installing+Bundles
Run NXRM console mode (the below assumes you are running as 'nexus' user as recommended in our documentation) and enter the bundle command after it has started:
do su - nexus
<nexus_dir>/bin
nexus run
ndle:install file:///tmp/nexus-repository-r-1.0.1.jar
This will return text similar to “Bundle ID: 282”. You can double check this ID using bundle:list (for org.sonatype.nexus.plugins:nexus-repository-r; it should be the last one). Then start it using this bundle command:
ndle:start <org.sonatype.nexus.plugins:nexus-repository-r ID>
For more permanent installs of the nexus-repository-r plugin, follow these instructions:
This will cause the plugin to be loaded with each restart of Nexus Repository. As well, this folder is monitored by Nexus Repository and the plugin should load within 60 seconds of being copied there if Nexus Repository is running. You will still need to start the bundle using the karaf commands mentioned in the temporary install.
If you are trying to use the R plugin permanently, it likely makes more sense to do the following:
<nexus_dir>/system/org/sonatype/nexus/plugins/nexus-repository-r/1.0.1/nexus-repository-r-1.0.1.jar
<nexus_dir>/system/com/sonatype/nexus/assemblies/nexus-oss-feature/3.x.y/nexus-oss-feature-3.x.y-features.xml
<nexus_dir>/system/com/sonatype/nexus/assemblies/nexus-pro-feature/3.x.y/nexus-pro-feature-3.x.y-features.xml
<feature version="3.x.y.xy" prerequisite="false" dependency="false">nexus-repository-rubygems</feature>
<feature version="1.0.1" prerequisite="false" dependency="false">nexus-repository-r</feature>
<feature version="3.x.y.xy" prerequisite="false" dependency="false">nexus-repository-yum</feature>
<details>org.sonatype.nexus.plugins:nexus-repository-r</details>
<bundle>mvn:org.sonatype.nexus.plugins/nexus-repository-r/1.0.1</bundle>
will cause the plugin to be loaded and started with each startup of Nexus Repository.
It is worth noting that this is NOT SUPPORTED by Sonatype, and is a contribution of ours to the open source community (read: you!)
Remember:
Phew, that was easier than I thought. Last but not least of all:
Have fun creating and using this plugin and the Nexus platform, we are glad to have you here!
Looking to contribute to our code but need some help? There's a few ways to get information: