Sten Roger Sandvik | c73f741 | 2009-09-14 09:59:12 +0000 | [diff] [blame] | 1 | <!-- |
| 2 | Licensed to the Apache Software Foundation (ASF) under one |
| 3 | or more contributor license agreements. See the NOTICE file |
| 4 | distributed with this work for additional information |
| 5 | regarding copyright ownership. The ASF licenses this file |
| 6 | to you under the Apache License, Version 2.0 (the |
| 7 | "License"); you may not use this file except in compliance |
| 8 | with the License. You may obtain a copy of the License at |
| 9 | |
| 10 | http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | |
| 12 | Unless required by applicable law or agreed to in writing, |
| 13 | software distributed under the License is distributed on an |
| 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 15 | KIND, either express or implied. See the License for the |
| 16 | specific language governing permissions and limitations |
| 17 | under the License. |
| 18 | --> |
| 19 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 20 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 21 | |
| 22 | <modelVersion>4.0.0</modelVersion> |
| 23 | <parent> |
| 24 | <groupId>org.apache.felix</groupId> |
| 25 | <artifactId>org.apache.felix.http</artifactId> |
| 26 | <version>2.0.0-SNAPSHOT</version> |
| 27 | <relativePath>../../pom.xml</relativePath> |
| 28 | </parent> |
| 29 | |
| 30 | <name>Apache Felix Http Samples - Bridge</name> |
| 31 | <artifactId>org.apache.felix.http.samples.bridge</artifactId> |
| 32 | <packaging>war</packaging> |
| 33 | |
| 34 | <build> |
| 35 | <plugins> |
| 36 | <plugin> |
| 37 | <groupId>org.mortbay.jetty</groupId> |
| 38 | <artifactId>maven-jetty-plugin</artifactId> |
| 39 | <version>6.1.10</version> |
| 40 | <configuration> |
| 41 | <contextPath>/</contextPath> |
| 42 | </configuration> |
| 43 | </plugin> |
| 44 | <plugin> |
| 45 | <groupId>org.apache.maven.plugins</groupId> |
| 46 | <artifactId>maven-dependency-plugin</artifactId> |
| 47 | <executions> |
| 48 | <execution> |
| 49 | <id>copy-bundles</id> |
| 50 | <goals> |
| 51 | <goal>copy</goal> |
| 52 | </goals> |
| 53 | <configuration> |
| 54 | <artifactItems> |
| 55 | <artifactItem> |
| 56 | <groupId>org.apache.felix</groupId> |
| 57 | <artifactId>org.apache.felix.http.bundle</artifactId> |
| 58 | <version>${pom.version}</version> |
| 59 | </artifactItem> |
| 60 | <artifactItem> |
| 61 | <groupId>org.apache.felix</groupId> |
| 62 | <artifactId>org.apache.felix.http.samples.filter</artifactId> |
| 63 | <version>${pom.version}</version> |
| 64 | </artifactItem> |
| 65 | <artifactItem> |
| 66 | <groupId>org.apache.felix</groupId> |
| 67 | <artifactId>org.apache.felix.webconsole</artifactId> |
| 68 | <version>1.2.8</version> |
| 69 | </artifactItem> |
| 70 | </artifactItems> |
| 71 | <stripVersion>true</stripVersion> |
| 72 | <outputDirectory> |
| 73 | ${project.build.directory}/bundles |
| 74 | </outputDirectory> |
| 75 | </configuration> |
| 76 | </execution> |
| 77 | </executions> |
| 78 | </plugin> |
| 79 | <plugin> |
| 80 | <groupId>org.apache.maven.plugins</groupId> |
| 81 | <artifactId>maven-war-plugin</artifactId> |
| 82 | <configuration> |
| 83 | <webResources> |
| 84 | <resource> |
| 85 | <directory> |
| 86 | ${project.build.directory}/bundles |
| 87 | </directory> |
| 88 | <targetPath>WEB-INF/bundles</targetPath> |
| 89 | </resource> |
| 90 | </webResources> |
| 91 | </configuration> |
| 92 | </plugin> |
| 93 | </plugins> |
| 94 | </build> |
| 95 | |
| 96 | <dependencies> |
| 97 | <dependency> |
| 98 | <groupId>javax.servlet</groupId> |
| 99 | <artifactId>servlet-api</artifactId> |
| 100 | <scope>provided</scope> |
| 101 | </dependency> |
| 102 | <dependency> |
| 103 | <groupId>org.apache.felix</groupId> |
| 104 | <artifactId>org.osgi.compendium</artifactId> |
| 105 | </dependency> |
| 106 | <dependency> |
| 107 | <groupId>org.apache.felix</groupId> |
| 108 | <artifactId>org.apache.felix.framework</artifactId> |
| 109 | <version>1.8.1</version> |
| 110 | </dependency> |
| 111 | <dependency> |
| 112 | <groupId>${pom.groupId}</groupId> |
| 113 | <artifactId>org.apache.felix.http.proxy</artifactId> |
| 114 | <version>${pom.version}</version> |
| 115 | </dependency> |
| 116 | </dependencies> |
| 117 | |
| 118 | </project> |