blob: a0ad8780a585f67f8750a9859af57e3e9cd87466 [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>
28 <version>1.9.0-SNAPSHOT</version>
29
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>
48 <artifactId>org.apache.felix.ipojo.arch.gogo</artifactId>
49 </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>
78 <version>1.8.6</version>
79 </dependency>
80 <dependency>
81 <groupId>org.apache.felix</groupId>
82 <artifactId>org.apache.felix.ipojo.arch.gogo</artifactId>
83 <version>1.0.1</version>
84 </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>
94 <version>1.8.6</version>
95 </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>
126
127 <!--<descriptors>-->
Clement Escoffier90c5b7e2013-04-21 10:15:29 +0000128 <!--<descriptor>src/main/assembly/distribution.xml</descriptor>-->
Clement Escoffierb7fd6702013-04-21 09:32:28 +0000129 <!--</descriptors>-->
130 <attach>true</attach>
131 </configuration>
132 <executions>
133 <execution>
134 <goals>
135 <goal>single</goal>
136 </goals>
137 <phase>package</phase>
138 </execution>
139 </executions>
140 </plugin>
141 </plugins>
142 </build>
143</project>