blob: 98f019efdcc61ed3da2223349d8324488f54cf63 [file] [log] [blame]
Guillaume Nodet5a60ee92009-09-02 07:19:55 +00001<?xml version="1.0"?>
Guillaume Nodet04a56372009-06-22 22:07:09 +00002<!--
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-->
Guillaume Nodetcf6fe212009-09-08 20:19:54 +000020<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">
Guillaume Nodetc35dd9e2009-06-22 22:27:13 +000021 <parent>
Guillaume Nodet04a56372009-06-22 22:07:09 +000022 <groupId>org.apache.felix</groupId>
Guillaume Nodetc35dd9e2009-06-22 22:27:13 +000023 <artifactId>felix-parent</artifactId>
Guillaume Nodet6d269832010-04-29 18:27:53 +000024 <version>1.2.1</version>
Guillaume Nodetc35dd9e2009-06-22 22:27:13 +000025 <relativePath>../pom/pom.xml</relativePath>
26 </parent>
27 <modelVersion>4.0.0</modelVersion>
Guillaume Nodet907d4b12009-06-30 20:52:04 +000028 <packaging>pom</packaging>
Derek Baumbd5b6082010-05-13 17:32:34 +000029 <name>Apache Felix Gogo</name>
30 <description>Apache Felix Gogo Bundles</description>
Guillaume Nodet907d4b12009-06-30 20:52:04 +000031 <groupId>org.apache.felix.gogo</groupId>
32 <artifactId>gogo</artifactId>
Guillaume Nodetaa83cca2010-04-29 18:34:05 +000033 <version>0.5.0-SNAPSHOT</version>
Guillaume Nodet907d4b12009-06-30 20:52:04 +000034
35 <modules>
Richard S. Hallc1d2d3f2009-07-03 21:05:34 +000036 <module>runtime</module>
Derek Baum54c9dc82010-05-13 23:08:59 +000037 <module>shell</module>
Richard S. Hallc1d2d3f2009-07-03 21:05:34 +000038 <module>commands</module>
Richard S. Hall395d6af2010-05-05 15:13:43 +000039 <module>felixcommands</module>
Guillaume Nodet907d4b12009-06-30 20:52:04 +000040 </modules>
41
42 <dependencyManagement>
43 <dependencies>
44 <dependency>
45 <groupId>org.apache.felix</groupId>
Guillaume Nodetc070c8b2009-09-02 08:16:16 +000046 <artifactId>org.apache.felix.framework</artifactId>
Derek Baum79691232010-05-06 10:21:05 +000047 <version>2.0.4</version>
Guillaume Nodetc070c8b2009-09-02 08:16:16 +000048 <scope>provided</scope>
49 </dependency>
50 <dependency>
51 <groupId>org.apache.felix</groupId>
Guillaume Nodet907d4b12009-06-30 20:52:04 +000052 <artifactId>org.osgi.core</artifactId>
Derek Baum79691232010-05-06 10:21:05 +000053 <version>1.4.0</version>
Guillaume Nodet907d4b12009-06-30 20:52:04 +000054 <scope>provided</scope>
55 </dependency>
56 <dependency>
57 <groupId>org.apache.felix</groupId>
58 <artifactId>org.osgi.compendium</artifactId>
59 <version>1.2.0</version>
60 <scope>provided</scope>
Derek Baum79691232010-05-06 10:21:05 +000061 <exclusions>
62 <exclusion>
63 <groupId>org.apache.felix</groupId>
64 <artifactId>org.osgi.foundation</artifactId>
65 </exclusion>
66 <exclusion>
67 <groupId>org.apache.felix</groupId>
68 <artifactId>javax.servlet</artifactId>
69 </exclusion>
70 </exclusions>
Guillaume Nodet907d4b12009-06-30 20:52:04 +000071 </dependency>
72 <dependency>
73 <groupId>junit</groupId>
74 <artifactId>junit</artifactId>
75 <version>4.5</version>
76 <scope>test</scope>
77 </dependency>
78 <dependency>
79 <groupId>org.apache.felix.gogo</groupId>
80 <artifactId>org.apache.felix.gogo.runtime</artifactId>
81 <version>${pom.version}</version>
82 </dependency>
83 <dependency>
84 <groupId>org.apache.felix.gogo</groupId>
85 <artifactId>org.apache.felix.gogo.console</artifactId>
86 <version>${pom.version}</version>
87 </dependency>
88 <dependency>
89 <groupId>org.apache.felix.gogo</groupId>
90 <artifactId>org.apache.felix.gogo.launcher</artifactId>
91 <version>${pom.version}</version>
92 </dependency>
93 </dependencies>
94 </dependencyManagement>
95
Guillaume Nodetc35dd9e2009-06-22 22:27:13 +000096 <build>
Guillaume Nodet46c90a92009-09-02 06:46:25 +000097 <pluginManagement>
98 <plugins>
99 <plugin>
100 <groupId>org.apache.maven.plugins</groupId>
101 <artifactId>maven-release-plugin</artifactId>
Guillaume Nodet46c90a92009-09-02 06:46:25 +0000102 <configuration>
103 <autoVersionSubmodules>true</autoVersionSubmodules>
Guillaume Nodet060f32b2009-09-02 07:27:33 +0000104 <preparationGoals>clean verify install</preparationGoals>
Guillaume Nodet46c90a92009-09-02 06:46:25 +0000105 </configuration>
106 </plugin>
Guillaume Nodetc070c8b2009-09-02 08:16:16 +0000107 <plugin>
108 <groupId>org.apache.felix</groupId>
109 <artifactId>maven-bundle-plugin</artifactId>
Guillaume Nodetdc3b4522009-09-08 20:17:16 +0000110 <version>1.4.3</version>
Guillaume Nodetc070c8b2009-09-02 08:16:16 +0000111 <extensions>true</extensions>
112 </plugin>
Guillaume Nodet46c90a92009-09-02 06:46:25 +0000113 </plugins>
114 </pluginManagement>
Guillaume Nodetc35dd9e2009-06-22 22:27:13 +0000115 <plugins>
116 <plugin>
Guillaume Nodetc35dd9e2009-06-22 22:27:13 +0000117 <artifactId>maven-compiler-plugin</artifactId>
118 <configuration>
119 <source>1.5</source>
120 <target>1.5</target>
121 </configuration>
122 </plugin>
Guillaume Nodetc9b3eb32009-09-02 07:56:07 +0000123 <plugin>
124 <artifactId>maven-remote-resources-plugin</artifactId>
125 <version>1.0</version>
126 <executions>
127 <execution>
128 <goals>
129 <goal>process</goal>
130 </goals>
131 <configuration>
132 <resourceBundles>
133 <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
134 </resourceBundles>
135 <properties>
136 <addLicense>true</addLicense>
137 <addArtifact>true</addArtifact>
138 <projectName>Apache Felix</projectName>
139 </properties>
140 </configuration>
141 </execution>
142 </executions>
143 </plugin>
Guillaume Nodetc35dd9e2009-06-22 22:27:13 +0000144 </plugins>
145 </build>
Guillaume Nodet5a60ee92009-09-02 07:19:55 +0000146
147 <profiles>
148 <profile>
149 <id>release</id>
150 <build>
151 <plugins>
152 <plugin>
153 <groupId>org.apache.maven.plugins</groupId>
154 <artifactId>maven-assembly-plugin</artifactId>
155 <inherited>false</inherited>
156 <configuration>
157 <descriptorRefs>
158 <descriptorRef>project</descriptorRef>
159 </descriptorRefs>
160 </configuration>
161 <executions>
162 <execution>
163 <id>make-assembly</id>
164 <phase>package</phase>
165 <goals>
166 <goal>single</goal>
167 </goals>
168 <configuration>
169 <!-- we don't want to attach all the assemblies, such as bz2 -->
170 <attach>false</attach>
171 </configuration>
172 </execution>
173 </executions>
174 </plugin>
175 <plugin>
176 <!-- only attach the project and bin assemblies, in tar.gz and zip flavors -->
177 <groupId>org.codehaus.mojo</groupId>
178 <artifactId>build-helper-maven-plugin</artifactId>
179 <inherited>false</inherited>
180 <executions>
181 <execution>
182 <id>attach-assemblies</id>
183 <phase>package</phase>
184 <goals>
185 <goal>attach-artifact</goal>
186 </goals>
187 <configuration>
188 <artifacts>
189 <artifact>
190 <file>${project.build.directory}/${project.artifactId}-${project.version}-project.tar.gz</file>
191 <classifier>project</classifier>
192 <type>tar.gz</type>
193 </artifact>
194 <artifact>
195 <file>${project.build.directory}/${project.artifactId}-${project.version}-project.zip</file>
196 <classifier>project</classifier>
197 <type>zip</type>
198 </artifact>
199 </artifacts>
200 </configuration>
201 </execution>
202 </executions>
203 </plugin>
204 </plugins>
205 </build>
206 </profile>
207 </profiles>
Guillaume Nodet04a56372009-06-22 22:07:09 +0000208</project>