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