maven控制版本,方便Copy!

真是气死我了,每次都要用maven控制 版本,下次直接copy:我不想用8版本了,上11版本!

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.pluginsgroupId>
                <artifactId>maven-compiler-pluginartifactId>
                <configuration>
                    <source>1.8source>
                    <target>1.8target>
                configuration>
            plugin>
        plugins>
    build>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.pluginsgroupId>
                <artifactId>maven-compiler-pluginartifactId>
                <configuration>
                    <source>1.11source>
                    <target>1.11target>
                configuration>
            plugin>
        plugins>
    build>

你可能感兴趣的:(java,maven)