Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
maven-bundle-plugin-2.4.0
-
None
-
None
Description
I have simple XSLT file test.xsl in src/main/resources folder:
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"> <xsl:output method="xml"/> <xsl:template match="/"> <xsl:value-of select="concat(./first, ./second)"/> </xsl:template></xsl:stylesheet>
When bundle created with maven-bundle-plugin:2.3.7 test.xsl passed to target/project.jar without any changes.
But when bundle created with maven-bundle-plugin:2.4.0 and greater result file target/project.jar/test.xsl looks like this:
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"> <xsl:output method="xml"/> <xsl:template match="/"> <xsl:value-of select="concat(./first, C:\Users\usr\Documents\project/second)"/> </xsl:template></xsl:stylesheet>
The ./second converts to C:\Users\usr\Documents\project/second - second "." converted to local folder path