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

Provision core as a transitive dependency explicitly

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • 14.0.0.Beta2
    • None
    • Build System
    • None

    Description

      Currently core is installed implicitly as a dependency of wildfly and servlet. We use resolve-local elements in provision goal config for core and servlet feature-packs. Those are shortcuts to avoid the universe-based feature-pack resolver.
      If instead of resolve-local elements we use feature-pack/transitive elements we will achieve the same effect avoiding the universe-based resolver and it will also allow us to specify the version of core using a system property.
      The only difference will show up in .galleon/provisioning.xml, which will change from (based on build module)

      <installation xmlns="urn:jboss:galleon:provisioning:2.0">
          <feature-pack location="wildfly@maven(org.jboss.universe:community-universe):current#14.0.0.Beta2-SNAPSHOT">
              <packages>
                  <include name="docs.examples.configs"/>
              </packages>
          </feature-pack>
      </installation>
      

      to

      <installation xmlns="urn:jboss:galleon:provisioning:2.0">
          <transitive>
              <feature-pack location="wildfly-core@maven(org.jboss.universe:community-universe):current#6.0.0.Alpha5"/>
              <feature-pack location="wildfly-servlet@maven(org.jboss.universe:community-universe):current#14.0.0.Beta2-SNAPSHOT"/>
          </transitive>
          <feature-pack location="wildfly@maven(org.jboss.universe:community-universe):current#14.0.0.Beta2-SNAPSHOT">
              <packages>
                  <include name="docs.examples.configs"/>
              </packages>
          </feature-pack>
      </installation>
      

      Attachments

        Activity

          People

            olubyans@redhat.com Alexey Loubyansky
            olubyans@redhat.com Alexey Loubyansky
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: