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> |
Clement Escoffier | ed4ca02 | 2013-03-13 15:27:20 +0000 | [diff] [blame] | 24 | <version>2.1</version> |
Clement Escoffier | d957195 | 2013-02-27 15:51:08 +0000 | [diff] [blame] | 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> |
Clement Escoffier | b76fae7 | 2013-05-28 04:37:54 +0000 | [diff] [blame^] | 36 | <url> |
| 37 | http://felix.apache.org/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-userguide/describing-components/event-admin-handlers.html |
| 38 | </url> |
Clement Escoffier | d957195 | 2013-02-27 15:51:08 +0000 | [diff] [blame] | 39 | |
Clement Escoffier | d957195 | 2013-02-27 15:51:08 +0000 | [diff] [blame] | 40 | <dependencies> |
| 41 | <dependency> |
| 42 | <groupId>org.apache.felix</groupId> |
| 43 | <artifactId>org.apache.felix.ipojo</artifactId> |
| 44 | <version>1.6.0</version> |
| 45 | </dependency> |
| 46 | <dependency> |
| 47 | <groupId>org.osgi</groupId> |
| 48 | <artifactId>org.osgi.core</artifactId> |
| 49 | <version>4.2.0</version> |
| 50 | </dependency> |
| 51 | <dependency> |
| 52 | <groupId>org.osgi</groupId> |
| 53 | <artifactId>org.osgi.compendium</artifactId> |
| 54 | <version>4.2.0</version> |
| 55 | </dependency> |
| 56 | </dependencies> |
| 57 | <build> |
| 58 | <plugins> |
| 59 | <plugin> |
| 60 | <groupId>org.apache.felix</groupId> |
| 61 | <artifactId>maven-bundle-plugin</artifactId> |
Clement Escoffier | ed4ca02 | 2013-03-13 15:27:20 +0000 | [diff] [blame] | 62 | <version>2.3.7</version> |
Clement Escoffier | d957195 | 2013-02-27 15:51:08 +0000 | [diff] [blame] | 63 | <extensions>true</extensions> |
| 64 | <configuration> |
| 65 | <instructions> |
| 66 | <Export-Package>org.apache.felix.ipojo.handlers.event*;version="1.2.0"</Export-Package> |
| 67 | <Bundle-Name>${project.name}</Bundle-Name> |
| 68 | <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName> |
| 69 | <Bundle-Description>iPOJO Event Admin Handlers |
| 70 | </Bundle-Description> |
| 71 | <Bundle-DocURL> |
Clement Escoffier | b76fae7 | 2013-05-28 04:37:54 +0000 | [diff] [blame^] | 72 | http://felix.apache.org/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-userguide/describing-components/event-admin-handlers.html |
Clement Escoffier | d957195 | 2013-02-27 15:51:08 +0000 | [diff] [blame] | 73 | </Bundle-DocURL> |
| 74 | <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor> |
Clement Escoffier | d957195 | 2013-02-27 15:51:08 +0000 | [diff] [blame] | 75 | </instructions> |
| 76 | </configuration> |
| 77 | </plugin> |
| 78 | <plugin> |
| 79 | <groupId>org.apache.felix</groupId> |
| 80 | <artifactId>maven-ipojo-plugin</artifactId> |
| 81 | <version>1.9.0-SNAPSHOT</version> |
| 82 | <executions> |
| 83 | <execution> |
| 84 | <goals> |
| 85 | <goal>ipojo-bundle</goal> |
| 86 | </goals> |
| 87 | <configuration> |
| 88 | <metadata>metadata.xml</metadata> |
| 89 | </configuration> |
| 90 | </execution> |
| 91 | </executions> |
| 92 | </plugin> |
| 93 | <plugin> |
Clement Escoffier | d957195 | 2013-02-27 15:51:08 +0000 | [diff] [blame] | 94 | <groupId>org.apache.maven.plugins</groupId> |
| 95 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 96 | <configuration> |
| 97 | <enableRulesSummary>false</enableRulesSummary> |
| 98 | <violationSeverity>warning</violationSeverity> |
| 99 | <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation> |
| 100 | </configuration> |
| 101 | </plugin> |
| 102 | <plugin> |
| 103 | <groupId>org.apache.maven.plugins</groupId> |
| 104 | <artifactId>maven-compiler-plugin</artifactId> |
| 105 | <version>2.5.1</version> |
| 106 | <configuration> |
| 107 | <source>1.6</source> |
| 108 | <target>1.6</target> |
| 109 | </configuration> |
| 110 | </plugin> |
| 111 | </plugins> |
| 112 | </build> |
| 113 | |
| 114 | <profiles> |
| 115 | <profile> |
| 116 | <id>test</id> |
| 117 | <activation> |
| 118 | <activeByDefault>true</activeByDefault> |
| 119 | </activation> |
| 120 | <build> |
| 121 | <plugins> |
| 122 | <plugin> |
| 123 | <groupId>org.apache.maven.plugins</groupId> |
| 124 | <artifactId>maven-invoker-plugin</artifactId> |
| 125 | <version>1.8</version> |
| 126 | <configuration> |
| 127 | <streamLogs>true</streamLogs> |
| 128 | <goals> |
| 129 | <goal>clean</goal> |
| 130 | <goal>test</goal> |
| 131 | </goals> |
| 132 | <cloneClean>true</cloneClean> |
| 133 | </configuration> |
| 134 | <executions> |
| 135 | <execution> |
| 136 | <id>regular</id> |
| 137 | <goals> |
| 138 | <goal>run</goal> |
| 139 | </goals> |
| 140 | <configuration> |
| 141 | <profiles> |
| 142 | <profile>felix</profile> |
| 143 | </profiles> |
| 144 | <cloneProjectsTo>${project.build.directory}/regular</cloneProjectsTo> |
| 145 | </configuration> |
| 146 | </execution> |
| 147 | </executions> |
| 148 | </plugin> |
| 149 | </plugins> |
| 150 | </build> |
| 151 | </profile> |
| 152 | |
| 153 | <profile> |
| 154 | <id>test-all</id> |
| 155 | <activation> |
| 156 | <activeByDefault>false</activeByDefault> |
| 157 | </activation> |
| 158 | <build> |
| 159 | <plugins> |
| 160 | <plugin> |
| 161 | <groupId>org.apache.maven.plugins</groupId> |
| 162 | <artifactId>maven-invoker-plugin</artifactId> |
| 163 | <version>1.8</version> |
| 164 | <configuration> |
| 165 | <streamLogs>true</streamLogs> |
| 166 | <goals> |
| 167 | <goal>clean</goal> |
| 168 | <goal>test</goal> |
| 169 | </goals> |
| 170 | <cloneClean>true</cloneClean> |
| 171 | </configuration> |
| 172 | <executions> |
| 173 | <execution> |
| 174 | <id>equinox-native</id> |
| 175 | <goals> |
| 176 | <goal>run</goal> |
| 177 | </goals> |
| 178 | <configuration> |
| 179 | <profiles> |
| 180 | <profile>equinox</profile> |
| 181 | </profiles> |
| 182 | <cloneProjectsTo>${project.build.directory}/equinox-native</cloneProjectsTo> |
| 183 | |
| 184 | </configuration> |
| 185 | </execution> |
| 186 | <execution> |
| 187 | <id>felix-native</id> |
| 188 | <goals> |
| 189 | <goal>run</goal> |
| 190 | </goals> |
| 191 | <configuration> |
| 192 | <profiles> |
| 193 | <profile>felix</profile> |
| 194 | </profiles> |
| 195 | <cloneProjectsTo>${project.build.directory}/felix-native</cloneProjectsTo> |
| 196 | </configuration> |
| 197 | </execution> |
| 198 | <execution> |
| 199 | <id>knopflerfish-native</id> |
| 200 | <goals> |
| 201 | <goal>run</goal> |
| 202 | </goals> |
| 203 | <configuration> |
| 204 | <profiles> |
| 205 | <profile>knopflerfish</profile> |
| 206 | </profiles> |
| 207 | <cloneProjectsTo>${project.build.directory}/knopflerfish-native</cloneProjectsTo> |
| 208 | </configuration> |
| 209 | </execution> |
| 210 | </executions> |
| 211 | </plugin> |
| 212 | </plugins> |
| 213 | </build> |
| 214 | </profile> |
| 215 | </profiles> |
| 216 | </project> |