Use the scm plugin to checkout SVN

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <groupId>com.neu</groupId>
    <artifactId>svnscm</artifactId>
    <version>1.0-SNAPSHOT</version>
    <scm>
        <developerConnection>                  

scm:svn:https://user:pass@https://</developerConnection>
    </scm>
    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-scm-plugin</artifactId>
                <version>1.8.1</version>
                <configuration>
                    <connectionType>developerConnection</connectionType>
                    <checkoutDirectory>F:/xx</checkoutDirectory>
                    <workingDirectory>F:/xx</workingDirectory>

                </configuration>
            </plugin>
        </plugins>
    </build>
</project>

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324599479&siteId=291194637