blob: 16c3b9578defbc386a461e9c29ab0a389581c2f9 [file] [log] [blame]
Carsten Ziegelerb61fe0e2008-01-03 09:24:12 +00001<!--
2 Licensed to the Apache Software Foundation (ASF) under one
3 or more contributor license agreements. See the NOTICE file
4 distributed with this work for additional information
5 regarding copyright ownership. The ASF licenses this file
6 to you under the Apache License, Version 2.0 (the
7 "License"); you may not use this file except in compliance
8 with the License. You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing,
13 software distributed under the License is distributed on an
14 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 KIND, either express or implied. See the License for the
16 specific language governing permissions and limitations
17 under the License.
18-->
Carsten Ziegeler4fec0962008-01-11 16:13:31 +000019<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">
20 <parent>
Karl Pauls589e2b32007-07-11 18:29:29 +000021 <groupId>org.apache.felix</groupId>
22 <artifactId>felix</artifactId>
Carsten Ziegeler646b9f12008-01-16 07:44:32 +000023 <version>1.0.2</version>
Karl Pauls589e2b32007-07-11 18:29:29 +000024 <relativePath>../pom/pom.xml</relativePath>
25 </parent>
26 <modelVersion>4.0.0</modelVersion>
27 <name>Management Interactive Shell</name>
28 <packaging>osgi-bundle</packaging>
29 <artifactId>${groupId}.mishell</artifactId>
Karl Pauls0a3858c2007-07-13 22:03:31 +000030 <version>0.9.0-SNAPSHOT</version>
Karl Pauls589e2b32007-07-11 18:29:29 +000031 <dependencies>
32 <dependency>
33 <groupId>junit</groupId>
34 <artifactId>junit</artifactId>
35 <version>3.8.1</version>
36 <scope>test</scope>
37 </dependency>
38 <dependency>
39 <groupId>${pom.groupId}</groupId>
40 <artifactId>${groupId}.jmxintrospector</artifactId>
Karl Pauls0a3858c2007-07-13 22:03:31 +000041 <version>0.9.0-SNAPSHOT</version>
Karl Pauls589e2b32007-07-11 18:29:29 +000042 </dependency>
43 <dependency>
44 <groupId>${pom.groupId}</groupId>
45 <artifactId>org.osgi.core</artifactId>
Karl Pauls0a3858c2007-07-13 22:03:31 +000046 <version>1.1.0-SNAPSHOT</version>
Karl Pauls589e2b32007-07-11 18:29:29 +000047 <scope>provided</scope>
48 </dependency>
49 <dependency>
50 <groupId>${pom.groupId}</groupId>
51 <artifactId>org.osgi.compendium</artifactId>
Karl Pauls0a3858c2007-07-13 22:03:31 +000052 <version>0.9.0-SNAPSHOT</version>
Karl Pauls589e2b32007-07-11 18:29:29 +000053 <scope>provided</scope>
54 </dependency>
55
56 <dependency>
57 <groupId>${pom.groupId}</groupId>
58 <artifactId>org.apache.felix.framework</artifactId>
Karl Pauls0a3858c2007-07-13 22:03:31 +000059 <version>0.9.0-SNAPSHOT</version>
Karl Pauls589e2b32007-07-11 18:29:29 +000060 <scope>provided</scope>
61 </dependency>
62
63 </dependencies>
64 <build>
65 <resources>
66 <resource>
67 <directory>src/main/resources</directory>
68 <filtering>true</filtering>
69 </resource>
70 </resources>
71 <plugins>
72 <plugin>
73 <groupId>org.apache.felix.plugins</groupId>
74 <artifactId>maven-osgi-plugin</artifactId>
Karl Pauls0a3858c2007-07-13 22:03:31 +000075 <version>0.9.0-SNAPSHOT</version>
Karl Pauls589e2b32007-07-11 18:29:29 +000076 <extensions>true</extensions>
77 <configuration>
78 <!--
79 We're inlining a lot here. This is nasty for a bundle, nice for an executable jar.
80 It should be simple to change afterwards
81 -->
82 <inlinedArtifacts>
83 <inlinedArtifact>org.apache.felix.jmxintrospector</inlinedArtifact>
84 </inlinedArtifacts>
85 <osgiManifest>
86 <bundleActivator>${artifactId}.Activator</bundleActivator>
87 <bundleName>${name}</bundleName>
88 <bundleDescription>Management Interactive Shell</bundleDescription>
89 <bundleSymbolicName>${artifactId}</bundleSymbolicName>
90 <dynamicImportPackage>
91 *
92 </dynamicImportPackage>
93 <importPackage>
94 <!--Note that we explicitly do not import jmood classes as they we use
95 dynamically generated interfaces and proxies instead-->
96 org.osgi.framework, javax.management, javax.management.remote, javax.script
97 </importPackage>
98
99 </osgiManifest>
100 </configuration>
101 </plugin>
102 <plugin>
103 <groupId>org.apache.maven.plugins</groupId>
104 <artifactId>maven-compiler-plugin</artifactId>
105 <configuration>
106 <source>1.6</source><!--should fail if not java6-->
107 <target>1.6</target>
108 </configuration>
109 </plugin>
110 </plugins>
111 </build>
112</project>