blob: 70020b610566e517e490d3430bca2be9498a840f [file] [log] [blame]
Clement Escoffierb7fd6702013-04-21 09:32:28 +00001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ~ Licensed to the Apache Software Foundation (ASF) under one
4 ~ or more contributor license agreements. See the NOTICE file
5 ~ distributed with this work for additional information
6 ~ regarding copyright ownership. The ASF licenses this file
7 ~ to you under the Apache License, Version 2.0 (the
8 ~ "License"); you may not use this file except in compliance
9 ~ with the License. You may obtain a copy of the License at
10 ~
11 ~ http://www.apache.org/licenses/LICENSE-2.0
12 ~
13 ~ Unless required by applicable law or agreed to in writing,
14 ~ software distributed under the License is distributed on an
15 ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 ~ KIND, either express or implied. See the License for the
17 ~ specific language governing permissions and limitations
18 ~ under the License.
19 -->
20
21<project xmlns="http://maven.apache.org/POM/4.0.0"
22 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24 <modelVersion>4.0.0</modelVersion>
25
26 <parent>
27 <groupId>org.apache.felix</groupId>
28 <artifactId>ipojo-handler-tutorial</artifactId>
29 <version>1.9.0-SNAPSHOT</version>
30 </parent>
31
32 <artifactId>loghandler-tutorial-felix</artifactId>
33 <name>Log-Handler-In-Felix</name>
34
35 <packaging>pom</packaging>
36
37 <dependencies>
38 <dependency>
39 <groupId>org.apache.felix</groupId>
Clement Escoffierb7fd6702013-04-21 09:32:28 +000040 <artifactId>org.apache.felix.log</artifactId>
41 <version>1.0.1</version>
42 </dependency>
43
44 <!-- our project -->
45 <dependency>
46 <groupId>${project.groupId}</groupId>
47 <artifactId>org.apache.felix.ipojo.log.foo</artifactId>
48 <version>${project.version}</version>
49 </dependency>
50 <dependency>
51 <groupId>${project.groupId}</groupId>
52 <artifactId>org.apache.felix.ipojo.log.handler</artifactId>
53 <version>${project.version}</version>
54 </dependency>
55 <dependency>
56 <groupId>${project.groupId}</groupId>
57 <artifactId>org.apache.felix.ipojo.log.consumer</artifactId>
58 <version>${project.version}</version>
59 </dependency>
60 </dependencies>
61
62 <build>
63 <plugins>
64 <plugin>
65 <groupId>org.apache.maven.plugins</groupId>
66 <artifactId>maven-dependency-plugin</artifactId>
67 <version>2.7</version>
68 <executions>
69
70 <execution>
71 <id>unpack-felix</id>
72 <phase>package</phase>
73 <goals>
74 <goal>unpack-dependencies</goal>
75 </goals>
76 <configuration>
77 <includeArtifactIds>org.apache.felix.main.distribution</includeArtifactIds>
78 <outputDirectory>${project.build.directory}</outputDirectory>
79 </configuration>
80 </execution>
81
82 <execution>
83 <id>copy-bundles</id>
84 <phase>package</phase>
85 <goals>
86 <goal>copy-dependencies</goal>
87 </goals>
88 <configuration>
89 <includeArtifactIds>
90 org.apache.felix.ipojo.log.foo,
91 org.apache.felix.ipojo.log.handler,
92 org.apache.felix.ipojo.log.consumer,
93 org.apache.felix.log,org.apache.felix.ipojo,
94 org.apache.felix.ipojo.arch.gogo
95 </includeArtifactIds>
Clement Escoffier90c5b7e2013-04-21 10:15:29 +000096 <outputDirectory>${project.build.directory}/felix-framework-${felix.version}/bundle
97 </outputDirectory>
Clement Escoffierb7fd6702013-04-21 09:32:28 +000098 </configuration>
99 </execution>
100 </executions>
101 </plugin>
102
103 </plugins>
104 </build>
105
Clement Escoffier90c5b7e2013-04-21 10:15:29 +0000106
Clement Escoffierb7fd6702013-04-21 09:32:28 +0000107</project>