]
Alessio Soldano updated WFLY-12091:
-----------------------------------
Summary: galleon-pack incorrect processing of subsystem.jaxrs (was: galleon-pack
incorrect processing of subsyste.jaxrs)
galleon-pack incorrect processing of subsystem.jaxrs
----------------------------------------------------
Key: WFLY-12091
URL:
https://issues.jboss.org/browse/WFLY-12091
Project: WildFly
Issue Type: Bug
Components: Build System
Affects Versions: 17.0.0.Beta1
Environment: Fedora
jdk-10
mvn 3.3.9
wfly 17.0.0.Beta1-SNAPSHOT
Reporter: r searls
Assignee: Brian Stansberry
Priority: Major
Attachments: xgalleon-pack-issue-may17.zip
The tools are not properly handling a simple attribute addition to subsystem.jaxrs.
I have added an attribute to jaxrs/src/main/resources/subsystem-templates/jaxrs.xml.
The new definition is this,
<subsystem xmlns="urn:jboss:domain:jaxrs:2.0"
statistics-enabled="${wildfly.jaxrs.statistics-enabled:${wildfly.statistics-enabled:false}}"
/>
The old definition was this
<subsystem xmlns="urn:jboss:domain:jaxrs:2.0"/>
I have made the following changes in 2 files galleon-pack files but
none of this is reflected in the generated standalone*.xml files.
- to galleon-pack/src/main/resources/feature_groups/basic-profile.xml I added
<feature spec="subsystem.jaxrs">
<param name="statistics-enabled"
value="${wildfly.jaxrs.statistics-enabled:${wildfly.statistics-jaxrs:false}}"/>
</feature>
- to galleon-pack/src/main/resources/layers/standalone/jaxrs/layer-spec.xml I added
<feature spec="subsystem.jaxrs">
<param name="statistics-enabled"
value="${wildfly.jaxrs.statistics-enabled:${wildfly.statistics-jaxrs:false}}"/>
</feature>
This change is required for
https://issues.jboss.org/browse/WFLY-11943
Attached zip file contains the files I changed and tested with.