Guillaume Nodet | 5a60ee9 | 2009-09-02 07:19:55 +0000 | [diff] [blame] | 1 | <?xml version="1.0"?> |
Guillaume Nodet | 04a5637 | 2009-06-22 22:07:09 +0000 | [diff] [blame] | 2 | <!-- |
| 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 Nodet | cf6fe21 | 2009-09-08 20:19:54 +0000 | [diff] [blame] | 20 | <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 Nodet | c35dd9e | 2009-06-22 22:27:13 +0000 | [diff] [blame] | 21 | <parent> |
Guillaume Nodet | 04a5637 | 2009-06-22 22:07:09 +0000 | [diff] [blame] | 22 | <groupId>org.apache.felix</groupId> |
Guillaume Nodet | c35dd9e | 2009-06-22 22:27:13 +0000 | [diff] [blame] | 23 | <artifactId>felix-parent</artifactId> |
Guillaume Nodet | 6d26983 | 2010-04-29 18:27:53 +0000 | [diff] [blame] | 24 | <version>1.2.1</version> |
Guillaume Nodet | c35dd9e | 2009-06-22 22:27:13 +0000 | [diff] [blame] | 25 | <relativePath>../pom/pom.xml</relativePath> |
| 26 | </parent> |
| 27 | <modelVersion>4.0.0</modelVersion> |
Guillaume Nodet | 907d4b1 | 2009-06-30 20:52:04 +0000 | [diff] [blame] | 28 | <packaging>pom</packaging> |
Guillaume Nodet | c35dd9e | 2009-06-22 22:27:13 +0000 | [diff] [blame] | 29 | <name>Apache Felix Gogo Shell</name> |
Guillaume Nodet | 6df57bf | 2009-07-03 16:07:10 +0000 | [diff] [blame] | 30 | <description>Apache Felix Gogo Shell</description> |
Guillaume Nodet | 907d4b1 | 2009-06-30 20:52:04 +0000 | [diff] [blame] | 31 | <groupId>org.apache.felix.gogo</groupId> |
| 32 | <artifactId>gogo</artifactId> |
Guillaume Nodet | aa83cca | 2010-04-29 18:34:05 +0000 | [diff] [blame] | 33 | <version>0.5.0-SNAPSHOT</version> |
Guillaume Nodet | 907d4b1 | 2009-06-30 20:52:04 +0000 | [diff] [blame] | 34 | |
| 35 | <modules> |
Richard S. Hall | c1d2d3f | 2009-07-03 21:05:34 +0000 | [diff] [blame] | 36 | <module>runtime</module> |
| 37 | <module>launcher</module> |
| 38 | <module>console</module> |
| 39 | <module>commands</module> |
Richard S. Hall | 395d6af | 2010-05-05 15:13:43 +0000 | [diff] [blame] | 40 | <module>felixcommands</module> |
Guillaume Nodet | 907d4b1 | 2009-06-30 20:52:04 +0000 | [diff] [blame] | 41 | </modules> |
| 42 | |
| 43 | <dependencyManagement> |
| 44 | <dependencies> |
| 45 | <dependency> |
| 46 | <groupId>org.apache.felix</groupId> |
Guillaume Nodet | c070c8b | 2009-09-02 08:16:16 +0000 | [diff] [blame] | 47 | <artifactId>org.apache.felix.framework</artifactId> |
Derek Baum | 7969123 | 2010-05-06 10:21:05 +0000 | [diff] [blame] | 48 | <version>2.0.4</version> |
Guillaume Nodet | c070c8b | 2009-09-02 08:16:16 +0000 | [diff] [blame] | 49 | <scope>provided</scope> |
| 50 | </dependency> |
| 51 | <dependency> |
| 52 | <groupId>org.apache.felix</groupId> |
Guillaume Nodet | 907d4b1 | 2009-06-30 20:52:04 +0000 | [diff] [blame] | 53 | <artifactId>org.osgi.core</artifactId> |
Derek Baum | 7969123 | 2010-05-06 10:21:05 +0000 | [diff] [blame] | 54 | <version>1.4.0</version> |
Guillaume Nodet | 907d4b1 | 2009-06-30 20:52:04 +0000 | [diff] [blame] | 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> |
Derek Baum | 7969123 | 2010-05-06 10:21:05 +0000 | [diff] [blame] | 62 | <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 Nodet | 907d4b1 | 2009-06-30 20:52:04 +0000 | [diff] [blame] | 72 | </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 Nodet | c35dd9e | 2009-06-22 22:27:13 +0000 | [diff] [blame] | 97 | <build> |
Guillaume Nodet | 46c90a9 | 2009-09-02 06:46:25 +0000 | [diff] [blame] | 98 | <pluginManagement> |
| 99 | <plugins> |
| 100 | <plugin> |
| 101 | <groupId>org.apache.maven.plugins</groupId> |
| 102 | <artifactId>maven-release-plugin</artifactId> |
Guillaume Nodet | 46c90a9 | 2009-09-02 06:46:25 +0000 | [diff] [blame] | 103 | <configuration> |
| 104 | <autoVersionSubmodules>true</autoVersionSubmodules> |
Guillaume Nodet | 060f32b | 2009-09-02 07:27:33 +0000 | [diff] [blame] | 105 | <preparationGoals>clean verify install</preparationGoals> |
Guillaume Nodet | 46c90a9 | 2009-09-02 06:46:25 +0000 | [diff] [blame] | 106 | </configuration> |
| 107 | </plugin> |
Guillaume Nodet | c070c8b | 2009-09-02 08:16:16 +0000 | [diff] [blame] | 108 | <plugin> |
| 109 | <groupId>org.apache.felix</groupId> |
| 110 | <artifactId>maven-bundle-plugin</artifactId> |
Guillaume Nodet | dc3b452 | 2009-09-08 20:17:16 +0000 | [diff] [blame] | 111 | <version>1.4.3</version> |
Guillaume Nodet | c070c8b | 2009-09-02 08:16:16 +0000 | [diff] [blame] | 112 | <extensions>true</extensions> |
| 113 | </plugin> |
Guillaume Nodet | 46c90a9 | 2009-09-02 06:46:25 +0000 | [diff] [blame] | 114 | </plugins> |
| 115 | </pluginManagement> |
Guillaume Nodet | c35dd9e | 2009-06-22 22:27:13 +0000 | [diff] [blame] | 116 | <plugins> |
| 117 | <plugin> |
Guillaume Nodet | c35dd9e | 2009-06-22 22:27:13 +0000 | [diff] [blame] | 118 | <artifactId>maven-compiler-plugin</artifactId> |
| 119 | <configuration> |
| 120 | <source>1.5</source> |
| 121 | <target>1.5</target> |
| 122 | </configuration> |
| 123 | </plugin> |
Guillaume Nodet | c9b3eb3 | 2009-09-02 07:56:07 +0000 | [diff] [blame] | 124 | <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 Nodet | c35dd9e | 2009-06-22 22:27:13 +0000 | [diff] [blame] | 145 | </plugins> |
| 146 | </build> |
Guillaume Nodet | 5a60ee9 | 2009-09-02 07:19:55 +0000 | [diff] [blame] | 147 | |
| 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 Nodet | 04a5637 | 2009-06-22 22:07:09 +0000 | [diff] [blame] | 209 | </project> |