Uploaded image for project: 'WINDUP - Red Hat Application Migration Toolkit'
  1. WINDUP - Red Hat Application Migration Toolkit
  2. WINDUP-1328

Upgrade of Furnace to 2.25.3.Final breaks addon installation

    XMLWordPrintable

Details

    Description

      if maven uses profiles for additional maven repositories, furnace cannot resolve GAV to download from correct repository.

      Our problem is that while having setup https://repository.jboss.org/nexus/content/groups/public/ in settings.xml all furnace/forge artifacts are only in Maven Central, but Furnace is forced to resolve them only in additional repository not in Maven Central too.

      Running org.jboss.windup.rules.tests.WindupRulesTest
      Furnace test harness is initializing with addon dir [/home/mnovotny/projects/git/windup-projects/windup-rulesets/target/tmpdir8271722399376276368]
      Mar 23, 2017 12:38:27 PM org.jboss.forge.furnace.impl.FurnaceImpl start
      INFO: Furnace [2.25.3.Final] starting.
      SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
      SLF4J: Defaulting to no-operation (NOP) logger implementation
      SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
      Furnace test harness is deploying [_DEFAULT_,f6728ffd-efe5-4f2c-9642-1c90775d90f3] to repository [/home/mnovotny/projects/git/windup-projects/windup-rulesets/target/tmpdir8271722399376276368] ...
      Mar 23, 2017 12:38:31 PM org.jboss.forge.furnace.impl.addons.AddonLoader loadAddon
      WARNING: Addon [_DEFAULT_,f6728ffd-efe5-4f2c-9642-1c90775d90f3 +NEW] has [9] missing dependencies: [[MISSING: org.jboss.windup.exec:windup-exec,: [IMPORTED] [REQUIRED]], [MISSING: org.jboss.windup.config:windup-config-xml,: [IMPORTED] [REQUIRED]], [MISSING: org.jboss.windup.rules.apps:windup-rules-java,: [IMPORTED] [REQUIRED]], [MISSING: org.jboss.windup.rules.apps:windup-rules-java-ee,: [IMPORTED] [REQUIRED]], [MISSING: org.jboss.windup.rules.apps:windup-rules-java-project,: [IMPORTED] [REQUIRED]], [MISSING: org.jboss.windup.rules.apps:windup-rules-xml,: [IMPORTED] [REQUIRED]], [MISSING: org.jboss.windup.reporting:windup-reporting,: [IMPORTED] [REQUIRED]], [MISSING: org.jboss.windup.utils:windup-utils,: [IMPORTED] [REQUIRED]], [MISSING: org.jboss.forge.furnace.container:cdi,: [IMPORTED] [REQUIRED]]] and will be not be loaded until all required dependencies are available.
      Furnace test harness is undeploying [org.jboss.windup.exec:windup-exec,3.1.0-SNAPSHOT] ... 
      Furnace test harness is undeploying [_DEFAULT_,f6728ffd-efe5-4f2c-9642-1c90775d90f3] ... 
      Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.092 sec <<< FAILURE! - in org.jboss.windup.rules.tests.WindupRulesTest
      org.jboss.windup.rules.tests.WindupRulesTest  Time elapsed: 5.091 sec  <<< ERROR!
      org.jboss.arquillian.container.spi.client.container.DeploymentException: org.eclipse.aether.resolution.DependencyResolutionException: Failure to find org.jboss.forge.furnace.container:simple:jar:forge-addon:2.25.3.Final in https://repository.jboss.org/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of jboss-public-repository-group has elapsed or updates are forced
      Caused by: java.lang.RuntimeException: org.eclipse.aether.resolution.DependencyResolutionException: Failure to find org.jboss.forge.furnace.container:simple:jar:forge-addon:2.25.3.Final in https://repository.jboss.org/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of jboss-public-repository-group has elapsed or updates are forced
      Caused by: org.eclipse.aether.resolution.DependencyResolutionException: Failure to find org.jboss.forge.furnace.container:simple:jar:forge-addon:2.25.3.Final in https://repository.jboss.org/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of jboss-public-repository-group has elapsed or updates are forced
      Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Failure to find org.jboss.forge.furnace.container:simple:jar:forge-addon:2.25.3.Final in https://repository.jboss.org/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of jboss-public-repository-group has elapsed or updates are forced
      Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Failure to find org.jboss.forge.furnace.container:simple:jar:forge-addon:2.25.3.Final in https://repository.jboss.org/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of jboss-public-repository-group has elapsed or updates are forced
      

      Attachments

        Activity

          People

            mnovotny@redhat.com Marek Novotny
            mnovotny@redhat.com Marek Novotny
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: