You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by mt...@gmx.net on 2006/12/09 01:54:44 UTC
Example pom.xml for scm:checkout
Hello,
I'm currently trying to figure out a pom.xml that simply checks out
some files from a perforce depot. I've tried several ways, but nothing
worked and now I'm beginning to despair...
Can anyone show me a simple example pom.xml that is actually working?
It needn't be perforce...
Thanks in advance!
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Example pom.xml for scm:checkout
Posted by mt...@gmx.net.
2006/12/9, Dan Tran <da...@gmail.com>:
> 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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Example pom.xml for scm:checkout
Posted by Dan Tran <da...@gmail.com>.
I am not a perforce user, but if you post your pom and error, someone may be
able to help.
D
On 12/8/06, mttw@gmx.net <mt...@gmx.net> wrote:
>
> Hello,
>
> I'm currently trying to figure out a pom.xml that simply checks out
> some files from a perforce depot. I've tried several ways, but nothing
> worked and now I'm beginning to despair...
>
> Can anyone show me a simple example pom.xml that is actually working?
> It needn't be perforce...
>
> Thanks in advance!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>