Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-4147

WildFly full feature pack references unresolved artifact

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 9.0.0.Alpha1
    • 9.0.0.Alpha1
    • Build System
    • None

      I have a server-provisioning.xml outside of the WildFly build. It looks like this:

      <server-provisioning xmlns="urn:wildfly:server-provisioning:1.0">
          <feature-packs>
              <feature-pack groupId="org.wildfly" artifactId="wildfly-feature-pack" version="${project.version}"/>
          </feature-packs>
      </server-provisioning>
      

      When I build, I get:

      [ERROR] Failed to execute goal org.wildfly.build:wildfly-server-provisioning-maven-plugin:1.0.0.Alpha6:build (server-provisioning) on project wildfly-build: Execution ser
      ver-provisioning of goal org.wildfly.build:wildfly-server-provisioning-maven-plugin:1.0.0.Alpha6:build failed: java.lang.RuntimeException: java.lang.RuntimeException: fai
      led to resolve artifact org.wildfly:wildfly-client-all:jar:9.0.0.Alpha1: Failure to find org.wildfly:wildfly-client-all:jar:9.0.0.Alpha1 in http://repository.jboss.org/ne
      xus/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 o
      r updates are forced -> [Help 1]
      

      The problem is that wildfly-client-all is not pushed to the Maven repo. This will only work if wildfly-client-all is already in your local repo.

      Looks like wildfly-client-all simply should not be referenced in the feature pack.

              sdouglas1@redhat.com Stuart Douglas (Inactive)
              ssilvert@redhat.com Stan Silvert
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: