Skip to content

Commit

Permalink
POM: add release profile to always build against specific HV version
Browse files Browse the repository at this point in the history
  • Loading branch information
jirutka committed May 8, 2014
1 parent fc11357 commit 4fb84db
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,13 @@
</issueManagement>


<!--//////////////////// PROPERTIES ////////////////////-->

<properties>
<hibernate-validator.version>[5.1.0.Final,)</hibernate-validator.version>
</properties>


<!--//////////////////// DEPENDENCIES ////////////////////-->

<dependencies>
Expand All @@ -73,7 +80,7 @@
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>
<version>[5.1.0.Final,)</version>
<version>${hibernate-validator.version}</version>
</dependency>

<dependency>
Expand Down Expand Up @@ -114,4 +121,13 @@
</dependency>
</dependencies>

<profiles>
<profile>
<id>release</id>

<properties>
<hibernate-validator.version>5.1.1.Final</hibernate-validator.version>
</properties>
</profile>
</profiles>
</project>

0 comments on commit 4fb84db

Please sign in to comment.