Alexander Anpilov created FELIX-6454:
----------------------------------------

             Summary: maven-bundle-plugin resource modification
                 Key: FELIX-6454
                 URL: https://issues.apache.org/jira/browse/FELIX-6454
             Project: Felix
          Issue Type: Bug
          Components: Maven Bundle Plugin
    Affects Versions: maven-bundle-plugin-2.4.0
            Reporter: Alexander Anpilov


I have simple XSLT file test.xsl in src/main/resources folder:
{code:java}
<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>
{code}
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:
{code:java}
<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>

{code}
The ./second converts to *C:\Users\usr\Documents\project*/second



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to