[13] | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
---|
| 2 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
---|
| 3 | <modelVersion>4.0.0</modelVersion> |
---|
| 4 | <groupId>flarmradar</groupId> |
---|
| 5 | <artifactId>ch.netzschmiede.flarmradar.all</artifactId> |
---|
| 6 | <version>0.0.1-SNAPSHOT</version> |
---|
| 7 | <packaging>pom</packaging> |
---|
| 8 | <name>ch.netzschmiede.flarmradar.all</name> |
---|
| 9 | <description>Aggregator module for Project Flarm-Radar</description> |
---|
| 10 | <url>http://www.flarmradar.ch</url> |
---|
| 11 | |
---|
[66] | 12 | <repositories> |
---|
| 13 | <repository> |
---|
| 14 | <id>local-project-libraries</id> |
---|
| 15 | <name>Local project libraries</name> |
---|
| 16 | <url>file://${project.basedir}/3rdparty-libs</url> |
---|
| 17 | <layout>default</layout> |
---|
| 18 | </repository> |
---|
[72] | 19 | <repository> |
---|
| 20 | <id>ZK CE</id> |
---|
| 21 | <name>ZK CE Repository</name> |
---|
| 22 | <url>http://mavensync.zkoss.org/maven2</url> |
---|
| 23 | </repository> |
---|
| 24 | <repository> |
---|
| 25 | <id>ZK_EVAL</id> |
---|
| 26 | <name>ZK PE Evaluation Repository</name> |
---|
| 27 | <url>http://mavensync.zkoss.org/eval</url> |
---|
| 28 | </repository> |
---|
[66] | 29 | </repositories> |
---|
| 30 | |
---|
[13] | 31 | <!-- when this module is build, then build also the following ones --> |
---|
| 32 | <modules> |
---|
| 33 | <module>api</module> |
---|
[14] | 34 | <module>assembly</module> |
---|
[13] | 35 | <module>lib</module> |
---|
| 36 | <module>srv</module> |
---|
| 37 | <module>web</module> |
---|
| 38 | </modules> |
---|
| 39 | |
---|
[14] | 40 | <!-- define version numbers for all used libraries (own and 3rdparty) here --> |
---|
| 41 | <dependencyManagement> |
---|
| 42 | <dependencies> |
---|
| 43 | <!-- our own modules --> |
---|
| 44 | <dependency> |
---|
| 45 | <groupId>flarmradar</groupId> |
---|
| 46 | <artifactId>ch.netzschmiede.flarmradar</artifactId> |
---|
| 47 | <version>${project.version}</version> |
---|
| 48 | </dependency> |
---|
| 49 | <dependency> |
---|
| 50 | <groupId>flarmradar</groupId> |
---|
[40] | 51 | <artifactId>ch.netzschmiede.flarmradar.api.core</artifactId> |
---|
| 52 | <version>${project.version}</version> |
---|
| 53 | </dependency> |
---|
| 54 | <dependency> |
---|
| 55 | <groupId>flarmradar</groupId> |
---|
[22] | 56 | <artifactId>ch.netzschmiede.flarmradar.api.flarmdata</artifactId> |
---|
| 57 | <version>${project.version}</version> |
---|
| 58 | </dependency> |
---|
| 59 | <dependency> |
---|
| 60 | <groupId>flarmradar</groupId> |
---|
[14] | 61 | <artifactId>ch.netzschmiede.flarmradar.lib.log</artifactId> |
---|
| 62 | <version>${project.version}</version> |
---|
| 63 | </dependency> |
---|
| 64 | <dependency> |
---|
| 65 | <groupId>flarmradar</groupId> |
---|
| 66 | <artifactId>ch.netzschmiede.flarmradar.lib.remote</artifactId> |
---|
| 67 | <version>${project.version}</version> |
---|
| 68 | </dependency> |
---|
| 69 | <dependency> |
---|
| 70 | <groupId>flarmradar</groupId> |
---|
| 71 | <artifactId>ch.netzschmiede.flarmradar.lib.upgrade</artifactId> |
---|
| 72 | <version>${project.version}</version> |
---|
| 73 | </dependency> |
---|
| 74 | <dependency> |
---|
| 75 | <groupId>flarmradar</groupId> |
---|
| 76 | <artifactId>ch.netzschmiede.flarmradar.web.login</artifactId> |
---|
| 77 | <version>${project.version}</version> |
---|
| 78 | <type>war</type> |
---|
| 79 | </dependency> |
---|
| 80 | <dependency> |
---|
| 81 | <groupId>flarmradar</groupId> |
---|
[51] | 82 | <artifactId>ch.netzschmiede.flarmradar.web.radar</artifactId> |
---|
| 83 | <version>${project.version}</version> |
---|
| 84 | <type>war</type> |
---|
| 85 | </dependency> |
---|
| 86 | <dependency> |
---|
| 87 | <groupId>flarmradar</groupId> |
---|
[24] | 88 | <artifactId>ch.netzschmiede.flarmradar.web.rest</artifactId> |
---|
| 89 | <version>${project.version}</version> |
---|
| 90 | <type>war</type> |
---|
| 91 | </dependency> |
---|
| 92 | <dependency> |
---|
| 93 | <groupId>flarmradar</groupId> |
---|
[39] | 94 | <artifactId>ch.netzschmiede.flarmradar.srv.core</artifactId> |
---|
| 95 | <version>${project.version}</version> |
---|
| 96 | <type>ejb</type> |
---|
| 97 | </dependency> |
---|
| 98 | <dependency> |
---|
| 99 | <groupId>flarmradar</groupId> |
---|
[22] | 100 | <artifactId>ch.netzschmiede.flarmradar.srv.flarmdata</artifactId> |
---|
| 101 | <version>${project.version}</version> |
---|
| 102 | <type>ejb</type> |
---|
| 103 | </dependency> |
---|
[14] | 104 | |
---|
| 105 | <!-- third party libraries --> |
---|
| 106 | <dependency> |
---|
[22] | 107 | <groupId>javax</groupId> |
---|
| 108 | <artifactId>javaee-api</artifactId> |
---|
| 109 | <version>6.0</version> |
---|
| 110 | </dependency> |
---|
| 111 | <dependency> |
---|
| 112 | <groupId>javax</groupId> |
---|
| 113 | <artifactId>javaee-web-api</artifactId> |
---|
| 114 | <version>6.0</version> |
---|
| 115 | </dependency> |
---|
| 116 | <dependency> |
---|
[14] | 117 | <groupId>org.slf4j</groupId> |
---|
| 118 | <artifactId>slf4j-api</artifactId> |
---|
| 119 | <version>1.6.6</version> |
---|
| 120 | </dependency> |
---|
[22] | 121 | <dependency> |
---|
[42] | 122 | <groupId>log4j</groupId> |
---|
| 123 | <artifactId>log4j</artifactId> |
---|
| 124 | <version>1.2.17</version> |
---|
| 125 | </dependency> |
---|
| 126 | <dependency> |
---|
| 127 | <groupId>org.slf4j</groupId> |
---|
| 128 | <artifactId>slf4j-simple</artifactId> |
---|
| 129 | <version>1.6.6</version> |
---|
| 130 | </dependency> |
---|
| 131 | <dependency> |
---|
[62] | 132 | <groupId>org.slf4j</groupId> |
---|
| 133 | <artifactId>slf4j-log4j12</artifactId> |
---|
| 134 | <version>1.6.6</version> |
---|
| 135 | </dependency> |
---|
| 136 | <dependency> |
---|
[37] | 137 | <groupId>org.liquibase</groupId> |
---|
| 138 | <artifactId>liquibase-core</artifactId> |
---|
| 139 | <version>2.0.3</version> |
---|
| 140 | </dependency> |
---|
| 141 | <dependency> |
---|
| 142 | <groupId>commons-lang</groupId> |
---|
| 143 | <artifactId>commons-lang</artifactId> |
---|
| 144 | <version>2.6</version> |
---|
| 145 | </dependency> |
---|
| 146 | <dependency> |
---|
[22] | 147 | <groupId>org.jboss.resteasy</groupId> |
---|
| 148 | <artifactId>resteasy-jaxrs</artifactId> |
---|
| 149 | <version>2.3.2.Final</version> |
---|
| 150 | <scope>provided</scope> |
---|
| 151 | </dependency> |
---|
[24] | 152 | <dependency> |
---|
| 153 | <groupId>junit</groupId> |
---|
| 154 | <artifactId>junit</artifactId> |
---|
| 155 | <version>4.10</version> |
---|
| 156 | </dependency> |
---|
[66] | 157 | <dependency> |
---|
| 158 | <groupId>org.zkoss.zkforge</groupId> |
---|
| 159 | <artifactId>gmapsz</artifactId> |
---|
| 160 | <version>3.0.0</version> |
---|
| 161 | </dependency> |
---|
[14] | 162 | </dependencies> |
---|
| 163 | </dependencyManagement> |
---|
[37] | 164 | |
---|
[24] | 165 | <!-- inherit these dependencies to all modules --> |
---|
| 166 | <dependencies> |
---|
| 167 | <dependency> |
---|
| 168 | <groupId>junit</groupId> |
---|
| 169 | <artifactId>junit</artifactId> |
---|
[37] | 170 | <scope>test</scope> |
---|
[24] | 171 | </dependency> |
---|
| 172 | </dependencies> |
---|
[14] | 173 | |
---|
[13] | 174 | <build> |
---|
| 175 | <!-- Define all used plugins & configurations here --> |
---|
| 176 | <pluginManagement> |
---|
| 177 | <plugins> |
---|
| 178 | <plugin> |
---|
| 179 | <groupId>org.apache.maven.plugins</groupId> |
---|
| 180 | <artifactId>maven-ejb-plugin</artifactId> |
---|
| 181 | <version>2.3</version> |
---|
| 182 | </plugin> |
---|
| 183 | <plugin> |
---|
| 184 | <groupId>org.apache.maven.plugins</groupId> |
---|
| 185 | <artifactId>maven-war-plugin</artifactId> |
---|
| 186 | <version>2.2</version> |
---|
| 187 | </plugin> |
---|
| 188 | <plugin> |
---|
| 189 | <artifactId>maven-compiler-plugin</artifactId> |
---|
| 190 | <version>2.4</version> |
---|
| 191 | </plugin> |
---|
| 192 | <plugin> |
---|
| 193 | <groupId>org.apache.maven.plugins</groupId> |
---|
| 194 | <artifactId>maven-source-plugin</artifactId> |
---|
| 195 | <version>2.1.2</version> |
---|
| 196 | </plugin> |
---|
| 197 | <plugin> |
---|
| 198 | <groupId>org.apache.maven.plugins</groupId> |
---|
| 199 | <artifactId>maven-ear-plugin</artifactId> |
---|
| 200 | <version>2.5</version> |
---|
| 201 | </plugin> |
---|
| 202 | <plugin> |
---|
| 203 | <groupId>org.apache.maven.plugins</groupId> |
---|
| 204 | <artifactId>maven-release-plugin</artifactId> |
---|
| 205 | <version>2.2.1</version> |
---|
| 206 | </plugin> |
---|
| 207 | <plugin> |
---|
| 208 | <groupId>org.apache.maven.plugins</groupId> |
---|
| 209 | <artifactId>maven-javadoc-plugin</artifactId> |
---|
| 210 | <version>2.8.1</version> |
---|
| 211 | </plugin> |
---|
| 212 | <plugin> |
---|
| 213 | <groupId>org.apache.maven.plugins</groupId> |
---|
| 214 | <artifactId>maven-resources-plugin</artifactId> |
---|
| 215 | <version>2.5</version> |
---|
| 216 | </plugin> |
---|
| 217 | <plugin> |
---|
| 218 | <groupId>org.apache.maven.plugins</groupId> |
---|
| 219 | <artifactId>maven-surefire-plugin</artifactId> |
---|
| 220 | <version>2.12</version> |
---|
| 221 | </plugin> |
---|
| 222 | </plugins> |
---|
| 223 | </pluginManagement> |
---|
| 224 | <plugins> |
---|
| 225 | <plugin> |
---|
| 226 | <groupId>org.apache.maven.plugins</groupId> |
---|
| 227 | <artifactId>maven-war-plugin</artifactId> |
---|
| 228 | <configuration> |
---|
| 229 | <webXml>src\main\webapp\WEB-INF\web.xml</webXml> |
---|
| 230 | </configuration> |
---|
| 231 | </plugin> |
---|
| 232 | <plugin> |
---|
| 233 | <artifactId>maven-ejb-plugin</artifactId> |
---|
| 234 | <configuration> |
---|
| 235 | <ejbVersion>3.1</ejbVersion> |
---|
| 236 | </configuration> |
---|
| 237 | </plugin> |
---|
| 238 | <plugin> |
---|
| 239 | <artifactId>maven-compiler-plugin</artifactId> |
---|
| 240 | <configuration> |
---|
| 241 | <source>1.6</source> |
---|
| 242 | <target>1.6</target> |
---|
| 243 | </configuration> |
---|
| 244 | </plugin> |
---|
| 245 | <plugin> |
---|
| 246 | <groupId>org.apache.maven.plugins</groupId> |
---|
| 247 | <artifactId>maven-source-plugin</artifactId> |
---|
| 248 | <executions> |
---|
| 249 | <execution> |
---|
| 250 | <id>attach-sources</id> |
---|
| 251 | <goals> |
---|
| 252 | <goal>jar</goal> |
---|
| 253 | </goals> |
---|
| 254 | </execution> |
---|
| 255 | </executions> |
---|
| 256 | </plugin> |
---|
| 257 | </plugins> |
---|
| 258 | </build> |
---|
[22] | 259 | </project> |
---|