Hi Esteban,

Somehow you need to find out the exact command that maven2 is trying to 
execute. In maven1 the -X usaully did this, but in Maven2 it doesn't seem to. 
If you want I'll give it a try. Please send me the snippet of XML you use to 
setup Perforce in pom.xml.

Regards,
C. Helck

-----Original Message-----
From: Esteban Chavez [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 07, 2006 4:58 AM
To: Maven Users List
Subject: AW: m2 and perforce ???


Hi Emmanuel,

This is what I get when running the update goal. ('maven' is my own alias for 
'mvn') Esteban.


D:\p4client\components\ecb-presentation-tiles>maven -e scm:update
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'scm'. [INFO] 
---------------------------------------------------------------------
-------
[INFO] Building Maven Webapp Archetype
[INFO]    task-segment: [scm:update] (aggregator-style)
[INFO] ---------------------------------------------------------------------
-------
[INFO] [scm:update]
[ERROR] Provider message:
[ERROR] Unable to sync
[ERROR] Command output:
[ERROR]
[INFO] ---------------------------------------------------------------------
-------
[ERROR] BUILD ERROR
[INFO] ---------------------------------------------------------------------
-------
[INFO] Command failed.
[INFO] ---------------------------------------------------------------------
-------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Command failed.
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLife
cycleExecutor.java:555)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(De
faultLifecycleExecutor.java:485)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifec
ycleExecutor.java:455)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFail
ures(DefaultLifecycleExecutor.java:303)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(Defa
ultLifecycleExecutor.java:216)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycle
Executor.java:139)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Command failed.
        at 
org.apache.maven.scm.plugin.AbstractScmMojo.checkResult(AbstractScmMojo.java
:252)
        at
org.apache.maven.scm.plugin.UpdateMojo.execute(UpdateMojo.java:70)
        at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManage
r.java:432)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLife
cycleExecutor.java:530)
        ... 16 more
[INFO] ---------------------------------------------------------------------
-------
[INFO] Total time: 4 seconds
[INFO] Finished at: Tue Feb 07 10:55:07 CET 2006
[INFO] Final Memory: 3M/6M
[INFO] ---------------------------------------------------------------------
-------




-----Ursprüngliche Nachricht-----
Von: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 7. Februar 2006 10:44
An: Maven Users List
Betreff: Re: m2 and perforce ???


Do you have an error or something?

Emmanuel

Esteban Chavez a écrit :
> Hi,
>
> is there someone who got already m2 and perforce running together ? 
> I'm unable to make a source update (mvn -e scm:update)
>
> mvn -e scm:status --> is ok
> mvn -e scm:validate --> is ok
>
> "p4 sync -f" --> is ok
>
> Thank you very much !
>
> Esteban.
>
>
> Esteban Chávez Baroni
> banking objects
>
> Moorweg 8
> 22453 Hamburg
> Phone: +49 -(0)40 - 57006757
> Mobile: +49 -(0)163 -5813639
> Mail: [EMAIL PROTECTED]
> Web: www.banking-objects.de
>
>
>
>
> ----------------------------------------------------------------------
> --
>
> ---------------------------------------------------------------------
> 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]




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


 
Thank you for being part of it.
 
The information contained in this e-mail is confidential. This e-mail is 
intended only for the stated addressee.  If you are not an addressee, you must 
not disclose, copy, circulate or in any other way use or rely on the 
information contained in this e-mail. if you have received this e-mail in 
error, please inform us immediately and delete it and all copies from your 
system.

EBS Dealing Resources International Limited. Registered address: 10 Paternoster 
Square, London EC4M 7DY, United Kingdom. Registered number 2669861.

EBS Dealing Resources, Inc, registered in Delaware. Address: 535 Madison 
Avenue, 24th Floor, New York, NY 10022, USA, and One upper Pond road, Building 
F - Floor 3, Parsippany, NJ 07054, USA.

EBS Dealing Resources Japan Limited, a Japanese Corporation. Address: Asteer 
Kayabacho Bldg, 6th Floor, 1-6-1, Shinkawa, Chuo-Ku,  Tokyo 104-0033, Japan.


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

Reply via email to