2006/12/9, Dan Tran <[EMAIL PROTECTED]>:
I am not a perforce user, but if you post your pom and error, someone may be
able to help.


Hi,

meanwhile I know that it is definitely an issue of the
maven-scm-provider-perforce.  SVN worked without problems. I don't
think it is a bug, but documentation about how the MavenSCM API maps
Perforce to the "svn-style" source code management is rare, and I
figured out the problem only after looking into the sources.

For some reason the getRepoPath method tries to use the p4 where
command when it finds a pom.xml, hence assuming that the pom.xml is
also under source control. Since in my case it is not, the method
returns null and that lead to the NullpointException.

Anyway I  wonder if this would work *even if* the pom.xml would be
under source control. If I  currently have a different clientspec
active, the p4 where would not find the pom.xml either...

Best Regards,
Matthias

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to