Anthill Pro build server expects to be logged into Perforce.  Using the release 
plugin, a perforce login is invoked continuously.
---------------------------------------------------------------------------------------------------------------------------------

                 Key: MRELEASE-639
                 URL: http://jira.codehaus.org/browse/MRELEASE-639
             Project: Maven 2.x Release Plugin
          Issue Type: New Feature
    Affects Versions: 2.1
         Environment: Anthill Pro/Perforce, maven-scm-provider-perforce
            Reporter: gary fry
         Attachments: PerforceLoginCommand.java, PerforceLoginCommandTest.java

Currently we have a build system that relies on a Perforce client to be 
continuously logged in.  We have taken a fork of the release plugin to make it 
work this way.  ie we've commented out the login code.  A better solution is to 
make this available for others with similar problems.

If a property was provided, it would enable bypassing the Perforce login 
command.  Attached suggested fix.

if -Dmaven.scm.perforce.perform.login is not coded, default behaviour occurs 
(ie p4 login)
if -Dmaven.scm.perforce.perform.login=true is coded, default behaviour occurs 
(ie p4 login)
if -Dmaven.scm.perforce.perform.login=false is coded, no Perforce login occurs 
and a warning is logged.



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to