Uploaded image for project: 'Continuum'
  1. Continuum
  2. CONTINUUM-2006

password is required for the perforce scm plugin error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.2.2
    • None
    • SCM
    • None
    • Patch

    Description

      Trying to checkout a perforce project I get the "password is required for the perforce scm plugin."

      Editing the project info and adding the username and password doesn't help. Looking at the code, seems to me that the information in the project is ignored when checking out for all SCM implementations.

      org.apache.maven.scm.ScmException: Exception while executing SCM command.
              at org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:63)
              at org.apache.maven.scm.provider.perforce.PerforceScmProvider.login(PerforceScmProvider.java:212)
              at org.apache.maven.scm.provider.AbstractScmProvider.login(AbstractScmProvider.java:597)
              at org.apache.maven.scm.provider.AbstractScmProvider.checkOut(AbstractScmProvider.java:403)
              at org.apache.maven.scm.provider.AbstractScmProvider.checkOut(AbstractScmProvider.java:388)
              at org.apache.maven.scm.manager.AbstractScmManager.checkOut(AbstractScmManager.java:395)
              at org.apache.continuum.scm.DefaultContinuumScm.checkout(DefaultContinuumScm.java:79)
              at org.apache.maven.continuum.core.action.CheckoutProjectContinuumAction.execute(CheckoutProjectContinuumAction.java:108)
              at org.apache.maven.continuum.buildcontroller.DefaultBuildController.performAction(DefaultBuildController.java:435)
              at org.apache.maven.continuum.buildcontroller.DefaultBuildController.updateWorkingDirectory(DefaultBuildController.java:418)
              at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:133)
              at org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:50)
              at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
              at edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
              at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:178)
              at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061)
              at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575)
              at java.lang.Thread.run(Thread.java:619)
      Caused by: org.apache.maven.scm.ScmException: password is required for the perforce scm plugin.
              at org.apache.maven.scm.provider.perforce.command.login.PerforceLoginCommand.executeLoginCommand(PerforceLoginCommand.java:63)
              at org.apache.maven.scm.command.login.AbstractLoginCommand.executeCommand(AbstractLoginCommand.java:45)
              at org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:59)
              ... 17 more
      

      patch to come

      Attachments

        Issue Links

          Activity

            People

              carlos Carlos Sanchez Gonzalez
              carlos Carlos Sanchez Gonzalez
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: