blob: 00fd67daee93139c1d0ed826ca30300e53f91e2f [file] [log] [blame]
Karl Pauls589e2b32007-07-11 18:29:29 +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<parent>
4 <groupId>org.apache.felix</groupId>
5 <artifactId>felix</artifactId>
6 <version>0.9.0-incubator-SNAPSHOT</version>
7 <relativePath>../pom/pom.xml</relativePath>
8 </parent>
9 <modelVersion>4.0.0</modelVersion>
10 <name>Management Interactive Shell</name>
11 <packaging>osgi-bundle</packaging>
12 <artifactId>${groupId}.mishell</artifactId>
13 <dependencies>
14 <dependency>
15 <groupId>junit</groupId>
16 <artifactId>junit</artifactId>
17 <version>3.8.1</version>
18 <scope>test</scope>
19 </dependency>
20 <dependency>
21 <groupId>${pom.groupId}</groupId>
22 <artifactId>${groupId}.jmxintrospector</artifactId>
23 <version>${pom.version}</version>
24 </dependency>
25 <dependency>
26 <groupId>${pom.groupId}</groupId>
27 <artifactId>org.osgi.core</artifactId>
28 <version>${pom.version}</version>
29 <scope>provided</scope>
30 </dependency>
31 <dependency>
32 <groupId>${pom.groupId}</groupId>
33 <artifactId>org.osgi.compendium</artifactId>
34 <version>${pom.version}</version>
35 <scope>provided</scope>
36 </dependency>
37
38 <dependency>
39 <groupId>${pom.groupId}</groupId>
40 <artifactId>org.apache.felix.framework</artifactId>
41 <version>${pom.version}</version>
42 <scope>provided</scope>
43 </dependency>
44
45 </dependencies>
46 <build>
47 <resources>
48 <resource>
49 <directory>src/main/resources</directory>
50 <filtering>true</filtering>
51 </resource>
52 </resources>
53 <plugins>
54 <plugin>
55 <groupId>org.apache.felix.plugins</groupId>
56 <artifactId>maven-osgi-plugin</artifactId>
57 <version>${pom.version}</version>
58 <extensions>true</extensions>
59 <configuration>
60 <!--
61 We're inlining a lot here. This is nasty for a bundle, nice for an executable jar.
62 It should be simple to change afterwards
63 -->
64 <inlinedArtifacts>
65 <inlinedArtifact>org.apache.felix.jmxintrospector</inlinedArtifact>
66 </inlinedArtifacts>
67 <osgiManifest>
68 <bundleActivator>${artifactId}.Activator</bundleActivator>
69 <bundleName>${name}</bundleName>
70 <bundleDescription>Management Interactive Shell</bundleDescription>
71 <bundleSymbolicName>${artifactId}</bundleSymbolicName>
72 <dynamicImportPackage>
73 *
74 </dynamicImportPackage>
75 <importPackage>
76 <!--Note that we explicitly do not import jmood classes as they we use
77 dynamically generated interfaces and proxies instead-->
78 org.osgi.framework, javax.management, javax.management.remote, javax.script
79 </importPackage>
80
81 </osgiManifest>
82 </configuration>
83 </plugin>
84 <plugin>
85 <groupId>org.apache.maven.plugins</groupId>
86 <artifactId>maven-compiler-plugin</artifactId>
87 <configuration>
88 <source>1.6</source><!--should fail if not java6-->
89 <target>1.6</target>
90 </configuration>
91 </plugin>
92 </plugins>
93 </build>
94</project>