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 | ce2c5eb | 2009-09-02 07:52:12 +0000 | [diff] [blame] | 20 | <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 Nodet | c35dd9e | 2009-06-22 22:27:13 +0000 | [diff] [blame] | 22 | <parent> |
Guillaume Nodet | 04a5637 | 2009-06-22 22:07:09 +0000 | [diff] [blame] | 23 | <groupId>org.apache.felix</groupId> |
Guillaume Nodet | c35dd9e | 2009-06-22 22:27:13 +0000 | [diff] [blame] | 24 | <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 Nodet | 907d4b1 | 2009-06-30 20:52:04 +0000 | [diff] [blame] | 29 | <packaging>pom</packaging> |
Guillaume Nodet | c35dd9e | 2009-06-22 22:27:13 +0000 | [diff] [blame] | 30 | <name>Apache Felix Gogo Shell</name> |
Guillaume Nodet | 6df57bf | 2009-07-03 16:07:10 +0000 | [diff] [blame] | 31 | <description>Apache Felix Gogo Shell</description> |
Guillaume Nodet | 907d4b1 | 2009-06-30 20:52:04 +0000 | [diff] [blame] | 32 | <groupId>org.apache.felix.gogo</groupId> |
| 33 | <artifactId>gogo</artifactId> |
Guillaume Nodet | ce2c5eb | 2009-09-02 07:52:12 +0000 | [diff] [blame] | 34 | <version>0.1.0-SNAPSHOT</version> |
Guillaume Nodet | 907d4b1 | 2009-06-30 20:52:04 +0000 | [diff] [blame] | 35 | |
| 36 | <modules> |
Richard S. Hall | c1d2d3f | 2009-07-03 21:05:34 +0000 | [diff] [blame] | 37 | <module>runtime</module> |
| 38 | <module>launcher</module> |
| 39 | <module>console</module> |
| 40 | <module>commands</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> |
| 48 | <version>1.8.1</version> |
| 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> |
| 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 Nodet | c35dd9e | 2009-06-22 22:27:13 +0000 | [diff] [blame] | 87 | <build> |
Guillaume Nodet | 46c90a9 | 2009-09-02 06:46:25 +0000 | [diff] [blame] | 88 | <pluginManagement> |
| 89 | <plugins> |
| 90 | <plugin> |
| 91 | <groupId>org.apache.maven.plugins</groupId> |
| 92 | <artifactId>maven-release-plugin</artifactId> |
Guillaume Nodet | 46c90a9 | 2009-09-02 06:46:25 +0000 | [diff] [blame] | 93 | <configuration> |
| 94 | <autoVersionSubmodules>true</autoVersionSubmodules> |
Guillaume Nodet | 060f32b | 2009-09-02 07:27:33 +0000 | [diff] [blame] | 95 | <preparationGoals>clean verify install</preparationGoals> |
Guillaume Nodet | 46c90a9 | 2009-09-02 06:46:25 +0000 | [diff] [blame] | 96 | </configuration> |
| 97 | </plugin> |
Guillaume Nodet | c070c8b | 2009-09-02 08:16:16 +0000 | [diff] [blame] | 98 | <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 Nodet | 46c90a9 | 2009-09-02 06:46:25 +0000 | [diff] [blame] | 104 | </plugins> |
| 105 | </pluginManagement> |
Guillaume Nodet | c35dd9e | 2009-06-22 22:27:13 +0000 | [diff] [blame] | 106 | <plugins> |
| 107 | <plugin> |
Guillaume Nodet | c35dd9e | 2009-06-22 22:27:13 +0000 | [diff] [blame] | 108 | <artifactId>maven-compiler-plugin</artifactId> |
| 109 | <configuration> |
| 110 | <source>1.5</source> |
| 111 | <target>1.5</target> |
| 112 | </configuration> |
| 113 | </plugin> |
Guillaume Nodet | c9b3eb3 | 2009-09-02 07:56:07 +0000 | [diff] [blame] | 114 | <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 Nodet | c35dd9e | 2009-06-22 22:27:13 +0000 | [diff] [blame] | 135 | </plugins> |
| 136 | </build> |
Guillaume Nodet | 5a60ee9 | 2009-09-02 07:19:55 +0000 | [diff] [blame] | 137 | |
| 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 Nodet | 04a5637 | 2009-06-22 22:07:09 +0000 | [diff] [blame] | 199 | </project> |