Guillaume Nodet | 916f28a | 2009-09-22 09:11:12 +0000 | [diff] [blame] | 1 | <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 | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 2 | |
| 3 | <!-- |
| 4 | |
| 5 | Licensed to the Apache Software Foundation (ASF) under one or more |
| 6 | contributor license agreements. See the NOTICE file distributed with |
| 7 | this work for additional information regarding copyright ownership. |
| 8 | The ASF licenses this file to You under the Apache License, Version 2.0 |
| 9 | (the "License"); you may not use this file except in compliance with |
| 10 | the License. You may obtain a copy of the License at |
| 11 | |
| 12 | http://www.apache.org/licenses/LICENSE-2.0 |
| 13 | |
| 14 | Unless required by applicable law or agreed to in writing, software |
| 15 | distributed under the License is distributed on an "AS IS" BASIS, |
| 16 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 17 | See the License for the specific language governing permissions and |
| 18 | limitations under the License. |
| 19 | --> |
| 20 | |
| 21 | <modelVersion>4.0.0</modelVersion> |
| 22 | |
| 23 | <parent> |
Guillaume Nodet | a11a3ce | 2009-10-22 18:01:48 +0000 | [diff] [blame] | 24 | <groupId>org.apache.felix.karaf.admin</groupId> |
| 25 | <artifactId>admin</artifactId> |
Guillaume Nodet | a65c77b | 2010-05-18 15:47:56 +0000 | [diff] [blame] | 26 | <version>1.7.0-SNAPSHOT</version> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 27 | </parent> |
| 28 | |
Guillaume Nodet | a11a3ce | 2009-10-22 18:01:48 +0000 | [diff] [blame] | 29 | <groupId>org.apache.felix.karaf.admin</groupId> |
| 30 | <artifactId>org.apache.felix.karaf.admin.core</artifactId> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 31 | <packaging>bundle</packaging> |
Guillaume Nodet | a65c77b | 2010-05-18 15:47:56 +0000 | [diff] [blame] | 32 | <version>1.7.0-SNAPSHOT</version> |
Guillaume Nodet | a11a3ce | 2009-10-22 18:01:48 +0000 | [diff] [blame] | 33 | <name>Apache Felix Karaf :: Admin Core</name> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 34 | |
Guillaume Nodet | c0d9772 | 2009-09-18 20:25:06 +0000 | [diff] [blame] | 35 | <properties> |
| 36 | <appendedResourcesDirectory>${basedir}/../../etc/appended-resources</appendedResourcesDirectory> |
| 37 | </properties> |
| 38 | |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 39 | <dependencies> |
| 40 | <dependency> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 41 | <groupId>org.apache.felix</groupId> |
| 42 | <artifactId>org.osgi.core</artifactId> |
| 43 | <scope>provided</scope> |
| 44 | </dependency> |
| 45 | |
| 46 | <dependency> |
| 47 | <groupId>org.apache.felix</groupId> |
| 48 | <artifactId>org.osgi.compendium</artifactId> |
| 49 | <scope>provided</scope> |
| 50 | </dependency> |
| 51 | |
| 52 | <dependency> |
Guillaume Nodet | a11a3ce | 2009-10-22 18:01:48 +0000 | [diff] [blame] | 53 | <groupId>org.apache.felix</groupId> |
| 54 | <artifactId>org.apache.felix.bundlerepository</artifactId> |
Guillaume Nodet | 5cd0379 | 2009-09-08 18:37:13 +0000 | [diff] [blame] | 55 | </dependency> |
| 56 | |
| 57 | <dependency> |
Guillaume Nodet | a11a3ce | 2009-10-22 18:01:48 +0000 | [diff] [blame] | 58 | <groupId>org.apache.felix.karaf.shell</groupId> |
| 59 | <artifactId>org.apache.felix.karaf.shell.console</artifactId> |
| 60 | </dependency> |
| 61 | |
| 62 | <dependency> |
| 63 | <groupId>org.apache.felix.karaf.shell</groupId> |
| 64 | <artifactId>org.apache.felix.karaf.shell.obr</artifactId> |
| 65 | </dependency> |
| 66 | |
| 67 | <dependency> |
| 68 | <groupId>org.springframework.osgi</groupId> |
| 69 | <artifactId>spring-osgi-core</artifactId> |
| 70 | <scope>test</scope> |
| 71 | </dependency> |
| 72 | <dependency> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 73 | <groupId>org.apache.servicemix.bundles</groupId> |
| 74 | <artifactId>org.apache.servicemix.bundles.junit</artifactId> |
| 75 | <scope>test</scope> |
| 76 | </dependency> |
Guillaume Nodet | 5cd0379 | 2009-09-08 18:37:13 +0000 | [diff] [blame] | 77 | <dependency> |
| 78 | <groupId>org.easymock</groupId> |
Guillaume Nodet | a11a3ce | 2009-10-22 18:01:48 +0000 | [diff] [blame] | 79 | <artifactId>easymock</artifactId> |
| 80 | <scope>test</scope> |
| 81 | </dependency> |
| 82 | <dependency> |
| 83 | <groupId>org.slf4j</groupId> |
| 84 | <artifactId>slf4j-jdk14</artifactId> |
Guillaume Nodet | 5cd0379 | 2009-09-08 18:37:13 +0000 | [diff] [blame] | 85 | <scope>test</scope> |
| 86 | </dependency> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 87 | </dependencies> |
| 88 | |
| 89 | <build> |
| 90 | <resources> |
| 91 | <resource> |
Chris Custine | 8764d8f | 2010-05-16 08:24:14 +0000 | [diff] [blame] | 92 | <directory>${project.basedir}/src/main/resources</directory> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 93 | <includes> |
| 94 | <include>**/*</include> |
| 95 | </includes> |
| 96 | </resource> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 97 | </resources> |
| 98 | <plugins> |
| 99 | <plugin> |
| 100 | <groupId>org.apache.maven.plugins</groupId> |
| 101 | <artifactId>maven-resources-plugin</artifactId> |
| 102 | <executions> |
| 103 | <execution> |
Guillaume Nodet | 3e9a428 | 2009-05-04 16:30:02 +0000 | [diff] [blame] | 104 | <id>copy-config-properties</id> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 105 | <!-- here the phase you need --> |
| 106 | <phase>compile</phase> |
| 107 | <goals> |
| 108 | <goal>copy-resources</goal> |
| 109 | </goals> |
| 110 | <configuration> |
Guillaume Nodet | a11a3ce | 2009-10-22 18:01:48 +0000 | [diff] [blame] | 111 | <outputDirectory>${basedir}/target/classes/org/apache/felix/karaf/admin/etc</outputDirectory> |
Guillaume Nodet | 3e9a428 | 2009-05-04 16:30:02 +0000 | [diff] [blame] | 112 | <resources> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 113 | <resource> |
Guillaume Nodet | 077bac5 | 2009-07-09 08:29:14 +0000 | [diff] [blame] | 114 | <directory>../../assembly/src/main/distribution/text/etc/</directory> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 115 | <includes> |
Guillaume Nodet | 077bac5 | 2009-07-09 08:29:14 +0000 | [diff] [blame] | 116 | <include>*.properties</include> |
| 117 | <include>*.cfg</include> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 118 | </includes> |
Guillaume Nodet | 077bac5 | 2009-07-09 08:29:14 +0000 | [diff] [blame] | 119 | <excludes> |
| 120 | <exclude>org.apache.felix.karaf.shell.cfg</exclude> |
| 121 | <exclude>org.ops4j.pax.url.mvn.cfg</exclude> |
| 122 | <exclude>system.properties</exclude> |
| 123 | </excludes> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 124 | </resource> |
Guillaume Nodet | 3e9a428 | 2009-05-04 16:30:02 +0000 | [diff] [blame] | 125 | </resources> |
| 126 | </configuration> |
| 127 | </execution> |
| 128 | <execution> |
| 129 | <id>copy-filtered</id> |
| 130 | <!-- here the phase you need --> |
| 131 | <phase>compile</phase> |
| 132 | <goals> |
| 133 | <goal>copy-resources</goal> |
| 134 | </goals> |
| 135 | <configuration> |
Guillaume Nodet | a11a3ce | 2009-10-22 18:01:48 +0000 | [diff] [blame] | 136 | <outputDirectory>${basedir}/target/classes/org/apache/felix/karaf/admin/etc</outputDirectory> |
Guillaume Nodet | 3e9a428 | 2009-05-04 16:30:02 +0000 | [diff] [blame] | 137 | <resources> |
| 138 | <resource> |
Guillaume Nodet | 077bac5 | 2009-07-09 08:29:14 +0000 | [diff] [blame] | 139 | <directory>../../assembly/src/main/filtered-resources/etc</directory> |
Guillaume Nodet | 3e9a428 | 2009-05-04 16:30:02 +0000 | [diff] [blame] | 140 | <filtering>true</filtering> |
| 141 | <includes> |
Guillaume Nodet | 077bac5 | 2009-07-09 08:29:14 +0000 | [diff] [blame] | 142 | <include>*.properties</include> |
| 143 | <include>*.cfg</include> |
Guillaume Nodet | 3e9a428 | 2009-05-04 16:30:02 +0000 | [diff] [blame] | 144 | </includes> |
| 145 | </resource> |
| 146 | </resources> |
| 147 | </configuration> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 148 | </execution> |
| 149 | </executions> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 150 | </plugin> |
| 151 | <plugin> |
| 152 | <groupId>org.apache.felix</groupId> |
| 153 | <artifactId>maven-bundle-plugin</artifactId> |
| 154 | <configuration> |
| 155 | <instructions> |
Chris Custine | 8764d8f | 2010-05-16 08:24:14 +0000 | [diff] [blame] | 156 | <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName> |
Guillaume Nodet | a11a3ce | 2009-10-22 18:01:48 +0000 | [diff] [blame] | 157 | <Export-Package> |
Chris Custine | 8764d8f | 2010-05-16 08:24:14 +0000 | [diff] [blame] | 158 | org.apache.felix.karaf.admin;version=${project.version}, |
| 159 | org.apache.felix.karaf.jpm;version=${project.version} |
Guillaume Nodet | a11a3ce | 2009-10-22 18:01:48 +0000 | [diff] [blame] | 160 | </Export-Package> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 161 | <Import-Package> |
Guillaume Nodet | a11a3ce | 2009-10-22 18:01:48 +0000 | [diff] [blame] | 162 | !org.apache.felix.karaf.admin, |
| 163 | !org.apache.felix.karaf.jpm, |
| 164 | javax.management, |
| 165 | javax.management.loading, |
Guillaume Nodet | 077bac5 | 2009-07-09 08:29:14 +0000 | [diff] [blame] | 166 | org.osgi.service.command, |
| 167 | org.apache.felix.gogo.commands, |
Guillaume Nodet | 91a52c0 | 2009-09-18 20:14:54 +0000 | [diff] [blame] | 168 | org.apache.felix.karaf.shell.console, |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 169 | * |
| 170 | </Import-Package> |
Guillaume Nodet | a11a3ce | 2009-10-22 18:01:48 +0000 | [diff] [blame] | 171 | <Private-Package> |
Guillaume Nodet | bf27d1e | 2009-10-22 18:37:15 +0000 | [diff] [blame] | 172 | org.apache.felix.karaf.admin.bin, |
| 173 | org.apache.felix.karaf.admin.etc, |
Guillaume Nodet | a11a3ce | 2009-10-22 18:01:48 +0000 | [diff] [blame] | 174 | org.apache.felix.karaf.admin.internal, |
Guillaume Nodet | bf27d1e | 2009-10-22 18:37:15 +0000 | [diff] [blame] | 175 | org.apache.felix.karaf.jpm.impl, |
Guillaume Nodet | a11a3ce | 2009-10-22 18:01:48 +0000 | [diff] [blame] | 176 | </Private-Package> |
Guillaume Nodet | 3e9a428 | 2009-05-04 16:30:02 +0000 | [diff] [blame] | 177 | <_versionpolicy>${bnd.version.policy}</_versionpolicy> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 178 | </instructions> |
| 179 | </configuration> |
| 180 | </plugin> |
Gert Vanthienen | c3f669d | 2009-06-16 11:58:10 +0000 | [diff] [blame] | 181 | <plugin> |
| 182 | <groupId>org.apache.maven.plugins</groupId> |
| 183 | <artifactId>maven-surefire-plugin</artifactId> |
| 184 | <configuration> |
| 185 | <excludes> |
| 186 | <!-- this is not a unit test but an application used for testing --> |
| 187 | <exclude>**/MainTest.java</exclude> |
| 188 | </excludes> |
| 189 | </configuration> |
| 190 | </plugin> |
Guillaume Nodet | 91fab3b | 2009-04-27 10:01:58 +0000 | [diff] [blame] | 191 | </plugins> |
| 192 | </build> |
| 193 | </project> |