[
https://issues.apache.org/jira/browse/FELIX-2346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stuart McCulloch resolved FELIX-2346.
-------------------------------------
Resolution: Fixed
Fix Version/s: maven-bundle-plugin-2.3.5
Assignee: Stuart McCulloch
Fixed in r1139413
> 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
> Assignee: Stuart McCulloch
> Fix For: maven-bundle-plugin-2.3.5
>
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira