Created
July 16, 2017 15:18
-
-
Save robsongomes/d04daf35e72db504ac3a7d471f64b8e2 to your computer and use it in GitHub Desktop.
Usando profiles no maven
This file contains 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
<!-- dependências comuns aqui --> | |
.... | |
<profile> | |
<id>prod</id> | |
<dependencies> | |
<dependency> | |
<groupId>org.postgresql</groupId> | |
<artifactId>postgresql</artifactId> | |
</dependency> | |
</dependencies> | |
</profile> | |
<profile> | |
<id>dev</id> | |
<dependencies> | |
<dependency> | |
<groupId>mysql</groupId> | |
<artifactId>mysql-connector-java</artifactId> | |
</dependency> | |
</dependencies> | |
</profile> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment