| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| <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"> |
| <parent> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>felix-parent</artifactId> |
| <version>2.1</version> |
| <relativePath>../../../../pom/pom.xml</relativePath> |
| </parent> |
| <modelVersion>4.0.0</modelVersion> |
| <packaging>bundle</packaging> |
| <name>Apache Felix iPOJO Event Admin Handler</name> |
| <artifactId>org.apache.felix.ipojo.handler.eventadmin</artifactId> |
| <version>1.9.0-SNAPSHOT</version> |
| |
| <description> |
| iPOJO extension to easily interact with the OSGi Event Admin. |
| </description> |
| <url>http://felix.apache.org/site/event-admin-handlers.html</url> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>org.apache.felix.ipojo</artifactId> |
| <version>1.6.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.core</artifactId> |
| <version>4.2.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.compendium</artifactId> |
| <version>4.2.0</version> |
| </dependency> |
| </dependencies> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <version>2.3.7</version> |
| <extensions>true</extensions> |
| <configuration> |
| <instructions> |
| <Export-Package>org.apache.felix.ipojo.handlers.event*;version="1.2.0"</Export-Package> |
| <Bundle-Name>${project.name}</Bundle-Name> |
| <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName> |
| <Bundle-Description>iPOJO Event Admin Handlers |
| </Bundle-Description> |
| <Bundle-DocURL> |
| http://felix.apache.org/site/event-admin-handlers.html |
| </Bundle-DocURL> |
| <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor> |
| </instructions> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-ipojo-plugin</artifactId> |
| <version>1.9.0-SNAPSHOT</version> |
| <executions> |
| <execution> |
| <goals> |
| <goal>ipojo-bundle</goal> |
| </goals> |
| <configuration> |
| <metadata>metadata.xml</metadata> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <configuration> |
| <enableRulesSummary>false</enableRulesSummary> |
| <violationSeverity>warning</violationSeverity> |
| <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>2.5.1</version> |
| <configuration> |
| <source>1.6</source> |
| <target>1.6</target> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>test</id> |
| <activation> |
| <activeByDefault>true</activeByDefault> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-invoker-plugin</artifactId> |
| <version>1.8</version> |
| <configuration> |
| <streamLogs>true</streamLogs> |
| <goals> |
| <goal>clean</goal> |
| <goal>test</goal> |
| </goals> |
| <cloneClean>true</cloneClean> |
| </configuration> |
| <executions> |
| <execution> |
| <id>regular</id> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| <configuration> |
| <profiles> |
| <profile>felix</profile> |
| </profiles> |
| <cloneProjectsTo>${project.build.directory}/regular</cloneProjectsTo> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| |
| <profile> |
| <id>test-all</id> |
| <activation> |
| <activeByDefault>false</activeByDefault> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-invoker-plugin</artifactId> |
| <version>1.8</version> |
| <configuration> |
| <streamLogs>true</streamLogs> |
| <goals> |
| <goal>clean</goal> |
| <goal>test</goal> |
| </goals> |
| <cloneClean>true</cloneClean> |
| </configuration> |
| <executions> |
| <execution> |
| <id>equinox-native</id> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| <configuration> |
| <profiles> |
| <profile>equinox</profile> |
| </profiles> |
| <cloneProjectsTo>${project.build.directory}/equinox-native</cloneProjectsTo> |
| |
| </configuration> |
| </execution> |
| <execution> |
| <id>felix-native</id> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| <configuration> |
| <profiles> |
| <profile>felix</profile> |
| </profiles> |
| <cloneProjectsTo>${project.build.directory}/felix-native</cloneProjectsTo> |
| </configuration> |
| </execution> |
| <execution> |
| <id>knopflerfish-native</id> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| <configuration> |
| <profiles> |
| <profile>knopflerfish</profile> |
| </profiles> |
| <cloneProjectsTo>${project.build.directory}/knopflerfish-native</cloneProjectsTo> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |