Try running it with the -e (error) or -X (debug) flags to get a more
detailed error message from the command line.

On 12/13/06, noop <[EMAIL PROTECTED]> wrote:


Hi,
I am Maven rookie. I am trying to integrate maven with perforce.
I am able to run the p4 commands without any problems from the
console.Using
maven ,Checkout and update work. However maven checkin and edit do not
seem
to work.

"mvn scm:edit" does not give any error on the console . However, the files
are still in read-only mode.

"mvn scm:checkin -Dmessage="checkin"" fails with the following output.

C:\Maven\perf111\target\checkout>mvn scm:checkin -Dmessage="adf"
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'scm'.
[INFO]
--------------------------------------------------------------------------
[INFO] Building perf111
[INFO]    task-segment: [scm:checkin]
[INFO]
--------------------------------------------------------------------------
[INFO] [scm:checkin]
[ERROR] Provider message:
[ERROR] Unable to submit
[ERROR] Command output:
[ERROR]
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Command failed.Unable to submit
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 3 seconds
[INFO] Finished at: Wed Dec 13 12:22:11 GMT+05:30 2006
[INFO] Final Memory: 4M/8M
[INFO]
------------------------------------------------------------------------

this is my pom.xml

<?xml version="1.0" encoding="utf-8"?>

  4.0.0
  com.sap.maven.app
  perf111
  jar
  1.0-SNAPSHOT
  perf111
  http://maven.apache.org


      junit
      junit
      3.8.1
      test



scm:perforce::3023://depot/perf111
scm:perforce::3023//depot/perf111
scm:perforce::3023

Can anyone tell me if i am missing something here?

Best Regards,
anoop
--
View this message in context:
http://www.nabble.com/Maven-%2B-Perforce---Checkin-problem-tf2812511s177.html#a7848596
Sent from the Maven - Users mailing list archive at Nabble.com.




--
Eric Redmond
http://codehaus.org/~eredmond

Reply via email to