Add version.txt with filter enabled
Fixes
<exclude>**/*.bat</exclude>
<exclude>**/wrapper.conf</exclude>
<exclude>build.xml</exclude>
+ <exclude>version.txt</exclude>
</excludes>
</fileSet>
</fileSets>
<files>
+ <file>
+ <source>target/wso2carbon-core-${carbon.kernel.version}/bin/version.txt</source>
+ <outputDirectory>wso2mi-${pom.version}/bin/</outputDirectory>
+ <filtered>true</filtered>
+ <fileMode>644</fileMode>
+ </file>
+
<file>
<source>src/conf/wrapper.conf</source>
<outputDirectory>wso2mi-${pom.version}/bin/yajsw</outputDirectory>
