/** * Copyright (c) 2010 Perforce Software. All rights reserved. */ package com.perforce.maven.scm.provider.p4.repository; import org.apache.maven.scm.provider.ScmProviderRepositoryWithHost; /** * This class will contain all SCM information about your SCM connection (user, * password, host, port, path...). */ public class P4ScmProviderRepository extends ScmProviderRepositoryWithHost { boolean ssl = false; /** The path. */ private String path; /** * Instantiates a new p4 scm provider repository. * * @param host * the host * @param port * the port * @param path * the path * @param user * the user * @param password * the password */ public P4ScmProviderRepository(boolean ssl, String host, int port, String path, String user, String password) { this.ssl = ssl; setHost(host); setPort(port); this.path = path; setUser(user); setPassword(password); } /** * Gets the path. * * @return the path */ public String getPath() { return path; } /** * Gets ssl flag. * * @return ssl flag */ public boolean isSsl() { return ssl; } }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#7 | 9519 | dantran | folder rename to match with its artifactId | ||
#6 | 9514 | dantran |
- Remove support to pick up p4port and its credential from ENV and System properties. These setttings has no use since Maven requires user to provide the required URL which has both p4port and credential. Also user can always fall back to settings.xml to store credential - Rewrite URL parser and also support password as part of URL - TCK test now has default URL and its credential is store under settings.xml - User can also issue her how scmTckUrl system properties ( to be doc as part of maven site) |
||
#5 | 9471 | dantran |
- cleanup diff command - simplify branch command and full compliant with maven-scm-test - add checkout with branch - add repo's path as client manager lookup key in addition to p4port and rootdir so that we can handle mutiple clients on the same rootdir |
||
#4 | 9259 | dantran |
hookup with maven-scm-test. Pickup user/password from system properties |
||
#3 | 9236 | dantran | back to 2014.6.1-SNAPSHOT | ||
#2 | 9184 | dantran | Correctly handle perforce protocols rather then hardwire only 'ssl' | ||
#1 | 9167 | dantran |
Populate //guest/dantran/p4maven/... from //guest/perforce_software/p4maven/main/.... |
||
//guest/perforce_software/p4maven/main/com.perforce.maven/src/main/java/com/perforce/maven/scm/provider/p4/repository/P4ScmProviderRepository.java | |||||
#2 | 9014 | Matt Attaway |
Add SSL support to P4Maven (committed on behalf of Dan Tran) USer visible change |
||
#1 | 8496 | Matt Attaway | Move P4Ant and P4Maven into their proper homes | ||
//public/perforce/p4maven/main/com.perforce.maven/src/main/java/com/perforce/maven/scm/provider/p4/repository/P4ScmProviderRepository.java | |||||
#1 | 8270 | Matt Attaway | Initial add of P4Maven source code |