blob: 1aabf777b0d7557575c06d5b4a4fbc56cc498862 [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>
Karl Pauls0a3858c2007-07-13 22:03:31 +00006 <version>1.1.0-SNAPSHOTT</version>
Karl Pauls589e2b32007-07-11 18:29:29 +00007 <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>
Karl Pauls0a3858c2007-07-13 22:03:31 +000013 <version>0.9.0-SNAPSHOT</version>
Karl Pauls589e2b32007-07-11 18:29:29 +000014 <dependencies>
15 <dependency>
16 <groupId>junit</groupId>
17 <artifactId>junit</artifactId>
18 <version>3.8.1</version>
19 <scope>test</scope>
20 </dependency>
21 <dependency>
22 <groupId>${pom.groupId}</groupId>
23 <artifactId>${groupId}.jmxintrospector</artifactId>
Karl Pauls0a3858c2007-07-13 22:03:31 +000024 <version>0.9.0-SNAPSHOT</version>
Karl Pauls589e2b32007-07-11 18:29:29 +000025 </dependency>
26 <dependency>
27 <groupId>${pom.groupId}</groupId>
28 <artifactId>org.osgi.core</artifactId>
Karl Pauls0a3858c2007-07-13 22:03:31 +000029 <version>1.1.0-SNAPSHOT</version>
Karl Pauls589e2b32007-07-11 18:29:29 +000030 <scope>provided</scope>
31 </dependency>
32 <dependency>
33 <groupId>${pom.groupId}</groupId>
34 <artifactId>org.osgi.compendium</artifactId>
Karl Pauls0a3858c2007-07-13 22:03:31 +000035 <version>0.9.0-SNAPSHOT</version>
Karl Pauls589e2b32007-07-11 18:29:29 +000036 <scope>provided</scope>
37 </dependency>
38
39 <dependency>
40 <groupId>${pom.groupId}</groupId>
41 <artifactId>org.apache.felix.framework</artifactId>
Karl Pauls0a3858c2007-07-13 22:03:31 +000042 <version>0.9.0-SNAPSHOT</version>
Karl Pauls589e2b32007-07-11 18:29:29 +000043 <scope>provided</scope>
44 </dependency>
45
46 </dependencies>
47 <build>
48 <resources>
49 <resource>
50 <directory>src/main/resources</directory>
51 <filtering>true</filtering>
52 </resource>
53 </resources>
54 <plugins>
55 <plugin>
56 <groupId>org.apache.felix.plugins</groupId>
57 <artifactId>maven-osgi-plugin</artifactId>
Karl Pauls0a3858c2007-07-13 22:03:31 +000058 <version>0.9.0-SNAPSHOT</version>
Karl Pauls589e2b32007-07-11 18:29:29 +000059 <extensions>true</extensions>
60 <configuration>
61 <!--
62 We're inlining a lot here. This is nasty for a bundle, nice for an executable jar.
63 It should be simple to change afterwards
64 -->
65 <inlinedArtifacts>
66 <inlinedArtifact>org.apache.felix.jmxintrospector</inlinedArtifact>
67 </inlinedArtifacts>
68 <osgiManifest>
69 <bundleActivator>${artifactId}.Activator</bundleActivator>
70 <bundleName>${name}</bundleName>
71 <bundleDescription>Management Interactive Shell</bundleDescription>
72 <bundleSymbolicName>${artifactId}</bundleSymbolicName>
73 <dynamicImportPackage>
74 *
75 </dynamicImportPackage>
76 <importPackage>
77 <!--Note that we explicitly do not import jmood classes as they we use
78 dynamically generated interfaces and proxies instead-->
79 org.osgi.framework, javax.management, javax.management.remote, javax.script
80 </importPackage>
81
82 </osgiManifest>
83 </configuration>
84 </plugin>
85 <plugin>
86 <groupId>org.apache.maven.plugins</groupId>
87 <artifactId>maven-compiler-plugin</artifactId>
88 <configuration>
89 <source>1.6</source><!--should fail if not java6-->
90 <target>1.6</target>
91 </configuration>
92 </plugin>
93 </plugins>
94 </build>
95</project>