Carsten Ziegeler | b61fe0e | 2008-01-03 09:24:12 +0000 | [diff] [blame] | 1 | <!-- |
| 2 | Licensed to the Apache Software Foundation (ASF) under one |
| 3 | or more contributor license agreements. See the NOTICE file |
| 4 | distributed with this work for additional information |
| 5 | regarding copyright ownership. The ASF licenses this file |
| 6 | to you under the Apache License, Version 2.0 (the |
| 7 | "License"); you may not use this file except in compliance |
| 8 | with the License. You may obtain a copy of the License at |
| 9 | |
| 10 | http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | |
| 12 | Unless required by applicable law or agreed to in writing, |
| 13 | software distributed under the License is distributed on an |
| 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 15 | KIND, either express or implied. See the License for the |
| 16 | specific language governing permissions and limitations |
| 17 | under the License. |
| 18 | --> |
Carsten Ziegeler | 4fec096 | 2008-01-11 16:13:31 +0000 | [diff] [blame] | 19 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
Karl Pauls | 589e2b3 | 2007-07-11 18:29:29 +0000 | [diff] [blame] | 20 | <parent> |
Felix Meschberger | fdb9d4a | 2007-09-20 12:44:54 +0000 | [diff] [blame] | 21 | <groupId>org.apache.felix</groupId> |
| 22 | <artifactId>felix</artifactId> |
Clement Escoffier | 4ae8697 | 2009-04-09 12:09:09 +0000 | [diff] [blame] | 23 | <version>1.0.4</version> |
Felix Meschberger | fdb9d4a | 2007-09-20 12:44:54 +0000 | [diff] [blame] | 24 | <relativePath>../pom/pom.xml</relativePath> |
| 25 | </parent> |
| 26 | <modelVersion>4.0.0</modelVersion> |
| 27 | <packaging>bundle</packaging> |
| 28 | <name>JMood JMX Management Agent</name> |
| 29 | <version>0.9.0-SNAPSHOT</version> |
| 30 | <artifactId>${groupId}.jmood</artifactId> |
| 31 | <dependencies> |
| 32 | <dependency> |
| 33 | <groupId>${pom.groupId}</groupId> |
| 34 | <artifactId>org.apache.felix.framework</artifactId> |
| 35 | <version>1.0.0</version> |
| 36 | <scope>provided</scope> |
| 37 | </dependency> |
| 38 | <dependency> |
| 39 | <groupId>${pom.groupId}</groupId> |
| 40 | <artifactId>org.osgi.core</artifactId> |
| 41 | <version>1.0.0</version> |
| 42 | <scope>provided</scope> |
| 43 | </dependency> |
| 44 | <dependency> |
| 45 | <groupId>${pom.groupId}</groupId> |
| 46 | <artifactId>org.osgi.compendium</artifactId> |
Carsten Ziegeler | c340ecf | 2008-01-28 07:21:59 +0000 | [diff] [blame] | 47 | <version>1.0.0</version> |
Felix Meschberger | fdb9d4a | 2007-09-20 12:44:54 +0000 | [diff] [blame] | 48 | <scope>provided</scope> |
| 49 | </dependency> |
| 50 | |
| 51 | <!-- Building on Java prior to Java 5 requires these --> |
| 52 | <dependency> |
| 53 | <groupId>mx4j</groupId> |
| 54 | <artifactId>mx4j</artifactId> |
| 55 | <version>3.0.1</version> |
| 56 | <scope>provided</scope> |
| 57 | </dependency> |
| 58 | <dependency> |
| 59 | <groupId>mx4j</groupId> |
| 60 | <artifactId>mx4j-remote</artifactId> |
| 61 | <version>3.0.1</version> |
| 62 | <scope>provided</scope> |
| 63 | </dependency> |
| 64 | |
| 65 | <dependency> |
| 66 | <groupId>junit</groupId> |
| 67 | <artifactId>junit</artifactId> |
| 68 | <version>3.8.1</version> |
| 69 | <scope>test</scope> |
| 70 | </dependency> |
| 71 | </dependencies> |
| 72 | <build> |
| 73 | <resources> |
| 74 | <resource> |
| 75 | <directory>src/main/resources</directory> |
| 76 | <filtering>true</filtering> |
| 77 | </resource> |
| 78 | </resources> |
| 79 | <plugins> |
| 80 | <plugin> |
| 81 | <groupId>org.apache.felix</groupId> |
| 82 | <artifactId>maven-bundle-plugin</artifactId> |
Stuart McCulloch | 876ca72 | 2008-02-26 17:15:42 +0000 | [diff] [blame] | 83 | <version>1.4.0</version> |
Felix Meschberger | fdb9d4a | 2007-09-20 12:44:54 +0000 | [diff] [blame] | 84 | <extensions>true</extensions> |
| 85 | <configuration> |
| 86 | <instructions> |
| 87 | <Bundle-Activator> |
| 88 | org.apache.felix.jmood.Activator |
| 89 | </Bundle-Activator> |
| 90 | <Private-Package> |
| 91 | org.apache.felix.jmood.* |
| 92 | </Private-Package> |
Carsten Ziegeler | cf6e51b | 2008-04-17 06:33:59 +0000 | [diff] [blame] | 93 | <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor> |
Felix Meschberger | fdb9d4a | 2007-09-20 12:44:54 +0000 | [diff] [blame] | 94 | </instructions> |
| 95 | </configuration> |
| 96 | </plugin> |
| 97 | <plugin> |
| 98 | <groupId>org.apache.maven.plugins</groupId> |
| 99 | <artifactId>maven-surefire-plugin</artifactId> |
| 100 | <configuration> |
| 101 | <!-- |
| 102 | Current tests are (unfinished) integration tests, and need |
| 103 | to have the bundle available, so there's a chicken-egg problem there. Temporal workaround: omit tests in pom |
| 104 | --> |
| 105 | |
| 106 | <skip>true</skip> |
| 107 | </configuration> |
| 108 | </plugin> |
| 109 | |
| 110 | </plugins> |
| 111 | </build> |
| 112 | <reporting> |
| 113 | <plugins> |
| 114 | <plugin> |
| 115 | <groupId>org.apache.maven.plugins</groupId> |
| 116 | <artifactId> |
| 117 | maven-project-info-reports-plugin |
| 118 | </artifactId> |
| 119 | </plugin> |
| 120 | </plugins> |
| 121 | </reporting> |
Karl Pauls | 589e2b3 | 2007-07-11 18:29:29 +0000 | [diff] [blame] | 122 | </project> |