Uploaded image for project: 'ShrinkWrap Resolvers'
  1. ShrinkWrap Resolvers
  2. SHRINKRES-13

Investigate failing CI jobs for MavenImporter

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2.0.0-alpha-1
    • Component/s: maven
    • Labels:
      None

      Description

      Error Message

      Found 1 problems while building POM model from /scratch/hudson/workspace/ShrinkWrap_Resolver_upstream-master/impl-maven-integration-tests/jar-sample/pom.xml 1/ [FATAL] Non-resolvable parent POM for org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-parent:2.0.0-alpha-1-SNAPSHOT: Failed to resolve POM for org.jboss:jboss-parent:8 due to Could not transfer artifact org.jboss:jboss-parent:pom:8 from/to central (http://repo1.maven.org/maven2): No connector available to access repository central (http://repo1.maven.org/maven2) of type default using the available factories and 'parent.relativePath' points at wrong local POM @ org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-parent:2.0.0-alpha-1-SNAPSHOT, /scratch/hudson/workspace/ShrinkWrap_Resolver_upstream-master/pom.xml
      Stacktrace

      org.jboss.shrinkwrap.resolver.api.ResolutionException: Found 1 problems while building POM model from /scratch/hudson/workspace/ShrinkWrap_Resolver_upstream-master/impl-maven-integration-tests/jar-sample/pom.xml
      1/ [FATAL] Non-resolvable parent POM for org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-parent:2.0.0-alpha-1-SNAPSHOT: Failed to resolve POM for org.jboss:jboss-parent:8 due to Could not transfer artifact org.jboss:jboss-parent:pom:8 from/to central (http://repo1.maven.org/maven2): No connector available to access repository central (http://repo1.maven.org/maven2) of type default using the available factories and 'parent.relativePath' points at wrong local POM @ org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-parent:2.0.0-alpha-1-SNAPSHOT, /scratch/hudson/workspace/ShrinkWrap_Resolver_upstream-master/pom.xml

      at org.jboss.shrinkwrap.resolver.impl.maven.MavenEnvironmentImpl.execute(MavenEnvironmentImpl.java:141)
      at org.jboss.shrinkwrap.resolver.impl.maven.MavenDependencyResolverImpl.loadEffectivePom(MavenDependencyResolverImpl.java:44)
      at org.jboss.shrinkwrap.resolver.impl.maven.MavenImporterImpl.loadEffectivePom(MavenImporterImpl.java:68)
      at test.JarTestCase.testJar(JarTestCase.java:36)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
      at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
      at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
      at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
      at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)
      at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)
      at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)
      at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
      at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
      at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
      at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
      at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
      at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
      at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
      at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)
      at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
      at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
      at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175)
      at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:81)
      at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68)
      Caused by: org.apache.maven.model.building.ModelBuildingException: 1 problem was encountered while building the effective model for org.jboss.shrinkwrap.resolver.test:shrinkwrap-resolver-impl-maven-test-jar-sample:2.0.0-alpha-1-SNAPSHOT
      [FATAL] Non-resolvable parent POM for org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-parent:2.0.0-alpha-1-SNAPSHOT: Failed to resolve POM for org.jboss:jboss-parent:8 due to Could not transfer artifact org.jboss:jboss-parent:pom:8 from/to central (http://repo1.maven.org/maven2): No connector available to access repository central (http://repo1.maven.org/maven2) of type default using the available factories and 'parent.relativePath' points at wrong local POM @ org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-parent:2.0.0-alpha-1-SNAPSHOT, /scratch/hudson/workspace/ShrinkWrap_Resolver_upstream-master/pom.xml

      at org.apache.maven.model.building.DefaultModelBuilder.readParentExternally(DefaultModelBuilder.java:847)
      at org.apache.maven.model.building.DefaultModelBuilder.readParent(DefaultModelBuilder.java:670)
      at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:308)
      at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:232)
      at org.jboss.shrinkwrap.resolver.impl.maven.MavenEnvironmentImpl.execute(MavenEnvironmentImpl.java:128)
      ... 32 more

      Ideas:

      • What caused a missing connector to Central repository?
      • Why the issue cannot be reproduced locally?

        Attachments

          Activity

            People

            Assignee:
            kpiwko Karel Piwko
            Reporter:
            kpiwko Karel Piwko
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: