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

mvn bundle:clean removes all, even the existing resources

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • maven-bundle-plugin-2.3.5
    • Maven Bundle Plugin
    • None

    Description

      When launching mvn bundle:clean, my local repository.xml file is fully emptied. However, it contained some valid resources. When debugging I can see that the computed file URL are wrong:

      At line 149 -> File file = new File( localRepoPath, value );
      The File constructor expects a pathname when the variable 'value' is an URI. So the expression file.exists() always returns false.

      Attachments

        Activity

          People

            mcculls Stuart McCulloch
            loris Loris Bouzonnet
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: