|
21 | 21 | <hibernate-validator.version>5.2.2.Final</hibernate-validator.version> |
22 | 22 | <aws-java-sdk.version>1.10.39</aws-java-sdk.version> |
23 | 23 | <mockito.version>1.10.19</mockito.version> |
| 24 | + <maven.cobertura.plugin.version>2.7</maven.cobertura.plugin.version> |
24 | 25 |
|
25 | 26 | <cdi>1.2</cdi> |
26 | 27 | <commons.lang>3.4</commons.lang> |
27 | 28 |
|
28 | 29 | <maven.compiler.source>1.7</maven.compiler.source> |
29 | 30 | <maven.compiler.target>1.7</maven.compiler.target> |
| 31 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 32 | + <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
30 | 33 | </properties> |
31 | 34 |
|
32 | 35 | <dependencyManagement> |
|
134 | 137 | </dependencies> |
135 | 138 |
|
136 | 139 | <build> |
137 | | - <pluginManagement> |
138 | | - <plugins> |
139 | | - <plugin> |
140 | | - <groupId>org.apache.maven.plugins</groupId> |
141 | | - <artifactId>maven-checkstyle-plugin</artifactId> |
142 | | - <version>2.15</version> |
143 | | - <dependencies> |
144 | | - <dependency> |
145 | | - <groupId>com.puppycrawl.tools</groupId> |
146 | | - <artifactId>checkstyle</artifactId> |
147 | | - <version>6.6</version> |
148 | | - </dependency> |
149 | | - </dependencies> |
150 | | - <configuration> |
151 | | - <includeTestSourceDirectory>true</includeTestSourceDirectory> |
152 | | - <failOnViolation>false</failOnViolation> |
153 | | - </configuration> |
154 | | - </plugin> |
155 | | - </plugins> |
156 | | - </pluginManagement> |
157 | 140 | <plugins> |
| 141 | + <plugin> |
| 142 | + <groupId>org.codehaus.mojo</groupId> |
| 143 | + <artifactId>cobertura-maven-plugin</artifactId> |
| 144 | + <version>${maven.cobertura.plugin.version}</version> |
| 145 | + <configuration> |
| 146 | + <formats> |
| 147 | + <format>xml</format> |
| 148 | + <format>html</format> |
| 149 | + </formats> |
| 150 | + <check> |
| 151 | + <totalBranchRate>85</totalBranchRate> |
| 152 | + <totalLineRate>91</totalLineRate> |
| 153 | + <haltOnFailure>true</haltOnFailure> |
| 154 | + </check> |
| 155 | + </configuration> |
| 156 | + </plugin> |
158 | 157 | <plugin> |
159 | 158 | <groupId>org.apache.maven.plugins</groupId> |
160 | 159 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 160 | + <version>2.15</version> |
| 161 | + <dependencies> |
| 162 | + <dependency> |
| 163 | + <groupId>com.puppycrawl.tools</groupId> |
| 164 | + <artifactId>checkstyle</artifactId> |
| 165 | + <version>6.6</version> |
| 166 | + </dependency> |
| 167 | + </dependencies> |
161 | 168 | <executions> |
162 | 169 | <execution> |
163 | 170 | <id>verify-style</id> |
|
168 | 175 | </execution> |
169 | 176 | </executions> |
170 | 177 | <configuration> |
| 178 | + <includeTestSourceDirectory>true</includeTestSourceDirectory> |
171 | 179 | <logViolationsToConsole>true</logViolationsToConsole> |
172 | 180 | <configLocation>checkstyle.xml</configLocation> |
173 | 181 | </configuration> |
|
243 | 251 | </execution> |
244 | 252 | </executions> |
245 | 253 | </plugin> |
246 | | - <plugin> |
247 | | - <groupId>org.codehaus.mojo</groupId> |
248 | | - <artifactId>cobertura-maven-plugin</artifactId> |
249 | | - <version>2.5.1</version> |
250 | | - </plugin> |
251 | 254 |
|
252 | 255 | <plugin> |
253 | 256 | <groupId>org.apache.maven.plugins</groupId> |
|
264 | 267 | <url>https://github.com/derjust/spring-data-dynamodb</url> |
265 | 268 | <connection>scm:git:ssh://github.com/derjust/spring-data-dynamodb.git</connection> |
266 | 269 | <developerConnection>scm:git:ssh://git@github.com/derjust/spring-data-dynamodb.git</developerConnection> |
267 | | - <tag>spring-data-dynamodb-1.0.5</tag> |
268 | | - </scm> |
| 270 | + </scm> |
269 | 271 |
|
270 | 272 | <repositories> |
271 | 273 | <repository> |
|
0 commit comments