Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the difference between `spring-boot-maven-plugin` and `maven-compiler-plugin`?

Tags:

I do not know the difference between spring-boot-maven-plugin and maven-compiler-plugin.

   <build>
        <plugins>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
            </plugin>
            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <source>${java.version}</source>
                    <target>${java.version}</target>
                    <encoding>UTF-8</encoding>
                </configuration>
            </plugin>
        </plugins>
    </build>

Is that mean Spring Boot Maven Plugin's feature include maven-compiler-plugin?

I just use Spring Boot Maven Plugin is ok, do not need add 2 plugins??