blob: 824d65d78a391d5514eaba226b09848cf0f17b88 [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. Santillan2045b0c2006-09-27 23:10:46 +000019<!-- <dependency>
20 <groupId>org.jruby</groupId>
Manuel L. Santillan168ab572006-09-12 16:38:16 +000021 <artifactId>jruby</artifactId>
22 <version>0.9.0</version>
23 </dependency>
Manuel L. Santillan2045b0c2006-09-27 23:10:46 +000024 <dependency>
25 <groupId>javax.script</groupId>
Manuel L. Santillan168ab572006-09-12 16:38:16 +000026 <artifactId>jruby-engine</artifactId>
27 <version>SNAPSHOT</version>
Manuel L. Santillan2045b0c2006-09-27 23:10:46 +000028 </dependency> -->
29 <dependency>
30 <groupId>org.jruby</groupId>
31 <artifactId>jruby-bundle</artifactId>
32 <scope>provided</scope>
33 <version>0.8.0-SNAPSHOT</version>
Manuel L. Santillan168ab572006-09-12 16:38:16 +000034 </dependency>
Manuel L. Santillan2045b0c2006-09-27 23:10:46 +000035
Manuel L. Santillan168ab572006-09-12 16:38:16 +000036 <dependency>
37 <groupId>${pom.groupId}</groupId>
38 <artifactId>${groupId}.jmxintrospector</artifactId>
39 <version>${pom.version}</version>
40 </dependency>
41 <dependency>
42 <groupId>${pom.groupId}</groupId>
43 <artifactId>org.osgi.core</artifactId>
44 <version>${pom.version}</version>
45 <scope>provided</scope>
46 </dependency>
47 <dependency>
48 <groupId>${pom.groupId}</groupId>
Manuel L. Santillan2045b0c2006-09-27 23:10:46 +000049 <artifactId>org.osgi.compendium</artifactId>
50 <version>${pom.version}</version>
51 <scope>provided</scope>
52 </dependency>
53
54 <dependency>
55 <groupId>${pom.groupId}</groupId>
Manuel L. Santillan168ab572006-09-12 16:38:16 +000056 <artifactId>org.apache.felix.framework</artifactId>
57 <version>${pom.version}</version>
58 <scope>provided</scope>
59 </dependency>
60
61 </dependencies>
62 <build>
63 <resources>
64 <resource>
65 <directory>src/main/resources</directory>
66 <filtering>true</filtering>
67 </resource>
68 </resources>
69 <plugins>
70 <plugin>
71 <groupId>org.apache.felix.plugins</groupId>
72 <artifactId>maven-osgi-plugin</artifactId>
73 <version>${pom.version}</version>
74 <extensions>true</extensions>
75 <configuration>
Manuel L. Santillan168ab572006-09-12 16:38:16 +000076 <!--
77 We're inlining a lot here. This is nasty for a bundle, nice for an executable jar.
78 It should be simple to change afterwards
79 -->
80 <inlinedArtifacts>
81 <inlinedArtifact>jruby</inlinedArtifact>
82 <inlinedArtifact>jruby-engine</inlinedArtifact>
83 <inlinedArtifact>org.apache.felix.jmxintrospector</inlinedArtifact>
84 <inlinedArtifact>jline</inlinedArtifact>
85 </inlinedArtifacts>
86 <osgiManifest>
87 <bundleActivator>${artifactId}.Activator</bundleActivator>
88 <bundleName>${name}</bundleName>
89 <bundleDescription>Management Interactive Shell</bundleDescription>
90 <bundleSymbolicName>${artifactId}</bundleSymbolicName>
91 <dynamicImportPackage>
92 *
93 </dynamicImportPackage>
94 <importPackage>
95 <!--Note that we explicitly do not import jmood classes as they we use
96 dynamically generated interfaces and proxies instead-->
97 org.osgi.framework, javax.management, javax.management.remote, javax.script
98 </importPackage>
99
100 </osgiManifest>
101 </configuration>
102 </plugin>
103 <plugin>
104 <groupId>org.apache.maven.plugins</groupId>
105 <artifactId>maven-compiler-plugin</artifactId>
106 <configuration>
107 <source>1.6</source><!--should fail if not java6-->
108 <target>1.6</target>
109 </configuration>
110 </plugin>
111 </plugins>
112 </build>
Manuel L. Santillan168ab572006-09-12 16:38:16 +0000113</project>