blob: 0a2d747407ba60e3bb6b3e2a35956b7df1f657bb [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 <packaging>osgi-bundle</packaging>
11 <name>JMood JMX Management Agent</name>
12 <artifactId>${groupId}.jmood</artifactId>
13 <dependencies>
14 <dependency>
15 <groupId>${pom.groupId}</groupId>
16 <artifactId>org.apache.felix.framework</artifactId>
17 <version>${pom.version}</version>
18 <scope>provided</scope>
19 </dependency>
20 <dependency>
21 <groupId>${pom.groupId}</groupId>
22 <artifactId>org.osgi.core</artifactId>
23 <version>${pom.version}</version>
24 <scope>provided</scope>
25 </dependency>
26 <dependency>
27 <groupId>${pom.groupId}</groupId>
28 <artifactId>org.osgi.compendium</artifactId>
29 <version>${pom.version}</version>
30 <scope>provided</scope>
31 </dependency>
32 <dependency>
33 <groupId>junit</groupId>
34 <artifactId>junit</artifactId>
35 <version>3.8.1</version>
36 <scope>test</scope>
37 </dependency>
38 </dependencies>
39 <build>
40 <resources>
41 <resource>
42 <directory>src/main/resources</directory>
43 <filtering>true</filtering>
44 </resource>
45 </resources>
46 <plugins>
47 <plugin>
48 <groupId>org.apache.felix.plugins</groupId>
49 <artifactId>maven-osgi-plugin</artifactId>
50 <version>${pom.version}</version>
51 <extensions>true</extensions>
52 <configuration>
53 <osgiManifest >
54 <bundleName>${name}</bundleName>
55 <bundleActivator>${artifactId}.Activator</bundleActivator>
56 <bundleDescription>JMood management agent</bundleDescription>
57 <bundleSymbolicName>${artifactId}</bundleSymbolicName>
58 <exportPackage>
59 <!-- TODO -->
60 </exportPackage>
61 <!--Automatic resolution includes not available, unused, mx4j stuff-->
62 <importPackage>
63 org.osgi.framework, org.osgi.util.tracker, org.osgi.service.log, org.osgi.service.packageadmin, org.osgi.service.startlevel, org.osgi.service.permissionadmin, org.osgi.service.useradmin, org.osgi.service.cm, javax.management, javax.management.remote
64 </importPackage>
65 </osgiManifest>
66 </configuration>
67 </plugin>
68 <plugin>
69 <groupId>org.apache.maven.plugins</groupId>
70 <artifactId>maven-surefire-plugin</artifactId>
71 <configuration>
72 <!--
73 Current tests are (unfinished) integration tests, and need
74 to have the bundle available, so there's a chicken-egg problem there. Temporal workaround: omit tests in pom
75 -->
76
77 <skip>true</skip>
78 </configuration>
79 </plugin>
80
81 </plugins>
82 </build>
83 <reporting>
84 <plugins>
85 <plugin>
86 <groupId>org.apache.maven.plugins</groupId>
87 <artifactId>maven-project-info-reports-plugin</artifactId>
88 </plugin>
89 </plugins>
90 </reporting>
91</project>