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