[jboss-jira] [JBoss JIRA] (WFLY-10822) Provision core as a transitive dependency explicitly
Alexey Loubyansky (JIRA)
issues at jboss.org
Thu Aug 9 17:54:00 EDT 2018
Alexey Loubyansky created WFLY-10822:
----------------------------------------
Summary: Provision core as a transitive dependency explicitly
Key: WFLY-10822
URL: https://issues.jboss.org/browse/WFLY-10822
Project: WildFly
Issue Type: Task
Components: Build System
Reporter: Alexey Loubyansky
Assignee: Alexey Loubyansky
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)
{code:java}
<installation xmlns="urn:jboss:galleon:provisioning:2.0">
<feature-pack location="wildfly at maven(org.jboss.universe:community-universe):current#14.0.0.Beta2-SNAPSHOT">
<packages>
<include name="docs.examples.configs"/>
</packages>
</feature-pack>
</installation>
{code}
to
{code:java}
<installation xmlns="urn:jboss:galleon:provisioning:2.0">
<transitive>
<feature-pack location="wildfly-core at maven(org.jboss.universe:community-universe):current#6.0.0.Alpha5"/>
<feature-pack location="wildfly-servlet at maven(org.jboss.universe:community-universe):current#14.0.0.Beta2-SNAPSHOT"/>
</transitive>
<feature-pack location="wildfly at maven(org.jboss.universe:community-universe):current#14.0.0.Beta2-SNAPSHOT">
<packages>
<include name="docs.examples.configs"/>
</packages>
</feature-pack>
</installation>
{code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list