blob: 1b941200e1909f3b9d0aeec800e61e769acb1995 [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>
Guillaume Nodetc35dd9e2009-06-22 22:27:13 +000029 <name>Apache Felix Gogo Shell</name>
Guillaume Nodet6df57bf2009-07-03 16:07:10 +000030 <description>Apache Felix Gogo Shell</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>
37 <module>launcher</module>
38 <module>console</module>
39 <module>commands</module>
Richard S. Hall395d6af2010-05-05 15:13:43 +000040 <module>felixcommands</module>
Guillaume Nodet907d4b12009-06-30 20:52:04 +000041 </modules>
42
43 <dependencyManagement>
44 <dependencies>
45 <dependency>
46 <groupId>org.apache.felix</groupId>
Guillaume Nodetc070c8b2009-09-02 08:16:16 +000047 <artifactId>org.apache.felix.framework</artifactId>
Derek Baum79691232010-05-06 10:21:05 +000048 <version>2.0.4</version>
Guillaume Nodetc070c8b2009-09-02 08:16:16 +000049 <scope>provided</scope>
50 </dependency>
51 <dependency>
52 <groupId>org.apache.felix</groupId>
Guillaume Nodet907d4b12009-06-30 20:52:04 +000053 <artifactId>org.osgi.core</artifactId>
Derek Baum79691232010-05-06 10:21:05 +000054 <version>1.4.0</version>
Guillaume Nodet907d4b12009-06-30 20:52:04 +000055 <scope>provided</scope>
56 </dependency>
57 <dependency>
58 <groupId>org.apache.felix</groupId>
59 <artifactId>org.osgi.compendium</artifactId>
60 <version>1.2.0</version>
61 <scope>provided</scope>
Derek Baum79691232010-05-06 10:21:05 +000062 <exclusions>
63 <exclusion>
64 <groupId>org.apache.felix</groupId>
65 <artifactId>org.osgi.foundation</artifactId>
66 </exclusion>
67 <exclusion>
68 <groupId>org.apache.felix</groupId>
69 <artifactId>javax.servlet</artifactId>
70 </exclusion>
71 </exclusions>
Guillaume Nodet907d4b12009-06-30 20:52:04 +000072 </dependency>
73 <dependency>
74 <groupId>junit</groupId>
75 <artifactId>junit</artifactId>
76 <version>4.5</version>
77 <scope>test</scope>
78 </dependency>
79 <dependency>
80 <groupId>org.apache.felix.gogo</groupId>
81 <artifactId>org.apache.felix.gogo.runtime</artifactId>
82 <version>${pom.version}</version>
83 </dependency>
84 <dependency>
85 <groupId>org.apache.felix.gogo</groupId>
86 <artifactId>org.apache.felix.gogo.console</artifactId>
87 <version>${pom.version}</version>
88 </dependency>
89 <dependency>
90 <groupId>org.apache.felix.gogo</groupId>
91 <artifactId>org.apache.felix.gogo.launcher</artifactId>
92 <version>${pom.version}</version>
93 </dependency>
94 </dependencies>
95 </dependencyManagement>
96
Guillaume Nodetc35dd9e2009-06-22 22:27:13 +000097 <build>
Guillaume Nodet46c90a92009-09-02 06:46:25 +000098 <pluginManagement>
99 <plugins>
100 <plugin>
101 <groupId>org.apache.maven.plugins</groupId>
102 <artifactId>maven-release-plugin</artifactId>
Guillaume Nodet46c90a92009-09-02 06:46:25 +0000103 <configuration>
104 <autoVersionSubmodules>true</autoVersionSubmodules>
Guillaume Nodet060f32b2009-09-02 07:27:33 +0000105 <preparationGoals>clean verify install</preparationGoals>
Guillaume Nodet46c90a92009-09-02 06:46:25 +0000106 </configuration>
107 </plugin>
Guillaume Nodetc070c8b2009-09-02 08:16:16 +0000108 <plugin>
109 <groupId>org.apache.felix</groupId>
110 <artifactId>maven-bundle-plugin</artifactId>
Guillaume Nodetdc3b4522009-09-08 20:17:16 +0000111 <version>1.4.3</version>
Guillaume Nodetc070c8b2009-09-02 08:16:16 +0000112 <extensions>true</extensions>
113 </plugin>
Guillaume Nodet46c90a92009-09-02 06:46:25 +0000114 </plugins>
115 </pluginManagement>
Guillaume Nodetc35dd9e2009-06-22 22:27:13 +0000116 <plugins>
117 <plugin>
Guillaume Nodetc35dd9e2009-06-22 22:27:13 +0000118 <artifactId>maven-compiler-plugin</artifactId>
119 <configuration>
120 <source>1.5</source>
121 <target>1.5</target>
122 </configuration>
123 </plugin>
Guillaume Nodetc9b3eb32009-09-02 07:56:07 +0000124 <plugin>
125 <artifactId>maven-remote-resources-plugin</artifactId>
126 <version>1.0</version>
127 <executions>
128 <execution>
129 <goals>
130 <goal>process</goal>
131 </goals>
132 <configuration>
133 <resourceBundles>
134 <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
135 </resourceBundles>
136 <properties>
137 <addLicense>true</addLicense>
138 <addArtifact>true</addArtifact>
139 <projectName>Apache Felix</projectName>
140 </properties>
141 </configuration>
142 </execution>
143 </executions>
144 </plugin>
Guillaume Nodetc35dd9e2009-06-22 22:27:13 +0000145 </plugins>
146 </build>
Guillaume Nodet5a60ee92009-09-02 07:19:55 +0000147
148 <profiles>
149 <profile>
150 <id>release</id>
151 <build>
152 <plugins>
153 <plugin>
154 <groupId>org.apache.maven.plugins</groupId>
155 <artifactId>maven-assembly-plugin</artifactId>
156 <inherited>false</inherited>
157 <configuration>
158 <descriptorRefs>
159 <descriptorRef>project</descriptorRef>
160 </descriptorRefs>
161 </configuration>
162 <executions>
163 <execution>
164 <id>make-assembly</id>
165 <phase>package</phase>
166 <goals>
167 <goal>single</goal>
168 </goals>
169 <configuration>
170 <!-- we don't want to attach all the assemblies, such as bz2 -->
171 <attach>false</attach>
172 </configuration>
173 </execution>
174 </executions>
175 </plugin>
176 <plugin>
177 <!-- only attach the project and bin assemblies, in tar.gz and zip flavors -->
178 <groupId>org.codehaus.mojo</groupId>
179 <artifactId>build-helper-maven-plugin</artifactId>
180 <inherited>false</inherited>
181 <executions>
182 <execution>
183 <id>attach-assemblies</id>
184 <phase>package</phase>
185 <goals>
186 <goal>attach-artifact</goal>
187 </goals>
188 <configuration>
189 <artifacts>
190 <artifact>
191 <file>${project.build.directory}/${project.artifactId}-${project.version}-project.tar.gz</file>
192 <classifier>project</classifier>
193 <type>tar.gz</type>
194 </artifact>
195 <artifact>
196 <file>${project.build.directory}/${project.artifactId}-${project.version}-project.zip</file>
197 <classifier>project</classifier>
198 <type>zip</type>
199 </artifact>
200 </artifacts>
201 </configuration>
202 </execution>
203 </executions>
204 </plugin>
205 </plugins>
206 </build>
207 </profile>
208 </profiles>
Guillaume Nodet04a56372009-06-22 22:07:09 +0000209</project>