[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 | |
---|
| 12 | <!-- when this module is build, then build also the following ones --> |
---|
| 13 | <modules> |
---|
| 14 | <module>api</module> |
---|
[14] | 15 | <module>assembly</module> |
---|
[13] | 16 | <module>lib</module> |
---|
| 17 | <module>srv</module> |
---|
| 18 | <module>web</module> |
---|
| 19 | </modules> |
---|
| 20 | |
---|
[14] | 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> |
---|
[22] | 37 | <artifactId>ch.netzschmiede.flarmradar.api.flarmdata</artifactId> |
---|
| 38 | <version>${project.version}</version> |
---|
| 39 | </dependency> |
---|
| 40 | <dependency> |
---|
| 41 | <groupId>flarmradar</groupId> |
---|
[14] | 42 | <artifactId>ch.netzschmiede.flarmradar.lib.log</artifactId> |
---|
| 43 | <version>${project.version}</version> |
---|
| 44 | </dependency> |
---|
| 45 | <dependency> |
---|
| 46 | <groupId>flarmradar</groupId> |
---|
| 47 | <artifactId>ch.netzschmiede.flarmradar.lib.remote</artifactId> |
---|
| 48 | <version>${project.version}</version> |
---|
| 49 | </dependency> |
---|
| 50 | <dependency> |
---|
| 51 | <groupId>flarmradar</groupId> |
---|
| 52 | <artifactId>ch.netzschmiede.flarmradar.lib.upgrade</artifactId> |
---|
| 53 | <version>${project.version}</version> |
---|
| 54 | </dependency> |
---|
| 55 | <dependency> |
---|
| 56 | <groupId>flarmradar</groupId> |
---|
| 57 | <artifactId>ch.netzschmiede.flarmradar.web.login</artifactId> |
---|
| 58 | <version>${project.version}</version> |
---|
| 59 | <type>war</type> |
---|
| 60 | </dependency> |
---|
| 61 | <dependency> |
---|
| 62 | <groupId>flarmradar</groupId> |
---|
| 63 | <artifactId>ch.netzschmiede.flarmradar.srv.auth</artifactId> |
---|
| 64 | <version>${project.version}</version> |
---|
| 65 | <type>ejb</type> |
---|
| 66 | </dependency> |
---|
[22] | 67 | <dependency> |
---|
| 68 | <groupId>flarmradar</groupId> |
---|
| 69 | <artifactId>ch.netzschmiede.flarmradar.srv.flarmdata</artifactId> |
---|
| 70 | <version>${project.version}</version> |
---|
| 71 | <type>ejb</type> |
---|
| 72 | </dependency> |
---|
[14] | 73 | |
---|
| 74 | <!-- third party libraries --> |
---|
| 75 | <dependency> |
---|
[22] | 76 | <groupId>javax</groupId> |
---|
| 77 | <artifactId>javaee-api</artifactId> |
---|
| 78 | <version>6.0</version> |
---|
| 79 | </dependency> |
---|
| 80 | <dependency> |
---|
| 81 | <groupId>javax</groupId> |
---|
| 82 | <artifactId>javaee-web-api</artifactId> |
---|
| 83 | <version>6.0</version> |
---|
| 84 | </dependency> |
---|
| 85 | <dependency> |
---|
[14] | 86 | <groupId>org.slf4j</groupId> |
---|
| 87 | <artifactId>slf4j-api</artifactId> |
---|
| 88 | <version>1.6.6</version> |
---|
| 89 | </dependency> |
---|
[22] | 90 | <dependency> |
---|
| 91 | <groupId>org.jboss.resteasy</groupId> |
---|
| 92 | <artifactId>resteasy-jaxrs</artifactId> |
---|
| 93 | <version>2.3.2.Final</version> |
---|
| 94 | <scope>provided</scope> |
---|
| 95 | </dependency> |
---|
[14] | 96 | |
---|
| 97 | </dependencies> |
---|
| 98 | </dependencyManagement> |
---|
| 99 | |
---|
[13] | 100 | <build> |
---|
| 101 | <!-- Define all used plugins & configurations here --> |
---|
| 102 | <pluginManagement> |
---|
| 103 | <plugins> |
---|
| 104 | <plugin> |
---|
| 105 | <groupId>org.apache.maven.plugins</groupId> |
---|
| 106 | <artifactId>maven-ejb-plugin</artifactId> |
---|
| 107 | <version>2.3</version> |
---|
| 108 | </plugin> |
---|
| 109 | <plugin> |
---|
| 110 | <groupId>org.apache.maven.plugins</groupId> |
---|
| 111 | <artifactId>maven-war-plugin</artifactId> |
---|
| 112 | <version>2.2</version> |
---|
| 113 | </plugin> |
---|
| 114 | <plugin> |
---|
| 115 | <artifactId>maven-compiler-plugin</artifactId> |
---|
| 116 | <version>2.4</version> |
---|
| 117 | </plugin> |
---|
| 118 | <plugin> |
---|
| 119 | <groupId>org.apache.maven.plugins</groupId> |
---|
| 120 | <artifactId>maven-source-plugin</artifactId> |
---|
| 121 | <version>2.1.2</version> |
---|
| 122 | </plugin> |
---|
| 123 | <plugin> |
---|
| 124 | <groupId>org.apache.maven.plugins</groupId> |
---|
| 125 | <artifactId>maven-ear-plugin</artifactId> |
---|
| 126 | <version>2.5</version> |
---|
| 127 | </plugin> |
---|
| 128 | <plugin> |
---|
| 129 | <groupId>org.apache.maven.plugins</groupId> |
---|
| 130 | <artifactId>maven-release-plugin</artifactId> |
---|
| 131 | <version>2.2.1</version> |
---|
| 132 | </plugin> |
---|
| 133 | <plugin> |
---|
| 134 | <groupId>org.apache.maven.plugins</groupId> |
---|
| 135 | <artifactId>maven-javadoc-plugin</artifactId> |
---|
| 136 | <version>2.8.1</version> |
---|
| 137 | </plugin> |
---|
| 138 | <plugin> |
---|
| 139 | <groupId>org.apache.maven.plugins</groupId> |
---|
| 140 | <artifactId>maven-resources-plugin</artifactId> |
---|
| 141 | <version>2.5</version> |
---|
| 142 | </plugin> |
---|
| 143 | <plugin> |
---|
| 144 | <groupId>org.apache.maven.plugins</groupId> |
---|
| 145 | <artifactId>maven-surefire-plugin</artifactId> |
---|
| 146 | <version>2.12</version> |
---|
| 147 | </plugin> |
---|
| 148 | </plugins> |
---|
| 149 | </pluginManagement> |
---|
| 150 | <plugins> |
---|
| 151 | <plugin> |
---|
| 152 | <groupId>org.apache.maven.plugins</groupId> |
---|
| 153 | <artifactId>maven-war-plugin</artifactId> |
---|
| 154 | <configuration> |
---|
| 155 | <webXml>src\main\webapp\WEB-INF\web.xml</webXml> |
---|
| 156 | </configuration> |
---|
| 157 | </plugin> |
---|
| 158 | <plugin> |
---|
| 159 | <artifactId>maven-ejb-plugin</artifactId> |
---|
| 160 | <configuration> |
---|
| 161 | <ejbVersion>3.1</ejbVersion> |
---|
| 162 | </configuration> |
---|
| 163 | </plugin> |
---|
| 164 | <plugin> |
---|
| 165 | <artifactId>maven-compiler-plugin</artifactId> |
---|
| 166 | <configuration> |
---|
| 167 | <source>1.6</source> |
---|
| 168 | <target>1.6</target> |
---|
| 169 | </configuration> |
---|
| 170 | </plugin> |
---|
| 171 | <plugin> |
---|
| 172 | <groupId>org.apache.maven.plugins</groupId> |
---|
| 173 | <artifactId>maven-source-plugin</artifactId> |
---|
| 174 | <executions> |
---|
| 175 | <execution> |
---|
| 176 | <id>attach-sources</id> |
---|
| 177 | <goals> |
---|
| 178 | <goal>jar</goal> |
---|
| 179 | </goals> |
---|
| 180 | </execution> |
---|
| 181 | </executions> |
---|
| 182 | </plugin> |
---|
| 183 | </plugins> |
---|
| 184 | </build> |
---|
[22] | 185 | </project> |
---|