ManMohan Vyas
ManMohan Vyas

Reputation: 4062

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

Upvotes: 0

Views: 25

Answers (1)

khmarbaise
khmarbaise

Reputation: 97517

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/)...

Upvotes: 0

Related Questions