zoukankan      html  css  js  c++  java
  • springboot之父pom操作

    <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>co</groupId>
        <artifactId>microboot</artifactId>
        <version>0.0.1-SNAPSHOT</version>
        <packaging>pom</packaging>

        <name>microboot</name>
        <url>http://maven.apache.org</url>

        <properties>
            <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        </properties>

        <dependencyManagement>
            <dependencies>


                <dependency>
                    <groupId>org.springframework.boot</groupId>
                    <artifactId>spring-boot-dependencies</artifactId>
                    <version>1.5.9.RELEASE</version>
                    <type>pom</type>
                    <scope>import</scope>  <!-- 后面的包就有版本了,这也是springboot解决的重要问题(所有依赖包的版本统一) -->
                </dependency>


            </dependencies>
        </dependencyManagement>

        <build>
            <plugins>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-compiler-plugin</artifactId>
                    <configuration>
                        <!-- jdk配置为1.8 -->
                        <source>1.8</source>
                        <target>1.8</target>
                    </configuration>
                </plugin>
            </plugins>
        </build>
        <modules>
            <module>microboot-base</module>
        </modules>
    </project>

  • 相关阅读:
    作品-网站-[原生开发]云鸽信息网
    ASYNC_NETWORK_IO和PREEMPTIVE_OS_WAITFORSINGLEOBJECT等待事件
    还原一直卡在ASYNC_IO_COMPLETION浅析
    B树之C语言实现(包含查找、删除、插入)
    Asp.Net Core 禁用预编译
    ASP.NET Core Razor 视图组件
    WITH RECOMPILE 和 OPTION(RECOMPILE) 使用上的区别
    如何减少SQL Server中的PREEMPTIVE_OS_WRITEFILEGATHER等待类型
    WITH RECOMPILE和OPTION(RECOMPILE)区别
    SQL Server PageIOLatch和PageLatch
  • 原文地址:https://www.cnblogs.com/wangyuyanhello/p/8042207.html
Copyright © 2011-2022 走看看