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 | ee4dd85 | 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 | 5af73c2 | 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 | ffea4f8 | 2009-09-30 21:50:56 +0000 | [diff] [blame] | 25 | <version>2.0.0-SNAPSHOT</version> |
Sten Roger Sandvik | 5af73c2 | 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 | b61405d | 2009-09-28 20:23:26 +0000 | [diff] [blame] | 50 | <goal>copy-dependencies</goal> |
Sten Roger Sandvik | 5af73c2 | 2009-09-14 09:59:12 +0000 | [diff] [blame] | 51 | </goals> |
| 52 | <configuration> |
Sten Roger Sandvik | b61405d | 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 | 5af73c2 | 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> |
Sten Roger Sandvik | 70a2f9f | 2009-09-30 22:14:06 +0000 | [diff] [blame] | 75 | <resource> |
| 76 | <directory>.</directory> |
| 77 | <targetPath>META-INF</targetPath> |
| 78 | <includes> |
| 79 | <include>LICENSE</include> |
| 80 | <include>NOTICE</include> |
| 81 | </includes> |
| 82 | </resource> |
Sten Roger Sandvik | 5af73c2 | 2009-09-14 09:59:12 +0000 | [diff] [blame] | 83 | </webResources> |
| 84 | </configuration> |
| 85 | </plugin> |
Sten Roger Sandvik | 4cbab06 | 2009-09-26 13:11:48 +0000 | [diff] [blame] | 86 | <plugin> |
| 87 | <groupId>org.apache.maven.plugins</groupId> |
| 88 | <artifactId>maven-source-plugin</artifactId> |
| 89 | <version>2.0.4</version> |
| 90 | <executions> |
| 91 | <execution> |
| 92 | <id>attach-sources</id> |
| 93 | <goals> |
| 94 | <goal>jar</goal> |
| 95 | </goals> |
| 96 | </execution> |
| 97 | </executions> |
| 98 | </plugin> |
Sten Roger Sandvik | 5af73c2 | 2009-09-14 09:59:12 +0000 | [diff] [blame] | 99 | </plugins> |
| 100 | </build> |
| 101 | |
| 102 | <dependencies> |
| 103 | <dependency> |
| 104 | <groupId>javax.servlet</groupId> |
| 105 | <artifactId>servlet-api</artifactId> |
| 106 | <scope>provided</scope> |
| 107 | </dependency> |
| 108 | <dependency> |
| 109 | <groupId>org.apache.felix</groupId> |
| 110 | <artifactId>org.osgi.compendium</artifactId> |
| 111 | </dependency> |
| 112 | <dependency> |
| 113 | <groupId>org.apache.felix</groupId> |
| 114 | <artifactId>org.apache.felix.framework</artifactId> |
| 115 | <version>1.8.1</version> |
| 116 | </dependency> |
| 117 | <dependency> |
| 118 | <groupId>${pom.groupId}</groupId> |
| 119 | <artifactId>org.apache.felix.http.proxy</artifactId> |
| 120 | <version>${pom.version}</version> |
| 121 | </dependency> |
Sten Roger Sandvik | b61405d | 2009-09-28 20:23:26 +0000 | [diff] [blame] | 122 | <dependency> |
| 123 | <groupId>${pom.groupId}</groupId> |
| 124 | <artifactId>org.apache.felix.http.bundle</artifactId> |
| 125 | <version>${pom.version}</version> |
| 126 | <scope>provided</scope> |
| 127 | </dependency> |
| 128 | <dependency> |
| 129 | <groupId>${pom.groupId}</groupId> |
| 130 | <artifactId>org.apache.felix.http.samples.filter</artifactId> |
| 131 | <version>${pom.version}</version> |
| 132 | <scope>provided</scope> |
| 133 | </dependency> |
| 134 | <dependency> |
| 135 | <groupId>${pom.groupId}</groupId> |
| 136 | <artifactId>org.apache.felix.webconsole</artifactId> |
| 137 | <version>1.2.8</version> |
| 138 | <scope>provided</scope> |
| 139 | </dependency> |
Sten Roger Sandvik | 5af73c2 | 2009-09-14 09:59:12 +0000 | [diff] [blame] | 140 | </dependencies> |
| 141 | |
| 142 | </project> |