You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Jean-Baptiste Onofré (Jira)" <ji...@apache.org> on 2021/11/10 12:56:00 UTC

[jira] [Assigned] (FELIX-6454) maven-bundle-plugin resource modification

     [ https://issues.apache.org/jira/browse/FELIX-6454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré reassigned FELIX-6454:
-------------------------------------------

    Assignee: Jean-Baptiste Onofré

> 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
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>
> 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 - second "." converted to local folder path



--
This message was sent by Atlassian Jira
(v8.20.1#820001)