blob: 316c825c86aca8c5a6489f0d9faa6bc31ca11c17 [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 Nodet5a60ee92009-09-02 07:19:55 +000020<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Guillaume Nodetc35dd9e2009-06-22 22:27:13 +000021 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
22 <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 Nodet46c90a92009-09-02 06:46:25 +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>
47 <artifactId>org.osgi.core</artifactId>
48 <version>1.2.0</version>
49 <scope>provided</scope>
50 </dependency>
51 <dependency>
52 <groupId>org.apache.felix</groupId>
53 <artifactId>org.osgi.compendium</artifactId>
54 <version>1.2.0</version>
55 <scope>provided</scope>
56 </dependency>
57 <dependency>
58 <groupId>junit</groupId>
59 <artifactId>junit</artifactId>
60 <version>4.5</version>
61 <scope>test</scope>
62 </dependency>
63 <dependency>
64 <groupId>org.apache.felix.gogo</groupId>
65 <artifactId>org.apache.felix.gogo.runtime</artifactId>
66 <version>${pom.version}</version>
67 </dependency>
68 <dependency>
69 <groupId>org.apache.felix.gogo</groupId>
70 <artifactId>org.apache.felix.gogo.console</artifactId>
71 <version>${pom.version}</version>
72 </dependency>
73 <dependency>
74 <groupId>org.apache.felix.gogo</groupId>
75 <artifactId>org.apache.felix.gogo.launcher</artifactId>
76 <version>${pom.version}</version>
77 </dependency>
78 </dependencies>
79 </dependencyManagement>
80
Guillaume Nodetc35dd9e2009-06-22 22:27:13 +000081 <build>
Guillaume Nodet46c90a92009-09-02 06:46:25 +000082 <pluginManagement>
83 <plugins>
84 <plugin>
85 <groupId>org.apache.maven.plugins</groupId>
86 <artifactId>maven-release-plugin</artifactId>
Guillaume Nodet46c90a92009-09-02 06:46:25 +000087 <configuration>
88 <autoVersionSubmodules>true</autoVersionSubmodules>
89 </configuration>
90 </plugin>
91 </plugins>
92 </pluginManagement>
Guillaume Nodetc35dd9e2009-06-22 22:27:13 +000093 <plugins>
94 <plugin>
Guillaume Nodetc35dd9e2009-06-22 22:27:13 +000095 <artifactId>maven-compiler-plugin</artifactId>
96 <configuration>
97 <source>1.5</source>
98 <target>1.5</target>
99 </configuration>
100 </plugin>
101 </plugins>
102 </build>
Guillaume Nodet5a60ee92009-09-02 07:19:55 +0000103
104 <profiles>
105 <profile>
106 <id>release</id>
107 <build>
108 <plugins>
109 <plugin>
110 <groupId>org.apache.maven.plugins</groupId>
111 <artifactId>maven-assembly-plugin</artifactId>
112 <inherited>false</inherited>
113 <configuration>
114 <descriptorRefs>
115 <descriptorRef>project</descriptorRef>
116 </descriptorRefs>
117 </configuration>
118 <executions>
119 <execution>
120 <id>make-assembly</id>
121 <phase>package</phase>
122 <goals>
123 <goal>single</goal>
124 </goals>
125 <configuration>
126 <!-- we don't want to attach all the assemblies, such as bz2 -->
127 <attach>false</attach>
128 </configuration>
129 </execution>
130 </executions>
131 </plugin>
132 <plugin>
133 <!-- only attach the project and bin assemblies, in tar.gz and zip flavors -->
134 <groupId>org.codehaus.mojo</groupId>
135 <artifactId>build-helper-maven-plugin</artifactId>
136 <inherited>false</inherited>
137 <executions>
138 <execution>
139 <id>attach-assemblies</id>
140 <phase>package</phase>
141 <goals>
142 <goal>attach-artifact</goal>
143 </goals>
144 <configuration>
145 <artifacts>
146 <artifact>
147 <file>${project.build.directory}/${project.artifactId}-${project.version}-project.tar.gz</file>
148 <classifier>project</classifier>
149 <type>tar.gz</type>
150 </artifact>
151 <artifact>
152 <file>${project.build.directory}/${project.artifactId}-${project.version}-project.zip</file>
153 <classifier>project</classifier>
154 <type>zip</type>
155 </artifact>
156 </artifacts>
157 </configuration>
158 </execution>
159 </executions>
160 </plugin>
161 </plugins>
162 </build>
163 </profile>
164 </profiles>
Guillaume Nodet04a56372009-06-22 22:07:09 +0000165</project>