|
15 | 15 | See the License for the specific language governing permissions and |
16 | 16 | limitations under the License. |
17 | 17 | --> |
18 | | -<project xmlns="http://maven.apache.org/POM/4.0.0" |
19 | | - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
20 | | - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 18 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
21 | 19 | <modelVersion>4.0.0</modelVersion> |
22 | 20 | <parent> |
23 | 21 | <groupId>org.jboss.aerogear</groupId> |
|
28 | 26 |
|
29 | 27 | <groupId>org.jboss.aerogear.unifiedpush</groupId> |
30 | 28 | <artifactId>unifiedpush-parent</artifactId> |
31 | | - <version>2.1.1-SNAPSHOT</version> |
| 29 | + <version>2.1.1.Final</version> |
32 | 30 | <packaging>pom</packaging> |
33 | 31 |
|
34 | 32 | <name>AeroGear UnifiedPush Server</name> |
|
39 | 37 | <developerConnection>scm:git:git@github.com:aerogear/aerogear-unifiedpush-server.git |
40 | 38 | </developerConnection> |
41 | 39 | <url>https://github.com/aerogear/aerogear-unifiedpush-server</url> |
42 | | - <tag>HEAD</tag> |
| 40 | + <tag>2.1.1.Final</tag> |
43 | 41 | </scm> |
44 | 42 |
|
45 | 43 | <issueManagement> |
|
324 | 322 | </goals> |
325 | 323 | <configuration> |
326 | 324 | <target> |
327 | | - <taskdef name="jacoco-report" classname="org.jacoco.ant.ReportTask" |
328 | | - classpathref="maven.plugin.classpath"/> |
329 | | - <taskdef classpathref="maven.runtime.classpath" |
330 | | - resource="net/sf/antcontrib/antcontrib.properties"/> |
331 | | - <available file="${project.build.sourceDirectory}" type="dir" |
332 | | - property="source.dir.exists"/> |
333 | | - <available file="${jacoco.report.file}" property="exec.file.exists"/> |
| 325 | + <taskdef name="jacoco-report" classname="org.jacoco.ant.ReportTask" classpathref="maven.plugin.classpath" /> |
| 326 | + <taskdef classpathref="maven.runtime.classpath" resource="net/sf/antcontrib/antcontrib.properties" /> |
| 327 | + <available file="${project.build.sourceDirectory}" type="dir" property="source.dir.exists" /> |
| 328 | + <available file="${jacoco.report.file}" property="exec.file.exists" /> |
334 | 329 | <if> |
335 | | - <equals arg1="${source.dir.exists}" arg2="true"/> |
| 330 | + <equals arg1="${source.dir.exists}" arg2="true" /> |
336 | 331 | <then> |
337 | 332 | <copy todir="${jacoco.prep.sources}"> |
338 | | - <fileset dir="${project.build.sourceDirectory}"/> |
| 333 | + <fileset dir="${project.build.sourceDirectory}" /> |
339 | 334 | </copy> |
340 | 335 | <copy todir="${jacoco.prep.classes}"> |
341 | | - <fileset dir="${project.build.directory}/classes"/> |
| 336 | + <fileset dir="${project.build.directory}/classes" /> |
342 | 337 | </copy> |
343 | 338 | <if> |
344 | | - <equals arg1="${exec.file.exists}" arg2="true"/> |
| 339 | + <equals arg1="${exec.file.exists}" arg2="true" /> |
345 | 340 | <then> |
346 | 341 | <trycatch reference="report_exception"> |
347 | 342 | <try> |
348 | 343 | <jacoco-report> |
349 | 344 | <executiondata> |
350 | | - <file file="${jacoco.report.file}"/> |
| 345 | + <file file="${jacoco.report.file}" /> |
351 | 346 | </executiondata> |
352 | 347 | <structure name="AeroGear UnifiedPush Server Unit Tests"> |
353 | 348 | <classfiles> |
354 | | - <fileset dir="${jacoco.prep.classes}"/> |
| 349 | + <fileset dir="${jacoco.prep.classes}" /> |
355 | 350 | </classfiles> |
356 | 351 | <sourcefiles encoding="${project.build.sourceEncoding}"> |
357 | | - <fileset dir="${jacoco.prep.sources}"/> |
| 352 | + <fileset dir="${jacoco.prep.sources}" /> |
358 | 353 | </sourcefiles> |
359 | 354 | </structure> |
360 | | - <html destdir="${jacoco.report.output}"/> |
| 355 | + <html destdir="${jacoco.report.output}" /> |
361 | 356 | </jacoco-report> |
362 | 357 | </try> |
363 | 358 | <catch> |
364 | | - <property name="exception" refid="report_exception"/> |
365 | | - <property name="message" |
366 | | - value="Error while generating jacoco report: ${exception}"/> |
367 | | - <echo message="${message}"/> |
| 359 | + <property name="exception" refid="report_exception" /> |
| 360 | + <property name="message" value="Error while generating jacoco report: ${exception}" /> |
| 361 | + <echo message="${message}" /> |
368 | 362 | </catch> |
369 | 363 | </trycatch> |
370 | 364 | </then> |
371 | 365 | <else> |
372 | | - <echo |
373 | | - message=".exec file is missing! Expected at: ${jacoco.report.file}!"/> |
| 366 | + <echo message=".exec file is missing! Expected at: ${jacoco.report.file}!" /> |
374 | 367 | </else> |
375 | 368 | </if> |
376 | 369 | </then> |
377 | 370 | <else> |
378 | | - <echo |
379 | | - message="Source directory ${project.build.sourceDirectory} doesn't exist!"/> |
| 371 | + <echo message="Source directory ${project.build.sourceDirectory} doesn't exist!" /> |
380 | 372 | </else> |
381 | 373 | </if> |
382 | 374 | </target> |
|
0 commit comments