Migrating Nexus Repository 2 plugins from Plexus to JSR-330

Visit my.sonatype.com for documentation on Nexus Repository version 2.

In Nexus Repository 2.7 we culled from the source code almost all use of Plexus based components to complete the migration to using JSR-330 Eclipse Sisu instead. Any remaining usage is deprecated.

Warnings will be logged on startup when Plexus components are detected in your custom Nexus Repository 2 plugins.

All third-party plugin developers should migrate components to ensure their plugin will work with newer versions of Nexus Repository 2.

Detailed instructions for migrating your plugin are available.


Sample WARN messages you may see on startup of Nexus Repository 2. These WARN messages can be safely ignored unless the classes mentioned are in a custom plugin not distributed from Sonatype. In that case, contact the plugin author and encourage them to update their plugin.

jvm 1 | 2013-10-04 10:26:38 WARN [jetty-main-thread-1] org.sonatype.guice.nexus.scanners.NexusTypeVisitor - Found legacy @org.sonatype.plugin.ExtensionPoint annotation: org.sonatype.nexus.tasks.ReindexTaskHandler
jvm 1 | 2013-10-04 10:26:38 WARN [jetty-main-thread-1] org.sonatype.guice.nexus.scanners.NexusTypeVisitor - Found legacy plexus component: org.apache.maven.index.ArtifactAvailablility
jvm 1 | 2013-10-04 10:26:38 WARN [jetty-main-thread-1] org.sonatype.guice.nexus.scanners.NexusTypeVisitor - Found legacy plexus component: org.apache.maven.index.creator.JarFileContentsIndexCreator
jvm 1 | 2013-10-04 10:26:38 WARN [jetty-main-thread-1] org.sonatype.guice.nexus.scanners.NexusTypeVisitor - Found legacy plexus component: org.apache.maven.index.creator.MavenArchetypeArtifactInfoIndexCreator
jvm 1 | 2013-10-04 10:26:38 WARN [jetty-main-thread-1] org.sonatype.guice.nexus.scanners.NexusTypeVisitor - Found legacy plexus component: org.apache.maven.index.creator.MavenPluginArtifactInfoIndexCreator
jvm 1 | 2013-10-04 10:26:38 WARN [jetty-main-thread-1] org.sonatype.guice.nexus.scanners.NexusTypeVisitor - Found legacy plexus component: org.apache.maven.index.creator.MinimalArtifactInfoIndexCreator
jvm 1 | 2013-10-04 10:26:38 WARN [jetty-main-thread-1] org.sonatype.guice.nexus.scanners.NexusTypeVisitor - Found legacy plexus component: org.apache.maven.index.creator.OsgiArtifactIndexCreator
jvm 1 | 2013-10-04 10:26:38 WARN [jetty-main-thread-1] org.sonatype.guice.nexus.scanners.NexusTypeVisitor - Found legacy plexus component: org.apache.maven.index.DefaultArtifactContextProducer
jvm 1 | 2013-10-04 10:26:38 WARN [jetty-main-thread-1] org.sonatype.guice.nexus.scanners.NexusTypeVisitor - Found legacy plexus component: org.apache.maven.index.DefaultIndexer
jvm 1 | 2013-10-04 10:26:38 WARN [jetty-main-thread-1] org.sonatype.guice.nexus.scanners.NexusTypeVisitor - Found legacy plexus component: org.apache.maven.index.DefaultIndexerEngine
jvm 1 | 2013-10-04 10:26:38 WARN [jetty-main-thread-1] org.sonatype.guice.nexus.scanners.NexusTypeVisitor - Found legacy plexus component: org.apache.maven.index.DefaultNexusIndexer
jvm 1 | 2013-10-04 10:26:38 WARN [jetty-main-thread-1] org.sonatype.guice.nexus.scanners.NexusTypeVisitor - Found legacy plexus component: org.apache.maven.index.DefaultQueryCreator
jvm 1 | 2013-10-04 10:26:38 WARN [jetty-main-thread-1] org.sonatype.guice.nexus.scanners.NexusTypeVisitor - Found legacy plexus component: org.apache.maven.index.DefaultScanner
jvm 1 | 2013-10-04 10:26:38 WARN [jetty-main-thread-1] org.sonatype.guice.nexus.scanners.NexusTypeVisitor - Found legacy plexus component: org.apache.maven.index.DefaultSearchEngine
jvm 1 | 2013-10-04 10:26:38 WARN [jetty-main-thread-1] org.sonatype.guice.nexus.scanners.NexusTypeVisitor - Found legacy plexus component: org.apache.maven.index.incremental.DefaultIncrementalHandler
jvm 1 | 2013-10-04 10:26:38 WARN [jetty-main-thread-1] org.sonatype.guice.nexus.scanners.NexusTypeVisitor - Found legacy plexus component: org.apache.maven.index.packer.DefaultIndexPacker
jvm 1 | 2013-10-04 10:26:38 WARN [jetty-main-thread-1] org.sonatype.guice.nexus.scanners.NexusTypeVisitor - Found legacy plexus component: org.apache.maven.index.treeview.DefaultIndexTreeView
jvm 1 | 2013-10-04 10:26:38 WARN [jetty-main-thread-1] org.sonatype.guice.nexus.scanners.NexusTypeVisitor - Found legacy plexus component: org.apache.maven.index.updater.DefaultIndexUpdater
jvm 1 | 2013-10-04 10:26:38 WARN [jetty-main-thread-1] org.sonatype.guice.nexus.scanners.NexusTypeVisitor - Found legacy plexus component: org.apache.maven.index.artifact.DefaultArtifactPackagingMapper
jvm 1 | 2013-10-04 10:26:38 WARN [jetty-main-thread-1] org.sonatype.guice.nexus.scanners.NexusTypeVisitor - Found legacy plexus component: org.apache.maven.index.artifact.M1GavCalculator
jvm 1 | 2013-10-04 10:26:38 WARN [jetty-main-thread-1] org.sonatype.guice.nexus.scanners.NexusTypeVisitor - Found legacy plexus component: org.apache.maven.index.artifact.M2GavCalculator
Have more questions? Submit a request

0 Comments

Article is closed for comments.