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