I suppose, I'm logged in.
Otherwise 'p4 sync -f" would produce an error, isn't it ?
Is there a command to test if the used user is logged in ?

Further, I ran the following goal

maven -e scm:update -Dusername=ecb -Dpassword=MY_PASSWD --> NOK


"p4 info" returned :

D:\p4client\components\ecb-presentation-tiles>p4 info
User name: ecb
Client name: ECB
Client host: ECB
Client root: D:\p4client\components
Current directory: d:\p4client\components\ecb-presentation-tiles
Client address: 127.0.0.1:3730
Server address: localhost:1666
Server root: C:\Programme\Perforce
Server date: 2006/02/07 12:10:03 +0100 Westeuropõische Normalzeit
Server version: P4D/NTX86/2003.2/62096 (2004/06/08)
Server license: none

Is it possible that the problem is caused by my perforce version ? I don't
have any license, it's a single user installation (for free).

Thanks, Emmanuel !

Esteban.


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


Are you logged in to Perforce?

I think perforce provider requires that you're logged in.

Emmanuel

Esteban Chavez a écrit :
> 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]
>
>
>
>


---------------------------------------------------------------------
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