Clement Escoffier | d957195 | 2013-02-27 15:51:08 +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 | <parent> |
| 22 | <groupId>org.apache.felix</groupId> |
| 23 | <artifactId>felix-parent</artifactId> |
| 24 | <version>1.2.1</version> |
| 25 | <relativePath>../../../../pom/pom.xml</relativePath> |
| 26 | </parent> |
| 27 | <modelVersion>4.0.0</modelVersion> |
| 28 | <packaging>bundle</packaging> |
| 29 | <name>Apache Felix iPOJO Event Admin Handler</name> |
| 30 | <artifactId>org.apache.felix.ipojo.handler.eventadmin</artifactId> |
| 31 | <version>1.9.0-SNAPSHOT</version> |
| 32 | |
| 33 | <description> |
| 34 | iPOJO extension to easily interact with the OSGi Event Admin. |
| 35 | </description> |
| 36 | <url>http://felix.apache.org/site/event-admin-handlers.html</url> |
| 37 | |
| 38 | <properties> |
| 39 | <exam.version>3.0.0</exam.version> |
| 40 | <url.version>1.5.1</url.version> |
| 41 | </properties> |
| 42 | |
| 43 | <dependencies> |
| 44 | <dependency> |
| 45 | <groupId>org.apache.felix</groupId> |
| 46 | <artifactId>org.apache.felix.ipojo</artifactId> |
| 47 | <version>1.6.0</version> |
| 48 | </dependency> |
| 49 | <dependency> |
| 50 | <groupId>org.osgi</groupId> |
| 51 | <artifactId>org.osgi.core</artifactId> |
| 52 | <version>4.2.0</version> |
| 53 | </dependency> |
| 54 | <dependency> |
| 55 | <groupId>org.osgi</groupId> |
| 56 | <artifactId>org.osgi.compendium</artifactId> |
| 57 | <version>4.2.0</version> |
| 58 | </dependency> |
| 59 | </dependencies> |
| 60 | <build> |
| 61 | <plugins> |
| 62 | <plugin> |
| 63 | <groupId>org.apache.felix</groupId> |
| 64 | <artifactId>maven-bundle-plugin</artifactId> |
| 65 | <version>1.4.3</version> |
| 66 | <extensions>true</extensions> |
| 67 | <configuration> |
| 68 | <instructions> |
| 69 | <Export-Package>org.apache.felix.ipojo.handlers.event*;version="1.2.0"</Export-Package> |
| 70 | <Bundle-Name>${project.name}</Bundle-Name> |
| 71 | <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName> |
| 72 | <Bundle-Description>iPOJO Event Admin Handlers |
| 73 | </Bundle-Description> |
| 74 | <Bundle-DocURL> |
| 75 | http://felix.apache.org/site/event-admin-handlers.html |
| 76 | </Bundle-DocURL> |
| 77 | <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor> |
| 78 | <Include-Resource> |
| 79 | META-INF/LICENSE=LICENSE, |
| 80 | META-INF/NOTICE=NOTICE, |
| 81 | META-INF/DEPENDENCIES=DEPENDENCIES |
| 82 | </Include-Resource> |
| 83 | </instructions> |
| 84 | </configuration> |
| 85 | </plugin> |
| 86 | <plugin> |
| 87 | <groupId>org.apache.felix</groupId> |
| 88 | <artifactId>maven-ipojo-plugin</artifactId> |
| 89 | <version>1.9.0-SNAPSHOT</version> |
| 90 | <executions> |
| 91 | <execution> |
| 92 | <goals> |
| 93 | <goal>ipojo-bundle</goal> |
| 94 | </goals> |
| 95 | <configuration> |
| 96 | <metadata>metadata.xml</metadata> |
| 97 | </configuration> |
| 98 | </execution> |
| 99 | </executions> |
| 100 | </plugin> |
| 101 | <plugin> |
| 102 | <groupId>org.codehaus.mojo</groupId> |
| 103 | <artifactId>rat-maven-plugin</artifactId> |
| 104 | <configuration> |
| 105 | <excludeSubProjects>false</excludeSubProjects> |
| 106 | <useEclipseDefaultExcludes>true</useEclipseDefaultExcludes> |
| 107 | <useMavenDefaultExcludes>true</useMavenDefaultExcludes> |
| 108 | <excludes> |
| 109 | <param>doc/**/*</param> |
| 110 | <param>maven-eclipse.xml</param> |
| 111 | <param>.checkstyle</param> |
| 112 | <param>.externalToolBuilders/*</param> |
| 113 | <param>LICENSE.asm</param> |
| 114 | </excludes> |
| 115 | </configuration> |
| 116 | </plugin> |
| 117 | <plugin> |
| 118 | <groupId>org.apache.maven.plugins</groupId> |
| 119 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 120 | <configuration> |
| 121 | <enableRulesSummary>false</enableRulesSummary> |
| 122 | <violationSeverity>warning</violationSeverity> |
| 123 | <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation> |
| 124 | </configuration> |
| 125 | </plugin> |
| 126 | <plugin> |
| 127 | <groupId>org.apache.maven.plugins</groupId> |
| 128 | <artifactId>maven-compiler-plugin</artifactId> |
| 129 | <version>2.5.1</version> |
| 130 | <configuration> |
| 131 | <source>1.6</source> |
| 132 | <target>1.6</target> |
| 133 | </configuration> |
| 134 | </plugin> |
| 135 | </plugins> |
| 136 | </build> |
| 137 | |
| 138 | <profiles> |
| 139 | <profile> |
| 140 | <id>test</id> |
| 141 | <activation> |
| 142 | <activeByDefault>true</activeByDefault> |
| 143 | </activation> |
| 144 | <build> |
| 145 | <plugins> |
| 146 | <plugin> |
| 147 | <groupId>org.apache.maven.plugins</groupId> |
| 148 | <artifactId>maven-invoker-plugin</artifactId> |
| 149 | <version>1.8</version> |
| 150 | <configuration> |
| 151 | <streamLogs>true</streamLogs> |
| 152 | <goals> |
| 153 | <goal>clean</goal> |
| 154 | <goal>test</goal> |
| 155 | </goals> |
| 156 | <cloneClean>true</cloneClean> |
| 157 | </configuration> |
| 158 | <executions> |
| 159 | <execution> |
| 160 | <id>regular</id> |
| 161 | <goals> |
| 162 | <goal>run</goal> |
| 163 | </goals> |
| 164 | <configuration> |
| 165 | <profiles> |
| 166 | <profile>felix</profile> |
| 167 | </profiles> |
| 168 | <cloneProjectsTo>${project.build.directory}/regular</cloneProjectsTo> |
| 169 | </configuration> |
| 170 | </execution> |
| 171 | </executions> |
| 172 | </plugin> |
| 173 | </plugins> |
| 174 | </build> |
| 175 | </profile> |
| 176 | |
| 177 | <profile> |
| 178 | <id>test-all</id> |
| 179 | <activation> |
| 180 | <activeByDefault>false</activeByDefault> |
| 181 | </activation> |
| 182 | <build> |
| 183 | <plugins> |
| 184 | <plugin> |
| 185 | <groupId>org.apache.maven.plugins</groupId> |
| 186 | <artifactId>maven-invoker-plugin</artifactId> |
| 187 | <version>1.8</version> |
| 188 | <configuration> |
| 189 | <streamLogs>true</streamLogs> |
| 190 | <goals> |
| 191 | <goal>clean</goal> |
| 192 | <goal>test</goal> |
| 193 | </goals> |
| 194 | <cloneClean>true</cloneClean> |
| 195 | </configuration> |
| 196 | <executions> |
| 197 | <execution> |
| 198 | <id>equinox-native</id> |
| 199 | <goals> |
| 200 | <goal>run</goal> |
| 201 | </goals> |
| 202 | <configuration> |
| 203 | <profiles> |
| 204 | <profile>equinox</profile> |
| 205 | </profiles> |
| 206 | <cloneProjectsTo>${project.build.directory}/equinox-native</cloneProjectsTo> |
| 207 | |
| 208 | </configuration> |
| 209 | </execution> |
| 210 | <execution> |
| 211 | <id>felix-native</id> |
| 212 | <goals> |
| 213 | <goal>run</goal> |
| 214 | </goals> |
| 215 | <configuration> |
| 216 | <profiles> |
| 217 | <profile>felix</profile> |
| 218 | </profiles> |
| 219 | <cloneProjectsTo>${project.build.directory}/felix-native</cloneProjectsTo> |
| 220 | </configuration> |
| 221 | </execution> |
| 222 | <execution> |
| 223 | <id>knopflerfish-native</id> |
| 224 | <goals> |
| 225 | <goal>run</goal> |
| 226 | </goals> |
| 227 | <configuration> |
| 228 | <profiles> |
| 229 | <profile>knopflerfish</profile> |
| 230 | </profiles> |
| 231 | <cloneProjectsTo>${project.build.directory}/knopflerfish-native</cloneProjectsTo> |
| 232 | </configuration> |
| 233 | </execution> |
| 234 | </executions> |
| 235 | </plugin> |
| 236 | </plugins> |
| 237 | </build> |
| 238 | </profile> |
| 239 | </profiles> |
| 240 | </project> |