在RHEL 6上运行的Nexus OSS 3.10.0-04。我指的是R插件的'permanent install'部分。
编译插件后,我将其复制到/system/org/sonatype/nexus/plugins/nexus-repository-r/1.0.1/nexus-repository-r-1.0.1.jar
我在system/org/sonatype/nexus/assemblies/nexus-core-feature/3.10.0-04/nexus-core-feature-3.10.0-04-features.xml
中添加了以下条目作为确切路径:/system/com/sonatype/nexus/assemblies/nexus-oss-feature/3.x.y/nexus-oss-feature-3.x.y-features.xml
不存在。
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<features xmlns="http://karaf.apache.org/xmlns/features/v1.4.0" name="nexus-core-feature">
<feature name="nexus-core-feature" description="org.sonatype.nexus.assemblies:nexus-core-feature" version="3.10.0.04">
<details>org.sonatype.nexus.assemblies:nexus-core-feature</details>
<feature version="3.10.0.04" prerequisite="false" dependency="false">nexus-audit-plugin</feature>
<feature version="3.10.0.04" prerequisite="false" dependency="false">nexus-blobstore-tasks</feature>
<feature version="3.10.0.04" prerequisite="false" dependency="false">nexus-ssl-plugin</feature>
<feature version="3.10.0.04" prerequisite="false" dependency="false">nexus-coreui-plugin</feature>
<feature version="3.10.0.04" prerequisite="false" dependency="false">nexus-repository-httpbridge</feature>
<feature version="3.10.0.04" prerequisite="false" dependency="false">nexus-repository-maven</feature>
<feature version="3.10.0.04" prerequisite="false" dependency="false">nexus-repository-raw</feature>
<feature version="3.10.0.04" prerequisite="false" dependency="false">nexus-restore-maven</feature>
<feature version="3.10.0.04" prerequisite="false" dependency="false">nexus-script-plugin</feature>
<feature version="3.10.0.04" prerequisite="false" dependency="false">nexus-task-log-cleanup</feature>
+ <feature version="1.0.1" prerequisite="false" dependency="false">nexus-repository-r</feature>
<feature prerequisite="true" dependency="false">wrap</feature>
...
+ <feature name="nexus-repository-r" description="org.sonatype.nexus.plugins:nexus-repository-r" version="1.0.1">
+ <details>org.sonatype.nexus.plugins:nexus-repository-r</details>
+ <bundle>mvn:org.sonatype.nexus.plugins/nexus-repository-r/1.0.1</bundle>
+ </feature>
</features>
Nexus无法启动,我在nexus.log中出现以下错误
java.lang.RuntimeException: org.osgi.service.resolver.ResolutionException: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=nexus-core-feature; type=karaf.feature; version=0; filter:="(&(osgi.identity=nexus-core-feature)(type=karaf.feature)(version>=0.0.0))" [caused by: Unable to resolve nexus-core-feature/3.10.0.04: missing requirement [nexus-core-feature/3.10.0.04] osgi.identity; osgi.identity=nexus-repository-r; type=karaf.feature; version="[1.0.1,1.0.1]" [caused by: Unable to resolve nexus-repository-r/1.0.1: missing requirement [nexus-repository-r/1.0.1] osgi.identity; osgi.identity=org.sonatype.nexus.plugins.nexus-repository-r; type=osgi.bundle; version="[1.0.1,1.0.1]"; resolution:=mandatory [caused by: Unable to resolve org.sonatype.nexus.plugins.nexus-repository-r/1.0.1: missing requirement [org.sonatype.nexus.plugins.nexus-repository-r/1.0.1] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.apache.commons.compress.archivers)(version>=1.11.0))"]]]
有什么不对? 感谢