Created
October 5, 2016 10:02
-
-
Save sammyrulez/53286a1162414e5f7a5871c7f3df3ca3 to your computer and use it in GitHub Desktop.
maven spring profile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project> | |
... | |
<profiles> | |
<profile> | |
<id>local</id> | |
<build> | |
... | |
<plugins> | |
... | |
<plugin> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-maven-plugin</artifactId> | |
<version>1.4.1.RELEASE</version> | |
<configuration> | |
<profiles> | |
<profile>local</profile> | |
</profiles> | |
</configuration> | |
... | |
</plugin> | |
... | |
</plugins> | |
... | |
</build> | |
</profile> | |
<profile> | |
<id>server</id> | |
<build> | |
... | |
<plugins> | |
... | |
<plugin> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-maven-plugin</artifactId> | |
<version>1.4.1.RELEASE</version> | |
<configuration> | |
<profiles> | |
<profile>server</profile> | |
</profiles> | |
</configuration> | |
... | |
</plugin> | |
... | |
</plugins> | |
... | |
</build> | |
</profile> | |
</profiles> | |
... | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment