When the working directory is something other than "." the perforce edit command does not include the relative path to the files actually being edited. For instance in the case where the directory structure is:
mvn scm:edit -f a/pom.xml -Dincludes=foo.xml
will result in a failure because the method PerforceEditCommand.createCommandLine is assembling the path as if foo/.xml were at the top level.
A second instance is the case where the directory structure is:
mvn scm:edit -f a/pom.xml -Dincludes=**/pom.xml
will result in only the top-level pom.xml being opened for editing, when it should open b/pom.xml and b/c/pom.xml