blob: 9c2aecd497cbeb87eb985f83ee98cd48bb9eb26e [file] [log] [blame]
Guillaume Nodet91fab3b2009-04-27 10:01:58 +00001<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 Vanthienen607b8522009-05-02 19:57:13 +000025 <groupId>org.apache.felix.karaf.gshell</groupId>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000026 <artifactId>gshell</artifactId>
27 <version>1.2.0-SNAPSHOT</version>
28 </parent>
29
Gert Vanthienen607b8522009-05-02 19:57:13 +000030 <groupId>org.apache.felix.karaf.gshell</groupId>
31 <artifactId>org.apache.felix.karaf.gshell.admin</artifactId>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000032 <packaging>bundle</packaging>
33 <version>1.2.0-SNAPSHOT</version>
Gert Vanthienen607b8522009-05-02 19:57:13 +000034 <name>Apache Felix Karaf :: GShell Admin</name>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000035
36 <description>
37 Provides administration commands
38 </description>
39
40 <properties>
41 <gshell.osgi.import>
Gert Vanthienen607b8522009-05-02 19:57:13 +000042 org.apache.felix.karaf.main.spi.*;resolution:=optional,
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000043 org.apache.geronimo.gshell*,
44 </gshell.osgi.import>
45 <gshell.osgi.export>
46 org.apache.servicemix.jpm
47 </gshell.osgi.export>
48 <gshell.osgi.private>
Gert Vanthienen607b8522009-05-02 19:57:13 +000049 org.apache.felix.karaf.gshell.admin.*,
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000050 org.apache.servicemix.jpm.impl
51 </gshell.osgi.private>
52 </properties>
53
54 <dependencies>
55 <dependency>
Gert Vanthienen607b8522009-05-02 19:57:13 +000056 <groupId>org.apache.felix.karaf.gshell</groupId>
57 <artifactId>org.apache.felix.karaf.gshell.core</artifactId>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000058 </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>
92 <resource>
93 <directory>${pom.basedir}/src/main/filtered-resources</directory>
94 <filtering>true</filtering>
95 <includes>
96 <include>**/*</include>
97 </includes>
98 </resource>
99 </resources>
100 <plugins>
101 <plugin>
102 <groupId>org.apache.maven.plugins</groupId>
103 <artifactId>maven-resources-plugin</artifactId>
104 <executions>
105 <execution>
106 <id>copy-resources</id>
107 <!-- here the phase you need -->
108 <phase>compile</phase>
109 <goals>
110 <goal>copy-resources</goal>
111 </goals>
112 <configuration>
Gert Vanthienen607b8522009-05-02 19:57:13 +0000113 <outputDirectory>${basedir}/target/classes/org/apache/felix/karaf/gshell/admin/etc</outputDirectory>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000114 <resources>
115 <resource>
116 <directory>../../${config.location}</directory>
117 <includes>
118 <include>config.properties</include>
119 </includes>
120 </resource>
121 </resources>
122 </configuration>
123 </execution>
124 </executions>
125 </plugin>
126 <plugin>
127 <groupId>org.codehaus.mojo</groupId>
128 <artifactId>exec-maven-plugin</artifactId>
129 <configuration>
130 <mainClass>Main</mainClass>
131 </configuration>
132 </plugin>
133 <plugin>
134 <groupId>org.apache.felix</groupId>
135 <artifactId>maven-bundle-plugin</artifactId>
136 <configuration>
137 <instructions>
138 <Bundle-SymbolicName>${artifactId}</Bundle-SymbolicName>
Gert Vanthienen607b8522009-05-02 19:57:13 +0000139 <Export-Package>org.apache.felix.karaf.gshell.admin.*;version=${project.version}
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000140 </Export-Package>
141 <Import-Package>
142 org.apache.geronimo.gshell.wisdom.command,
143 org.apache.geronimo.gshell.wisdom.registry,
Gert Vanthienen607b8522009-05-02 19:57:13 +0000144 org.apache.felix.karaf.gshell.core,
Guillaume Nodet91fab3b2009-04-27 10:01:58 +0000145 *
146 </Import-Package>
147 <Private-Package>org.apache.servicemix.jpm.*</Private-Package>
148 <Spring-Context>*;publish-context:=false;create-asynchronously:=false</Spring-Context>
149 </instructions>
150 </configuration>
151 </plugin>
152 </plugins>
153 </build>
154</project>