利用scm插件 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>

猜你喜欢

转载自blog.csdn.net/qq_27871313/article/details/80032412
今日推荐