blob: a4ff486aeb415f0ad01fa5b3774f80441496c280 [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>
19 <dependency><!--BSD -->
20 <groupId>jline</groupId>
21 <artifactId>jline</artifactId>
22 <version>0.9.9</version>
23 </dependency>
24 <dependency><!--Currently needs manual installation-->
25 <groupId>org.jruby</groupId><!--trilicense CPL/GPL/LGPL -->
26 <artifactId>jruby</artifactId>
27 <version>0.9.0</version>
28 </dependency>
29 <dependency><!--Currently needs manual installation-->
30 <groupId>javax.script</groupId><!--BSD-->
31 <artifactId>jruby-engine</artifactId>
32 <version>SNAPSHOT</version>
33 </dependency>
34 <dependency>
35 <groupId>${pom.groupId}</groupId>
36 <artifactId>${groupId}.jmxintrospector</artifactId>
37 <version>${pom.version}</version>
38 </dependency>
39 <dependency>
40 <groupId>${pom.groupId}</groupId>
41 <artifactId>org.osgi.core</artifactId>
42 <version>${pom.version}</version>
43 <scope>provided</scope>
44 </dependency>
45 <dependency>
46 <groupId>${pom.groupId}</groupId>
47 <artifactId>org.apache.felix.framework</artifactId>
48 <version>${pom.version}</version>
49 <scope>provided</scope>
50 </dependency>
51
52 </dependencies>
53 <build>
54 <resources>
55 <resource>
56 <directory>src/main/resources</directory>
57 <filtering>true</filtering>
58 </resource>
59 </resources>
60 <plugins>
61 <plugin>
62 <groupId>org.apache.felix.plugins</groupId>
63 <artifactId>maven-osgi-plugin</artifactId>
64 <version>${pom.version}</version>
65 <extensions>true</extensions>
66 <configuration>
67 <manifestFile>target/classes/manifest.mf</manifestFile>
68 <!--
69 We're inlining a lot here. This is nasty for a bundle, nice for an executable jar.
70 It should be simple to change afterwards
71 -->
72 <inlinedArtifacts>
73 <inlinedArtifact>jruby</inlinedArtifact>
74 <inlinedArtifact>jruby-engine</inlinedArtifact>
75 <inlinedArtifact>org.apache.felix.jmxintrospector</inlinedArtifact>
76 <inlinedArtifact>jline</inlinedArtifact>
77 </inlinedArtifacts>
78 <osgiManifest>
79 <bundleActivator>${artifactId}.Activator</bundleActivator>
80 <bundleName>${name}</bundleName>
81 <bundleDescription>Management Interactive Shell</bundleDescription>
82 <bundleSymbolicName>${artifactId}</bundleSymbolicName>
83 <dynamicImportPackage>
84 *
85 </dynamicImportPackage>
86 <importPackage>
87 <!--Note that we explicitly do not import jmood classes as they we use
88 dynamically generated interfaces and proxies instead-->
89 org.osgi.framework, javax.management, javax.management.remote, javax.script
90 </importPackage>
91
92 </osgiManifest>
93 </configuration>
94 </plugin>
95 <plugin>
96 <groupId>org.apache.maven.plugins</groupId>
97 <artifactId>maven-compiler-plugin</artifactId>
98 <configuration>
99 <source>1.6</source><!--should fail if not java6-->
100 <target>1.6</target>
101 </configuration>
102 </plugin>
103 </plugins>
104 </build>
105 <reporting>
106 <plugins>
107 <plugin>
108 <groupId>org.apache.maven.plugins</groupId>
109 <artifactId>maven-project-info-reports-plugin</artifactId>
110 </plugin>
111 </plugins>
112 </reporting>
113</project>