blob: 6454332f8ec5dbe8c20c2f721d8875c70efe7b3b [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
Clement Escoffier90c5b7e2013-04-21 10:15:29 +000026 <groupId>org.apache.felix</groupId>
Clement Escoffierb7fd6702013-04-21 09:32:28 +000027 <artifactId>ipojo-handler-tutorial</artifactId>
Clement Escoffierc57fd3b2013-12-08 15:11:46 +000028 <version>1.10.2-SNAPSHOT</version>
Clement Escoffierb7fd6702013-04-21 09:32:28 +000029
30 <packaging>pom</packaging>
31
32 <description>
33 Build the handlers form the tutorial and distributions to test them
34 </description>
35
36 <dependencies>
37 <dependency>
38 <groupId>org.apache.felix</groupId>
39 <artifactId>org.apache.felix.main.distribution</artifactId>
40 <type>zip</type>
41 </dependency>
42 <dependency>
43 <groupId>org.apache.felix</groupId>
44 <artifactId>org.apache.felix.ipojo</artifactId>
45 </dependency>
46 <dependency>
47 <groupId>org.apache.felix</groupId>
Clement Escoffier4eede512013-06-30 07:29:15 +000048 <artifactId>org.apache.felix.ipojo.gogo</artifactId>
Clement Escoffierb7fd6702013-04-21 09:32:28 +000049 </dependency>
50 <dependency>
51 <groupId>org.apache.felix</groupId>
52 <artifactId>org.apache.felix.ipojo.annotations</artifactId>
53 </dependency>
54 </dependencies>
55
56 <modules>
57 <!-- Log Handler tutorial -->
58 <module>FooService-And-Impl</module>
59 <module>Log-Handler</module>
60 <module>Log-Handler-Consumer</module>
61 <module>Log-Handler-In-Felix</module>
62
63 <!-- Property handler tutorial -->
64 <module>Property-Handler</module>
65 <module>Property-Handler-Consumer</module>
66 <module>Property-Handler-In-Felix</module>
67 </modules>
68
Clement Escoffier90c5b7e2013-04-21 10:15:29 +000069 <properties>
70 <felix.version>4.2.1</felix.version>
71 </properties>
Clement Escoffierb7fd6702013-04-21 09:32:28 +000072
Clement Escoffier90c5b7e2013-04-21 10:15:29 +000073 <dependencyManagement>
74 <dependencies>
75 <dependency>
76 <groupId>org.apache.felix</groupId>
77 <artifactId>org.apache.felix.ipojo</artifactId>
Clement Escoffier4eede512013-06-30 07:29:15 +000078 <version>1.10.1</version>
Clement Escoffier90c5b7e2013-04-21 10:15:29 +000079 </dependency>
80 <dependency>
81 <groupId>org.apache.felix</groupId>
Clement Escoffier4eede512013-06-30 07:29:15 +000082 <artifactId>org.apache.felix.ipojo.gogo</artifactId>
83 <version>1.10.1</version>
Clement Escoffier90c5b7e2013-04-21 10:15:29 +000084 </dependency>
85 <dependency>
86 <groupId>org.apache.felix</groupId>
87 <artifactId>org.apache.felix.main.distribution</artifactId>
88 <version>4.2.1</version>
89 <type>zip</type>
90 </dependency>
91 <dependency>
92 <groupId>org.apache.felix</groupId>
93 <artifactId>org.apache.felix.ipojo.annotations</artifactId>
Clement Escoffier4eede512013-06-30 07:29:15 +000094 <version>1.10.1</version>
Clement Escoffier90c5b7e2013-04-21 10:15:29 +000095 </dependency>
96 </dependencies>
97 </dependencyManagement>
Clement Escoffierb7fd6702013-04-21 09:32:28 +000098
99 <build>
Clement Escoffier90c5b7e2013-04-21 10:15:29 +0000100 <pluginManagement>
101 <plugins>
102 <plugin>
103 <groupId>org.apache.felix</groupId>
104 <artifactId>maven-bundle-plugin</artifactId>
105 <version>2.3.7</version>
106 </plugin>
107 <plugin>
108 <groupId>org.apache.felix</groupId>
109 <artifactId>maven-ipojo-plugin</artifactId>
110 <version>1.8.6</version>
111 </plugin>
112 <plugin>
113 <artifactId>maven-assembly-plugin</artifactId>
114 <version>2.4</version>
115 </plugin>
116 </plugins>
117 </pluginManagement>
118
Clement Escoffierb7fd6702013-04-21 09:32:28 +0000119 <plugins>
120 <plugin>
121 <artifactId>maven-assembly-plugin</artifactId>
122 <configuration>
123 <descriptorRefs>
124 <ref>project</ref>
125 </descriptorRefs>
Clement Escoffierb7fd6702013-04-21 09:32:28 +0000126 <attach>true</attach>
127 </configuration>
128 <executions>
129 <execution>
130 <goals>
131 <goal>single</goal>
132 </goals>
133 <phase>package</phase>
134 </execution>
135 </executions>
136 </plugin>
137 </plugins>
138 </build>
139</project>