Hi Robert,

I don't directly use the scm plugin, but Subversion's usage model
requires you to "add" things before you can "checkin" them.  So maybe
what you're looking for is "scm:add"?:

   http://maven.apache.org/scm/plugins/add-mojo.html

Why aren't you using the subversion executable directly, instead of
going through Maven?

Steve

Robert Blixt wrote:
> 
>  Hi,
> 
> I'm trying to get maven2 and subversion to
> work. But I've stumbled upon a problem.
> 
> I have created my project locally with a
> pom.xml (which includes the scm with all needed
> subtags).
> 
> Now I would like to add this project to subversion
> source control. I thought that all I would need
> to do was to launch:
> 
> mvn -Dmessage="Initial commit." scm:checkin
> 
> But this won't work, I get the following error:
> [ERROR] svn: Commit failed (details follow):
> svn: File not found: transaction '49-1', path '/trunk/myProject/.classpath'
> 
> What should I do to add my maven2 project to Subversion?
> 
> 
> Kind Regards,
> Robert
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


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

Reply via email to