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 | --> |
Sten Roger Sandvik | dad7a6d | 2009-09-28 20:30:00 +0000 | [diff] [blame] | 19 | <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"> |
Sten Roger Sandvik | c73f741 | 2009-09-14 09:59:12 +0000 | [diff] [blame] | 20 | |
| 21 | <modelVersion>4.0.0</modelVersion> |
| 22 | <parent> |
| 23 | <groupId>org.apache.felix</groupId> |
| 24 | <artifactId>org.apache.felix.http</artifactId> |
Sten Roger Sandvik | b0d37a1 | 2009-09-28 20:36:52 +0000 | [diff] [blame] | 25 | <version>2.0.1-SNAPSHOT</version> |
Sten Roger Sandvik | c73f741 | 2009-09-14 09:59:12 +0000 | [diff] [blame] | 26 | <relativePath>../../pom.xml</relativePath> |
| 27 | </parent> |
| 28 | |
| 29 | <name>Apache Felix Http Samples - Bridge</name> |
| 30 | <artifactId>org.apache.felix.http.samples.bridge</artifactId> |
| 31 | <packaging>war</packaging> |
| 32 | |
| 33 | <build> |
| 34 | <plugins> |
| 35 | <plugin> |
| 36 | <groupId>org.mortbay.jetty</groupId> |
| 37 | <artifactId>maven-jetty-plugin</artifactId> |
| 38 | <version>6.1.10</version> |
| 39 | <configuration> |
| 40 | <contextPath>/</contextPath> |
| 41 | </configuration> |
| 42 | </plugin> |
| 43 | <plugin> |
| 44 | <groupId>org.apache.maven.plugins</groupId> |
| 45 | <artifactId>maven-dependency-plugin</artifactId> |
| 46 | <executions> |
| 47 | <execution> |
| 48 | <id>copy-bundles</id> |
| 49 | <goals> |
Sten Roger Sandvik | 94fb196 | 2009-09-28 20:23:26 +0000 | [diff] [blame] | 50 | <goal>copy-dependencies</goal> |
Sten Roger Sandvik | c73f741 | 2009-09-14 09:59:12 +0000 | [diff] [blame] | 51 | </goals> |
| 52 | <configuration> |
Sten Roger Sandvik | 94fb196 | 2009-09-28 20:23:26 +0000 | [diff] [blame] | 53 | <includeArtifactIds> |
| 54 | org.apache.felix.http.bundle,org.apache.felix.http.samples.filter,org.apache.felix.webconsole |
| 55 | </includeArtifactIds> |
Sten Roger Sandvik | c73f741 | 2009-09-14 09:59:12 +0000 | [diff] [blame] | 56 | <stripVersion>true</stripVersion> |
| 57 | <outputDirectory> |
| 58 | ${project.build.directory}/bundles |
| 59 | </outputDirectory> |
| 60 | </configuration> |
| 61 | </execution> |
| 62 | </executions> |
| 63 | </plugin> |
| 64 | <plugin> |
| 65 | <groupId>org.apache.maven.plugins</groupId> |
| 66 | <artifactId>maven-war-plugin</artifactId> |
| 67 | <configuration> |
| 68 | <webResources> |
| 69 | <resource> |
| 70 | <directory> |
| 71 | ${project.build.directory}/bundles |
| 72 | </directory> |
| 73 | <targetPath>WEB-INF/bundles</targetPath> |
| 74 | </resource> |
| 75 | </webResources> |
| 76 | </configuration> |
| 77 | </plugin> |
Sten Roger Sandvik | a006c96 | 2009-09-26 13:11:48 +0000 | [diff] [blame] | 78 | <plugin> |
| 79 | <groupId>org.apache.maven.plugins</groupId> |
| 80 | <artifactId>maven-source-plugin</artifactId> |
| 81 | <version>2.0.4</version> |
| 82 | <executions> |
| 83 | <execution> |
| 84 | <id>attach-sources</id> |
| 85 | <goals> |
| 86 | <goal>jar</goal> |
| 87 | </goals> |
| 88 | </execution> |
| 89 | </executions> |
| 90 | </plugin> |
Sten Roger Sandvik | c73f741 | 2009-09-14 09:59:12 +0000 | [diff] [blame] | 91 | </plugins> |
| 92 | </build> |
| 93 | |
| 94 | <dependencies> |
| 95 | <dependency> |
| 96 | <groupId>javax.servlet</groupId> |
| 97 | <artifactId>servlet-api</artifactId> |
| 98 | <scope>provided</scope> |
| 99 | </dependency> |
| 100 | <dependency> |
| 101 | <groupId>org.apache.felix</groupId> |
| 102 | <artifactId>org.osgi.compendium</artifactId> |
| 103 | </dependency> |
| 104 | <dependency> |
| 105 | <groupId>org.apache.felix</groupId> |
| 106 | <artifactId>org.apache.felix.framework</artifactId> |
| 107 | <version>1.8.1</version> |
| 108 | </dependency> |
| 109 | <dependency> |
| 110 | <groupId>${pom.groupId}</groupId> |
| 111 | <artifactId>org.apache.felix.http.proxy</artifactId> |
| 112 | <version>${pom.version}</version> |
| 113 | </dependency> |
Sten Roger Sandvik | 94fb196 | 2009-09-28 20:23:26 +0000 | [diff] [blame] | 114 | <dependency> |
| 115 | <groupId>${pom.groupId}</groupId> |
| 116 | <artifactId>org.apache.felix.http.bundle</artifactId> |
| 117 | <version>${pom.version}</version> |
| 118 | <scope>provided</scope> |
| 119 | </dependency> |
| 120 | <dependency> |
| 121 | <groupId>${pom.groupId}</groupId> |
| 122 | <artifactId>org.apache.felix.http.samples.filter</artifactId> |
| 123 | <version>${pom.version}</version> |
| 124 | <scope>provided</scope> |
| 125 | </dependency> |
| 126 | <dependency> |
| 127 | <groupId>${pom.groupId}</groupId> |
| 128 | <artifactId>org.apache.felix.webconsole</artifactId> |
| 129 | <version>1.2.8</version> |
| 130 | <scope>provided</scope> |
| 131 | </dependency> |
Sten Roger Sandvik | c73f741 | 2009-09-14 09:59:12 +0000 | [diff] [blame] | 132 | </dependencies> |
| 133 | |
| 134 | </project> |