blob: d0eabac190d803ac2d27cdfa384a8a1b8140c0c9 [file] [log] [blame]
Carsten Ziegelera845c772009-03-10 07:30:54 +00001<!--
2 Licensed to the Apache Software Foundation (ASF) under one
3 or more contributor license agreements. See the NOTICE file
4 distributed with this work for additional information
5 regarding copyright ownership. The ASF licenses this file
6 to you under the Apache License, Version 2.0 (the
7 "License"); you may not use this file except in compliance
8 with the License. You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing,
13 software distributed under the License is distributed on an
14 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 KIND, either express or implied. See the License for the
16 specific language governing permissions and limitations
17 under the License.
18-->
19<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">
20 <modelVersion>4.0.0</modelVersion>
21
22 <parent>
23 <groupId>org.apache</groupId>
24 <artifactId>apache</artifactId>
Stuart McCulloch85b182c2009-04-18 00:58:07 +000025 <version>5</version>
Carsten Ziegelera845c772009-03-10 07:30:54 +000026 </parent>
27
28 <groupId>org.apache.felix</groupId>
29 <artifactId>reactor</artifactId>
30 <packaging>pom</packaging>
31 <name>Apache Felix</name>
32 <!-- We just increase the version each time the list of modules changes -->
33 <version>1</version>
34 <description>Apache Felix Reactor POM</description>
35 <!--
Clement Escoffier2539ada2009-04-08 15:53:15 +000036 Felix contains 2 custom maven packaging plugins. Each creates a jar file
Carsten Ziegelera845c772009-03-10 07:30:54 +000037 as an artifact.
38
39 maven-bundle-plugin
40 (bundle packaging - latest prefered plugin for generating OSGi bundles.)
41 maven-osgi-plugin
42 (osgi-bundle packaging - old plugin for generating OSGi bundles.)
Carsten Ziegelera845c772009-03-10 07:30:54 +000043
44 But with maven bug https://issues.apache.org/jira/browse/FELIX-198 files
45 are not always created with the correct extension in the repository.
46
47 As a work around, this pom creates different profiles for building the
48 different types of felix modules.
49
50 Usage:
51 mvn -Dpackaging=<type> clean install
52 -->
53
54 <profiles>
55
56 <profile>
Guillaume Nodet72593da2010-03-26 14:02:26 +000057 <id>packaging-obr</id>
58 <activation>
59 <property>
60 <name>packaging</name>
61 <value>obr</value>
62 </property>
63 </activation>
64 <modules>
65 <module>utils</module>
66 <module>bundlerepository</module>
A. J. David Bosschaert8b3069d2014-02-04 14:13:44 +000067 <module>bundlerepository.osgi-ct</module>
Guillaume Nodet72593da2010-03-26 14:02:26 +000068 </modules>
69 </profile>
70
71 <profile>
Carsten Ziegelera845c772009-03-10 07:30:54 +000072 <id>packaging-plugins</id>
73 <activation>
74 <property>
75 <name>packaging</name>
76 <value>plugins</value>
77 </property>
78 </activation>
79 <modules>
80 <module>maven-obr-plugin</module>
81 <module>bundleplugin</module>
Carsten Ziegelera845c772009-03-10 07:30:54 +000082 <module>scrplugin</module>
83 <module>tools/maven2/maven-osgi-plugin</module>
84<!-- <module>tools/maven2/maven-felix-plugin</module> -->
85 </modules>
86 </profile>
87
88 <profile>
Carsten Ziegelera845c772009-03-10 07:30:54 +000089 <id>packaging-bundle</id>
90 <activation>
91 <property>
92 <name>packaging</name>
93 <value>bundle</value>
94 </property>
95 </activation>
96 <modules>
97 <module>org.osgi.foundation</module>
98 <module>javax.servlet</module>
99 <module>org.osgi.core</module>
100 <module>org.osgi.compendium</module>
Pierre De Ropd3723d82015-07-27 21:06:01 +0000101 <module>resolver</module>
Carsten Ziegelera845c772009-03-10 07:30:54 +0000102 <module>framework</module>
103 <module>main</module>
104 <module>shell</module>
105 <module>shell.tui</module>
106 <module>shell.gui</module>
107 <module>shell.gui.plugin</module>
108 <module>shell.remote</module>
109 <module>org.osgi.service.obr</module>
Carsten Ziegelera845c772009-03-10 07:30:54 +0000110 <module>log</module>
111 <module>eventadmin</module>
Sten Roger Sandvikf52abb82009-09-14 10:42:08 +0000112 <module>http</module>
Ken Gilmer1d595942011-10-25 06:18:22 +0000113 <module>httplite</module>
Carsten Ziegelera845c772009-03-10 07:30:54 +0000114 <module>upnp</module>
115 <module>scr</module>
116 <module>configadmin</module>
117 <module>metatype</module>
Richard S. Hallea7f8482009-05-01 00:12:10 +0000118 <module>deploymentadmin</module>
Carsten Ziegelera845c772009-03-10 07:30:54 +0000119 <module>servicebinder</module>
120 <module>wireadmin</module>
121 <module>prefs</module>
Carsten Ziegeler4e2a3272013-02-20 16:07:41 +0000122 <module>inventory</module>
Carsten Ziegelera845c772009-03-10 07:30:54 +0000123 <module>webconsole</module>
Carsten Ziegeler1baa7052009-09-24 12:25:14 +0000124 <module>webconsole-plugins/event</module>
Carsten Ziegelera845c772009-03-10 07:30:54 +0000125 <module>fileinstall</module>
Richard S. Halldc82a802009-12-07 19:32:28 +0000126 <module>useradmin</module>
Felix Meschberger84c838b2012-10-18 10:10:08 +0000127 <module>jaas</module>
Carsten Ziegelera845c772009-03-10 07:30:54 +0000128
Clement Escoffier9aa90412010-06-10 08:57:54 +0000129 <module>gogo</module>
130
Carsten Ziegelera845c772009-03-10 07:30:54 +0000131 <module>ipojo</module>
132
133 <module>mosgi</module>
134 <module>jmood</module>
Clement Escoffier2539ada2009-04-08 15:53:15 +0000135
136 <module>transaction</module>
Carsten Ziegelera845c772009-03-10 07:30:54 +0000137
138 <module>examples</module>
139 </modules>
140 </profile>
141
142 <profile>
143 <id>packaging-osgi-bundle</id>
144 <activation>
145 <property>
146 <name>packaging</name>
147 <value>osgi-bundle</value>
148 </property>
149 </activation>
150 <modules>
151 <module>org.apache.felix.daemon</module>
152
153 <!-- <module>tools/mangen</module> -->
154
155
156 </modules>
157 </profile>
Guillaume Nodet3bf1c872009-08-10 16:57:09 +0000158
Carsten Ziegelera845c772009-03-10 07:30:54 +0000159 </profiles>
160</project>