[
https://issues.apache.org/jira/browse/FELIX-6454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jean-Baptiste Onofré updated FELIX-6454:
----------------------------------------
Fix Version/s: maven-bundle-plugin-future
(was: maven-bundle-plugin-5.1.3)
> 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
> Fix For: maven-bundle-plugin-future
>
>
> 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)