ci: ensure split JS is handled properly
MODIFY
manager/ui/war/pom.xml
manager/ui/war/pom.xml
match="&lt;base.href....&gt;" replace="&lt;base href=&apos;${ui.webcontext}&apos;&gt;" byline="true" />
<replaceregexp file="${basedir}/target/apimanui/dist/index.html"
match="&lt;script defer=&quot;defer&quot; src=&quot;([\w\/\.\-]+)&quot;"
- replace="&lt;script defer=&quot;defer&quot; src=&quot;dist/\1?cid=${timestamp}&quot;" byline="true" />
+ replace="&lt;script defer=&quot;defer&quot; src=&quot;dist/\1?cid=${timestamp}&quot;" byline="false" flags="g" />
<!-- <replaceregexp match="&lt;link.rel=&quot;stylesheet&quot;.href=&quot;([\w\/\.\-]+)&quot;"
replace="&lt;link rel=&quot;stylesheet&quot; href=&quot;\1?cid=${timestamp}&quot;"

MODIFY
manager/ui/war/tomcat8/pom.xml
manager/ui/war/tomcat8/pom.xml
replace="&lt;base href=&apos;${ui.webcontext}&apos;&gt;" byline="true" />
<replaceregexp file="${basedir}/src/main/webapp/index.html"
match="&lt;script defer=&quot;defer&quot; src=&quot;([\w\/\.\-]+)&quot;"
- replace="&lt;script defer=&quot;defer&quot; src=&quot;dist/\1?cid=${timestamp}&quot;" byline="true" />
+ replace="&lt;script defer=&quot;defer&quot; src=&quot;dist/\1?cid=${timestamp}&quot;" byline="false" flags="g" />
<echo>Successfully processed file ${project.build.directory}/${project.artifactId}-${project.version}/index.html</echo>
</target>

MODIFY
manager/ui/war/wildfly8/pom.xml
manager/ui/war/wildfly8/pom.xml
match="&lt;base.href....&gt;" replace="&lt;base href=&apos;${ui.webcontext}&apos;&gt;" byline="true" />
<replaceregexp file="${basedir}/src/main/webapp/index.html"
match="&lt;script defer=&quot;defer&quot; src=&quot;([\w\/\.\-]+)&quot;"
- replace="&lt;script defer=&quot;defer&quot; src=&quot;dist/\1?cid=${timestamp}&quot;" byline="true" />
+ replace="&lt;script defer=&quot;defer&quot; src=&quot;dist/\1?cid=${timestamp}&quot;" byline="false" flags="g" />
<echo>Successfully processed file ${project.build.directory}/${project.artifactId}-${project.version}/index.html</echo>
</target>

ci: ensure split JS is handled properly