Replacing version numbers spread around the all pom.xml files with properties defined in the master pom
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
5 <modelVersion>4.0.0</modelVersion>
7 <artifactId>all-quoridor</artifactId>
8 <groupId>cz.xelfi.quoridor</groupId>
11 <artifactId>statistics</artifactId>
12 <packaging>jar</packaging>
13 <version>${statisticsVersion}</version>
14 <name>Game Statistics</name>
15 <url>http://maven.apache.org</url>
18 <id>maven2-repository.dev.java.net</id>
19 <name>Java.net Repository for Maven</name>
20 <url>http://download.java.net/maven/2/</url>
21 <layout>default</layout>
24 <id>maven-repository.dev.java.net</id>
25 <name>Java.net Maven 1 Repository (legacy)</name>
26 <url>http://download.java.net/maven/1</url>
27 <layout>legacy</layout>
33 <groupId>junit</groupId>
34 <artifactId>junit</artifactId>
35 <version>4.5</version>
39 <groupId>com.sun.jersey</groupId>
40 <artifactId>jersey-core</artifactId>
41 <version>1.1.0-ea</version>
44 <groupId>com.sun.jersey</groupId>
45 <artifactId>jersey-server</artifactId>
46 <version>1.1.0-ea</version>
49 <groupId>com.sun.jersey</groupId>
50 <artifactId>jersey-json</artifactId>
51 <version>1.1.0-ea</version>
55 <artifactId>jaxb-api</artifactId>
56 <groupId>javax.xml.bind</groupId>
59 <artifactId>stax-api</artifactId>
60 <groupId>stax</groupId>
65 <groupId>com.sun.jersey.test.framework</groupId>
66 <artifactId>jersey-test-framework</artifactId>
67 <version>1.1.0-ea</version>
71 <groupId>${project.groupId}</groupId>
72 <artifactId>quoridor</artifactId>
73 <version>${quoridorVersion}</version>
77 <groupId>${project.groupId}</groupId>
78 <artifactId>webidor</artifactId>
79 <version>${webidorVersion}</version>
85 <groupId>org.apache.maven.plugins</groupId>
86 <artifactId>maven-compiler-plugin</artifactId>
87 <version>2.0.2</version>
94 <groupId>org.codehaus.mojo</groupId>
95 <artifactId>exec-maven-plugin</artifactId>
97 <mainClass>cz.xelfi.quoridor.statistics.resources.Statistics</mainClass>
101 <artifactId>maven-assembly-plugin</artifactId>
102 <version>2.2-beta-2</version>
105 <id>create-executable-jar</id>
106 <phase>package</phase>
112 <descriptor>all-zip.xml</descriptor>
114 <finalName>statistics-${version}</finalName>
120 <groupId>org.apache.maven.plugins</groupId>
121 <artifactId>maven-jar-plugin</artifactId>
125 <addClasspath>true</addClasspath>
126 <classpathPrefix>lib/</classpathPrefix>
127 <mainClass>cz.xelfi.quoridor.statistics.resources.Statistics</mainClass>
134 <description>Server with API for games statistics</description>