简体   繁体   中英

where does scm plugin store the crendentials

<project>
  <modelVersion>4.0.0</modelVersion>
  <packaging>jar</packaging>
  <version>1.0-SNAPSHOT</version>
  <groupId>a</groupId>
  <artifactId>a</artifactId>
  <name>SCM Sample Project</name>
  <url>http://somecompany.com</url>

   <scm>
    <connection>scm:svn:http://my-svn-url/trunk/</connection>
    <developerConnection>scm:svn:http://my-svn-url/trunk/</developerConnection>
    <url>scm:svn:http://my-svn-url/trunk/</url>
  </scm>
  <build>
  </build>

</project>

As you can see I have no svn crendentials I am still able to checkout project. More of I think maven stores all these credentials somewhere in cache as it is NOT taking my basic configurations as "checkoutDirectory". Can anybody please help on how to clean cache ...or I am missin something :(

The settings.xml file is the correct location for username/passwords:

<server>
  <id>my-svn-url</id>
  <username>TheUserIAmOnSVN</username>
  <password>MySVNPassword</password>
</server>

Special things for Subversion you can configure into the scm provider .

If you are working locally Subversion stores username/passwords in it's own cache ($HOME/.svn/)...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM