Felix Meschberger | ae4262a | 2011-12-05 14:15:58 +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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 20 | |
| 21 | <modelVersion>4.0.0</modelVersion> |
| 22 | |
| 23 | <parent> |
| 24 | <groupId>org.apache.felix</groupId> |
| 25 | <artifactId>felix-parent</artifactId> |
Carsten Ziegeler | a3cf490 | 2015-06-24 20:07:42 +0000 | [diff] [blame] | 26 | <version>3</version> |
Jan Willem Janssen | 2a25d6e | 2013-09-13 16:02:35 +0000 | [diff] [blame] | 27 | <relativePath>../../pom/pom.xml</relativePath> |
Felix Meschberger | ae4262a | 2011-12-05 14:15:58 +0000 | [diff] [blame] | 28 | </parent> |
| 29 | |
| 30 | <name>Apache Felix Http Parent POM</name> |
| 31 | <groupId>org.apache.felix</groupId> |
| 32 | <artifactId>org.apache.felix.http.parent</artifactId> |
Carsten Ziegeler | 8801a2c | 2016-01-06 10:22:14 +0000 | [diff] [blame^] | 33 | <version>9-SNAPSHOT</version> |
Felix Meschberger | ae4262a | 2011-12-05 14:15:58 +0000 | [diff] [blame] | 34 | <packaging>pom</packaging> |
| 35 | |
| 36 | <prerequisites> |
Carsten Ziegeler | a3cf490 | 2015-06-24 20:07:42 +0000 | [diff] [blame] | 37 | <maven>3.0.5</maven> |
Felix Meschberger | ae4262a | 2011-12-05 14:15:58 +0000 | [diff] [blame] | 38 | </prerequisites> |
| 39 | |
| 40 | <properties> |
Carsten Ziegeler | 06ff4d2 | 2015-01-16 12:15:46 +0000 | [diff] [blame] | 41 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
Carsten Ziegeler | b44a163 | 2015-12-30 13:39:28 +0000 | [diff] [blame] | 42 | <jetty.version>9.2.14.v20151106</jetty.version> |
Jan Willem Janssen | 13d8854 | 2014-02-12 13:32:48 +0000 | [diff] [blame] | 43 | <cometd.version>2.8.0</cometd.version> |
Jan Willem Janssen | 54ed79f | 2015-01-15 10:09:19 +0000 | [diff] [blame] | 44 | <servlet.version>3.1.0</servlet.version> |
Carsten Ziegeler | 06ff4d2 | 2015-01-16 12:15:46 +0000 | [diff] [blame] | 45 | <!-- |
| 46 | Java API and class file compliance. This property supports |
| 47 | one of three values: |
| 48 | - 6: Java 6 (default) |
| 49 | - 7: Java 7 |
| 50 | Using anything else causes the set-bundle-required-execution-environment |
| 51 | to fail the build with an exception |
| 52 | --> |
Carsten Ziegeler | a3cf490 | 2015-06-24 20:07:42 +0000 | [diff] [blame] | 53 | <felix.java.version>6</felix.java.version> |
Felix Meschberger | ae4262a | 2011-12-05 14:15:58 +0000 | [diff] [blame] | 54 | </properties> |
| 55 | |
Jan Willem Janssen | 7d9f9fe | 2013-09-17 13:46:15 +0000 | [diff] [blame] | 56 | <scm> |
Carsten Ziegeler | 8801a2c | 2016-01-06 10:22:14 +0000 | [diff] [blame^] | 57 | <connection>scm:svn:http://svn.apache.org/repos/asf/felix/trunk/http/parent</connection> |
| 58 | <developerConnection>scm:svn:https://svn.apache.org/repos/asf/felix/trunk/http/parent</developerConnection> |
| 59 | <url>http://svn.apache.org/viewvc/felix/trunk/http/parent/</url> |
Jan Willem Janssen | 7d9f9fe | 2013-09-17 13:46:15 +0000 | [diff] [blame] | 60 | </scm> |
| 61 | |
Felix Meschberger | ae4262a | 2011-12-05 14:15:58 +0000 | [diff] [blame] | 62 | <build> |
Felix Meschberger | ae4262a | 2011-12-05 14:15:58 +0000 | [diff] [blame] | 63 | <pluginManagement> |
| 64 | <plugins> |
| 65 | <plugin> |
| 66 | <groupId>org.apache.felix</groupId> |
| 67 | <artifactId>maven-bundle-plugin</artifactId> |
Jan Willem Janssen | 16fd98c | 2015-01-15 15:39:00 +0000 | [diff] [blame] | 68 | <version>2.5.3</version> |
Felix Meschberger | ae4262a | 2011-12-05 14:15:58 +0000 | [diff] [blame] | 69 | <executions> |
| 70 | <execution> |
| 71 | <id>bundle</id> |
| 72 | <phase>package</phase> |
| 73 | <goals> |
| 74 | <goal>bundle</goal> |
| 75 | </goals> |
| 76 | </execution> |
Carsten Ziegeler | 06ff4d2 | 2015-01-16 12:15:46 +0000 | [diff] [blame] | 77 | <execution> |
| 78 | <id>baseline</id> |
| 79 | <goals> |
| 80 | <goal>baseline</goal> |
| 81 | </goals> |
| 82 | </execution> |
Felix Meschberger | ae4262a | 2011-12-05 14:15:58 +0000 | [diff] [blame] | 83 | </executions> |
| 84 | <configuration> |
| 85 | <instructions> |
| 86 | <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName> |
| 87 | <Bundle-Version>${project.version}</Bundle-Version> |
Carsten Ziegeler | a3cf490 | 2015-06-24 20:07:42 +0000 | [diff] [blame] | 88 | <Bundle-RequiredExecutionEnvironment>${felix.bree}</Bundle-RequiredExecutionEnvironment> |
Felix Meschberger | ae4262a | 2011-12-05 14:15:58 +0000 | [diff] [blame] | 89 | </instructions> |
| 90 | </configuration> |
Carsten Ziegeler | 423e1bc | 2015-06-12 07:22:19 +0000 | [diff] [blame] | 91 | </plugin> |
Carsten Ziegeler | b44a163 | 2015-12-30 13:39:28 +0000 | [diff] [blame] | 92 | <plugin> |
| 93 | <groupId>org.apache.rat</groupId> |
| 94 | <artifactId>apache-rat-plugin</artifactId> |
| 95 | <configuration> |
| 96 | <excludes combine.children="append"> |
| 97 | <!-- Used by maven-remote-resources-plugin --> |
| 98 | <exclude>src/main/appended-resources/META-INF/*</exclude> |
| 99 | <!-- Generated by maven-remote-resources-plugin --> |
| 100 | <exclude>velocity.log</exclude> |
| 101 | <!-- don't check anything in target --> |
| 102 | <exclude>target/*</exclude> |
| 103 | <!-- README files in markdown format --> |
| 104 | <exclude>README.md</exclude> |
| 105 | <!-- Ignore files generated bei IDE plugins e.g. maven-eclipse-plugin --> |
| 106 | <exclude>maven-eclipse.xml</exclude> |
| 107 | <exclude>.*</exclude> |
| 108 | <exclude>.*/**</exclude> |
| 109 | <!-- Exclude all JSON files --> |
| 110 | <exclude>**/*.json</exclude> |
| 111 | <!-- Generated for release source archives --> |
| 112 | <exclude>DEPENDENCIES</exclude> |
| 113 | <!-- .rej files from svn/patch --> |
| 114 | <exclude>**/*.rej</exclude> |
| 115 | <!-- Exclude Java crash log files --> |
| 116 | <exclude>hs_err_*.log</exclude> |
| 117 | </excludes> |
| 118 | </configuration> |
| 119 | <executions> |
| 120 | <execution> |
| 121 | <phase>verify</phase> |
| 122 | <goals> |
| 123 | <goal>check</goal> |
| 124 | </goals> |
| 125 | </execution> |
| 126 | </executions> |
| 127 | </plugin> |
Felix Meschberger | ae4262a | 2011-12-05 14:15:58 +0000 | [diff] [blame] | 128 | </plugins> |
| 129 | </pluginManagement> |
| 130 | </build> |
| 131 | |
| 132 | <dependencies> |
| 133 | <dependency> |
Carsten Ziegeler | 37246fa | 2015-08-05 22:36:30 +0000 | [diff] [blame] | 134 | <groupId>org.osgi</groupId> |
| 135 | <artifactId>osgi.annotation</artifactId> |
Carsten Ziegeler | 06ff4d2 | 2015-01-16 12:15:46 +0000 | [diff] [blame] | 136 | </dependency> |
Felix Meschberger | ae4262a | 2011-12-05 14:15:58 +0000 | [diff] [blame] | 137 | </dependencies> |
| 138 | |
| 139 | <dependencyManagement> |
| 140 | <dependencies> |
| 141 | <dependency> |
| 142 | <groupId>javax.servlet</groupId> |
Jan Willem Janssen | 0a3f86a | 2014-02-07 16:03:21 +0000 | [diff] [blame] | 143 | <artifactId>javax.servlet-api</artifactId> |
Jan Willem Janssen | 926e71c | 2013-11-10 14:41:39 +0000 | [diff] [blame] | 144 | <version>${servlet.version}</version> |
Felix Meschberger | ae4262a | 2011-12-05 14:15:58 +0000 | [diff] [blame] | 145 | <scope>provided</scope> |
| 146 | </dependency> |
| 147 | <dependency> |
| 148 | <groupId>org.osgi</groupId> |
Carsten Ziegeler | 37246fa | 2015-08-05 22:36:30 +0000 | [diff] [blame] | 149 | <artifactId>osgi.core</artifactId> |
| 150 | <version>6.0.0</version> |
Felix Meschberger | ae4262a | 2011-12-05 14:15:58 +0000 | [diff] [blame] | 151 | <scope>provided</scope> |
| 152 | </dependency> |
| 153 | <dependency> |
| 154 | <groupId>org.osgi</groupId> |
Carsten Ziegeler | 37246fa | 2015-08-05 22:36:30 +0000 | [diff] [blame] | 155 | <artifactId>osgi.cmpn</artifactId> |
| 156 | <version>6.0.0</version> |
Felix Meschberger | ae4262a | 2011-12-05 14:15:58 +0000 | [diff] [blame] | 157 | <scope>provided</scope> |
| 158 | </dependency> |
Carsten Ziegeler | 37246fa | 2015-08-05 22:36:30 +0000 | [diff] [blame] | 159 | <dependency> |
| 160 | <groupId>org.osgi</groupId> |
| 161 | <artifactId>osgi.annotation</artifactId> |
| 162 | <version>6.0.1</version> |
| 163 | <scope>provided</scope> |
| 164 | </dependency> |
Felix Meschberger | ae4262a | 2011-12-05 14:15:58 +0000 | [diff] [blame] | 165 | </dependencies> |
| 166 | </dependencyManagement> |
Felix Meschberger | ae4262a | 2011-12-05 14:15:58 +0000 | [diff] [blame] | 167 | </project> |