Guava学习笔记(一):Maven

时间:2022-09-24 19:11:54
    <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>