org.apache.maven.mercury.repository.metadata.MetadataException: Could not merge metadata with different groupId: 'itext' and 'com.lowagie'

Sonatype JIRA | Alan D. Cabrera | 7 years ago
  1. 0

    While building I get: [INFO] artifact com.lowagie:itext: checking for updates from picateers-dist-m2 [WARNING] repository metadata for: 'artifact com.lowagie:itext' could not be retrieved from repository: picateers-dist-m2 due to an error: Error transferring file [INFO] Repository 'picateers-dist-m2' will be blacklisted On my nexus server I get: INFO | jvm 1 | 2009/07/24 10:13:53 | 2009-07-24 10:13:53 ERROR - o.s.p.r.r.ManagedPl~:content - IO error! INFO | jvm 1 | 2009/07/24 10:13:53 | org.sonatype.nexus.proxy.StorageException: Got MetadataException during M2 metadata merging. INFO | jvm 1 | 2009/07/24 10:13:53 | at org.sonatype.nexus.proxy.maven.maven2.M2GroupRepository.doRetrieveMetadata(M2GroupRepository.java:227) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.sonatype.nexus.proxy.maven.maven2.M2GroupRepository.doRetrieveItem(M2GroupRepository.java:92) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:796) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:603) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.sonatype.nexus.proxy.router.DefaultRepositoryRouter.retrieveItem(DefaultRepositoryRouter.java:117) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.sonatype.nexus.rest.AbstractResourceStoreContentPlexusResource.get(AbstractResourceStoreContentPlexusResource.java:122) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.sonatype.plexus.rest.resource.RestletResource.represent(RestletResource.java:260) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.resource.Resource.getRepresentation(Resource.java:303) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.resource.Resource.handleGet(Resource.java:465) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Finder.handle(Finder.java:353) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Filter.doHandle(Filter.java:150) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Filter.handle(Filter.java:195) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Filter.doHandle(Filter.java:150) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Filter.handle(Filter.java:195) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Router.handle(Router.java:504) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Filter.doHandle(Filter.java:150) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Filter.handle(Filter.java:195) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Filter.doHandle(Filter.java:150) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.sonatype.plexus.rest.RetargetableRestlet.doHandle(RetargetableRestlet.java:39) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Filter.handle(Filter.java:195) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Filter.doHandle(Filter.java:150) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Filter.handle(Filter.java:195) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Filter.doHandle(Filter.java:150) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Filter.handle(Filter.java:195) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Filter.doHandle(Filter.java:150) INFO | jvm 1 | 2009/07/24 10:13:53 | at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Filter.handle(Filter.java:195) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Filter.doHandle(Filter.java:150) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Filter.handle(Filter.java:195) INFO | jvm 1 | 2009/07/24 10:13:53 | at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) INFO | jvm 1 | 2009/07/24 10:13:53 | at com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:112) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Application.handle(Application.java:341) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.ext.wadl.WadlApplication.handle(WadlApplication.java:705) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Filter.doHandle(Filter.java:150) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Filter.handle(Filter.java:195) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Router.handle(Router.java:504) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Filter.doHandle(Filter.java:150) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Filter.handle(Filter.java:195) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Router.handle(Router.java:504) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Filter.doHandle(Filter.java:150) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Filter.handle(Filter.java:195) INFO | jvm 1 | 2009/07/24 10:13:53 | at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Component.handle(Component.java:673) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.restlet.Server.handle(Server.java:331) INFO | jvm 1 | 2009/07/24 10:13:53 | at com.noelios.restlet.ServerHelper.handle(ServerHelper.java:68) INFO | jvm 1 | 2009/07/24 10:13:53 | at com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:147) INFO | jvm 1 | 2009/07/24 10:13:53 | at com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:884) INFO | jvm 1 | 2009/07/24 10:13:53 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1124) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:52) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:382) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:361) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.mortbay.jetty.Server.handle(Server.java:324) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:533) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:207) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522) INFO | jvm 1 | 2009/07/24 10:13:53 | Caused by: INFO | jvm 1 | 2009/07/24 10:13:53 | org.apache.maven.mercury.repository.metadata.MetadataException: Could not merge metadata with different groupId: 'itext' and 'com.lowagie' INFO | jvm 1 | 2009/07/24 10:13:53 | at org.sonatype.nexus.proxy.maven.metadata.mercury.MergeOperation.perform(MergeOperation.java:123) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.apache.maven.mercury.repository.metadata.MetadataBuilder.changeMetadata(MetadataBuilder.java:200) INFO | jvm 1 | 2009/07/24 10:13:53 | at org.sonatype.nexus.proxy.maven.maven2.M2GroupRepository.doRetrieveMetadata(M2GroupRepository.java:185) INFO | jvm 1 | 2009/07/24 10:13:53 | ... 76 more

    Sonatype JIRA | 7 years ago | Alan D. Cabrera
    org.apache.maven.mercury.repository.metadata.MetadataException: Could not merge metadata with different groupId: 'itext' and 'com.lowagie'
  2. 0

    [NEXUS-3051] Rebuild metadata fails if maven-metadata.xml is 0 bytes in size. - Sonatype JIRA

    sonatype.org | 12 months ago
    org.apache.maven.mercury.repository.metadata.MetadataException: java.io.EOFException: input contained no data
  3. 0

    [NEXUS-3051] Rebuild metadata fails if maven-metadata.xml is 0 bytes in size. - Sonatype JIRA

    sonatype.org | 1 year ago
    org.apache.maven.mercury.repository.metadata.MetadataException: java.io.EOFException: input contained no data
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.maven.mercury.repository.metadata.MetadataException

      Could not merge metadata with different groupId: 'itext' and 'com.lowagie'

      at org.sonatype.nexus.proxy.maven.metadata.mercury.MergeOperation.perform()
    2. org.sonatype.nexus
      MergeOperation.perform
      1. org.sonatype.nexus.proxy.maven.metadata.mercury.MergeOperation.perform(MergeOperation.java:123)
      1 frame
    3. org.apache.maven
      MetadataBuilder.changeMetadata
      1. org.apache.maven.mercury.repository.metadata.MetadataBuilder.changeMetadata(MetadataBuilder.java:200)
      1 frame
    4. ${project.groupId}:${project.artifactId}
      M2GroupRepository.doRetrieveMetadata
      1. org.sonatype.nexus.proxy.maven.maven2.M2GroupRepository.doRetrieveMetadata(M2GroupRepository.java:185)
      1 frame