[
https://issues.apache.org/jira/browse/FELIX-457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12561208#action_12561208
]
Stuart McCulloch commented on FELIX-457:
----------------------------------------
Also, File.separatorChar is not used is because '\' does not represent a path
separator for a URI, which is what PathFile expects...
> Incorrect URI generated by obr-plugin:deploy
> --------------------------------------------
>
> Key: FELIX-457
> URL: https://issues.apache.org/jira/browse/FELIX-457
> Project: Felix
> Issue Type: Bug
> Components: Maven OBR Plugin
> Affects Versions: 1.0.0
> Environment: Windows XP, Java 1.6.0_02, Maven 2.0.8,
> maven-obr-plugin-1.0.0 (release)
> Reporter: I-Ann Chen
> Assignee: Stuart McCulloch
> Fix For: 1.0.1
>
>
> When I tried deploying to a remote repository, the URI generated by the
> maven-obr-plugin was './C:/MAVEN_REPO/foo.jar' instead of './foo.jar'
> I believe this is because the extractFileName method in the PathFile class is
> using '/' instead of File.seperatorChar because after I replaced that, it
> worked as expected.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.