| 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 | |
|---|
| 12 | <!-- when this module is build, then build also the following ones --> |
|---|
| 13 | <modules> |
|---|
| 14 | <module>api</module> |
|---|
| 15 | <module>assembly</module> |
|---|
| 16 | <module>lib</module> |
|---|
| 17 | <module>srv</module> |
|---|
| 18 | <module>web</module> |
|---|
| 19 | </modules> |
|---|
| 20 | |
|---|
| 21 | <!-- define version numbers for all used libraries (own and 3rdparty) here --> |
|---|
| 22 | <dependencyManagement> |
|---|
| 23 | <dependencies> |
|---|
| 24 | <!-- our own modules --> |
|---|
| 25 | <dependency> |
|---|
| 26 | <groupId>flarmradar</groupId> |
|---|
| 27 | <artifactId>ch.netzschmiede.flarmradar</artifactId> |
|---|
| 28 | <version>${project.version}</version> |
|---|
| 29 | </dependency> |
|---|
| 30 | <dependency> |
|---|
| 31 | <groupId>flarmradar</groupId> |
|---|
| 32 | <artifactId>ch.netzschmiede.flarmradar.api.auth</artifactId> |
|---|
| 33 | <version>${project.version}</version> |
|---|
| 34 | </dependency> |
|---|
| 35 | <dependency> |
|---|
| 36 | <groupId>flarmradar</groupId> |
|---|
| 37 | <artifactId>ch.netzschmiede.flarmradar.lib.log</artifactId> |
|---|
| 38 | <version>${project.version}</version> |
|---|
| 39 | </dependency> |
|---|
| 40 | <dependency> |
|---|
| 41 | <groupId>flarmradar</groupId> |
|---|
| 42 | <artifactId>ch.netzschmiede.flarmradar.lib.remote</artifactId> |
|---|
| 43 | <version>${project.version}</version> |
|---|
| 44 | </dependency> |
|---|
| 45 | <dependency> |
|---|
| 46 | <groupId>flarmradar</groupId> |
|---|
| 47 | <artifactId>ch.netzschmiede.flarmradar.lib.upgrade</artifactId> |
|---|
| 48 | <version>${project.version}</version> |
|---|
| 49 | </dependency> |
|---|
| 50 | <dependency> |
|---|
| 51 | <groupId>flarmradar</groupId> |
|---|
| 52 | <artifactId>ch.netzschmiede.flarmradar.web.login</artifactId> |
|---|
| 53 | <version>${project.version}</version> |
|---|
| 54 | <type>war</type> |
|---|
| 55 | </dependency> |
|---|
| 56 | <dependency> |
|---|
| 57 | <groupId>flarmradar</groupId> |
|---|
| 58 | <artifactId>ch.netzschmiede.flarmradar.srv.auth</artifactId> |
|---|
| 59 | <version>${project.version}</version> |
|---|
| 60 | <type>ejb</type> |
|---|
| 61 | </dependency> |
|---|
| 62 | |
|---|
| 63 | <!-- third party libraries --> |
|---|
| 64 | <dependency> |
|---|
| 65 | <groupId>org.slf4j</groupId> |
|---|
| 66 | <artifactId>slf4j-api</artifactId> |
|---|
| 67 | <version>1.6.6</version> |
|---|
| 68 | </dependency> |
|---|
| 69 | |
|---|
| 70 | </dependencies> |
|---|
| 71 | </dependencyManagement> |
|---|
| 72 | |
|---|
| 73 | <build> |
|---|
| 74 | <!-- Define all used plugins & configurations here --> |
|---|
| 75 | <pluginManagement> |
|---|
| 76 | <plugins> |
|---|
| 77 | <plugin> |
|---|
| 78 | <groupId>org.apache.maven.plugins</groupId> |
|---|
| 79 | <artifactId>maven-ejb-plugin</artifactId> |
|---|
| 80 | <version>2.3</version> |
|---|
| 81 | </plugin> |
|---|
| 82 | <plugin> |
|---|
| 83 | <groupId>org.apache.maven.plugins</groupId> |
|---|
| 84 | <artifactId>maven-war-plugin</artifactId> |
|---|
| 85 | <version>2.2</version> |
|---|
| 86 | </plugin> |
|---|
| 87 | <plugin> |
|---|
| 88 | <artifactId>maven-compiler-plugin</artifactId> |
|---|
| 89 | <version>2.4</version> |
|---|
| 90 | </plugin> |
|---|
| 91 | <plugin> |
|---|
| 92 | <groupId>org.apache.maven.plugins</groupId> |
|---|
| 93 | <artifactId>maven-source-plugin</artifactId> |
|---|
| 94 | <version>2.1.2</version> |
|---|
| 95 | </plugin> |
|---|
| 96 | <plugin> |
|---|
| 97 | <groupId>org.apache.maven.plugins</groupId> |
|---|
| 98 | <artifactId>maven-ear-plugin</artifactId> |
|---|
| 99 | <version>2.5</version> |
|---|
| 100 | </plugin> |
|---|
| 101 | <plugin> |
|---|
| 102 | <groupId>org.apache.maven.plugins</groupId> |
|---|
| 103 | <artifactId>maven-release-plugin</artifactId> |
|---|
| 104 | <version>2.2.1</version> |
|---|
| 105 | </plugin> |
|---|
| 106 | <plugin> |
|---|
| 107 | <groupId>org.apache.maven.plugins</groupId> |
|---|
| 108 | <artifactId>maven-javadoc-plugin</artifactId> |
|---|
| 109 | <version>2.8.1</version> |
|---|
| 110 | </plugin> |
|---|
| 111 | <plugin> |
|---|
| 112 | <groupId>org.apache.maven.plugins</groupId> |
|---|
| 113 | <artifactId>maven-resources-plugin</artifactId> |
|---|
| 114 | <version>2.5</version> |
|---|
| 115 | </plugin> |
|---|
| 116 | <plugin> |
|---|
| 117 | <groupId>org.apache.maven.plugins</groupId> |
|---|
| 118 | <artifactId>maven-surefire-plugin</artifactId> |
|---|
| 119 | <version>2.12</version> |
|---|
| 120 | </plugin> |
|---|
| 121 | </plugins> |
|---|
| 122 | </pluginManagement> |
|---|
| 123 | <plugins> |
|---|
| 124 | <plugin> |
|---|
| 125 | <groupId>org.apache.maven.plugins</groupId> |
|---|
| 126 | <artifactId>maven-war-plugin</artifactId> |
|---|
| 127 | <configuration> |
|---|
| 128 | <webXml>src\main\webapp\WEB-INF\web.xml</webXml> |
|---|
| 129 | </configuration> |
|---|
| 130 | </plugin> |
|---|
| 131 | <plugin> |
|---|
| 132 | <artifactId>maven-ejb-plugin</artifactId> |
|---|
| 133 | <configuration> |
|---|
| 134 | <ejbVersion>3.1</ejbVersion> |
|---|
| 135 | </configuration> |
|---|
| 136 | </plugin> |
|---|
| 137 | <plugin> |
|---|
| 138 | <artifactId>maven-compiler-plugin</artifactId> |
|---|
| 139 | <configuration> |
|---|
| 140 | <source>1.6</source> |
|---|
| 141 | <target>1.6</target> |
|---|
| 142 | </configuration> |
|---|
| 143 | </plugin> |
|---|
| 144 | <plugin> |
|---|
| 145 | <groupId>org.apache.maven.plugins</groupId> |
|---|
| 146 | <artifactId>maven-source-plugin</artifactId> |
|---|
| 147 | <executions> |
|---|
| 148 | <execution> |
|---|
| 149 | <id>attach-sources</id> |
|---|
| 150 | <goals> |
|---|
| 151 | <goal>jar</goal> |
|---|
| 152 | </goals> |
|---|
| 153 | </execution> |
|---|
| 154 | </executions> |
|---|
| 155 | </plugin> |
|---|
| 156 | </plugins> |
|---|
| 157 | </build> |
|---|
| 158 | </project> |
|---|