Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-13085

IllegalArgumentException Version mismatch may be logged when GA maven-metadata.xml versions are merged in a group repository request

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.3.1
    • Fix Version/s: 3.4.0
    • Component/s: Maven
    • Labels:
      None
    • Environment:
      sonatype\nexus3 docker on opensuse leap 42.1
    • Story Points:
      2
    • Sprint:
      Formats Team - Sprint 96

      Description

      Download for artifact appears to be working, but getting error in log and causing some concern over conflict or if something has been inproperly loaded.

      nexus-logviewer-VersionMismatch.txt

      Excerpt from /#admin/support/logging/logviewer
      Nexus Repository ManagerOSS 3.3.1-01
      
      2017-05-03 00:32:53,805+0000 WARN  [qtp601907286-375] *UNKNOWN org.sonatype.nexus.repository.maven.internal.group.RepositoryMetadataMerger - Bad data maven-central @ org/apache/npanday/plugins/custom-lifecycle-maven-plugin/maven-metadata.xml
      java.lang.IllegalArgumentException: Version mismatch: 1.5.0-NSL vs 1.4.0-incubating
      	at com.google.common.base.Preconditions.checkArgument(Preconditions.java:383) [com.google.guava:21.0.0]
      	at org.sonatype.nexus.repository.maven.internal.group.RepositoryMetadataMerger.merge(RepositoryMetadataMerger.java:247) [org.sonatype.nexus.plugins.nexus-repository-maven:3.3.1.01]
      	at org.sonatype.nexus.repository.maven.internal.group.RepositoryMetadataMerger.merge(RepositoryMetadataMerger.java:185) [org.sonatype.nexus.plugins.nexus-repository-maven:3.3.1.01]
      	at org.sonatype.nexus.repository.maven.internal.group.RepositoryMetadataMerger.merge(RepositoryMetadataMerger.java:81) [org.sonatype.nexus.plugins.nexus-repository-maven:3.3.1.01]
      	at org.sonatype.nexus.repository.maven.internal.group.MavenGroupFacet.mergeAndCache(MavenGroupFacet.java:125) [org.sonatype.nexus.plugins.nexus-repository-maven:3.3.1.01]
      	at org.sonatype.nexus.repository.maven.internal.group.MergingGroupHandler.doGet(MergingGroupHandler.java:98) [org.sonatype.nexus.plugins.nexus-repository-maven:3.3.1.01]
      	at org.sonatype.nexus.repository.group.GroupHandler.handle(GroupHandler.java:79) [org.sonatype.nexus.repository:3.3.1.01]
      	at org.sonatype.nexus.repository.view.Context.proceed(Context.java:80) [org.sonatype.nexus.repository:3.3.1.01]
      	at org.sonatype.nexus.repository.storage.UnitOfWorkHandler.handle(UnitOfWorkHandler.java:39) [org.sonatype.nexus.repository:3.3.1.01]
      	at org.sonatype.nexus.repository.view.Context.proceed(Context.java:80) [org.sonatype.nexus.repository:3.3.1.01]
      	at org.sonatype.nexus.repository.view.handlers.ContentHeadersHandler.handle(ContentHeadersHandler.java:44) [org.sonatype.nexus.repository:3.3.1.01]
      	at org.sonatype.nexus.repository.view.Context.proceed(Context.java:80) [org.sonatype.nexus.repository:3.3.1.01]
      	at org.sonatype.nexus.repository.view.handlers.ConditionalRequestHandler.handle(ConditionalRequestHandler.java:72) [org.sonatype.nexus.repository:3.3.1.01]
      	at org.sonatype.nexus.repository.view.Context.proceed(Context.java:80) [org.sonatype.nexus.repository:3.3.1.01]
      	at org.sonatype.nexus.repository.view.handlers.ExceptionHandler.handle(ExceptionHandler.java:43) [org.sonatype.nexus.repository:3.3.1.01]
      	at org.sonatype.nexus.repository.view.Context.proceed(Context.java:80) [org.sonatype.nexus.repository:3.3.1.01]
      	at org.sonatype.nexus.repository.security.SecurityHandler.handle(SecurityHandler.java:52) [org.sonatype.nexus.repository:3.3.1.01]
      	at org.sonatype.nexus.repository.view.Context.proceed(Context.java:80) [org.sonatype.nexus.repository:3.3.1.01]
      	at org.sonatype.nexus.repository.view.handlers.TimingHandler.handle(TimingHandler.java:46) [org.sonatype.nexus.repository:3.3.1.01]
      	at org.sonatype.nexus.repository.view.Context.proceed(Context.java:80) [org.sonatype.nexus.repository:3.3.1.01]
      	at org.sonatype.nexus.repository.view.Context.start(Context.java:114) [org.sonatype.nexus.repository:3.3.1.01]
      	at org.sonatype.nexus.repository.view.Router.dispatch(Router.java:63) [org.sonatype.nexus.repository:3.3.1.01]
      	at org.sonatype.nexus.repository.view.ConfigurableViewFacet.dispatch(ConfigurableViewFacet.java:52) [org.sonatype.nexus.repository:3.3.1.01]
      	at org.sonatype.nexus.repository.view.ConfigurableViewFacet.dispatch(ConfigurableViewFacet.java:43) [org.sonatype.nexus.repository:3.3.1.01]
      	at org.sonatype.nexus.repository.httpbridge.internal.ViewServlet.dispatchAndSend(ViewServlet.java:198) [org.sonatype.nexus.plugins.nexus-repository-httpbridge:3.3.1.01]
      	at org.sonatype.nexus.repository.httpbridge.internal.ViewServlet.doService(ViewServlet.java:160) [org.sonatype.nexus.plugins.nexus-repository-httpbridge:3.3.1.01]
      	at org.sonatype.nexus.repository.httpbridge.internal.ViewServlet.service(ViewServlet.java:117) [org.sonatype.nexus.plugins.nexus-repository-httpbridge:3.3.1.01]
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [javax.servlet-api:3.1.0]
      
      

      Maven central has npanday custom-lifecycle-maven-plugin  latest release 1.4.0-Incubating

      We have the npanday custom-lifecycle-maven-plugin  built locally to have a 'pre release' release of 1.5.0-NSL  which was captured to host on a Nexus 2.11  3rd Party repo

      Central and 3rd party proxies are included within a maven2 group  type where it is downloaded from.

      when looking at pom.xml in various locations all appears well that I thought to check so far.

       

        Attachments

          Activity

            People

            Assignee:
            jstephens Joseph Stephens
            Reporter:
            gdomjan Greg Domjan
            Last Updated By:
            Peter Lynch
            Team:
            Nexus - Formats
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title