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> |
Derek Baum | bd5b608 | 2010-05-13 17:32:34 +0000 | [diff] [blame] | 29 | <name>Apache Felix Gogo</name> |
| 30 | <description>Apache Felix Gogo Bundles</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> |
Derek Baum | 54c9dc8 | 2010-05-13 23:08:59 +0000 | [diff] [blame] | 37 | <module>shell</module> |
Richard S. Hall | c1d2d3f | 2009-07-03 21:05:34 +0000 | [diff] [blame] | 38 | <module>commands</module> |
Richard S. Hall | 395d6af | 2010-05-05 15:13:43 +0000 | [diff] [blame] | 39 | <module>felixcommands</module> |
Guillaume Nodet | 907d4b1 | 2009-06-30 20:52:04 +0000 | [diff] [blame] | 40 | </modules> |
| 41 | |
| 42 | <dependencyManagement> |
| 43 | <dependencies> |
| 44 | <dependency> |
| 45 | <groupId>org.apache.felix</groupId> |
Guillaume Nodet | c070c8b | 2009-09-02 08:16:16 +0000 | [diff] [blame] | 46 | <artifactId>org.apache.felix.framework</artifactId> |
Derek Baum | 7969123 | 2010-05-06 10:21:05 +0000 | [diff] [blame] | 47 | <version>2.0.4</version> |
Guillaume Nodet | c070c8b | 2009-09-02 08:16:16 +0000 | [diff] [blame] | 48 | <scope>provided</scope> |
| 49 | </dependency> |
| 50 | <dependency> |
| 51 | <groupId>org.apache.felix</groupId> |
Guillaume Nodet | 907d4b1 | 2009-06-30 20:52:04 +0000 | [diff] [blame] | 52 | <artifactId>org.osgi.core</artifactId> |
Derek Baum | 7969123 | 2010-05-06 10:21:05 +0000 | [diff] [blame] | 53 | <version>1.4.0</version> |
Guillaume Nodet | 907d4b1 | 2009-06-30 20:52:04 +0000 | [diff] [blame] | 54 | <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 Baum | 7969123 | 2010-05-06 10:21:05 +0000 | [diff] [blame] | 61 | <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 Nodet | 907d4b1 | 2009-06-30 20:52:04 +0000 | [diff] [blame] | 71 | </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 Nodet | c35dd9e | 2009-06-22 22:27:13 +0000 | [diff] [blame] | 96 | <build> |
Guillaume Nodet | 46c90a9 | 2009-09-02 06:46:25 +0000 | [diff] [blame] | 97 | <pluginManagement> |
| 98 | <plugins> |
| 99 | <plugin> |
| 100 | <groupId>org.apache.maven.plugins</groupId> |
| 101 | <artifactId>maven-release-plugin</artifactId> |
Guillaume Nodet | 46c90a9 | 2009-09-02 06:46:25 +0000 | [diff] [blame] | 102 | <configuration> |
| 103 | <autoVersionSubmodules>true</autoVersionSubmodules> |
Guillaume Nodet | 060f32b | 2009-09-02 07:27:33 +0000 | [diff] [blame] | 104 | <preparationGoals>clean verify install</preparationGoals> |
Guillaume Nodet | 46c90a9 | 2009-09-02 06:46:25 +0000 | [diff] [blame] | 105 | </configuration> |
| 106 | </plugin> |
Guillaume Nodet | c070c8b | 2009-09-02 08:16:16 +0000 | [diff] [blame] | 107 | <plugin> |
| 108 | <groupId>org.apache.felix</groupId> |
| 109 | <artifactId>maven-bundle-plugin</artifactId> |
Guillaume Nodet | dc3b452 | 2009-09-08 20:17:16 +0000 | [diff] [blame] | 110 | <version>1.4.3</version> |
Guillaume Nodet | c070c8b | 2009-09-02 08:16:16 +0000 | [diff] [blame] | 111 | <extensions>true</extensions> |
| 112 | </plugin> |
Guillaume Nodet | 46c90a9 | 2009-09-02 06:46:25 +0000 | [diff] [blame] | 113 | </plugins> |
| 114 | </pluginManagement> |
Guillaume Nodet | c35dd9e | 2009-06-22 22:27:13 +0000 | [diff] [blame] | 115 | <plugins> |
| 116 | <plugin> |
Guillaume Nodet | c35dd9e | 2009-06-22 22:27:13 +0000 | [diff] [blame] | 117 | <artifactId>maven-compiler-plugin</artifactId> |
| 118 | <configuration> |
| 119 | <source>1.5</source> |
| 120 | <target>1.5</target> |
| 121 | </configuration> |
| 122 | </plugin> |
Guillaume Nodet | c9b3eb3 | 2009-09-02 07:56:07 +0000 | [diff] [blame] | 123 | <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 Nodet | c35dd9e | 2009-06-22 22:27:13 +0000 | [diff] [blame] | 144 | </plugins> |
| 145 | </build> |
Guillaume Nodet | 5a60ee9 | 2009-09-02 07:19:55 +0000 | [diff] [blame] | 146 | |
| 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 Nodet | 04a5637 | 2009-06-22 22:07:09 +0000 | [diff] [blame] | 208 | </project> |