blob: 2c94c8d4f47df321d7563755a779b4ddf4712829 [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>
40 <artifactId>org.apache.felix.main.distribution</artifactId>
41 <type>zip</type>
42 </dependency>
43 <dependency>
44 <groupId>org.apache.felix</groupId>
45 <artifactId>org.apache.felix.ipojo</artifactId>
46 </dependency>
47 <dependency>
48 <groupId>org.apache.felix</groupId>
49 <artifactId>org.apache.felix.ipojo.arch.gogo</artifactId>
50 </dependency>
51
52 <dependency>
53 <groupId>org.apache.felix</groupId>
54 <artifactId>org.apache.felix.log</artifactId>
55 <version>1.0.1</version>
56 </dependency>
57
58 <!-- our project -->
59 <dependency>
60 <groupId>${project.groupId}</groupId>
61 <artifactId>org.apache.felix.ipojo.log.foo</artifactId>
62 <version>${project.version}</version>
63 </dependency>
64 <dependency>
65 <groupId>${project.groupId}</groupId>
66 <artifactId>org.apache.felix.ipojo.log.handler</artifactId>
67 <version>${project.version}</version>
68 </dependency>
69 <dependency>
70 <groupId>${project.groupId}</groupId>
71 <artifactId>org.apache.felix.ipojo.log.consumer</artifactId>
72 <version>${project.version}</version>
73 </dependency>
74 </dependencies>
75
76 <build>
77 <plugins>
78 <plugin>
79 <groupId>org.apache.maven.plugins</groupId>
80 <artifactId>maven-dependency-plugin</artifactId>
81 <version>2.7</version>
82 <executions>
83
84 <execution>
85 <id>unpack-felix</id>
86 <phase>package</phase>
87 <goals>
88 <goal>unpack-dependencies</goal>
89 </goals>
90 <configuration>
91 <includeArtifactIds>org.apache.felix.main.distribution</includeArtifactIds>
92 <outputDirectory>${project.build.directory}</outputDirectory>
93 </configuration>
94 </execution>
95
96 <execution>
97 <id>copy-bundles</id>
98 <phase>package</phase>
99 <goals>
100 <goal>copy-dependencies</goal>
101 </goals>
102 <configuration>
103 <includeArtifactIds>
104 org.apache.felix.ipojo.log.foo,
105 org.apache.felix.ipojo.log.handler,
106 org.apache.felix.ipojo.log.consumer,
107 org.apache.felix.log,org.apache.felix.ipojo,
108 org.apache.felix.ipojo.arch.gogo
109 </includeArtifactIds>
110 <outputDirectory>${project.build.directory}/felix-framework-${felix.version}/bundle</outputDirectory>
111 </configuration>
112 </execution>
113 </executions>
114 </plugin>
115
116 </plugins>
117 </build>
118
119
120</project>