mvn bundle:clean removes all, even the existing resources
---------------------------------------------------------

                 Key: FELIX-2346
                 URL: https://issues.apache.org/jira/browse/FELIX-2346
             Project: Felix
          Issue Type: Bug
          Components: Maven Bundle Plugin
         Environment: Maven Bundle Plugin 2.1.0
Apache Maven 3.0-beta-1 (r935667; 2010-04-19 19:00:39+0200)
Java version: 1.6.0_20
Java home: /usr/lib/jvm/java-6-sun-1.6.0.20/jre
Default locale: fr_FR, platform encoding: UTF-8
OS name: "linux" version: "2.6.24-27-server" arch: "i386" Family: "unix"
            Reporter: Loris Bouzonnet


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to