Guillaume Nodet | fcc5f32 | 2009-09-02 07:19:55 +0000 | [diff] [blame] | 1 | <?xml version="1.0"?> |
Guillaume Nodet | 2dc205f | 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 | d7019d0 | 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 | e5d6665 | 2009-06-22 22:27:13 +0000 | [diff] [blame] | 21 | <parent> |
Guillaume Nodet | 2dc205f | 2009-06-22 22:07:09 +0000 | [diff] [blame] | 22 | <groupId>org.apache.felix</groupId> |
Guillaume Nodet | e5d6665 | 2009-06-22 22:27:13 +0000 | [diff] [blame] | 23 | <artifactId>felix-parent</artifactId> |
| 24 | <version>1.2.0</version> |
| 25 | <relativePath>../pom/pom.xml</relativePath> |
| 26 | </parent> |
| 27 | <modelVersion>4.0.0</modelVersion> |
Guillaume Nodet | 5eb2d4e | 2009-06-30 20:52:04 +0000 | [diff] [blame] | 28 | <packaging>pom</packaging> |
Guillaume Nodet | e5d6665 | 2009-06-22 22:27:13 +0000 | [diff] [blame] | 29 | <name>Apache Felix Gogo Shell</name> |
Guillaume Nodet | c056e1c | 2009-07-03 16:07:10 +0000 | [diff] [blame] | 30 | <description>Apache Felix Gogo Shell</description> |
Guillaume Nodet | 5eb2d4e | 2009-06-30 20:52:04 +0000 | [diff] [blame] | 31 | <groupId>org.apache.felix.gogo</groupId> |
| 32 | <artifactId>gogo</artifactId> |
Guillaume Nodet | 5b75656 | 2009-09-08 20:21:08 +0000 | [diff] [blame^] | 33 | <version>0.3.0-SNAPSHOT</version> |
Guillaume Nodet | 5eb2d4e | 2009-06-30 20:52:04 +0000 | [diff] [blame] | 34 | |
| 35 | <modules> |
Richard S. Hall | d6b0443 | 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> |
Guillaume Nodet | 5eb2d4e | 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 | 66af9af | 2009-09-02 08:16:16 +0000 | [diff] [blame] | 46 | <artifactId>org.apache.felix.framework</artifactId> |
| 47 | <version>1.8.1</version> |
| 48 | <scope>provided</scope> |
| 49 | </dependency> |
| 50 | <dependency> |
| 51 | <groupId>org.apache.felix</groupId> |
Guillaume Nodet | 5eb2d4e | 2009-06-30 20:52:04 +0000 | [diff] [blame] | 52 | <artifactId>org.osgi.core</artifactId> |
| 53 | <version>1.2.0</version> |
| 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> |
| 61 | </dependency> |
| 62 | <dependency> |
| 63 | <groupId>junit</groupId> |
| 64 | <artifactId>junit</artifactId> |
| 65 | <version>4.5</version> |
| 66 | <scope>test</scope> |
| 67 | </dependency> |
| 68 | <dependency> |
| 69 | <groupId>org.apache.felix.gogo</groupId> |
| 70 | <artifactId>org.apache.felix.gogo.runtime</artifactId> |
| 71 | <version>${pom.version}</version> |
| 72 | </dependency> |
| 73 | <dependency> |
| 74 | <groupId>org.apache.felix.gogo</groupId> |
| 75 | <artifactId>org.apache.felix.gogo.console</artifactId> |
| 76 | <version>${pom.version}</version> |
| 77 | </dependency> |
| 78 | <dependency> |
| 79 | <groupId>org.apache.felix.gogo</groupId> |
| 80 | <artifactId>org.apache.felix.gogo.launcher</artifactId> |
| 81 | <version>${pom.version}</version> |
| 82 | </dependency> |
| 83 | </dependencies> |
| 84 | </dependencyManagement> |
| 85 | |
Guillaume Nodet | e5d6665 | 2009-06-22 22:27:13 +0000 | [diff] [blame] | 86 | <build> |
Guillaume Nodet | cca03b4 | 2009-09-02 06:46:25 +0000 | [diff] [blame] | 87 | <pluginManagement> |
| 88 | <plugins> |
| 89 | <plugin> |
| 90 | <groupId>org.apache.maven.plugins</groupId> |
| 91 | <artifactId>maven-release-plugin</artifactId> |
Guillaume Nodet | cca03b4 | 2009-09-02 06:46:25 +0000 | [diff] [blame] | 92 | <configuration> |
| 93 | <autoVersionSubmodules>true</autoVersionSubmodules> |
Guillaume Nodet | a47ff57 | 2009-09-02 07:27:33 +0000 | [diff] [blame] | 94 | <preparationGoals>clean verify install</preparationGoals> |
Guillaume Nodet | cca03b4 | 2009-09-02 06:46:25 +0000 | [diff] [blame] | 95 | </configuration> |
| 96 | </plugin> |
Guillaume Nodet | 66af9af | 2009-09-02 08:16:16 +0000 | [diff] [blame] | 97 | <plugin> |
| 98 | <groupId>org.apache.felix</groupId> |
| 99 | <artifactId>maven-bundle-plugin</artifactId> |
Guillaume Nodet | 71f91c4 | 2009-09-08 20:17:16 +0000 | [diff] [blame] | 100 | <version>1.4.3</version> |
Guillaume Nodet | 66af9af | 2009-09-02 08:16:16 +0000 | [diff] [blame] | 101 | <extensions>true</extensions> |
| 102 | </plugin> |
Guillaume Nodet | cca03b4 | 2009-09-02 06:46:25 +0000 | [diff] [blame] | 103 | </plugins> |
| 104 | </pluginManagement> |
Guillaume Nodet | e5d6665 | 2009-06-22 22:27:13 +0000 | [diff] [blame] | 105 | <plugins> |
| 106 | <plugin> |
Guillaume Nodet | e5d6665 | 2009-06-22 22:27:13 +0000 | [diff] [blame] | 107 | <artifactId>maven-compiler-plugin</artifactId> |
| 108 | <configuration> |
| 109 | <source>1.5</source> |
| 110 | <target>1.5</target> |
| 111 | </configuration> |
| 112 | </plugin> |
Guillaume Nodet | 2f5f0ea | 2009-09-02 07:56:07 +0000 | [diff] [blame] | 113 | <plugin> |
| 114 | <artifactId>maven-remote-resources-plugin</artifactId> |
| 115 | <version>1.0</version> |
| 116 | <executions> |
| 117 | <execution> |
| 118 | <goals> |
| 119 | <goal>process</goal> |
| 120 | </goals> |
| 121 | <configuration> |
| 122 | <resourceBundles> |
| 123 | <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle> |
| 124 | </resourceBundles> |
| 125 | <properties> |
| 126 | <addLicense>true</addLicense> |
| 127 | <addArtifact>true</addArtifact> |
| 128 | <projectName>Apache Felix</projectName> |
| 129 | </properties> |
| 130 | </configuration> |
| 131 | </execution> |
| 132 | </executions> |
| 133 | </plugin> |
Guillaume Nodet | e5d6665 | 2009-06-22 22:27:13 +0000 | [diff] [blame] | 134 | </plugins> |
| 135 | </build> |
Guillaume Nodet | fcc5f32 | 2009-09-02 07:19:55 +0000 | [diff] [blame] | 136 | |
| 137 | <profiles> |
| 138 | <profile> |
| 139 | <id>release</id> |
| 140 | <build> |
| 141 | <plugins> |
| 142 | <plugin> |
| 143 | <groupId>org.apache.maven.plugins</groupId> |
| 144 | <artifactId>maven-assembly-plugin</artifactId> |
| 145 | <inherited>false</inherited> |
| 146 | <configuration> |
| 147 | <descriptorRefs> |
| 148 | <descriptorRef>project</descriptorRef> |
| 149 | </descriptorRefs> |
| 150 | </configuration> |
| 151 | <executions> |
| 152 | <execution> |
| 153 | <id>make-assembly</id> |
| 154 | <phase>package</phase> |
| 155 | <goals> |
| 156 | <goal>single</goal> |
| 157 | </goals> |
| 158 | <configuration> |
| 159 | <!-- we don't want to attach all the assemblies, such as bz2 --> |
| 160 | <attach>false</attach> |
| 161 | </configuration> |
| 162 | </execution> |
| 163 | </executions> |
| 164 | </plugin> |
| 165 | <plugin> |
| 166 | <!-- only attach the project and bin assemblies, in tar.gz and zip flavors --> |
| 167 | <groupId>org.codehaus.mojo</groupId> |
| 168 | <artifactId>build-helper-maven-plugin</artifactId> |
| 169 | <inherited>false</inherited> |
| 170 | <executions> |
| 171 | <execution> |
| 172 | <id>attach-assemblies</id> |
| 173 | <phase>package</phase> |
| 174 | <goals> |
| 175 | <goal>attach-artifact</goal> |
| 176 | </goals> |
| 177 | <configuration> |
| 178 | <artifacts> |
| 179 | <artifact> |
| 180 | <file>${project.build.directory}/${project.artifactId}-${project.version}-project.tar.gz</file> |
| 181 | <classifier>project</classifier> |
| 182 | <type>tar.gz</type> |
| 183 | </artifact> |
| 184 | <artifact> |
| 185 | <file>${project.build.directory}/${project.artifactId}-${project.version}-project.zip</file> |
| 186 | <classifier>project</classifier> |
| 187 | <type>zip</type> |
| 188 | </artifact> |
| 189 | </artifacts> |
| 190 | </configuration> |
| 191 | </execution> |
| 192 | </executions> |
| 193 | </plugin> |
| 194 | </plugins> |
| 195 | </build> |
| 196 | </profile> |
| 197 | </profiles> |
Guillaume Nodet | 2dc205f | 2009-06-22 22:07:09 +0000 | [diff] [blame] | 198 | </project> |