blob: f636ec8f0a0cea45721d1e8a2e0d9ed8759b9893 [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 Nodetce2c5eb2009-09-02 07:52:12 +000020<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
21 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 +000022 <parent>
Guillaume Nodet04a56372009-06-22 22:07:09 +000023 <groupId>org.apache.felix</groupId>
Guillaume Nodetc35dd9e2009-06-22 22:27:13 +000024 <artifactId>felix-parent</artifactId>
25 <version>1.2.0</version>
26 <relativePath>../pom/pom.xml</relativePath>
27 </parent>
28 <modelVersion>4.0.0</modelVersion>
Guillaume Nodet907d4b12009-06-30 20:52:04 +000029 <packaging>pom</packaging>
Guillaume Nodetc35dd9e2009-06-22 22:27:13 +000030 <name>Apache Felix Gogo Shell</name>
Guillaume Nodet6df57bf2009-07-03 16:07:10 +000031 <description>Apache Felix Gogo Shell</description>
Guillaume Nodet907d4b12009-06-30 20:52:04 +000032 <groupId>org.apache.felix.gogo</groupId>
33 <artifactId>gogo</artifactId>
Guillaume Nodetce2c5eb2009-09-02 07:52:12 +000034 <version>0.1.0-SNAPSHOT</version>
Guillaume Nodet907d4b12009-06-30 20:52:04 +000035
36 <modules>
Richard S. Hallc1d2d3f2009-07-03 21:05:34 +000037 <module>runtime</module>
38 <module>launcher</module>
39 <module>console</module>
40 <module>commands</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>
48 <version>1.8.1</version>
49 <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>
54 <version>1.2.0</version>
55 <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>
62 </dependency>
63 <dependency>
64 <groupId>junit</groupId>
65 <artifactId>junit</artifactId>
66 <version>4.5</version>
67 <scope>test</scope>
68 </dependency>
69 <dependency>
70 <groupId>org.apache.felix.gogo</groupId>
71 <artifactId>org.apache.felix.gogo.runtime</artifactId>
72 <version>${pom.version}</version>
73 </dependency>
74 <dependency>
75 <groupId>org.apache.felix.gogo</groupId>
76 <artifactId>org.apache.felix.gogo.console</artifactId>
77 <version>${pom.version}</version>
78 </dependency>
79 <dependency>
80 <groupId>org.apache.felix.gogo</groupId>
81 <artifactId>org.apache.felix.gogo.launcher</artifactId>
82 <version>${pom.version}</version>
83 </dependency>
84 </dependencies>
85 </dependencyManagement>
86
Guillaume Nodetc35dd9e2009-06-22 22:27:13 +000087 <build>
Guillaume Nodet46c90a92009-09-02 06:46:25 +000088 <pluginManagement>
89 <plugins>
90 <plugin>
91 <groupId>org.apache.maven.plugins</groupId>
92 <artifactId>maven-release-plugin</artifactId>
Guillaume Nodet46c90a92009-09-02 06:46:25 +000093 <configuration>
94 <autoVersionSubmodules>true</autoVersionSubmodules>
Guillaume Nodet060f32b2009-09-02 07:27:33 +000095 <preparationGoals>clean verify install</preparationGoals>
Guillaume Nodet46c90a92009-09-02 06:46:25 +000096 </configuration>
97 </plugin>
Guillaume Nodetc070c8b2009-09-02 08:16:16 +000098 <plugin>
99 <groupId>org.apache.felix</groupId>
100 <artifactId>maven-bundle-plugin</artifactId>
101 <version>2.0.1-SNAPSHOT</version>
102 <extensions>true</extensions>
103 </plugin>
Guillaume Nodet46c90a92009-09-02 06:46:25 +0000104 </plugins>
105 </pluginManagement>
Guillaume Nodetc35dd9e2009-06-22 22:27:13 +0000106 <plugins>
107 <plugin>
Guillaume Nodetc35dd9e2009-06-22 22:27:13 +0000108 <artifactId>maven-compiler-plugin</artifactId>
109 <configuration>
110 <source>1.5</source>
111 <target>1.5</target>
112 </configuration>
113 </plugin>
Guillaume Nodetc9b3eb32009-09-02 07:56:07 +0000114 <plugin>
115 <artifactId>maven-remote-resources-plugin</artifactId>
116 <version>1.0</version>
117 <executions>
118 <execution>
119 <goals>
120 <goal>process</goal>
121 </goals>
122 <configuration>
123 <resourceBundles>
124 <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
125 </resourceBundles>
126 <properties>
127 <addLicense>true</addLicense>
128 <addArtifact>true</addArtifact>
129 <projectName>Apache Felix</projectName>
130 </properties>
131 </configuration>
132 </execution>
133 </executions>
134 </plugin>
Guillaume Nodetc35dd9e2009-06-22 22:27:13 +0000135 </plugins>
136 </build>
Guillaume Nodet5a60ee92009-09-02 07:19:55 +0000137
138 <profiles>
139 <profile>
140 <id>release</id>
141 <build>
142 <plugins>
143 <plugin>
144 <groupId>org.apache.maven.plugins</groupId>
145 <artifactId>maven-assembly-plugin</artifactId>
146 <inherited>false</inherited>
147 <configuration>
148 <descriptorRefs>
149 <descriptorRef>project</descriptorRef>
150 </descriptorRefs>
151 </configuration>
152 <executions>
153 <execution>
154 <id>make-assembly</id>
155 <phase>package</phase>
156 <goals>
157 <goal>single</goal>
158 </goals>
159 <configuration>
160 <!-- we don't want to attach all the assemblies, such as bz2 -->
161 <attach>false</attach>
162 </configuration>
163 </execution>
164 </executions>
165 </plugin>
166 <plugin>
167 <!-- only attach the project and bin assemblies, in tar.gz and zip flavors -->
168 <groupId>org.codehaus.mojo</groupId>
169 <artifactId>build-helper-maven-plugin</artifactId>
170 <inherited>false</inherited>
171 <executions>
172 <execution>
173 <id>attach-assemblies</id>
174 <phase>package</phase>
175 <goals>
176 <goal>attach-artifact</goal>
177 </goals>
178 <configuration>
179 <artifacts>
180 <artifact>
181 <file>${project.build.directory}/${project.artifactId}-${project.version}-project.tar.gz</file>
182 <classifier>project</classifier>
183 <type>tar.gz</type>
184 </artifact>
185 <artifact>
186 <file>${project.build.directory}/${project.artifactId}-${project.version}-project.zip</file>
187 <classifier>project</classifier>
188 <type>zip</type>
189 </artifact>
190 </artifacts>
191 </configuration>
192 </execution>
193 </executions>
194 </plugin>
195 </plugins>
196 </build>
197 </profile>
198 </profiles>
Guillaume Nodet04a56372009-06-22 22:07:09 +0000199</project>