Guava学习笔记(一):Maven

    <dependencies>
        <dependency>
            <groupId>com.google.guava</groupId>
            <artifactId>guava</artifactId>
            <version>18.0</version>
        </dependency>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.12</version>
        </dependency>
    </dependencies>
    <build>
        <plugins>
            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.1</version>
                <configuration>
                    <target>1.9</target>
                    <source>1.9</source>
                    <testTarget>1.9</testTarget>
                    <testSource>1.9</testSource>
                </configuration>
            </plugin>
        </plugins>
    </build>
原文地址:https://www.cnblogs.com/yw0219/p/9439599.html