Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 2 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 3 | |
| 4 | <!-- |
| 5 | |
| 6 | Licensed to the Apache Software Foundation (ASF) under one or more |
| 7 | contributor license agreements. See the NOTICE file distributed with |
| 8 | this work for additional information regarding copyright ownership. |
| 9 | The ASF licenses this file to You under the Apache License, Version 2.0 |
| 10 | (the "License"); you may not use this file except in compliance with |
| 11 | the License. You may obtain a copy of the License at |
| 12 | |
| 13 | http://www.apache.org/licenses/LICENSE-2.0 |
| 14 | |
| 15 | Unless required by applicable law or agreed to in writing, software |
| 16 | distributed under the License is distributed on an "AS IS" BASIS, |
| 17 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 18 | See the License for the specific language governing permissions and |
| 19 | limitations under the License. |
| 20 | --> |
| 21 | |
| 22 | <modelVersion>4.0.0</modelVersion> |
| 23 | |
| 24 | <parent> |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 25 | <groupId>org.apache.felix.karaf.gshell</groupId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 26 | <artifactId>gshell</artifactId> |
| 27 | <version>1.2.0-SNAPSHOT</version> |
| 28 | </parent> |
| 29 | |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 30 | <groupId>org.apache.felix.karaf.gshell</groupId> |
| 31 | <artifactId>org.apache.felix.karaf.gshell.admin</artifactId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 32 | <packaging>bundle</packaging> |
| 33 | <version>1.2.0-SNAPSHOT</version> |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 34 | <name>Apache Felix Karaf :: GShell Admin</name> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 35 | |
| 36 | <description> |
| 37 | Provides administration commands |
| 38 | </description> |
| 39 | |
| 40 | <properties> |
| 41 | <gshell.osgi.import> |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 42 | org.apache.felix.karaf.main.spi.*;resolution:=optional, |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 43 | org.apache.geronimo.gshell*, |
| 44 | </gshell.osgi.import> |
| 45 | <gshell.osgi.export> |
Guillaume Nodet | 874ecc8 | 2009-05-04 07:56:47 +0000 | [diff] [blame] | 46 | org.apache.felix.karaf.jpm |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 47 | </gshell.osgi.export> |
| 48 | <gshell.osgi.private> |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 49 | org.apache.felix.karaf.gshell.admin.*, |
Guillaume Nodet | 874ecc8 | 2009-05-04 07:56:47 +0000 | [diff] [blame] | 50 | org.apache.feix.karaf.jpm.impl |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 51 | </gshell.osgi.private> |
| 52 | </properties> |
| 53 | |
| 54 | <dependencies> |
| 55 | <dependency> |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 56 | <groupId>org.apache.felix.karaf.gshell</groupId> |
| 57 | <artifactId>org.apache.felix.karaf.gshell.core</artifactId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 58 | </dependency> |
| 59 | |
| 60 | <dependency> |
| 61 | <groupId>org.apache.felix</groupId> |
| 62 | <artifactId>org.osgi.core</artifactId> |
| 63 | <scope>provided</scope> |
| 64 | </dependency> |
| 65 | |
| 66 | <dependency> |
| 67 | <groupId>org.apache.felix</groupId> |
| 68 | <artifactId>org.osgi.compendium</artifactId> |
| 69 | <scope>provided</scope> |
| 70 | </dependency> |
| 71 | |
| 72 | <dependency> |
| 73 | <groupId>org.springframework.osgi</groupId> |
| 74 | <artifactId>spring-osgi-core</artifactId> |
| 75 | </dependency> |
| 76 | |
| 77 | <dependency> |
| 78 | <groupId>org.apache.servicemix.bundles</groupId> |
| 79 | <artifactId>org.apache.servicemix.bundles.junit</artifactId> |
| 80 | <scope>test</scope> |
| 81 | </dependency> |
| 82 | </dependencies> |
| 83 | |
| 84 | <build> |
| 85 | <resources> |
| 86 | <resource> |
| 87 | <directory>${pom.basedir}/src/main/resources</directory> |
| 88 | <includes> |
| 89 | <include>**/*</include> |
| 90 | </includes> |
| 91 | </resource> |
Guillaume Nodet | 3e9a428 | 2009-05-04 16:30:02 +0000 | [diff] [blame] | 92 | <!-- |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 93 | <resource> |
| 94 | <directory>${pom.basedir}/src/main/filtered-resources</directory> |
| 95 | <filtering>true</filtering> |
| 96 | <includes> |
| 97 | <include>**/*</include> |
| 98 | </includes> |
| 99 | </resource> |
Guillaume Nodet | 3e9a428 | 2009-05-04 16:30:02 +0000 | [diff] [blame] | 100 | --> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 101 | </resources> |
| 102 | <plugins> |
| 103 | <plugin> |
| 104 | <groupId>org.apache.maven.plugins</groupId> |
| 105 | <artifactId>maven-resources-plugin</artifactId> |
| 106 | <executions> |
| 107 | <execution> |
Guillaume Nodet | 3e9a428 | 2009-05-04 16:30:02 +0000 | [diff] [blame] | 108 | <id>copy-config-properties</id> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 109 | <!-- here the phase you need --> |
| 110 | <phase>compile</phase> |
| 111 | <goals> |
| 112 | <goal>copy-resources</goal> |
| 113 | </goals> |
| 114 | <configuration> |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 115 | <outputDirectory>${basedir}/target/classes/org/apache/felix/karaf/gshell/admin/etc</outputDirectory> |
Guillaume Nodet | 3e9a428 | 2009-05-04 16:30:02 +0000 | [diff] [blame] | 116 | <resources> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 117 | <resource> |
| 118 | <directory>../../${config.location}</directory> |
| 119 | <includes> |
| 120 | <include>config.properties</include> |
| 121 | </includes> |
| 122 | </resource> |
Guillaume Nodet | 3e9a428 | 2009-05-04 16:30:02 +0000 | [diff] [blame] | 123 | </resources> |
| 124 | </configuration> |
| 125 | </execution> |
| 126 | <execution> |
| 127 | <id>copy-filtered</id> |
| 128 | <!-- here the phase you need --> |
| 129 | <phase>compile</phase> |
| 130 | <goals> |
| 131 | <goal>copy-resources</goal> |
| 132 | </goals> |
| 133 | <configuration> |
| 134 | <outputDirectory>${basedir}/target/classes</outputDirectory> |
| 135 | <resources> |
| 136 | <resource> |
| 137 | <directory>src/main/filtered-resources</directory> |
| 138 | <filtering>true</filtering> |
| 139 | <includes> |
| 140 | <include>**/*.cfg</include> |
| 141 | <include>**/*.properties</include> |
| 142 | </includes> |
| 143 | </resource> |
| 144 | </resources> |
| 145 | </configuration> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 146 | </execution> |
| 147 | </executions> |
| 148 | </plugin> |
| 149 | <plugin> |
| 150 | <groupId>org.codehaus.mojo</groupId> |
| 151 | <artifactId>exec-maven-plugin</artifactId> |
| 152 | <configuration> |
| 153 | <mainClass>Main</mainClass> |
| 154 | </configuration> |
| 155 | </plugin> |
| 156 | <plugin> |
| 157 | <groupId>org.apache.felix</groupId> |
| 158 | <artifactId>maven-bundle-plugin</artifactId> |
| 159 | <configuration> |
| 160 | <instructions> |
| 161 | <Bundle-SymbolicName>${artifactId}</Bundle-SymbolicName> |
Guillaume Nodet | 3e9a428 | 2009-05-04 16:30:02 +0000 | [diff] [blame] | 162 | <Export-Package>${pom.artifactId}*;version=${project.version}</Export-Package> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 163 | <Import-Package> |
Guillaume Nodet | cd8b917 | 2009-05-07 13:19:47 +0000 | [diff] [blame] | 164 | org.apache.geronimo.gshell.command, |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 165 | org.apache.geronimo.gshell.wisdom.command, |
| 166 | org.apache.geronimo.gshell.wisdom.registry, |
Gert Vanthienen | 607b852 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 167 | org.apache.felix.karaf.gshell.core, |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 168 | * |
| 169 | </Import-Package> |
Guillaume Nodet | 4713c73 | 2009-05-04 07:02:13 +0000 | [diff] [blame] | 170 | <Private-Package>org.apache.felix.karaf.jpm.*</Private-Package> |
Guillaume Nodet | 3e9a428 | 2009-05-04 16:30:02 +0000 | [diff] [blame] | 171 | <Spring-Context>*;publish-context:=false;create-asynchronously:=true</Spring-Context> |
| 172 | <_versionpolicy>${bnd.version.policy}</_versionpolicy> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 173 | </instructions> |
| 174 | </configuration> |
| 175 | </plugin> |
| 176 | </plugins> |
| 177 | </build> |
| 178 | </project> |