Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <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/maven-v4_0_0.xsd"> |
| 3 | |
| 4 | <!-- |
| 5 | |
| 6 | Licensed to the Apache Software Foundation (ASF) under one or more |
| 7 | contributor license agreements. See the NOTICE file distributed with |
| 8 | this work for additional information regarding copyright ownership. |
| 9 | The ASF licenses this file to You under the Apache License, Version 2.0 |
| 10 | (the "License"); you may not use this file except in compliance with |
| 11 | the License. You may obtain a copy of the License at |
| 12 | |
| 13 | http://www.apache.org/licenses/LICENSE-2.0 |
| 14 | |
| 15 | Unless required by applicable law or agreed to in writing, software |
| 16 | distributed under the License is distributed on an "AS IS" BASIS, |
| 17 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 18 | See the License for the specific language governing permissions and |
| 19 | limitations under the License. |
| 20 | --> |
| 21 | |
| 22 | <modelVersion>4.0.0</modelVersion> |
| 23 | |
| 24 | <parent> |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 25 | <groupId>org.apache.felix.karaf</groupId> |
| 26 | <artifactId>org.apache.felix.karaf.demos</artifactId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 27 | <version>1.2.0-SNAPSHOT</version> |
| 28 | </parent> |
| 29 | |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 30 | <groupId>org.apache.felix.karaf.demos</groupId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 31 | <artifactId>smx4web</artifactId> |
| 32 | <packaging>war</packaging> |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 33 | <name>Apache Felix Karaf :: Demos :: smx4web</name> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 34 | |
| 35 | <properties> |
| 36 | <jetty.port>8080</jetty.port> |
| 37 | <jetty.version>6.1.12rc1</jetty.version> |
| 38 | <geronimo.servlet.version>1.1.2</geronimo.servlet.version> |
| 39 | </properties> |
| 40 | |
| 41 | <dependencies> |
| 42 | <dependency> |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 43 | <groupId>org.apache.felix.karaf</groupId> |
| 44 | <artifactId>org.apache.felix.karaf.main</artifactId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 45 | </dependency> |
| 46 | <dependency> |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 47 | <groupId>org.apache.felix.karaf</groupId> |
| 48 | <artifactId>apache-felix-karaf</artifactId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 49 | <type>zip</type> |
| 50 | <exclusions> |
| 51 | <exclusion> |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 52 | <groupId>org.apache.felix.karaf</groupId> |
| 53 | <artifactId>org.apache.felix.karaf.client</artifactId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 54 | </exclusion> |
| 55 | <exclusion> |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 56 | <groupId>org.apache.felix.karaf</groupId> |
| 57 | <artifactId>org.apache.felix.karaf.filemonitor</artifactId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 58 | </exclusion> |
| 59 | <exclusion> |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 60 | <groupId>org.apache.felix.karaf</groupId> |
| 61 | <artifactId>org.apache.felix.karaf.spring</artifactId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 62 | </exclusion> |
| 63 | <exclusion> |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 64 | <groupId>org.apache.felix.karaf.gshell</groupId> |
| 65 | <artifactId>org.apache.felix.karaf.gshell.core</artifactId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 66 | </exclusion> |
| 67 | <exclusion> |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 68 | <groupId>org.apache.felix.karaf.gshell</groupId> |
| 69 | <artifactId>org.apache.felix.karaf.gshell.admin</artifactId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 70 | </exclusion> |
| 71 | <exclusion> |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 72 | <groupId>org.apache.felix.karaf.gshell</groupId> |
| 73 | <artifactId>org.apache.felix.karaf.gshell.obr</artifactId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 74 | </exclusion> |
| 75 | <exclusion> |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 76 | <groupId>org.apache.felix.karaf.gshell</groupId> |
| 77 | <artifactId>org.apache.felix.karaf.gshell.osgi</artifactId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 78 | </exclusion> |
| 79 | <exclusion> |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 80 | <groupId>org.apache.felix.karaf.gshell</groupId> |
| 81 | <artifactId>org.apache.felix.karaf.gshell.log</artifactId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 82 | </exclusion> |
| 83 | <exclusion> |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 84 | <groupId>org.apache.felix.karaf.gshell</groupId> |
| 85 | <artifactId>org.apache.felix.karaf.gshell.features</artifactId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 86 | </exclusion> |
| 87 | <exclusion> |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 88 | <groupId>org.apache.felix.karaf.gshell</groupId> |
| 89 | <artifactId>org.apache.felix.karaf.gshell.config</artifactId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 90 | </exclusion> |
| 91 | <exclusion> |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 92 | <groupId>org.apache.felix.karaf.gshell</groupId> |
| 93 | <artifactId>org.apache.felix.karaf.gshell.packages</artifactId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 94 | </exclusion> |
| 95 | <exclusion> |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 96 | <groupId>org.apache.felix.karaf.jaas</groupId> |
| 97 | <artifactId>org.apache.felix.karaf.jaas.config</artifactId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 98 | </exclusion> |
| 99 | <exclusion> |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 100 | <groupId>org.apache.felix.karaf.jaas</groupId> |
| 101 | <artifactId>org.apache.felix.karaf.jaas.keystore</artifactId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 102 | </exclusion> |
| 103 | <exclusion> |
| 104 | <groupId>org.springframework.osgi</groupId> |
| 105 | <artifactId>spring-osgi-extender</artifactId> |
| 106 | </exclusion> |
| 107 | <exclusion> |
| 108 | <groupId>org.springframework.osgi</groupId> |
| 109 | <artifactId>spring-osgi-core</artifactId> |
| 110 | </exclusion> |
| 111 | <exclusion> |
| 112 | <groupId>org.springframework.osgi</groupId> |
| 113 | <artifactId>spring-osgi-io</artifactId> |
| 114 | </exclusion> |
| 115 | <exclusion> |
| 116 | <groupId>org.springframework</groupId> |
| 117 | <artifactId>spring-context</artifactId> |
| 118 | </exclusion> |
| 119 | <exclusion> |
| 120 | <groupId>org.springframework</groupId> |
| 121 | <artifactId>spring-beans</artifactId> |
| 122 | </exclusion> |
| 123 | <exclusion> |
| 124 | <groupId>org.springframework</groupId> |
| 125 | <artifactId>spring-core</artifactId> |
| 126 | </exclusion> |
| 127 | <exclusion> |
| 128 | <groupId>org.springframework</groupId> |
| 129 | <artifactId>spring-aop</artifactId> |
| 130 | </exclusion> |
| 131 | <exclusion> |
| 132 | <groupId>org.apache.felix</groupId> |
| 133 | <artifactId>org.apache.felix.bundlerepository</artifactId> |
| 134 | </exclusion> |
| 135 | <exclusion> |
| 136 | <groupId>org.apache.felix</groupId> |
| 137 | <artifactId>org.apache.felix.configadmin</artifactId> |
| 138 | </exclusion> |
| 139 | <exclusion> |
| 140 | <groupId>org.apache.felix</groupId> |
| 141 | <artifactId>org.apache.felix.prefs</artifactId> |
| 142 | </exclusion> |
| 143 | <exclusion> |
| 144 | <groupId>org.apache.felix</groupId> |
| 145 | <artifactId>org.osgi.compendium</artifactId> |
| 146 | </exclusion> |
| 147 | <exclusion> |
| 148 | <groupId>org.apache.servicemix.bundles</groupId> |
| 149 | <artifactId>org.apache.servicemix.bundles.mina</artifactId> |
| 150 | </exclusion> |
| 151 | <exclusion> |
| 152 | <groupId>org.apache.servicemix.bundles</groupId> |
| 153 | <artifactId>org.apache.servicemix.bundles.aopalliance</artifactId> |
| 154 | </exclusion> |
| 155 | <exclusion> |
| 156 | <groupId>org.apache.servicemix.bundles</groupId> |
| 157 | <artifactId>org.apache.servicemix.bundles.asm</artifactId> |
| 158 | </exclusion> |
| 159 | <exclusion> |
| 160 | <groupId>org.apache.servicemix.bundles</groupId> |
| 161 | <artifactId>org.apache.servicemix.bundles.cglib</artifactId> |
| 162 | </exclusion> |
| 163 | <exclusion> |
| 164 | <groupId>org.apache.servicemix.bundles</groupId> |
| 165 | <artifactId>org.apache.servicemix.bundles.ant</artifactId> |
| 166 | </exclusion> |
| 167 | <exclusion> |
| 168 | <groupId>org.ops4j.pax.logging</groupId> |
| 169 | <artifactId>pax-logging-service</artifactId> |
| 170 | </exclusion> |
| 171 | <exclusion> |
| 172 | <groupId>org.ops4j.pax.logging</groupId> |
| 173 | <artifactId>pax-logging-api</artifactId> |
| 174 | </exclusion> |
| 175 | <exclusion> |
| 176 | <groupId>org.ops4j.pax.url</groupId> |
| 177 | <artifactId>pax-url-mvn</artifactId> |
| 178 | </exclusion> |
| 179 | </exclusions> |
| 180 | </dependency> |
| 181 | <dependency> |
| 182 | <groupId>org.apache.geronimo.specs</groupId> |
| 183 | <artifactId>geronimo-servlet_2.5_spec</artifactId> |
| 184 | <scope>provided</scope> |
| 185 | </dependency> |
| 186 | </dependencies> |
| 187 | |
| 188 | <build> |
| 189 | <plugins> |
| 190 | <plugin> |
| 191 | <groupId>org.apache.maven.plugins</groupId> |
| 192 | <artifactId>maven-compiler-plugin</artifactId> |
| 193 | <configuration> |
| 194 | <source>1.5</source> |
| 195 | <target>1.5</target> |
| 196 | </configuration> |
| 197 | </plugin> |
| 198 | <plugin> |
| 199 | <groupId>org.apache.maven.plugins</groupId> |
| 200 | <artifactId>maven-war-plugin</artifactId> |
| 201 | <version>2.1-beta-1</version> |
| 202 | <configuration> |
| 203 | <warSourceDirectory>src/main/webapp/</warSourceDirectory> |
| 204 | <webResources> |
| 205 | <resource> |
| 206 | <directory>target/kernel</directory> |
| 207 | </resource> |
| 208 | </webResources> |
| 209 | </configuration> |
| 210 | </plugin> |
| 211 | <plugin> |
| 212 | <groupId>org.mortbay.jetty</groupId> |
| 213 | <artifactId>maven-jetty-plugin</artifactId> |
| 214 | <version>${jetty.version}</version> |
| 215 | <configuration> |
| 216 | <connectors> |
| 217 | <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector"> |
| 218 | <port>${jetty.port}</port> |
| 219 | <maxIdleTime>60000</maxIdleTime> |
| 220 | </connector> |
| 221 | </connectors> |
| 222 | <systemProperties> |
| 223 | <!-- enable easy connection to JConsole --> |
| 224 | <systemProperty> |
| 225 | <name>com.sun.management.jmxremote</name> |
| 226 | <value></value> |
| 227 | </systemProperty> |
| 228 | </systemProperties> |
| 229 | <scanIntervalSeconds>10</scanIntervalSeconds> |
| 230 | <webAppSourceDirectory>${project.build.directory}/${project.build.finalName}</webAppSourceDirectory> |
| 231 | </configuration> |
| 232 | </plugin> |
| 233 | <plugin> |
| 234 | <groupId>org.apache.maven.plugins</groupId> |
| 235 | <artifactId>maven-dependency-plugin</artifactId> |
| 236 | <version>2.0</version> |
| 237 | <executions> |
| 238 | <execution> |
| 239 | <id>unpack-unix</id> |
| 240 | <phase>generate-resources</phase> |
| 241 | <goals> |
| 242 | <goal>unpack</goal> |
| 243 | </goals> |
| 244 | <configuration> |
| 245 | <artifactItems> |
| 246 | <artifactItem> |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 247 | <groupId>org.apache.felix.karaf</groupId> |
| 248 | <artifactId>apache-felix-karaf</artifactId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 249 | <type>zip</type> |
| 250 | <overWrite>true</overWrite> |
| 251 | <outputDirectory>${project.build.directory}/kernel/WEB-INF</outputDirectory> |
| 252 | <excludes>**/lib/*,**/*.txt,**/bin/*,**/demos/**,**/lib,**/bin,**/demos</excludes> |
| 253 | </artifactItem> |
| 254 | </artifactItems> |
| 255 | </configuration> |
| 256 | </execution> |
| 257 | </executions> |
| 258 | </plugin> |
| 259 | <plugin> |
| 260 | <groupId>org.apache.maven.plugins</groupId> |
| 261 | <artifactId>maven-antrun-plugin</artifactId> |
| 262 | <version>1.3</version> |
| 263 | <executions> |
| 264 | <execution> |
| 265 | <id>copy-kernel</id> |
| 266 | <phase>process-resources</phase> |
| 267 | <goals> |
| 268 | <goal>run</goal> |
| 269 | </goals> |
| 270 | <configuration> |
| 271 | <tasks> |
| 272 | <move todir="${project.build.directory}/kernel/WEB-INF/servicemix"> |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 273 | <fileset dir="${project.build.directory}/kernel/WEB-INF/apache-felix-karaf-${pom.version}"/> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 274 | </move> |
| 275 | </tasks> |
| 276 | </configuration> |
| 277 | </execution> |
| 278 | </executions> |
| 279 | </plugin> |
| 280 | </plugins> |
| 281 | </build> |
| 282 | |
| 283 | </project> |