Guillaume Nodet | 05fac96 | 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 | f54a839 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 25 | <groupId>org.apache.felix.karaf.gshell</groupId> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 26 | <artifactId>gshell</artifactId> |
Guillaume Nodet | adc9d28 | 2009-08-25 09:03:55 +0000 | [diff] [blame] | 27 | <version>0.9.0-SNAPSHOT</version> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 28 | </parent> |
| 29 | |
Gert Vanthienen | f54a839 | 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 | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 32 | <packaging>bundle</packaging> |
Guillaume Nodet | adc9d28 | 2009-08-25 09:03:55 +0000 | [diff] [blame] | 33 | <version>0.9.0-SNAPSHOT</version> |
Gert Vanthienen | f54a839 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 34 | <name>Apache Felix Karaf :: GShell Admin</name> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 35 | |
| 36 | <description> |
| 37 | Provides administration commands |
| 38 | </description> |
| 39 | |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 40 | <dependencies> |
| 41 | <dependency> |
Gert Vanthienen | f54a839 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 42 | <groupId>org.apache.felix.karaf.gshell</groupId> |
Guillaume Nodet | 129433d | 2009-07-09 08:29:14 +0000 | [diff] [blame] | 43 | <artifactId>org.apache.felix.karaf.gshell.console</artifactId> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 44 | </dependency> |
| 45 | |
| 46 | <dependency> |
| 47 | <groupId>org.apache.felix</groupId> |
| 48 | <artifactId>org.osgi.core</artifactId> |
| 49 | <scope>provided</scope> |
| 50 | </dependency> |
| 51 | |
| 52 | <dependency> |
| 53 | <groupId>org.apache.felix</groupId> |
| 54 | <artifactId>org.osgi.compendium</artifactId> |
| 55 | <scope>provided</scope> |
| 56 | </dependency> |
| 57 | |
| 58 | <dependency> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 59 | <groupId>org.apache.servicemix.bundles</groupId> |
| 60 | <artifactId>org.apache.servicemix.bundles.junit</artifactId> |
| 61 | <scope>test</scope> |
| 62 | </dependency> |
| 63 | </dependencies> |
| 64 | |
| 65 | <build> |
| 66 | <resources> |
| 67 | <resource> |
| 68 | <directory>${pom.basedir}/src/main/resources</directory> |
| 69 | <includes> |
| 70 | <include>**/*</include> |
| 71 | </includes> |
| 72 | </resource> |
Guillaume Nodet | 4e32cd6 | 2009-05-04 16:30:02 +0000 | [diff] [blame] | 73 | <!-- |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 74 | <resource> |
| 75 | <directory>${pom.basedir}/src/main/filtered-resources</directory> |
| 76 | <filtering>true</filtering> |
| 77 | <includes> |
| 78 | <include>**/*</include> |
| 79 | </includes> |
| 80 | </resource> |
Guillaume Nodet | 4e32cd6 | 2009-05-04 16:30:02 +0000 | [diff] [blame] | 81 | --> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 82 | </resources> |
| 83 | <plugins> |
| 84 | <plugin> |
| 85 | <groupId>org.apache.maven.plugins</groupId> |
| 86 | <artifactId>maven-resources-plugin</artifactId> |
| 87 | <executions> |
| 88 | <execution> |
Guillaume Nodet | 4e32cd6 | 2009-05-04 16:30:02 +0000 | [diff] [blame] | 89 | <id>copy-config-properties</id> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 90 | <!-- here the phase you need --> |
| 91 | <phase>compile</phase> |
| 92 | <goals> |
| 93 | <goal>copy-resources</goal> |
| 94 | </goals> |
| 95 | <configuration> |
Gert Vanthienen | f54a839 | 2009-05-02 19:57:13 +0000 | [diff] [blame] | 96 | <outputDirectory>${basedir}/target/classes/org/apache/felix/karaf/gshell/admin/etc</outputDirectory> |
Guillaume Nodet | 4e32cd6 | 2009-05-04 16:30:02 +0000 | [diff] [blame] | 97 | <resources> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 98 | <resource> |
Guillaume Nodet | 129433d | 2009-07-09 08:29:14 +0000 | [diff] [blame] | 99 | <directory>../../assembly/src/main/distribution/text/etc/</directory> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 100 | <includes> |
Guillaume Nodet | 129433d | 2009-07-09 08:29:14 +0000 | [diff] [blame] | 101 | <include>*.properties</include> |
| 102 | <include>*.cfg</include> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 103 | </includes> |
Guillaume Nodet | 129433d | 2009-07-09 08:29:14 +0000 | [diff] [blame] | 104 | <excludes> |
| 105 | <exclude>org.apache.felix.karaf.shell.cfg</exclude> |
| 106 | <exclude>org.ops4j.pax.url.mvn.cfg</exclude> |
| 107 | <exclude>system.properties</exclude> |
| 108 | </excludes> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 109 | </resource> |
Guillaume Nodet | 4e32cd6 | 2009-05-04 16:30:02 +0000 | [diff] [blame] | 110 | </resources> |
| 111 | </configuration> |
| 112 | </execution> |
| 113 | <execution> |
| 114 | <id>copy-filtered</id> |
| 115 | <!-- here the phase you need --> |
| 116 | <phase>compile</phase> |
| 117 | <goals> |
| 118 | <goal>copy-resources</goal> |
| 119 | </goals> |
| 120 | <configuration> |
Guillaume Nodet | 129433d | 2009-07-09 08:29:14 +0000 | [diff] [blame] | 121 | <outputDirectory>${basedir}/target/classes/org/apache/felix/karaf/gshell/admin/etc</outputDirectory> |
Guillaume Nodet | 4e32cd6 | 2009-05-04 16:30:02 +0000 | [diff] [blame] | 122 | <resources> |
| 123 | <resource> |
Guillaume Nodet | 129433d | 2009-07-09 08:29:14 +0000 | [diff] [blame] | 124 | <directory>../../assembly/src/main/filtered-resources/etc</directory> |
Guillaume Nodet | 4e32cd6 | 2009-05-04 16:30:02 +0000 | [diff] [blame] | 125 | <filtering>true</filtering> |
| 126 | <includes> |
Guillaume Nodet | 129433d | 2009-07-09 08:29:14 +0000 | [diff] [blame] | 127 | <include>*.properties</include> |
| 128 | <include>*.cfg</include> |
Guillaume Nodet | 4e32cd6 | 2009-05-04 16:30:02 +0000 | [diff] [blame] | 129 | </includes> |
| 130 | </resource> |
| 131 | </resources> |
| 132 | </configuration> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 133 | </execution> |
| 134 | </executions> |
| 135 | </plugin> |
| 136 | <plugin> |
| 137 | <groupId>org.codehaus.mojo</groupId> |
| 138 | <artifactId>exec-maven-plugin</artifactId> |
| 139 | <configuration> |
| 140 | <mainClass>Main</mainClass> |
| 141 | </configuration> |
| 142 | </plugin> |
| 143 | <plugin> |
| 144 | <groupId>org.apache.felix</groupId> |
| 145 | <artifactId>maven-bundle-plugin</artifactId> |
| 146 | <configuration> |
| 147 | <instructions> |
| 148 | <Bundle-SymbolicName>${artifactId}</Bundle-SymbolicName> |
Guillaume Nodet | 4e32cd6 | 2009-05-04 16:30:02 +0000 | [diff] [blame] | 149 | <Export-Package>${pom.artifactId}*;version=${project.version}</Export-Package> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 150 | <Import-Package> |
Guillaume Nodet | 129433d | 2009-07-09 08:29:14 +0000 | [diff] [blame] | 151 | org.osgi.service.command, |
| 152 | org.apache.felix.gogo.commands, |
| 153 | org.apache.felix.karaf.gshell.console, |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 154 | * |
| 155 | </Import-Package> |
Guillaume Nodet | 5be9296 | 2009-05-04 07:02:13 +0000 | [diff] [blame] | 156 | <Private-Package>org.apache.felix.karaf.jpm.*</Private-Package> |
Guillaume Nodet | 4e32cd6 | 2009-05-04 16:30:02 +0000 | [diff] [blame] | 157 | <_versionpolicy>${bnd.version.policy}</_versionpolicy> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 158 | </instructions> |
| 159 | </configuration> |
| 160 | </plugin> |
Gert Vanthienen | abed2af | 2009-06-16 11:58:10 +0000 | [diff] [blame] | 161 | <plugin> |
| 162 | <groupId>org.apache.maven.plugins</groupId> |
| 163 | <artifactId>maven-surefire-plugin</artifactId> |
| 164 | <configuration> |
| 165 | <excludes> |
| 166 | <!-- this is not a unit test but an application used for testing --> |
| 167 | <exclude>**/MainTest.java</exclude> |
| 168 | </excludes> |
| 169 | </configuration> |
| 170 | </plugin> |
Guillaume Nodet | 05fac96 | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 171 | </plugins> |
| 172 | </build> |
| 173 | </project> |