Sten Roger Sandvik | 5af73c2 | 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 | 7dd618c | 2009-09-28 20:27:29 +0000 | [diff] [blame^] | 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"> |
Sten Roger Sandvik | 5af73c2 | 2009-09-14 09:59:12 +0000 | [diff] [blame] | 21 | |
| 22 | <modelVersion>4.0.0</modelVersion> |
| 23 | <parent> |
| 24 | <groupId>org.apache.felix</groupId> |
| 25 | <artifactId>org.apache.felix.http</artifactId> |
Sten Roger Sandvik | 7dd618c | 2009-09-28 20:27:29 +0000 | [diff] [blame^] | 26 | <version>2.0.0-SNAPSHOT</version> |
Sten Roger Sandvik | 5af73c2 | 2009-09-14 09:59:12 +0000 | [diff] [blame] | 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> |
Sten Roger Sandvik | b61405d | 2009-09-28 20:23:26 +0000 | [diff] [blame] | 51 | <goal>copy-dependencies</goal> |
Sten Roger Sandvik | 5af73c2 | 2009-09-14 09:59:12 +0000 | [diff] [blame] | 52 | </goals> |
| 53 | <configuration> |
Sten Roger Sandvik | b61405d | 2009-09-28 20:23:26 +0000 | [diff] [blame] | 54 | <includeArtifactIds> |
| 55 | org.apache.felix.http.bundle,org.apache.felix.http.samples.filter,org.apache.felix.webconsole |
| 56 | </includeArtifactIds> |
Sten Roger Sandvik | 5af73c2 | 2009-09-14 09:59:12 +0000 | [diff] [blame] | 57 | <stripVersion>true</stripVersion> |
| 58 | <outputDirectory> |
| 59 | ${project.build.directory}/bundles |
| 60 | </outputDirectory> |
| 61 | </configuration> |
| 62 | </execution> |
| 63 | </executions> |
| 64 | </plugin> |
| 65 | <plugin> |
| 66 | <groupId>org.apache.maven.plugins</groupId> |
| 67 | <artifactId>maven-war-plugin</artifactId> |
| 68 | <configuration> |
| 69 | <webResources> |
| 70 | <resource> |
| 71 | <directory> |
| 72 | ${project.build.directory}/bundles |
| 73 | </directory> |
| 74 | <targetPath>WEB-INF/bundles</targetPath> |
| 75 | </resource> |
| 76 | </webResources> |
| 77 | </configuration> |
| 78 | </plugin> |
Sten Roger Sandvik | 4cbab06 | 2009-09-26 13:11:48 +0000 | [diff] [blame] | 79 | <plugin> |
| 80 | <groupId>org.apache.maven.plugins</groupId> |
| 81 | <artifactId>maven-source-plugin</artifactId> |
| 82 | <version>2.0.4</version> |
| 83 | <executions> |
| 84 | <execution> |
| 85 | <id>attach-sources</id> |
| 86 | <goals> |
| 87 | <goal>jar</goal> |
| 88 | </goals> |
| 89 | </execution> |
| 90 | </executions> |
| 91 | </plugin> |
Sten Roger Sandvik | 5af73c2 | 2009-09-14 09:59:12 +0000 | [diff] [blame] | 92 | </plugins> |
| 93 | </build> |
| 94 | |
| 95 | <dependencies> |
| 96 | <dependency> |
| 97 | <groupId>javax.servlet</groupId> |
| 98 | <artifactId>servlet-api</artifactId> |
| 99 | <scope>provided</scope> |
| 100 | </dependency> |
| 101 | <dependency> |
| 102 | <groupId>org.apache.felix</groupId> |
| 103 | <artifactId>org.osgi.compendium</artifactId> |
| 104 | </dependency> |
| 105 | <dependency> |
| 106 | <groupId>org.apache.felix</groupId> |
| 107 | <artifactId>org.apache.felix.framework</artifactId> |
| 108 | <version>1.8.1</version> |
| 109 | </dependency> |
| 110 | <dependency> |
| 111 | <groupId>${pom.groupId}</groupId> |
| 112 | <artifactId>org.apache.felix.http.proxy</artifactId> |
| 113 | <version>${pom.version}</version> |
| 114 | </dependency> |
Sten Roger Sandvik | b61405d | 2009-09-28 20:23:26 +0000 | [diff] [blame] | 115 | <dependency> |
| 116 | <groupId>${pom.groupId}</groupId> |
| 117 | <artifactId>org.apache.felix.http.bundle</artifactId> |
| 118 | <version>${pom.version}</version> |
| 119 | <scope>provided</scope> |
| 120 | </dependency> |
| 121 | <dependency> |
| 122 | <groupId>${pom.groupId}</groupId> |
| 123 | <artifactId>org.apache.felix.http.samples.filter</artifactId> |
| 124 | <version>${pom.version}</version> |
| 125 | <scope>provided</scope> |
| 126 | </dependency> |
| 127 | <dependency> |
| 128 | <groupId>${pom.groupId}</groupId> |
| 129 | <artifactId>org.apache.felix.webconsole</artifactId> |
| 130 | <version>1.2.8</version> |
| 131 | <scope>provided</scope> |
| 132 | </dependency> |
Sten Roger Sandvik | 5af73c2 | 2009-09-14 09:59:12 +0000 | [diff] [blame] | 133 | </dependencies> |
| 134 | |
| 135 | </project> |