-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migration to Nexus 3.71 API #25
Comments
nexus OSS 3.72.0-04 `2024-11-24 10:32:33,248+0000 ERROR [features-2-thread-1] *SYSTEM org.apache.felix.gogo.runtime.threadio.ThreadPrintStream - org.apache.felix.resolver.reason.ReasonException: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=nexus-repository-ansiblegalaxy; type=karaf.feature; version="[0.3.3,0.3.3]"; filter:="(&(osgi.identity=nexus-repository-ansiblegalaxy)(type=karaf.feature)(version>=0.3.3)(version<=0.3.3))" [caused by: Unable to resolve nexus-repository-ansiblegalaxy/0.3.3: missing requirement [nexus-repository-ansiblegalaxy/0.3.3] osgi.identity; osgi.identity=org.sonatype.nexus.plugins.nexus-repository-ansiblegalaxy; type=osgi.bundle; version="[0.3.3,0.3.3]"; resolution:=mandatory [caused by: Unable to resolve org.sonatype.nexus.plugins.nexus-repository-ansiblegalaxy/0.3.3: missing requirement [org.sonatype.nexus.plugins.nexus-repository-ansiblegalaxy/0.3.3] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.sonatype.nexus.repository.attributes)(version>=3.68.0))"]]
2024-11-24 10:32:33,248+0000 ERROR [features-2-thread-1] *SYSTEM org.apache.felix.gogo.runtime.threadio.ThreadPrintStream - at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341)
2024-11-24 10:32:33,248+0000 ERROR [features-2-thread-1] *SYSTEM org.apache.felix.gogo.runtime.threadio.ThreadPrintStream - at org.apache.felix.resolver.ResolverImpl.doResolve(ResolverImpl.java:433)
2024-11-24 10:32:33,248+0000 ERROR [features-2-thread-1] *SYSTEM org.apache.felix.gogo.runtime.threadio.ThreadPrintStream - at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:420)
2024-11-24 10:32:33,248+0000 ERROR [features-2-thread-1] *SYSTEM org.apache.felix.gogo.runtime.threadio.ThreadPrintStream - at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:374)
2024-11-24 10:32:33,249+0000 ERROR [features-2-thread-1] *SYSTEM org.apache.felix.gogo.runtime.threadio.ThreadPrintStream - at org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:257)
2024-11-24 10:32:33,249+0000 ERROR [features-2-thread-1] *SYSTEM org.apache.felix.gogo.runtime.threadio.ThreadPrintStream - at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:399)
2024-11-24 10:32:33,249+0000 ERROR [features-2-thread-1] *SYSTEM org.apache.felix.gogo.runtime.threadio.ThreadPrintStream - at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1069)
2024-11-24 10:32:33,249+0000 ERROR [features-2-thread-1] *SYSTEM org.apache.felix.gogo.runtime.threadio.ThreadPrintStream - at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:1004)
2024-11-24 10:32:33,249+0000 ERROR [features-2-thread-1] *SYSTEM org.apache.felix.gogo.runtime.threadio.ThreadPrintStream - at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
2024-11-24 10:32:33,249+0000 ERROR [features-2-thread-1] *SYSTEM org.apache.felix.gogo.runtime.threadio.ThreadPrintStream - at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
2024-11-24 10:32:33,249+0000 ERROR [features-2-thread-1] *SYSTEM org.apache.felix.gogo.runtime.threadio.ThreadPrintStream - at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
2024-11-24 10:32:33,249+0000 ERROR [features-2-thread-1] *SYSTEM org.apache.felix.gogo.runtime.threadio.ThreadPrintStream - at java.base/java.lang.Thread.run(Thread.java:840)
2024-11-24 10:32:33,249+0000 ERROR [features-2-thread-1] *SYSTEM org.apache.felix.gogo.runtime.threadio.ThreadPrintStream - Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve nexus-repository-ansiblegalaxy/0.3.3: missing requirement [nexus-repository-ansiblegalaxy/0.3.3] osgi.identity; osgi.identity=org.sonatype.nexus.plugins.nexus-repository-ansiblegalaxy; type=osgi.bundle; version="[0.3.3,0.3.3]"; resolution:=mandatory [caused by: Unable to resolve org.sonatype.nexus.plugins.nexus-repository-ansiblegalaxy/0.3.3: missing requirement [org.sonatype.nexus.plugins.nexus-repository-ansiblegalaxy/0.3.3] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.sonatype.nexus.repository.attributes)(version>=3.68.0))"]
2024-11-24 10:32:33,250+0000 ERROR [features-2-thread-1] *SYSTEM org.apache.felix.gogo.runtime.threadio.ThreadPrintStream - at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341)
2024-11-24 10:32:33,250+0000 ERROR [features-2-thread-1] *SYSTEM org.apache.felix.gogo.runtime.threadio.ThreadPrintStream - ... 12 more
2024-11-24 10:32:33,250+0000 ERROR [features-2-thread-1] *SYSTEM org.apache.felix.gogo.runtime.threadio.ThreadPrintStream - Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve org.sonatype.nexus.plugins.nexus-repository-ansiblegalaxy/0.3.3: missing requirement [org.sonatype.nexus.plugins.nexus-repository-ansiblegalaxy/0.3.3] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.sonatype.nexus.repository.attributes)(version>=3.68.0))"
2024-11-24 10:32:33,250+0000 ERROR [features-2-thread-1] *SYSTEM org.apache.felix.gogo.runtime.threadio.ThreadPrintStream - at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341)
2024-11-24 10:32:33,250+0000 ERROR [features-2-thread-1] *SYSTEM org.apache.felix.gogo.runtime.threadio.ThreadPrintStream - ... 13 more
2024-11-24 10:32:33,251+0000 WARN [fileinstall-/opt/nexus-3.72.0-04/deploy] *SYSTEM org.apache.karaf.kar.internal.KarServiceImpl - Unable to install Kar feature nexus-repository-ansiblegalaxy/0.3.3
` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi All,
Since version 3.71.0, the plugin needs to be adapted to the new Nexus 3.71.0+ API. More details at the link https://help.sonatype.com/en/upgrading-to-nexus-repository-3-71-0-and-beyond.html.
As an example, can look at the plugin "nexus-repository-composer", which was recently implemented with migration to Nexus 3.71 API.
cc @DarthHater @bhamail @l3ender
The text was updated successfully, but these errors were encountered: