Bug 1040931 - Maven plugin creates empty switchyard.xml when using resources filtering
Summary: Maven plugin creates empty switchyard.xml when using resources filtering
Keywords:
Status: NEW
Alias: None
Product: JBoss Fuse Service Works 6
Classification: JBoss
Component: SwitchYard
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Rob Cernich
QA Contact: Matej Melko
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-12 11:13 UTC by Tomas Rohovsky
Modified: 2021-11-08 10:23 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Maven plugin creates empty switchyard.xml when using resources filtering. As a result, Maven resource filtering does not work as expected. A workaround for this is generating the filtered resource to another directory and including that in the Mojo configuration.
Clone Of:
Environment:
Last Closed:
Type: Bug


Attachments (Terms of Use)
reporducer (6.22 KB, application/zip)
2013-12-12 11:13 UTC, Tomas Rohovsky
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SWITCHYARD-1501 0 Minor Open Allow switchyard-plugin (config Mojo) to apply Maven resource filtering 2016-01-08 16:13:52 UTC
Red Hat Issue Tracker SWITCHYARD-1892 0 Major Closed Maven plugin creates empty switchyard.xml when using resources filtering 2016-01-08 16:13:52 UTC

Description Tomas Rohovsky 2013-12-12 11:13:16 UTC
Created attachment 835734 [details]
reporducer

Maven plugin creates empty switchyard.xml when using resources filtering (http://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html). It does not matter if switchyard.xml contains placeholders or not. The reporducer is attached.

Steps to reproduce:
1. run reproducer: mvn clean package -DjmsImpl=activemq
2. open switchyard.xml from target directory, it contains only root element
3. open jmsImpl.xml to see that ${jmsImpl} was correctly substituated

Comment 1 JBoss JIRA Server 2013-12-12 13:11:07 UTC
Keith Babo <kbabo> updated the status of jira SWITCHYARD-1892 to Closed

Comment 2 Keith Babo 2013-12-12 13:12:03 UTC
Note workaround mentioned here:
https://issues.jboss.org/browse/SWITCHYARD-1501

Comment 3 kconner 2014-10-07 17:57:55 UTC
PRIVATE: related to 1083087


Note You need to log in before you can comment on or make changes to this bug.