Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-6454

maven-bundle-plugin resource modification

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • maven-bundle-plugin-2.4.0
    • None
    • Maven Bundle Plugin
    • 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

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            aanpilov Alexander Anpilov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: